Class CreateBatchPredictionJobRequest.Builder

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

public static final class CreateBatchPredictionJobRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateBatchPredictionJobRequest.Builder> implements CreateBatchPredictionJobRequestOrBuilder
 Request message for
 [JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob].
 
Protobuf type google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest
  • 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<CreateBatchPredictionJobRequest.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<CreateBatchPredictionJobRequest.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<CreateBatchPredictionJobRequest.Builder>
    • getDefaultInstanceForType

      public CreateBatchPredictionJobRequest 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 CreateBatchPredictionJobRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getParent()
       Required. The resource name of the Location to create the
       BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateBatchPredictionJobRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the Location to create the
       BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateBatchPredictionJobRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The resource name of the Location to create the
       BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The resource name of the Location to create the
       BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateBatchPredictionJobRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Location to create the
       BatchPredictionJob in. Format: `projects/{project}/locations/{location}`
       
      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.
    • hasBatchPredictionJob

      public boolean hasBatchPredictionJob()
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasBatchPredictionJob in interface CreateBatchPredictionJobRequestOrBuilder
      Returns:
      Whether the batchPredictionJob field is set.
    • getBatchPredictionJob

      public BatchPredictionJob getBatchPredictionJob()
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBatchPredictionJob in interface CreateBatchPredictionJobRequestOrBuilder
      Returns:
      The batchPredictionJob.
    • setBatchPredictionJob

      public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob value)
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • setBatchPredictionJob

      public CreateBatchPredictionJobRequest.Builder setBatchPredictionJob(BatchPredictionJob.Builder builderForValue)
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeBatchPredictionJob

      public CreateBatchPredictionJobRequest.Builder mergeBatchPredictionJob(BatchPredictionJob value)
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearBatchPredictionJob

      public CreateBatchPredictionJobRequest.Builder clearBatchPredictionJob()
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • getBatchPredictionJobBuilder

      public BatchPredictionJob.Builder getBatchPredictionJobBuilder()
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • getBatchPredictionJobOrBuilder

      public BatchPredictionJobOrBuilder getBatchPredictionJobOrBuilder()
       Required. The BatchPredictionJob to create.
       
      .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBatchPredictionJobOrBuilder in interface CreateBatchPredictionJobRequestOrBuilder