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 Type
    Method
    Description
    getMetadataField(int index)
    Metadata fields to get.
    com.google.protobuf.ByteString
    Metadata fields to get.
    int
    Metadata 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.
    boolean
    Model Specification indicating which model we are querying for metadata.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<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

      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.