Class GetModelStatus.GetModelStatusRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
tensorflow.serving.GetModelStatus.GetModelStatusRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GetModelStatus.GetModelStatusRequestOrBuilder
Enclosing class:
GetModelStatus.GetModelStatusRequest

public static final class GetModelStatus.GetModelStatusRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder> implements GetModelStatus.GetModelStatusRequestOrBuilder
 GetModelStatusRequest contains a ModelSpec indicating the model for which
 to get status.
 
Protobuf type tensorflow.serving.GetModelStatusRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
    • getDefaultInstanceForType

      public GetModelStatus.GetModelStatusRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetModelStatus.GetModelStatusRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GetModelStatus.GetModelStatusRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
    • mergeFrom

      public GetModelStatus.GetModelStatusRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetModelStatus.GetModelStatusRequest.Builder>
      Throws:
      IOException
    • hasModelSpec

      public boolean hasModelSpec()
       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      hasModelSpec in interface GetModelStatus.GetModelStatusRequestOrBuilder
      Returns:
      Whether the modelSpec field is set.
    • getModelSpec

      public Model.ModelSpec getModelSpec()
       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      getModelSpec in interface GetModelStatus.GetModelStatusRequestOrBuilder
      Returns:
      The modelSpec.
    • setModelSpec

       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
    • setModelSpec

       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
    • mergeModelSpec

       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
    • clearModelSpec

       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
    • getModelSpecBuilder

      public Model.ModelSpec.Builder getModelSpecBuilder()
       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
    • getModelSpecOrBuilder

      public Model.ModelSpecOrBuilder getModelSpecOrBuilder()
       Model Specification. If version is not specified, information about all
       versions of the model will be returned. If a version is specified, the
       status of only that version will be returned.
       
      .tensorflow.serving.ModelSpec model_spec = 1;
      Specified by:
      getModelSpecOrBuilder in interface GetModelStatus.GetModelStatusRequestOrBuilder