Interface GetModelMetadata.GetModelMetadataRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getMetadataField​(int index)
      Metadata fields to get.
      com.google.protobuf.ByteString getMetadataFieldBytes​(int index)
      Metadata fields to get.
      int getMetadataFieldCount()
      Metadata fields to get.
      java.util.List<java.lang.String> getMetadataFieldList()
      Metadata fields to get.
      Model.ModelSpec getModelSpec()
      Model Specification indicating which model we are querying for metadata.
      Model.ModelSpecOrBuilder getModelSpecOrBuilder()
      Model Specification indicating which model we are querying for metadata.
      boolean hasModelSpec()
      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 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.