Class CreateJobRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
com.google.dataflow.v1beta3.CreateJobRequest.Builder
All Implemented Interfaces:
CreateJobRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateJobRequest

public static final class CreateJobRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder> implements CreateJobRequestOrBuilder
 Request to create a Cloud Dataflow job.
 
Protobuf type google.dataflow.v1beta3.CreateJobRequest
  • 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<CreateJobRequest.Builder>
    • clear

      public CreateJobRequest.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<CreateJobRequest.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<CreateJobRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CreateJobRequest.Builder mergeFrom(CreateJobRequest other)
    • isInitialized

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

      public CreateJobRequest.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<CreateJobRequest.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface CreateJobRequestOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface CreateJobRequestOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public CreateJobRequest.Builder setProjectId(String value)
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public CreateJobRequest.Builder clearProjectId()
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public CreateJobRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       The ID of the Cloud Platform project that the job belongs to.
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • hasJob

      public boolean hasJob()
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
      Specified by:
      hasJob in interface CreateJobRequestOrBuilder
      Returns:
      Whether the job field is set.
    • getJob

      public Job getJob()
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
      Specified by:
      getJob in interface CreateJobRequestOrBuilder
      Returns:
      The job.
    • setJob

      public CreateJobRequest.Builder setJob(Job value)
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
    • setJob

      public CreateJobRequest.Builder setJob(Job.Builder builderForValue)
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
    • mergeJob

      public CreateJobRequest.Builder mergeJob(Job value)
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
    • clearJob

      public CreateJobRequest.Builder clearJob()
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
    • getJobBuilder

      public Job.Builder getJobBuilder()
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
    • getJobOrBuilder

      public JobOrBuilder getJobOrBuilder()
       The job to create.
       
      .google.dataflow.v1beta3.Job job = 2;
      Specified by:
      getJobOrBuilder in interface CreateJobRequestOrBuilder
    • getViewValue

      public int getViewValue()
       The level of information requested in response.
       
      .google.dataflow.v1beta3.JobView view = 3;
      Specified by:
      getViewValue in interface CreateJobRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • setViewValue

      public CreateJobRequest.Builder setViewValue(int value)
       The level of information requested in response.
       
      .google.dataflow.v1beta3.JobView view = 3;
      Parameters:
      value - The enum numeric value on the wire for view to set.
      Returns:
      This builder for chaining.
    • getView

      public JobView getView()
       The level of information requested in response.
       
      .google.dataflow.v1beta3.JobView view = 3;
      Specified by:
      getView in interface CreateJobRequestOrBuilder
      Returns:
      The view.
    • setView

      public CreateJobRequest.Builder setView(JobView value)
       The level of information requested in response.
       
      .google.dataflow.v1beta3.JobView view = 3;
      Parameters:
      value - The view to set.
      Returns:
      This builder for chaining.
    • clearView

      public CreateJobRequest.Builder clearView()
       The level of information requested in response.
       
      .google.dataflow.v1beta3.JobView view = 3;
      Returns:
      This builder for chaining.
    • getReplaceJobId

      public String getReplaceJobId()
       Deprecated. This field is now in the Job message.
       
      string replace_job_id = 4;
      Specified by:
      getReplaceJobId in interface CreateJobRequestOrBuilder
      Returns:
      The replaceJobId.
    • getReplaceJobIdBytes

      public com.google.protobuf.ByteString getReplaceJobIdBytes()
       Deprecated. This field is now in the Job message.
       
      string replace_job_id = 4;
      Specified by:
      getReplaceJobIdBytes in interface CreateJobRequestOrBuilder
      Returns:
      The bytes for replaceJobId.
    • setReplaceJobId

      public CreateJobRequest.Builder setReplaceJobId(String value)
       Deprecated. This field is now in the Job message.
       
      string replace_job_id = 4;
      Parameters:
      value - The replaceJobId to set.
      Returns:
      This builder for chaining.
    • clearReplaceJobId

      public CreateJobRequest.Builder clearReplaceJobId()
       Deprecated. This field is now in the Job message.
       
      string replace_job_id = 4;
      Returns:
      This builder for chaining.
    • setReplaceJobIdBytes

      public CreateJobRequest.Builder setReplaceJobIdBytes(com.google.protobuf.ByteString value)
       Deprecated. This field is now in the Job message.
       
      string replace_job_id = 4;
      Parameters:
      value - The bytes for replaceJobId to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 5;
      Specified by:
      getLocation in interface CreateJobRequestOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 5;
      Specified by:
      getLocationBytes in interface CreateJobRequestOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public CreateJobRequest.Builder setLocation(String value)
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 5;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public CreateJobRequest.Builder clearLocation()
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 5;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public CreateJobRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
       contains this job.
       
      string location = 5;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.