Package feast.proto.core
Class FeatureSetProto.FeatureSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- feast.proto.core.FeatureSetProto.FeatureSpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FeatureSetProto.FeatureSpecOrBuilder,Serializable
- Enclosing class:
- FeatureSetProto
public static final class FeatureSetProto.FeatureSpec extends com.google.protobuf.GeneratedMessageV3 implements FeatureSetProto.FeatureSpecOrBuilder
Protobuf typefeast.core.FeatureSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeatureSetProto.FeatureSpec.BuilderProtobuf typefeast.core.FeatureSpecstatic classFeatureSetProto.FeatureSpec.DomainInfoCasestatic classFeatureSetProto.FeatureSpec.PresenceConstraintsCasestatic classFeatureSetProto.FeatureSpec.ShapeTypeCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_DOMAIN_FIELD_NUMBERstatic intDOMAIN_FIELD_NUMBERstatic intFLOAT_DOMAIN_FIELD_NUMBERstatic intGROUP_PRESENCE_FIELD_NUMBERstatic intIMAGE_DOMAIN_FIELD_NUMBERstatic intINT_DOMAIN_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMID_DOMAIN_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNATURAL_LANGUAGE_DOMAIN_FIELD_NUMBERstatic intPRESENCE_FIELD_NUMBERstatic intSHAPE_FIELD_NUMBERstatic intSTRING_DOMAIN_FIELD_NUMBERstatic intSTRUCT_DOMAIN_FIELD_NUMBERstatic intTIME_DOMAIN_FIELD_NUMBERstatic intTIME_OF_DAY_DOMAIN_FIELD_NUMBERstatic intURL_DOMAIN_FIELD_NUMBERstatic intVALUE_COUNT_FIELD_NUMBERstatic intVALUE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels for user defined metadata on a featurebooleanequals(Object obj)BoolDomaingetBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 38;BoolDomainOrBuildergetBoolDomainOrBuilder().tensorflow.metadata.v0.BoolDomain bool_domain = 38;static FeatureSetProto.FeatureSpecgetDefaultInstance()FeatureSetProto.FeatureSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDomain()Reference to a domain defined at the schema level.com.google.protobuf.ByteStringgetDomainBytes()Reference to a domain defined at the schema level.FeatureSetProto.FeatureSpec.DomainInfoCasegetDomainInfoCase()FloatDomaingetFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 36;FloatDomainOrBuildergetFloatDomainOrBuilder().tensorflow.metadata.v0.FloatDomain float_domain = 36;FeaturePresenceWithinGroupgetGroupPresence()Only used in the context of a "group" context, e.g., inside a sequence.FeaturePresenceWithinGroupOrBuildergetGroupPresenceOrBuilder()Only used in the context of a "group" context, e.g., inside a sequence.ImageDomaingetImageDomain().tensorflow.metadata.v0.ImageDomain image_domain = 41;ImageDomainOrBuildergetImageDomainOrBuilder().tensorflow.metadata.v0.ImageDomain image_domain = 41;IntDomaingetIntDomain()Inline definitions of domains.IntDomainOrBuildergetIntDomainOrBuilder()Inline definitions of domains.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for user defined metadata on a featureMap<String,String>getLabelsMap()Labels for user defined metadata on a featureStringgetLabelsOrDefault(String key, String defaultValue)Labels for user defined metadata on a featureStringgetLabelsOrThrow(String key)Labels for user defined metadata on a featureMIDDomaingetMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 42;MIDDomainOrBuildergetMidDomainOrBuilder().tensorflow.metadata.v0.MIDDomain mid_domain = 42;StringgetName()Name of the feature.com.google.protobuf.ByteStringgetNameBytes()Name of the feature.NaturalLanguageDomaingetNaturalLanguageDomain()Supported semantic domains.NaturalLanguageDomainOrBuildergetNaturalLanguageDomainOrBuilder()Supported semantic domains.com.google.protobuf.Parser<FeatureSetProto.FeatureSpec>getParserForType()FeaturePresencegetPresence()Constraints on the presence of this feature in the examples.FeatureSetProto.FeatureSpec.PresenceConstraintsCasegetPresenceConstraintsCase()FeaturePresenceOrBuildergetPresenceOrBuilder()Constraints on the presence of this feature in the examples.intgetSerializedSize()FixedShapegetShape()The feature has a fixed shape corresponding to a multi-dimensional tensor.FixedShapeOrBuildergetShapeOrBuilder()The feature has a fixed shape corresponding to a multi-dimensional tensor.FeatureSetProto.FeatureSpec.ShapeTypeCasegetShapeTypeCase()StringDomaingetStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 37;StringDomainOrBuildergetStringDomainOrBuilder().tensorflow.metadata.v0.StringDomain string_domain = 37;StructDomaingetStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 39;StructDomainOrBuildergetStructDomainOrBuilder().tensorflow.metadata.v0.StructDomain struct_domain = 39;TimeDomaingetTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 44;TimeDomainOrBuildergetTimeDomainOrBuilder().tensorflow.metadata.v0.TimeDomain time_domain = 44;TimeOfDayDomaingetTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;TimeOfDayDomainOrBuildergetTimeOfDayDomainOrBuilder().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;com.google.protobuf.UnknownFieldSetgetUnknownFields()URLDomaingetUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 43;URLDomainOrBuildergetUrlDomainOrBuilder().tensorflow.metadata.v0.URLDomain url_domain = 43;ValueCountgetValueCount()The feature doesn't have a well defined shape.ValueCountOrBuildergetValueCountOrBuilder()The feature doesn't have a well defined shape.ValueProto.ValueType.EnumgetValueType()Value type of the feature.intgetValueTypeValue()Value type of the feature.booleanhasBoolDomain().tensorflow.metadata.v0.BoolDomain bool_domain = 38;booleanhasFloatDomain().tensorflow.metadata.v0.FloatDomain float_domain = 36;booleanhasGroupPresence()Only used in the context of a "group" context, e.g., inside a sequence.inthashCode()booleanhasImageDomain().tensorflow.metadata.v0.ImageDomain image_domain = 41;booleanhasIntDomain()Inline definitions of domains.booleanhasMidDomain().tensorflow.metadata.v0.MIDDomain mid_domain = 42;booleanhasNaturalLanguageDomain()Supported semantic domains.booleanhasPresence()Constraints on the presence of this feature in the examples.booleanhasShape()The feature has a fixed shape corresponding to a multi-dimensional tensor.booleanhasStringDomain().tensorflow.metadata.v0.StringDomain string_domain = 37;booleanhasStructDomain().tensorflow.metadata.v0.StructDomain struct_domain = 39;booleanhasTimeDomain().tensorflow.metadata.v0.TimeDomain time_domain = 44;booleanhasTimeOfDayDomain().tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;booleanhasUrlDomain().tensorflow.metadata.v0.URLDomain url_domain = 43;booleanhasValueCount()The feature doesn't have a well defined shape.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static FeatureSetProto.FeatureSpec.BuildernewBuilder()static FeatureSetProto.FeatureSpec.BuildernewBuilder(FeatureSetProto.FeatureSpec prototype)FeatureSetProto.FeatureSpec.BuildernewBuilderForType()protected FeatureSetProto.FeatureSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FeatureSetProto.FeatureSpecparseDelimitedFrom(InputStream input)static FeatureSetProto.FeatureSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureSetProto.FeatureSpecparseFrom(byte[] data)static FeatureSetProto.FeatureSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureSetProto.FeatureSpecparseFrom(com.google.protobuf.ByteString data)static FeatureSetProto.FeatureSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureSetProto.FeatureSpecparseFrom(com.google.protobuf.CodedInputStream input)static FeatureSetProto.FeatureSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureSetProto.FeatureSpecparseFrom(InputStream input)static FeatureSetProto.FeatureSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureSetProto.FeatureSpecparseFrom(ByteBuffer data)static FeatureSetProto.FeatureSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FeatureSetProto.FeatureSpec>parser()FeatureSetProto.FeatureSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_TYPE_FIELD_NUMBER
public static final int VALUE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRESENCE_FIELD_NUMBER
public static final int PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUP_PRESENCE_FIELD_NUMBER
public static final int GROUP_PRESENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHAPE_FIELD_NUMBER
public static final int SHAPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_COUNT_FIELD_NUMBER
public static final int VALUE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT_DOMAIN_FIELD_NUMBER
public static final int INT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_DOMAIN_FIELD_NUMBER
public static final int FLOAT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_DOMAIN_FIELD_NUMBER
public static final int STRING_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_DOMAIN_FIELD_NUMBER
public static final int BOOL_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCT_DOMAIN_FIELD_NUMBER
public static final int STRUCT_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NATURAL_LANGUAGE_DOMAIN_FIELD_NUMBER
public static final int NATURAL_LANGUAGE_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_DOMAIN_FIELD_NUMBER
public static final int IMAGE_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MID_DOMAIN_FIELD_NUMBER
public static final int MID_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_DOMAIN_FIELD_NUMBER
public static final int URL_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_DOMAIN_FIELD_NUMBER
public static final int TIME_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_OF_DAY_DOMAIN_FIELD_NUMBER
public static final int TIME_OF_DAY_DOMAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPresenceConstraintsCase
public FeatureSetProto.FeatureSpec.PresenceConstraintsCase getPresenceConstraintsCase()
- Specified by:
getPresenceConstraintsCasein interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getShapeTypeCase
public FeatureSetProto.FeatureSpec.ShapeTypeCase getShapeTypeCase()
- Specified by:
getShapeTypeCasein interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getDomainInfoCase
public FeatureSetProto.FeatureSpec.DomainInfoCase getDomainInfoCase()
- Specified by:
getDomainInfoCasein interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getName
public String getName()
Name of the feature.
string name = 1;- Specified by:
getNamein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the feature.
string name = 1;- Specified by:
getNameBytesin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The bytes for name.
-
getValueTypeValue
public int getValueTypeValue()
Value type of the feature.
.feast.types.ValueType.Enum value_type = 2;- Specified by:
getValueTypeValuein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The enum numeric value on the wire for valueType.
-
getValueType
public ValueProto.ValueType.Enum getValueType()
Value type of the feature.
.feast.types.ValueType.Enum value_type = 2;- Specified by:
getValueTypein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The valueType.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:FeatureSetProto.FeatureSpecOrBuilderLabels for user defined metadata on a feature
map<string, string> labels = 16;- Specified by:
getLabelsCountin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels for user defined metadata on a feature
map<string, string> labels = 16;- Specified by:
containsLabelsin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels for user defined metadata on a feature
map<string, string> labels = 16;- Specified by:
getLabelsMapin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels for user defined metadata on a feature
map<string, string> labels = 16;- Specified by:
getLabelsOrDefaultin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels for user defined metadata on a feature
map<string, string> labels = 16;- Specified by:
getLabelsOrThrowin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasPresence
public boolean hasPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;- Specified by:
hasPresencein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the presence field is set.
-
getPresence
public FeaturePresence getPresence()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;- Specified by:
getPresencein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The presence.
-
getPresenceOrBuilder
public FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in the examples.
.tensorflow.metadata.v0.FeaturePresence presence = 30;- Specified by:
getPresenceOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasGroupPresence
public boolean hasGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;- Specified by:
hasGroupPresencein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the groupPresence field is set.
-
getGroupPresence
public FeaturePresenceWithinGroup getGroupPresence()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;- Specified by:
getGroupPresencein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The groupPresence.
-
getGroupPresenceOrBuilder
public FeaturePresenceWithinGroupOrBuilder getGroupPresenceOrBuilder()
Only used in the context of a "group" context, e.g., inside a sequence.
.tensorflow.metadata.v0.FeaturePresenceWithinGroup group_presence = 31;- Specified by:
getGroupPresenceOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasShape
public boolean hasShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;- Specified by:
hasShapein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
public FixedShape getShape()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;- Specified by:
getShapein interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The shape.
-
getShapeOrBuilder
public FixedShapeOrBuilder getShapeOrBuilder()
The feature has a fixed shape corresponding to a multi-dimensional tensor.
.tensorflow.metadata.v0.FixedShape shape = 32;- Specified by:
getShapeOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasValueCount
public boolean hasValueCount()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 33;- Specified by:
hasValueCountin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the valueCount field is set.
-
getValueCount
public ValueCount getValueCount()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 33;- Specified by:
getValueCountin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The valueCount.
-
getValueCountOrBuilder
public ValueCountOrBuilder getValueCountOrBuilder()
The feature doesn't have a well defined shape. All we know are limits on the minimum and maximum number of values.
.tensorflow.metadata.v0.ValueCount value_count = 33;- Specified by:
getValueCountOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
getDomain
public String getDomain()
Reference to a domain defined at the schema level.
string domain = 34;- Specified by:
getDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Reference to a domain defined at the schema level.
string domain = 34;- Specified by:
getDomainBytesin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The bytes for domain.
-
hasIntDomain
public boolean hasIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;- Specified by:
hasIntDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the intDomain field is set.
-
getIntDomain
public IntDomain getIntDomain()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;- Specified by:
getIntDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The intDomain.
-
getIntDomainOrBuilder
public IntDomainOrBuilder getIntDomainOrBuilder()
Inline definitions of domains.
.tensorflow.metadata.v0.IntDomain int_domain = 35;- Specified by:
getIntDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasFloatDomain
public boolean hasFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;- Specified by:
hasFloatDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the floatDomain field is set.
-
getFloatDomain
public FloatDomain getFloatDomain()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;- Specified by:
getFloatDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The floatDomain.
-
getFloatDomainOrBuilder
public FloatDomainOrBuilder getFloatDomainOrBuilder()
.tensorflow.metadata.v0.FloatDomain float_domain = 36;- Specified by:
getFloatDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasStringDomain
public boolean hasStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 37;- Specified by:
hasStringDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the stringDomain field is set.
-
getStringDomain
public StringDomain getStringDomain()
.tensorflow.metadata.v0.StringDomain string_domain = 37;- Specified by:
getStringDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The stringDomain.
-
getStringDomainOrBuilder
public StringDomainOrBuilder getStringDomainOrBuilder()
.tensorflow.metadata.v0.StringDomain string_domain = 37;- Specified by:
getStringDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasBoolDomain
public boolean hasBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;- Specified by:
hasBoolDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the boolDomain field is set.
-
getBoolDomain
public BoolDomain getBoolDomain()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;- Specified by:
getBoolDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The boolDomain.
-
getBoolDomainOrBuilder
public BoolDomainOrBuilder getBoolDomainOrBuilder()
.tensorflow.metadata.v0.BoolDomain bool_domain = 38;- Specified by:
getBoolDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasStructDomain
public boolean hasStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;- Specified by:
hasStructDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the structDomain field is set.
-
getStructDomain
public StructDomain getStructDomain()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;- Specified by:
getStructDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The structDomain.
-
getStructDomainOrBuilder
public StructDomainOrBuilder getStructDomainOrBuilder()
.tensorflow.metadata.v0.StructDomain struct_domain = 39;- Specified by:
getStructDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasNaturalLanguageDomain
public boolean hasNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;- Specified by:
hasNaturalLanguageDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the naturalLanguageDomain field is set.
-
getNaturalLanguageDomain
public NaturalLanguageDomain getNaturalLanguageDomain()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;- Specified by:
getNaturalLanguageDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The naturalLanguageDomain.
-
getNaturalLanguageDomainOrBuilder
public NaturalLanguageDomainOrBuilder getNaturalLanguageDomainOrBuilder()
Supported semantic domains.
.tensorflow.metadata.v0.NaturalLanguageDomain natural_language_domain = 40;- Specified by:
getNaturalLanguageDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasImageDomain
public boolean hasImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;- Specified by:
hasImageDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the imageDomain field is set.
-
getImageDomain
public ImageDomain getImageDomain()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;- Specified by:
getImageDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The imageDomain.
-
getImageDomainOrBuilder
public ImageDomainOrBuilder getImageDomainOrBuilder()
.tensorflow.metadata.v0.ImageDomain image_domain = 41;- Specified by:
getImageDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasMidDomain
public boolean hasMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;- Specified by:
hasMidDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the midDomain field is set.
-
getMidDomain
public MIDDomain getMidDomain()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;- Specified by:
getMidDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The midDomain.
-
getMidDomainOrBuilder
public MIDDomainOrBuilder getMidDomainOrBuilder()
.tensorflow.metadata.v0.MIDDomain mid_domain = 42;- Specified by:
getMidDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasUrlDomain
public boolean hasUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 43;- Specified by:
hasUrlDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the urlDomain field is set.
-
getUrlDomain
public URLDomain getUrlDomain()
.tensorflow.metadata.v0.URLDomain url_domain = 43;- Specified by:
getUrlDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The urlDomain.
-
getUrlDomainOrBuilder
public URLDomainOrBuilder getUrlDomainOrBuilder()
.tensorflow.metadata.v0.URLDomain url_domain = 43;- Specified by:
getUrlDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasTimeDomain
public boolean hasTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;- Specified by:
hasTimeDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the timeDomain field is set.
-
getTimeDomain
public TimeDomain getTimeDomain()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;- Specified by:
getTimeDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The timeDomain.
-
getTimeDomainOrBuilder
public TimeDomainOrBuilder getTimeDomainOrBuilder()
.tensorflow.metadata.v0.TimeDomain time_domain = 44;- Specified by:
getTimeDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
hasTimeOfDayDomain
public boolean hasTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;- Specified by:
hasTimeOfDayDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- Whether the timeOfDayDomain field is set.
-
getTimeOfDayDomain
public TimeOfDayDomain getTimeOfDayDomain()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;- Specified by:
getTimeOfDayDomainin interfaceFeatureSetProto.FeatureSpecOrBuilder- Returns:
- The timeOfDayDomain.
-
getTimeOfDayDomainOrBuilder
public TimeOfDayDomainOrBuilder getTimeOfDayDomainOrBuilder()
.tensorflow.metadata.v0.TimeOfDayDomain time_of_day_domain = 45;- Specified by:
getTimeOfDayDomainOrBuilderin interfaceFeatureSetProto.FeatureSpecOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FeatureSetProto.FeatureSpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FeatureSetProto.FeatureSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureSetProto.FeatureSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FeatureSetProto.FeatureSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FeatureSetProto.FeatureSpec.Builder newBuilder()
-
newBuilder
public static FeatureSetProto.FeatureSpec.Builder newBuilder(FeatureSetProto.FeatureSpec prototype)
-
toBuilder
public FeatureSetProto.FeatureSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FeatureSetProto.FeatureSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FeatureSetProto.FeatureSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FeatureSetProto.FeatureSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<FeatureSetProto.FeatureSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FeatureSetProto.FeatureSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-