Package tensorflow.serving
Interface GetModelMetadata.GetModelMetadataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetModelMetadata.GetModelMetadataRequest,GetModelMetadata.GetModelMetadataRequest.Builder
- Enclosing class:
GetModelMetadata
public static interface GetModelMetadata.GetModelMetadataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMetadataField(int index) Metadata fields to get.com.google.protobuf.ByteStringgetMetadataFieldBytes(int index) Metadata fields to get.intMetadata fields to get.Metadata fields to get.Model Specification indicating which model we are querying for metadata.Model Specification indicating which model we are querying for metadata.booleanModel Specification indicating which model we are querying for metadata.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 we are querying for metadata. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
Model.ModelSpec getModelSpec()Model Specification indicating which model we are querying for metadata. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1;- Returns:
- The modelSpec.
-
getModelSpecOrBuilder
Model.ModelSpecOrBuilder getModelSpecOrBuilder()Model Specification indicating which model we are querying for metadata. If version is not specified, will use the latest (numerical) version.
.tensorflow.serving.ModelSpec model_spec = 1; -
getMetadataFieldList
Metadata fields to get. Currently supported: "signature_def".
repeated string metadata_field = 2;- Returns:
- A list containing the metadataField.
-
getMetadataFieldCount
int getMetadataFieldCount()Metadata fields to get. Currently supported: "signature_def".
repeated string metadata_field = 2;- Returns:
- The count of metadataField.
-
getMetadataField
Metadata fields to get. Currently supported: "signature_def".
repeated string metadata_field = 2;- Parameters:
index- The index of the element to return.- Returns:
- The metadataField at the given index.
-
getMetadataFieldBytes
com.google.protobuf.ByteString getMetadataFieldBytes(int index) Metadata fields to get. Currently supported: "signature_def".
repeated string metadata_field = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the metadataField at the given index.
-