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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetMetadataField(int index)Metadata fields to get.com.google.protobuf.ByteStringgetMetadataFieldBytes(int index)Metadata fields to get.intgetMetadataFieldCount()Metadata fields to get.java.util.List<java.lang.String>getMetadataFieldList()Metadata fields to get.Model.ModelSpecgetModelSpec()Model Specification indicating which model we are querying for metadata.Model.ModelSpecOrBuildergetModelSpecOrBuilder()Model Specification indicating which model we are querying for metadata.booleanhasModelSpec()Model Specification indicating which model we are querying for metadata.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.util.List<java.lang.String> 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
java.lang.String getMetadataField(int index)
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.
-
-