Package org.tensorflow.metadata.v0
Class Schema.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
- org.tensorflow.metadata.v0.Schema.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SchemaOrBuilder
- Enclosing class:
- Schema
public static final class Schema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder> implements SchemaOrBuilder
Message to represent schema information. NextID: 14
Protobuf typetensorflow.metadata.v0.Schema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Schema.BuilderaddAllDefaultEnvironment(Iterable<String> values)Default environments for each feature.Schema.BuilderaddAllFeature(Iterable<? extends Feature> values)Features described in this schema.Schema.BuilderaddAllFloatDomain(Iterable<? extends FloatDomain> values)top level float domains that can be reused by featuresSchema.BuilderaddAllIntDomain(Iterable<? extends IntDomain> values)top level int domains that can be reused by featuresSchema.BuilderaddAllSparseFeature(Iterable<? extends SparseFeature> values)Sparse features described in this schema.Schema.BuilderaddAllStringDomain(Iterable<? extends StringDomain> values)declared as top-level features in <feature>.Schema.BuilderaddAllWeightedFeature(Iterable<? extends WeightedFeature> values)Weighted features described in this schema.Schema.BuilderaddDefaultEnvironment(String value)Default environments for each feature.Schema.BuilderaddDefaultEnvironmentBytes(com.google.protobuf.ByteString value)Default environments for each feature.Schema.BuilderaddFeature(int index, Feature value)Features described in this schema.Schema.BuilderaddFeature(int index, Feature.Builder builderForValue)Features described in this schema.Schema.BuilderaddFeature(Feature value)Features described in this schema.Schema.BuilderaddFeature(Feature.Builder builderForValue)Features described in this schema.Feature.BuilderaddFeatureBuilder()Features described in this schema.Feature.BuilderaddFeatureBuilder(int index)Features described in this schema.Schema.BuilderaddFloatDomain(int index, FloatDomain value)top level float domains that can be reused by featuresSchema.BuilderaddFloatDomain(int index, FloatDomain.Builder builderForValue)top level float domains that can be reused by featuresSchema.BuilderaddFloatDomain(FloatDomain value)top level float domains that can be reused by featuresSchema.BuilderaddFloatDomain(FloatDomain.Builder builderForValue)top level float domains that can be reused by featuresFloatDomain.BuilderaddFloatDomainBuilder()top level float domains that can be reused by featuresFloatDomain.BuilderaddFloatDomainBuilder(int index)top level float domains that can be reused by featuresSchema.BuilderaddIntDomain(int index, IntDomain value)top level int domains that can be reused by featuresSchema.BuilderaddIntDomain(int index, IntDomain.Builder builderForValue)top level int domains that can be reused by featuresSchema.BuilderaddIntDomain(IntDomain value)top level int domains that can be reused by featuresSchema.BuilderaddIntDomain(IntDomain.Builder builderForValue)top level int domains that can be reused by featuresIntDomain.BuilderaddIntDomainBuilder()top level int domains that can be reused by featuresIntDomain.BuilderaddIntDomainBuilder(int index)top level int domains that can be reused by featuresSchema.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Schema.BuilderaddSparseFeature(int index, SparseFeature value)Sparse features described in this schema.Schema.BuilderaddSparseFeature(int index, SparseFeature.Builder builderForValue)Sparse features described in this schema.Schema.BuilderaddSparseFeature(SparseFeature value)Sparse features described in this schema.Schema.BuilderaddSparseFeature(SparseFeature.Builder builderForValue)Sparse features described in this schema.SparseFeature.BuilderaddSparseFeatureBuilder()Sparse features described in this schema.SparseFeature.BuilderaddSparseFeatureBuilder(int index)Sparse features described in this schema.Schema.BuilderaddStringDomain(int index, StringDomain value)declared as top-level features in <feature>.Schema.BuilderaddStringDomain(int index, StringDomain.Builder builderForValue)declared as top-level features in <feature>.Schema.BuilderaddStringDomain(StringDomain value)declared as top-level features in <feature>.Schema.BuilderaddStringDomain(StringDomain.Builder builderForValue)declared as top-level features in <feature>.StringDomain.BuilderaddStringDomainBuilder()declared as top-level features in <feature>.StringDomain.BuilderaddStringDomainBuilder(int index)declared as top-level features in <feature>.Schema.BuilderaddWeightedFeature(int index, WeightedFeature value)Weighted features described in this schema.Schema.BuilderaddWeightedFeature(int index, WeightedFeature.Builder builderForValue)Weighted features described in this schema.Schema.BuilderaddWeightedFeature(WeightedFeature value)Weighted features described in this schema.Schema.BuilderaddWeightedFeature(WeightedFeature.Builder builderForValue)Weighted features described in this schema.WeightedFeature.BuilderaddWeightedFeatureBuilder()Weighted features described in this schema.WeightedFeature.BuilderaddWeightedFeatureBuilder(int index)Weighted features described in this schema.Schemabuild()SchemabuildPartial()Schema.Builderclear()Schema.BuilderclearAnnotation()Additional information about the schema as a whole.Schema.BuilderclearDatasetConstraints()Dataset-level constraints.Schema.BuilderclearDefaultEnvironment()Default environments for each feature.Schema.BuilderclearFeature()Features described in this schema.Schema.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Schema.BuilderclearFloatDomain()top level float domains that can be reused by featuresSchema.BuilderclearIntDomain()top level int domains that can be reused by featuresSchema.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Schema.BuilderclearSparseFeature()Sparse features described in this schema.Schema.BuilderclearStringDomain()declared as top-level features in <feature>.Schema.BuilderclearTensorRepresentationGroup()Schema.BuilderclearWeightedFeature()Weighted features described in this schema.Schema.Builderclone()booleancontainsTensorRepresentationGroup(String key)TensorRepresentation groups.AnnotationgetAnnotation()Additional information about the schema as a whole.Annotation.BuildergetAnnotationBuilder()Additional information about the schema as a whole.AnnotationOrBuildergetAnnotationOrBuilder()Additional information about the schema as a whole.DatasetConstraintsgetDatasetConstraints()Dataset-level constraints.DatasetConstraints.BuildergetDatasetConstraintsBuilder()Dataset-level constraints.DatasetConstraintsOrBuildergetDatasetConstraintsOrBuilder()Dataset-level constraints.StringgetDefaultEnvironment(int index)Default environments for each feature.com.google.protobuf.ByteStringgetDefaultEnvironmentBytes(int index)Default environments for each feature.intgetDefaultEnvironmentCount()Default environments for each feature.com.google.protobuf.ProtocolStringListgetDefaultEnvironmentList()Default environments for each feature.SchemagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FeaturegetFeature(int index)Features described in this schema.Feature.BuildergetFeatureBuilder(int index)Features described in this schema.List<Feature.Builder>getFeatureBuilderList()Features described in this schema.intgetFeatureCount()Features described in this schema.List<Feature>getFeatureList()Features described in this schema.FeatureOrBuildergetFeatureOrBuilder(int index)Features described in this schema.List<? extends FeatureOrBuilder>getFeatureOrBuilderList()Features described in this schema.FloatDomaingetFloatDomain(int index)top level float domains that can be reused by featuresFloatDomain.BuildergetFloatDomainBuilder(int index)top level float domains that can be reused by featuresList<FloatDomain.Builder>getFloatDomainBuilderList()top level float domains that can be reused by featuresintgetFloatDomainCount()top level float domains that can be reused by featuresList<FloatDomain>getFloatDomainList()top level float domains that can be reused by featuresFloatDomainOrBuildergetFloatDomainOrBuilder(int index)top level float domains that can be reused by featuresList<? extends FloatDomainOrBuilder>getFloatDomainOrBuilderList()top level float domains that can be reused by featuresIntDomaingetIntDomain(int index)top level int domains that can be reused by featuresIntDomain.BuildergetIntDomainBuilder(int index)top level int domains that can be reused by featuresList<IntDomain.Builder>getIntDomainBuilderList()top level int domains that can be reused by featuresintgetIntDomainCount()top level int domains that can be reused by featuresList<IntDomain>getIntDomainList()top level int domains that can be reused by featuresIntDomainOrBuildergetIntDomainOrBuilder(int index)top level int domains that can be reused by featuresList<? extends IntDomainOrBuilder>getIntDomainOrBuilderList()top level int domains that can be reused by featuresMap<String,TensorRepresentationGroup>getMutableTensorRepresentationGroup()Deprecated.SparseFeaturegetSparseFeature(int index)Sparse features described in this schema.SparseFeature.BuildergetSparseFeatureBuilder(int index)Sparse features described in this schema.List<SparseFeature.Builder>getSparseFeatureBuilderList()Sparse features described in this schema.intgetSparseFeatureCount()Sparse features described in this schema.List<SparseFeature>getSparseFeatureList()Sparse features described in this schema.SparseFeatureOrBuildergetSparseFeatureOrBuilder(int index)Sparse features described in this schema.List<? extends SparseFeatureOrBuilder>getSparseFeatureOrBuilderList()Sparse features described in this schema.StringDomaingetStringDomain(int index)declared as top-level features in <feature>.StringDomain.BuildergetStringDomainBuilder(int index)declared as top-level features in <feature>.List<StringDomain.Builder>getStringDomainBuilderList()declared as top-level features in <feature>.intgetStringDomainCount()declared as top-level features in <feature>.List<StringDomain>getStringDomainList()declared as top-level features in <feature>.StringDomainOrBuildergetStringDomainOrBuilder(int index)declared as top-level features in <feature>.List<? extends StringDomainOrBuilder>getStringDomainOrBuilderList()declared as top-level features in <feature>.Map<String,TensorRepresentationGroup>getTensorRepresentationGroup()Deprecated.intgetTensorRepresentationGroupCount()TensorRepresentation groups.Map<String,TensorRepresentationGroup>getTensorRepresentationGroupMap()TensorRepresentation groups.TensorRepresentationGroupgetTensorRepresentationGroupOrDefault(String key, TensorRepresentationGroup defaultValue)TensorRepresentation groups.TensorRepresentationGroupgetTensorRepresentationGroupOrThrow(String key)TensorRepresentation groups.WeightedFeaturegetWeightedFeature(int index)Weighted features described in this schema.WeightedFeature.BuildergetWeightedFeatureBuilder(int index)Weighted features described in this schema.List<WeightedFeature.Builder>getWeightedFeatureBuilderList()Weighted features described in this schema.intgetWeightedFeatureCount()Weighted features described in this schema.List<WeightedFeature>getWeightedFeatureList()Weighted features described in this schema.WeightedFeatureOrBuildergetWeightedFeatureOrBuilder(int index)Weighted features described in this schema.List<? extends WeightedFeatureOrBuilder>getWeightedFeatureOrBuilderList()Weighted features described in this schema.booleanhasAnnotation()Additional information about the schema as a whole.booleanhasDatasetConstraints()Dataset-level constraints.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Schema.BuildermergeAnnotation(Annotation value)Additional information about the schema as a whole.Schema.BuildermergeDatasetConstraints(DatasetConstraints value)Dataset-level constraints.Schema.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Schema.BuildermergeFrom(com.google.protobuf.Message other)Schema.BuildermergeFrom(Schema other)Schema.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Schema.BuilderputAllTensorRepresentationGroup(Map<String,TensorRepresentationGroup> values)TensorRepresentation groups.Schema.BuilderputTensorRepresentationGroup(String key, TensorRepresentationGroup value)TensorRepresentation groups.Schema.BuilderremoveFeature(int index)Features described in this schema.Schema.BuilderremoveFloatDomain(int index)top level float domains that can be reused by featuresSchema.BuilderremoveIntDomain(int index)top level int domains that can be reused by featuresSchema.BuilderremoveSparseFeature(int index)Sparse features described in this schema.Schema.BuilderremoveStringDomain(int index)declared as top-level features in <feature>.Schema.BuilderremoveTensorRepresentationGroup(String key)TensorRepresentation groups.Schema.BuilderremoveWeightedFeature(int index)Weighted features described in this schema.Schema.BuildersetAnnotation(Annotation value)Additional information about the schema as a whole.Schema.BuildersetAnnotation(Annotation.Builder builderForValue)Additional information about the schema as a whole.Schema.BuildersetDatasetConstraints(DatasetConstraints value)Dataset-level constraints.Schema.BuildersetDatasetConstraints(DatasetConstraints.Builder builderForValue)Dataset-level constraints.Schema.BuildersetDefaultEnvironment(int index, String value)Default environments for each feature.Schema.BuildersetFeature(int index, Feature value)Features described in this schema.Schema.BuildersetFeature(int index, Feature.Builder builderForValue)Features described in this schema.Schema.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Schema.BuildersetFloatDomain(int index, FloatDomain value)top level float domains that can be reused by featuresSchema.BuildersetFloatDomain(int index, FloatDomain.Builder builderForValue)top level float domains that can be reused by featuresSchema.BuildersetIntDomain(int index, IntDomain value)top level int domains that can be reused by featuresSchema.BuildersetIntDomain(int index, IntDomain.Builder builderForValue)top level int domains that can be reused by featuresSchema.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Schema.BuildersetSparseFeature(int index, SparseFeature value)Sparse features described in this schema.Schema.BuildersetSparseFeature(int index, SparseFeature.Builder builderForValue)Sparse features described in this schema.Schema.BuildersetStringDomain(int index, StringDomain value)declared as top-level features in <feature>.Schema.BuildersetStringDomain(int index, StringDomain.Builder builderForValue)declared as top-level features in <feature>.Schema.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Schema.BuildersetWeightedFeature(int index, WeightedFeature value)Weighted features described in this schema.Schema.BuildersetWeightedFeature(int index, WeightedFeature.Builder builderForValue)Weighted features described in this schema.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<Schema.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
clear
public Schema.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
getDefaultInstanceForType
public Schema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Schema build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Schema buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Schema.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
setField
public Schema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
clearField
public Schema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
clearOneof
public Schema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
setRepeatedField
public Schema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
addRepeatedField
public Schema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
mergeFrom
public Schema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Schema.Builder>
-
mergeFrom
public Schema.Builder mergeFrom(Schema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
mergeFrom
public Schema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Schema.Builder>- Throws:
IOException
-
getFeatureList
public List<Feature> getFeatureList()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;- Specified by:
getFeatureListin interfaceSchemaOrBuilder
-
getFeatureCount
public int getFeatureCount()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;- Specified by:
getFeatureCountin interfaceSchemaOrBuilder
-
getFeature
public Feature getFeature(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;- Specified by:
getFeaturein interfaceSchemaOrBuilder
-
setFeature
public Schema.Builder setFeature(int index, Feature value)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
setFeature
public Schema.Builder setFeature(int index, Feature.Builder builderForValue)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addFeature
public Schema.Builder addFeature(Feature value)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addFeature
public Schema.Builder addFeature(int index, Feature value)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addFeature
public Schema.Builder addFeature(Feature.Builder builderForValue)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addFeature
public Schema.Builder addFeature(int index, Feature.Builder builderForValue)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addAllFeature
public Schema.Builder addAllFeature(Iterable<? extends Feature> values)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
clearFeature
public Schema.Builder clearFeature()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
removeFeature
public Schema.Builder removeFeature(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
getFeatureBuilder
public Feature.Builder getFeatureBuilder(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
getFeatureOrBuilder
public FeatureOrBuilder getFeatureOrBuilder(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;- Specified by:
getFeatureOrBuilderin interfaceSchemaOrBuilder
-
getFeatureOrBuilderList
public List<? extends FeatureOrBuilder> getFeatureOrBuilderList()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;- Specified by:
getFeatureOrBuilderListin interfaceSchemaOrBuilder
-
addFeatureBuilder
public Feature.Builder addFeatureBuilder()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
addFeatureBuilder
public Feature.Builder addFeatureBuilder(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
getFeatureBuilderList
public List<Feature.Builder> getFeatureBuilderList()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;
-
getSparseFeatureList
public List<SparseFeature> getSparseFeatureList()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;- Specified by:
getSparseFeatureListin interfaceSchemaOrBuilder
-
getSparseFeatureCount
public int getSparseFeatureCount()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;- Specified by:
getSparseFeatureCountin interfaceSchemaOrBuilder
-
getSparseFeature
public SparseFeature getSparseFeature(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;- Specified by:
getSparseFeaturein interfaceSchemaOrBuilder
-
setSparseFeature
public Schema.Builder setSparseFeature(int index, SparseFeature value)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
setSparseFeature
public Schema.Builder setSparseFeature(int index, SparseFeature.Builder builderForValue)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addSparseFeature
public Schema.Builder addSparseFeature(SparseFeature value)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addSparseFeature
public Schema.Builder addSparseFeature(int index, SparseFeature value)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addSparseFeature
public Schema.Builder addSparseFeature(SparseFeature.Builder builderForValue)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addSparseFeature
public Schema.Builder addSparseFeature(int index, SparseFeature.Builder builderForValue)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addAllSparseFeature
public Schema.Builder addAllSparseFeature(Iterable<? extends SparseFeature> values)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
clearSparseFeature
public Schema.Builder clearSparseFeature()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
removeSparseFeature
public Schema.Builder removeSparseFeature(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
getSparseFeatureBuilder
public SparseFeature.Builder getSparseFeatureBuilder(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
getSparseFeatureOrBuilder
public SparseFeatureOrBuilder getSparseFeatureOrBuilder(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;- Specified by:
getSparseFeatureOrBuilderin interfaceSchemaOrBuilder
-
getSparseFeatureOrBuilderList
public List<? extends SparseFeatureOrBuilder> getSparseFeatureOrBuilderList()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;- Specified by:
getSparseFeatureOrBuilderListin interfaceSchemaOrBuilder
-
addSparseFeatureBuilder
public SparseFeature.Builder addSparseFeatureBuilder()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
addSparseFeatureBuilder
public SparseFeature.Builder addSparseFeatureBuilder(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
getSparseFeatureBuilderList
public List<SparseFeature.Builder> getSparseFeatureBuilderList()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;
-
getWeightedFeatureList
public List<WeightedFeature> getWeightedFeatureList()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;- Specified by:
getWeightedFeatureListin interfaceSchemaOrBuilder
-
getWeightedFeatureCount
public int getWeightedFeatureCount()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;- Specified by:
getWeightedFeatureCountin interfaceSchemaOrBuilder
-
getWeightedFeature
public WeightedFeature getWeightedFeature(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;- Specified by:
getWeightedFeaturein interfaceSchemaOrBuilder
-
setWeightedFeature
public Schema.Builder setWeightedFeature(int index, WeightedFeature value)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
setWeightedFeature
public Schema.Builder setWeightedFeature(int index, WeightedFeature.Builder builderForValue)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addWeightedFeature
public Schema.Builder addWeightedFeature(WeightedFeature value)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addWeightedFeature
public Schema.Builder addWeightedFeature(int index, WeightedFeature value)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addWeightedFeature
public Schema.Builder addWeightedFeature(WeightedFeature.Builder builderForValue)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addWeightedFeature
public Schema.Builder addWeightedFeature(int index, WeightedFeature.Builder builderForValue)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addAllWeightedFeature
public Schema.Builder addAllWeightedFeature(Iterable<? extends WeightedFeature> values)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
clearWeightedFeature
public Schema.Builder clearWeightedFeature()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
removeWeightedFeature
public Schema.Builder removeWeightedFeature(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
getWeightedFeatureBuilder
public WeightedFeature.Builder getWeightedFeatureBuilder(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
getWeightedFeatureOrBuilder
public WeightedFeatureOrBuilder getWeightedFeatureOrBuilder(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;- Specified by:
getWeightedFeatureOrBuilderin interfaceSchemaOrBuilder
-
getWeightedFeatureOrBuilderList
public List<? extends WeightedFeatureOrBuilder> getWeightedFeatureOrBuilderList()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;- Specified by:
getWeightedFeatureOrBuilderListin interfaceSchemaOrBuilder
-
addWeightedFeatureBuilder
public WeightedFeature.Builder addWeightedFeatureBuilder()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
addWeightedFeatureBuilder
public WeightedFeature.Builder addWeightedFeatureBuilder(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
getWeightedFeatureBuilderList
public List<WeightedFeature.Builder> getWeightedFeatureBuilderList()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;
-
getStringDomainList
public List<StringDomain> getStringDomainList()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;- Specified by:
getStringDomainListin interfaceSchemaOrBuilder
-
getStringDomainCount
public int getStringDomainCount()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;- Specified by:
getStringDomainCountin interfaceSchemaOrBuilder
-
getStringDomain
public StringDomain getStringDomain(int index)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;- Specified by:
getStringDomainin interfaceSchemaOrBuilder
-
setStringDomain
public Schema.Builder setStringDomain(int index, StringDomain value)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
setStringDomain
public Schema.Builder setStringDomain(int index, StringDomain.Builder builderForValue)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addStringDomain
public Schema.Builder addStringDomain(StringDomain value)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addStringDomain
public Schema.Builder addStringDomain(int index, StringDomain value)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addStringDomain
public Schema.Builder addStringDomain(StringDomain.Builder builderForValue)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addStringDomain
public Schema.Builder addStringDomain(int index, StringDomain.Builder builderForValue)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addAllStringDomain
public Schema.Builder addAllStringDomain(Iterable<? extends StringDomain> values)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
clearStringDomain
public Schema.Builder clearStringDomain()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
removeStringDomain
public Schema.Builder removeStringDomain(int index)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
getStringDomainBuilder
public StringDomain.Builder getStringDomainBuilder(int index)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
getStringDomainOrBuilder
public StringDomainOrBuilder getStringDomainOrBuilder(int index)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;- Specified by:
getStringDomainOrBuilderin interfaceSchemaOrBuilder
-
getStringDomainOrBuilderList
public List<? extends StringDomainOrBuilder> getStringDomainOrBuilderList()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;- Specified by:
getStringDomainOrBuilderListin interfaceSchemaOrBuilder
-
addStringDomainBuilder
public StringDomain.Builder addStringDomainBuilder()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
addStringDomainBuilder
public StringDomain.Builder addStringDomainBuilder(int index)
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
getStringDomainBuilderList
public List<StringDomain.Builder> getStringDomainBuilderList()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;
-
getFloatDomainList
public List<FloatDomain> getFloatDomainList()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;- Specified by:
getFloatDomainListin interfaceSchemaOrBuilder
-
getFloatDomainCount
public int getFloatDomainCount()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;- Specified by:
getFloatDomainCountin interfaceSchemaOrBuilder
-
getFloatDomain
public FloatDomain getFloatDomain(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;- Specified by:
getFloatDomainin interfaceSchemaOrBuilder
-
setFloatDomain
public Schema.Builder setFloatDomain(int index, FloatDomain value)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
setFloatDomain
public Schema.Builder setFloatDomain(int index, FloatDomain.Builder builderForValue)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addFloatDomain
public Schema.Builder addFloatDomain(FloatDomain value)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addFloatDomain
public Schema.Builder addFloatDomain(int index, FloatDomain value)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addFloatDomain
public Schema.Builder addFloatDomain(FloatDomain.Builder builderForValue)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addFloatDomain
public Schema.Builder addFloatDomain(int index, FloatDomain.Builder builderForValue)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addAllFloatDomain
public Schema.Builder addAllFloatDomain(Iterable<? extends FloatDomain> values)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
clearFloatDomain
public Schema.Builder clearFloatDomain()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
removeFloatDomain
public Schema.Builder removeFloatDomain(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
getFloatDomainBuilder
public FloatDomain.Builder getFloatDomainBuilder(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
getFloatDomainOrBuilder
public FloatDomainOrBuilder getFloatDomainOrBuilder(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;- Specified by:
getFloatDomainOrBuilderin interfaceSchemaOrBuilder
-
getFloatDomainOrBuilderList
public List<? extends FloatDomainOrBuilder> getFloatDomainOrBuilderList()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;- Specified by:
getFloatDomainOrBuilderListin interfaceSchemaOrBuilder
-
addFloatDomainBuilder
public FloatDomain.Builder addFloatDomainBuilder()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
addFloatDomainBuilder
public FloatDomain.Builder addFloatDomainBuilder(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
getFloatDomainBuilderList
public List<FloatDomain.Builder> getFloatDomainBuilderList()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;
-
getIntDomainList
public List<IntDomain> getIntDomainList()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;- Specified by:
getIntDomainListin interfaceSchemaOrBuilder
-
getIntDomainCount
public int getIntDomainCount()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;- Specified by:
getIntDomainCountin interfaceSchemaOrBuilder
-
getIntDomain
public IntDomain getIntDomain(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;- Specified by:
getIntDomainin interfaceSchemaOrBuilder
-
setIntDomain
public Schema.Builder setIntDomain(int index, IntDomain value)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
setIntDomain
public Schema.Builder setIntDomain(int index, IntDomain.Builder builderForValue)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addIntDomain
public Schema.Builder addIntDomain(IntDomain value)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addIntDomain
public Schema.Builder addIntDomain(int index, IntDomain value)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addIntDomain
public Schema.Builder addIntDomain(IntDomain.Builder builderForValue)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addIntDomain
public Schema.Builder addIntDomain(int index, IntDomain.Builder builderForValue)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addAllIntDomain
public Schema.Builder addAllIntDomain(Iterable<? extends IntDomain> values)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
clearIntDomain
public Schema.Builder clearIntDomain()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
removeIntDomain
public Schema.Builder removeIntDomain(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
getIntDomainBuilder
public IntDomain.Builder getIntDomainBuilder(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
getIntDomainOrBuilder
public IntDomainOrBuilder getIntDomainOrBuilder(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;- Specified by:
getIntDomainOrBuilderin interfaceSchemaOrBuilder
-
getIntDomainOrBuilderList
public List<? extends IntDomainOrBuilder> getIntDomainOrBuilderList()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;- Specified by:
getIntDomainOrBuilderListin interfaceSchemaOrBuilder
-
addIntDomainBuilder
public IntDomain.Builder addIntDomainBuilder()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
addIntDomainBuilder
public IntDomain.Builder addIntDomainBuilder(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
getIntDomainBuilderList
public List<IntDomain.Builder> getIntDomainBuilderList()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;
-
getDefaultEnvironmentList
public com.google.protobuf.ProtocolStringList getDefaultEnvironmentList()
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Specified by:
getDefaultEnvironmentListin interfaceSchemaOrBuilder- Returns:
- A list containing the defaultEnvironment.
-
getDefaultEnvironmentCount
public int getDefaultEnvironmentCount()
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Specified by:
getDefaultEnvironmentCountin interfaceSchemaOrBuilder- Returns:
- The count of defaultEnvironment.
-
getDefaultEnvironment
public String getDefaultEnvironment(int index)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Specified by:
getDefaultEnvironmentin interfaceSchemaOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultEnvironment at the given index.
-
getDefaultEnvironmentBytes
public com.google.protobuf.ByteString getDefaultEnvironmentBytes(int index)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Specified by:
getDefaultEnvironmentBytesin interfaceSchemaOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the defaultEnvironment at the given index.
-
setDefaultEnvironment
public Schema.Builder setDefaultEnvironment(int index, String value)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Parameters:
index- The index to set the value at.value- The defaultEnvironment to set.- Returns:
- This builder for chaining.
-
addDefaultEnvironment
public Schema.Builder addDefaultEnvironment(String value)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Parameters:
value- The defaultEnvironment to add.- Returns:
- This builder for chaining.
-
addAllDefaultEnvironment
public Schema.Builder addAllDefaultEnvironment(Iterable<String> values)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Parameters:
values- The defaultEnvironment to add.- Returns:
- This builder for chaining.
-
clearDefaultEnvironment
public Schema.Builder clearDefaultEnvironment()
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Returns:
- This builder for chaining.
-
addDefaultEnvironmentBytes
public Schema.Builder addDefaultEnvironmentBytes(com.google.protobuf.ByteString value)
Default environments for each feature. An environment represents both a type of location (e.g. a server or phone) and a time (e.g. right before model X is run). In the standard scenario, 99% of the features should be in the default environments TRAINING, SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING (not at serving). Other possible variations: 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, and SERVING_SERVICE. 2. If one is ensembling three models, where the predictions of the first three models are available for the ensemble model, there may be TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. See FeatureProto::not_in_environment and FeatureProto::in_environment.repeated string default_environment = 5;- Parameters:
value- The bytes of the defaultEnvironment to add.- Returns:
- This builder for chaining.
-
hasAnnotation
public boolean hasAnnotation()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;- Specified by:
hasAnnotationin interfaceSchemaOrBuilder- Returns:
- Whether the annotation field is set.
-
getAnnotation
public Annotation getAnnotation()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;- Specified by:
getAnnotationin interfaceSchemaOrBuilder- Returns:
- The annotation.
-
setAnnotation
public Schema.Builder setAnnotation(Annotation value)
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;
-
setAnnotation
public Schema.Builder setAnnotation(Annotation.Builder builderForValue)
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;
-
mergeAnnotation
public Schema.Builder mergeAnnotation(Annotation value)
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;
-
clearAnnotation
public Schema.Builder clearAnnotation()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;
-
getAnnotationBuilder
public Annotation.Builder getAnnotationBuilder()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;
-
getAnnotationOrBuilder
public AnnotationOrBuilder getAnnotationOrBuilder()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;- Specified by:
getAnnotationOrBuilderin interfaceSchemaOrBuilder
-
hasDatasetConstraints
public boolean hasDatasetConstraints()
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;- Specified by:
hasDatasetConstraintsin interfaceSchemaOrBuilder- Returns:
- Whether the datasetConstraints field is set.
-
getDatasetConstraints
public DatasetConstraints getDatasetConstraints()
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;- Specified by:
getDatasetConstraintsin interfaceSchemaOrBuilder- Returns:
- The datasetConstraints.
-
setDatasetConstraints
public Schema.Builder setDatasetConstraints(DatasetConstraints value)
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
-
setDatasetConstraints
public Schema.Builder setDatasetConstraints(DatasetConstraints.Builder builderForValue)
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
-
mergeDatasetConstraints
public Schema.Builder mergeDatasetConstraints(DatasetConstraints value)
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
-
clearDatasetConstraints
public Schema.Builder clearDatasetConstraints()
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
-
getDatasetConstraintsBuilder
public DatasetConstraints.Builder getDatasetConstraintsBuilder()
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;
-
getDatasetConstraintsOrBuilder
public DatasetConstraintsOrBuilder getDatasetConstraintsOrBuilder()
Dataset-level constraints. This is currently used for specifying information about changes in num_examples.
optional .tensorflow.metadata.v0.DatasetConstraints dataset_constraints = 11;- Specified by:
getDatasetConstraintsOrBuilderin interfaceSchemaOrBuilder
-
getTensorRepresentationGroupCount
public int getTensorRepresentationGroupCount()
Description copied from interface:SchemaOrBuilderTensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;- Specified by:
getTensorRepresentationGroupCountin interfaceSchemaOrBuilder
-
containsTensorRepresentationGroup
public boolean containsTensorRepresentationGroup(String key)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;- Specified by:
containsTensorRepresentationGroupin interfaceSchemaOrBuilder
-
getTensorRepresentationGroup
@Deprecated public Map<String,TensorRepresentationGroup> getTensorRepresentationGroup()
Deprecated.UsegetTensorRepresentationGroupMap()instead.- Specified by:
getTensorRepresentationGroupin interfaceSchemaOrBuilder
-
getTensorRepresentationGroupMap
public Map<String,TensorRepresentationGroup> getTensorRepresentationGroupMap()
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;- Specified by:
getTensorRepresentationGroupMapin interfaceSchemaOrBuilder
-
getTensorRepresentationGroupOrDefault
public TensorRepresentationGroup getTensorRepresentationGroupOrDefault(String key, TensorRepresentationGroup defaultValue)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;- Specified by:
getTensorRepresentationGroupOrDefaultin interfaceSchemaOrBuilder
-
getTensorRepresentationGroupOrThrow
public TensorRepresentationGroup getTensorRepresentationGroupOrThrow(String key)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;- Specified by:
getTensorRepresentationGroupOrThrowin interfaceSchemaOrBuilder
-
clearTensorRepresentationGroup
public Schema.Builder clearTensorRepresentationGroup()
-
removeTensorRepresentationGroup
public Schema.Builder removeTensorRepresentationGroup(String key)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
-
getMutableTensorRepresentationGroup
@Deprecated public Map<String,TensorRepresentationGroup> getMutableTensorRepresentationGroup()
Deprecated.Use alternate mutation accessors instead.
-
putTensorRepresentationGroup
public Schema.Builder putTensorRepresentationGroup(String key, TensorRepresentationGroup value)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
-
putAllTensorRepresentationGroup
public Schema.Builder putAllTensorRepresentationGroup(Map<String,TensorRepresentationGroup> values)
TensorRepresentation groups. The keys are the names of the groups. Key "" (empty string) denotes the "default" group, which is what should be used when a group name is not provided. See the documentation at TensorRepresentationGroup for more info. Under development. DO NOT USE.
map<string, .tensorflow.metadata.v0.TensorRepresentationGroup> tensor_representation_group = 13;
-
setUnknownFields
public final Schema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
mergeUnknownFields
public final Schema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.Builder>
-
-