Class BatchRunProcessRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchRunProcessRequest.Builder>
com.google.cloud.visionai.v1.BatchRunProcessRequest.Builder
All Implemented Interfaces:
BatchRunProcessRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchRunProcessRequest

public static final class BatchRunProcessRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchRunProcessRequest.Builder> implements BatchRunProcessRequestOrBuilder
 Request message for running the processes in a batch.
 
Protobuf type google.cloud.visionai.v1.BatchRunProcessRequest
  • 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<BatchRunProcessRequest.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<BatchRunProcessRequest.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<BatchRunProcessRequest.Builder>
    • getDefaultInstanceForType

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

      public BatchRunProcessRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BatchRunProcessRequest.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<BatchRunProcessRequest.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<BatchRunProcessRequest.Builder>
    • mergeFrom

      public BatchRunProcessRequest.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<BatchRunProcessRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource shared by all processes being created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchRunProcessRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource shared by all processes being created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchRunProcessRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public BatchRunProcessRequest.Builder setParent(String value)
       Required. The parent resource shared by all processes being created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public BatchRunProcessRequest.Builder clearParent()
       Required. The parent resource shared by all processes being created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchRunProcessRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource shared by all processes being created.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getRequestsList

      public List<CreateProcessRequest> getRequestsList()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchRunProcessRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchRunProcessRequestOrBuilder
    • getRequests

      public CreateProcessRequest getRequests(int index)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchRunProcessRequestOrBuilder
    • setRequests

      public BatchRunProcessRequest.Builder setRequests(int index, CreateProcessRequest value)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchRunProcessRequest.Builder setRequests(int index, CreateProcessRequest.Builder builderForValue)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchRunProcessRequest.Builder addRequests(int index, CreateProcessRequest value)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchRunProcessRequest.Builder addRequests(CreateProcessRequest.Builder builderForValue)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchRunProcessRequest.Builder addRequests(int index, CreateProcessRequest.Builder builderForValue)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

      public BatchRunProcessRequest.Builder addAllRequests(Iterable<? extends CreateProcessRequest> values)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

      public BatchRunProcessRequest.Builder clearRequests()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchRunProcessRequest.Builder removeRequests(int index)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public CreateProcessRequest.Builder getRequestsBuilder(int index)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public CreateProcessRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchRunProcessRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends CreateProcessRequestOrBuilder> getRequestsOrBuilderList()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchRunProcessRequestOrBuilder
    • addRequestsBuilder

      public CreateProcessRequest.Builder addRequestsBuilder()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public CreateProcessRequest.Builder addRequestsBuilder(int index)
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<CreateProcessRequest.Builder> getRequestsBuilderList()
       Required. The create process requests.
       
      repeated .google.cloud.visionai.v1.CreateProcessRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasOptions

      public boolean hasOptions()
       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOptions in interface BatchRunProcessRequestOrBuilder
      Returns:
      Whether the options field is set.
    • getOptions

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptions in interface BatchRunProcessRequestOrBuilder
      Returns:
      The options.
    • setOptions

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setOptions

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOptions

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearOptions

      public BatchRunProcessRequest.Builder clearOptions()
       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsBuilder

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsOrBuilder

       Optional. Options for batch processes.
       
      .google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptionsOrBuilder in interface BatchRunProcessRequestOrBuilder
    • getBatchId

      public String getBatchId()
       Output only. The batch ID.
       
      string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBatchId in interface BatchRunProcessRequestOrBuilder
      Returns:
      The batchId.
    • getBatchIdBytes

      public com.google.protobuf.ByteString getBatchIdBytes()
       Output only. The batch ID.
       
      string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBatchIdBytes in interface BatchRunProcessRequestOrBuilder
      Returns:
      The bytes for batchId.
    • setBatchId

      public BatchRunProcessRequest.Builder setBatchId(String value)
       Output only. The batch ID.
       
      string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The batchId to set.
      Returns:
      This builder for chaining.
    • clearBatchId

      public BatchRunProcessRequest.Builder clearBatchId()
       Output only. The batch ID.
       
      string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setBatchIdBytes

      public BatchRunProcessRequest.Builder setBatchIdBytes(com.google.protobuf.ByteString value)
       Output only. The batch ID.
       
      string batch_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for batchId to set.
      Returns:
      This builder for chaining.