Package tensorflow.serving
Interface GetModelMetadata.GetModelMetadataResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetModelMetadata.GetModelMetadataResponse,GetModelMetadata.GetModelMetadataResponse.Builder
- Enclosing class:
GetModelMetadata
public static interface GetModelMetadata.GetModelMetadataResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Map of metadata field name to metadata field.Deprecated.intMap of metadata field name to metadata field.Map of metadata field name to metadata field.getMetadataOrDefault(String key, Any defaultValue) Map of metadata field name to metadata field.getMetadataOrThrow(String key) Map of metadata field name to metadata field.Model Specification indicating which model this metadata belongs to.Model Specification indicating which model this metadata belongs to.booleanModel Specification indicating which model this metadata belongs to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasModelSpec
boolean hasModelSpec()Model Specification indicating which model this metadata belongs to.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Model Specification indicating which model this metadata belongs to.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Model Specification indicating which model this metadata belongs to.
.tensorflow.serving.ModelSpec model_spec = 1; -
getMetadataCount
int getMetadataCount()Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
map<string, .google.protobuf.Any> metadata = 2; -
containsMetadata
Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
map<string, .google.protobuf.Any> metadata = 2; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
map<string, .google.protobuf.Any> metadata = 2; -
getMetadataOrDefault
Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
map<string, .google.protobuf.Any> metadata = 2; -
getMetadataOrThrow
Map of metadata field name to metadata field. The options for metadata field name are listed in GetModelMetadataRequest. Currently supported: "signature_def".
map<string, .google.protobuf.Any> metadata = 2;
-