public static final class SparseFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder> implements SparseFeatureOrBuilder
A sparse feature represents a sparse tensor that is encoded with a combination of raw features, namely index features and a value feature. Each index feature defines a list of indices in a different dimension.Protobuf type
tensorflow.metadata.v0.SparseFeature| Modifier and Type | Method and Description |
|---|---|
SparseFeature.Builder |
addAllIndexFeature(Iterable<? extends SparseFeature.IndexFeature> values)
Features that represent indexes.
|
SparseFeature.Builder |
addIndexFeature(int index,
SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes.
|
SparseFeature.Builder |
addIndexFeature(int index,
SparseFeature.IndexFeature value)
Features that represent indexes.
|
SparseFeature.Builder |
addIndexFeature(SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes.
|
SparseFeature.Builder |
addIndexFeature(SparseFeature.IndexFeature value)
Features that represent indexes.
|
SparseFeature.IndexFeature.Builder |
addIndexFeatureBuilder()
Features that represent indexes.
|
SparseFeature.IndexFeature.Builder |
addIndexFeatureBuilder(int index)
Features that represent indexes.
|
SparseFeature.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SparseFeature |
build() |
SparseFeature |
buildPartial() |
SparseFeature.Builder |
clear() |
SparseFeature.Builder |
clearDenseShape()
Shape of the sparse tensor that this SparseFeature represents.
|
SparseFeature.Builder |
clearDeprecated()
Deprecated.
|
SparseFeature.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SparseFeature.Builder |
clearIndexFeature()
Features that represent indexes.
|
SparseFeature.Builder |
clearIsSorted()
If true then the index values are already sorted lexicographically.
|
SparseFeature.Builder |
clearLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
SparseFeature.Builder |
clearName()
Name for the sparse feature.
|
SparseFeature.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SparseFeature.Builder |
clearPresence()
Deprecated.
|
SparseFeature.Builder |
clearType()
Deprecated.
|
SparseFeature.Builder |
clearValueFeature()
required
|
SparseFeature.Builder |
clone() |
SparseFeature |
getDefaultInstanceForType() |
FixedShape |
getDenseShape()
Shape of the sparse tensor that this SparseFeature represents.
|
FixedShape.Builder |
getDenseShapeBuilder()
Shape of the sparse tensor that this SparseFeature represents.
|
FixedShapeOrBuilder |
getDenseShapeOrBuilder()
Shape of the sparse tensor that this SparseFeature represents.
|
boolean |
getDeprecated()
Deprecated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SparseFeature.IndexFeature |
getIndexFeature(int index)
Features that represent indexes.
|
SparseFeature.IndexFeature.Builder |
getIndexFeatureBuilder(int index)
Features that represent indexes.
|
List<SparseFeature.IndexFeature.Builder> |
getIndexFeatureBuilderList()
Features that represent indexes.
|
int |
getIndexFeatureCount()
Features that represent indexes.
|
List<SparseFeature.IndexFeature> |
getIndexFeatureList()
Features that represent indexes.
|
SparseFeature.IndexFeatureOrBuilder |
getIndexFeatureOrBuilder(int index)
Features that represent indexes.
|
List<? extends SparseFeature.IndexFeatureOrBuilder> |
getIndexFeatureOrBuilderList()
Features that represent indexes.
|
boolean |
getIsSorted()
If true then the index values are already sorted lexicographically.
|
LifecycleStage |
getLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
String |
getName()
Name for the sparse feature.
|
com.google.protobuf.ByteString |
getNameBytes()
Name for the sparse feature.
|
FeaturePresence |
getPresence()
Deprecated.
|
FeaturePresence.Builder |
getPresenceBuilder()
Deprecated.
|
FeaturePresenceOrBuilder |
getPresenceOrBuilder()
Deprecated.
|
FeatureType |
getType()
Deprecated.
|
SparseFeature.ValueFeature |
getValueFeature()
required
|
SparseFeature.ValueFeature.Builder |
getValueFeatureBuilder()
required
|
SparseFeature.ValueFeatureOrBuilder |
getValueFeatureOrBuilder()
required
|
boolean |
hasDenseShape()
Shape of the sparse tensor that this SparseFeature represents.
|
boolean |
hasDeprecated()
Deprecated.
|
boolean |
hasIsSorted()
If true then the index values are already sorted lexicographically.
|
boolean |
hasLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
boolean |
hasName()
Name for the sparse feature.
|
boolean |
hasPresence()
Deprecated.
|
boolean |
hasType()
Deprecated.
|
boolean |
hasValueFeature()
required
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SparseFeature.Builder |
mergeDenseShape(FixedShape value)
Shape of the sparse tensor that this SparseFeature represents.
|
SparseFeature.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SparseFeature.Builder |
mergeFrom(com.google.protobuf.Message other) |
SparseFeature.Builder |
mergeFrom(SparseFeature other) |
SparseFeature.Builder |
mergePresence(FeaturePresence value)
Deprecated.
|
SparseFeature.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SparseFeature.Builder |
mergeValueFeature(SparseFeature.ValueFeature value)
required
|
SparseFeature.Builder |
removeIndexFeature(int index)
Features that represent indexes.
|
SparseFeature.Builder |
setDenseShape(FixedShape.Builder builderForValue)
Shape of the sparse tensor that this SparseFeature represents.
|
SparseFeature.Builder |
setDenseShape(FixedShape value)
Shape of the sparse tensor that this SparseFeature represents.
|
SparseFeature.Builder |
setDeprecated(boolean value)
Deprecated.
|
SparseFeature.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SparseFeature.Builder |
setIndexFeature(int index,
SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes.
|
SparseFeature.Builder |
setIndexFeature(int index,
SparseFeature.IndexFeature value)
Features that represent indexes.
|
SparseFeature.Builder |
setIsSorted(boolean value)
If true then the index values are already sorted lexicographically.
|
SparseFeature.Builder |
setLifecycleStage(LifecycleStage value)
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
SparseFeature.Builder |
setName(String value)
Name for the sparse feature.
|
SparseFeature.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name for the sparse feature.
|
SparseFeature.Builder |
setPresence(FeaturePresence.Builder builderForValue)
Deprecated.
|
SparseFeature.Builder |
setPresence(FeaturePresence value)
Deprecated.
|
SparseFeature.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SparseFeature.Builder |
setType(FeatureType value)
Deprecated.
|
SparseFeature.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SparseFeature.Builder |
setValueFeature(SparseFeature.ValueFeature.Builder builderForValue)
required
|
SparseFeature.Builder |
setValueFeature(SparseFeature.ValueFeature value)
required
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SparseFeature build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SparseFeature buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SparseFeature.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SparseFeature.Builder>public SparseFeature.Builder mergeFrom(SparseFeature other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public SparseFeature.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SparseFeature.Builder>IOExceptionpublic boolean hasName()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;hasName in interface SparseFeatureOrBuilderpublic String getName()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;getName in interface SparseFeatureOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;getNameBytes in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setName(String value)
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;value - The name to set.public SparseFeature.Builder clearName()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;public SparseFeature.Builder setNameBytes(com.google.protobuf.ByteString value)
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;value - The bytes for name to set.@Deprecated public boolean hasDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];hasDeprecated in interface SparseFeatureOrBuilder@Deprecated public boolean getDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];getDeprecated in interface SparseFeatureOrBuilder@Deprecated public SparseFeature.Builder setDeprecated(boolean value)
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];value - The deprecated to set.@Deprecated public SparseFeature.Builder clearDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];public boolean hasLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;hasLifecycleStage in interface SparseFeatureOrBuilderpublic LifecycleStage getLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;getLifecycleStage in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setLifecycleStage(LifecycleStage value)
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;value - The lifecycleStage to set.public SparseFeature.Builder clearLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;@Deprecated public boolean hasPresence()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];hasPresence in interface SparseFeatureOrBuilder@Deprecated public FeaturePresence getPresence()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];getPresence in interface SparseFeatureOrBuilder@Deprecated public SparseFeature.Builder setPresence(FeaturePresence value)
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated public SparseFeature.Builder setPresence(FeaturePresence.Builder builderForValue)
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated public SparseFeature.Builder mergePresence(FeaturePresence value)
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated public SparseFeature.Builder clearPresence()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated public FeaturePresence.Builder getPresenceBuilder()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated public FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];getPresenceOrBuilder in interface SparseFeatureOrBuilderpublic boolean hasDenseShape()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;hasDenseShape in interface SparseFeatureOrBuilderpublic FixedShape getDenseShape()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;getDenseShape in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setDenseShape(FixedShape value)
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;public SparseFeature.Builder setDenseShape(FixedShape.Builder builderForValue)
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;public SparseFeature.Builder mergeDenseShape(FixedShape value)
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;public SparseFeature.Builder clearDenseShape()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;public FixedShape.Builder getDenseShapeBuilder()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;public FixedShapeOrBuilder getDenseShapeOrBuilder()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;getDenseShapeOrBuilder in interface SparseFeatureOrBuilderpublic List<SparseFeature.IndexFeature> getIndexFeatureList()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;getIndexFeatureList in interface SparseFeatureOrBuilderpublic int getIndexFeatureCount()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;getIndexFeatureCount in interface SparseFeatureOrBuilderpublic SparseFeature.IndexFeature getIndexFeature(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;getIndexFeature in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setIndexFeature(int index, SparseFeature.IndexFeature value)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder setIndexFeature(int index, SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder addIndexFeature(SparseFeature.IndexFeature value)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder addIndexFeature(int index, SparseFeature.IndexFeature value)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder addIndexFeature(SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder addIndexFeature(int index, SparseFeature.IndexFeature.Builder builderForValue)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder addAllIndexFeature(Iterable<? extends SparseFeature.IndexFeature> values)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder clearIndexFeature()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.Builder removeIndexFeature(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.IndexFeature.Builder getIndexFeatureBuilder(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.IndexFeatureOrBuilder getIndexFeatureOrBuilder(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;getIndexFeatureOrBuilder in interface SparseFeatureOrBuilderpublic List<? extends SparseFeature.IndexFeatureOrBuilder> getIndexFeatureOrBuilderList()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;getIndexFeatureOrBuilderList in interface SparseFeatureOrBuilderpublic SparseFeature.IndexFeature.Builder addIndexFeatureBuilder()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public SparseFeature.IndexFeature.Builder addIndexFeatureBuilder(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public List<SparseFeature.IndexFeature.Builder> getIndexFeatureBuilderList()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;public boolean hasIsSorted()
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;hasIsSorted in interface SparseFeatureOrBuilderpublic boolean getIsSorted()
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;getIsSorted in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setIsSorted(boolean value)
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;value - The isSorted to set.public SparseFeature.Builder clearIsSorted()
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;public boolean hasValueFeature()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;hasValueFeature in interface SparseFeatureOrBuilderpublic SparseFeature.ValueFeature getValueFeature()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;getValueFeature in interface SparseFeatureOrBuilderpublic SparseFeature.Builder setValueFeature(SparseFeature.ValueFeature value)
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;public SparseFeature.Builder setValueFeature(SparseFeature.ValueFeature.Builder builderForValue)
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;public SparseFeature.Builder mergeValueFeature(SparseFeature.ValueFeature value)
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;public SparseFeature.Builder clearValueFeature()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;public SparseFeature.ValueFeature.Builder getValueFeatureBuilder()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;public SparseFeature.ValueFeatureOrBuilder getValueFeatureOrBuilder()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;getValueFeatureOrBuilder in interface SparseFeatureOrBuilder@Deprecated public boolean hasType()
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];hasType in interface SparseFeatureOrBuilder@Deprecated public FeatureType getType()
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];getType in interface SparseFeatureOrBuilder@Deprecated public SparseFeature.Builder setType(FeatureType value)
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];value - The type to set.@Deprecated public SparseFeature.Builder clearType()
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];public final SparseFeature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>public final SparseFeature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.Builder>Copyright © 2020 Gojek. All rights reserved.