public interface SchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTensorRepresentationGroup(String key)
TensorRepresentation groups.
|
Annotation |
getAnnotation()
Additional information about the schema as a whole.
|
AnnotationOrBuilder |
getAnnotationOrBuilder()
Additional information about the schema as a whole.
|
DatasetConstraints |
getDatasetConstraints()
Dataset-level constraints.
|
DatasetConstraintsOrBuilder |
getDatasetConstraintsOrBuilder()
Dataset-level constraints.
|
String |
getDefaultEnvironment(int index)
Default environments for each feature.
|
com.google.protobuf.ByteString |
getDefaultEnvironmentBytes(int index)
Default environments for each feature.
|
int |
getDefaultEnvironmentCount()
Default environments for each feature.
|
List<String> |
getDefaultEnvironmentList()
Default environments for each feature.
|
Feature |
getFeature(int index)
Features described in this schema.
|
int |
getFeatureCount()
Features described in this schema.
|
List<Feature> |
getFeatureList()
Features described in this schema.
|
FeatureOrBuilder |
getFeatureOrBuilder(int index)
Features described in this schema.
|
List<? extends FeatureOrBuilder> |
getFeatureOrBuilderList()
Features described in this schema.
|
FloatDomain |
getFloatDomain(int index)
top level float domains that can be reused by features
|
int |
getFloatDomainCount()
top level float domains that can be reused by features
|
List<FloatDomain> |
getFloatDomainList()
top level float domains that can be reused by features
|
FloatDomainOrBuilder |
getFloatDomainOrBuilder(int index)
top level float domains that can be reused by features
|
List<? extends FloatDomainOrBuilder> |
getFloatDomainOrBuilderList()
top level float domains that can be reused by features
|
IntDomain |
getIntDomain(int index)
top level int domains that can be reused by features
|
int |
getIntDomainCount()
top level int domains that can be reused by features
|
List<IntDomain> |
getIntDomainList()
top level int domains that can be reused by features
|
IntDomainOrBuilder |
getIntDomainOrBuilder(int index)
top level int domains that can be reused by features
|
List<? extends IntDomainOrBuilder> |
getIntDomainOrBuilderList()
top level int domains that can be reused by features
|
SparseFeature |
getSparseFeature(int index)
Sparse features described in this schema.
|
int |
getSparseFeatureCount()
Sparse features described in this schema.
|
List<SparseFeature> |
getSparseFeatureList()
Sparse features described in this schema.
|
SparseFeatureOrBuilder |
getSparseFeatureOrBuilder(int index)
Sparse features described in this schema.
|
List<? extends SparseFeatureOrBuilder> |
getSparseFeatureOrBuilderList()
Sparse features described in this schema.
|
StringDomain |
getStringDomain(int index)
declared as top-level features in <feature>.
|
int |
getStringDomainCount()
declared as top-level features in <feature>.
|
List<StringDomain> |
getStringDomainList()
declared as top-level features in <feature>.
|
StringDomainOrBuilder |
getStringDomainOrBuilder(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.
|
int |
getTensorRepresentationGroupCount()
TensorRepresentation groups.
|
Map<String,TensorRepresentationGroup> |
getTensorRepresentationGroupMap()
TensorRepresentation groups.
|
TensorRepresentationGroup |
getTensorRepresentationGroupOrDefault(String key,
TensorRepresentationGroup defaultValue)
TensorRepresentation groups.
|
TensorRepresentationGroup |
getTensorRepresentationGroupOrThrow(String key)
TensorRepresentation groups.
|
WeightedFeature |
getWeightedFeature(int index)
Weighted features described in this schema.
|
int |
getWeightedFeatureCount()
Weighted features described in this schema.
|
List<WeightedFeature> |
getWeightedFeatureList()
Weighted features described in this schema.
|
WeightedFeatureOrBuilder |
getWeightedFeatureOrBuilder(int index)
Weighted features described in this schema.
|
List<? extends WeightedFeatureOrBuilder> |
getWeightedFeatureOrBuilderList()
Weighted features described in this schema.
|
boolean |
hasAnnotation()
Additional information about the schema as a whole.
|
boolean |
hasDatasetConstraints()
Dataset-level constraints.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<Feature> getFeatureList()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;Feature getFeature(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;int getFeatureCount()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;List<? extends FeatureOrBuilder> getFeatureOrBuilderList()
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;FeatureOrBuilder getFeatureOrBuilder(int index)
Features described in this schema.
repeated .tensorflow.metadata.v0.Feature feature = 1;List<SparseFeature> getSparseFeatureList()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;SparseFeature getSparseFeature(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;int getSparseFeatureCount()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;List<? extends SparseFeatureOrBuilder> getSparseFeatureOrBuilderList()
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;SparseFeatureOrBuilder getSparseFeatureOrBuilder(int index)
Sparse features described in this schema.
repeated .tensorflow.metadata.v0.SparseFeature sparse_feature = 6;List<WeightedFeature> getWeightedFeatureList()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;WeightedFeature getWeightedFeature(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;int getWeightedFeatureCount()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;List<? extends WeightedFeatureOrBuilder> getWeightedFeatureOrBuilderList()
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;WeightedFeatureOrBuilder getWeightedFeatureOrBuilder(int index)
Weighted features described in this schema.
repeated .tensorflow.metadata.v0.WeightedFeature weighted_feature = 12;List<StringDomain> getStringDomainList()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;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;int getStringDomainCount()
declared as top-level features in <feature>. String domains referenced in the features.
repeated .tensorflow.metadata.v0.StringDomain string_domain = 4;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;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;List<FloatDomain> getFloatDomainList()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;FloatDomain getFloatDomain(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;int getFloatDomainCount()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;List<? extends FloatDomainOrBuilder> getFloatDomainOrBuilderList()
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;FloatDomainOrBuilder getFloatDomainOrBuilder(int index)
top level float domains that can be reused by features
repeated .tensorflow.metadata.v0.FloatDomain float_domain = 9;List<IntDomain> getIntDomainList()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;IntDomain getIntDomain(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;int getIntDomainCount()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;List<? extends IntDomainOrBuilder> getIntDomainOrBuilderList()
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;IntDomainOrBuilder getIntDomainOrBuilder(int index)
top level int domains that can be reused by features
repeated .tensorflow.metadata.v0.IntDomain int_domain = 10;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.boolean hasAnnotation()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;Annotation getAnnotation()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;AnnotationOrBuilder getAnnotationOrBuilder()
Additional information about the schema as a whole. Features may also be annotated individually.
optional .tensorflow.metadata.v0.Annotation annotation = 8;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;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;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;int getTensorRepresentationGroupCount()
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;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;@Deprecated Map<String,TensorRepresentationGroup> getTensorRepresentationGroup()
getTensorRepresentationGroupMap() instead.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;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;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;Copyright © 2020 Gojek. All rights reserved.