Class BatchUpdateJobsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder>
com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder
All Implemented Interfaces:
BatchUpdateJobsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchUpdateJobsRequest

public static final class BatchUpdateJobsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdateJobsRequest.Builder> implements BatchUpdateJobsRequestOrBuilder
 Request to update a batch of jobs.
 
Protobuf type google.cloud.talent.v4.BatchUpdateJobsRequest
  • 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<BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.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<BatchUpdateJobsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchUpdateJobsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchUpdateJobsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public BatchUpdateJobsRequest.Builder setParent(String value)
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      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 BatchUpdateJobsRequest.Builder clearParent()
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchUpdateJobsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the tenant under which the job is created.
      
       The format is "projects/{project_id}/tenants/{tenant_id}". For example,
       "projects/foo/tenants/bar".
       
      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.
    • getJobsList

      public List<Job> getJobsList()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobsList in interface BatchUpdateJobsRequestOrBuilder
    • getJobsCount

      public int getJobsCount()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobsCount in interface BatchUpdateJobsRequestOrBuilder
    • getJobs

      public Job getJobs(int index)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobs in interface BatchUpdateJobsRequestOrBuilder
    • setJobs

      public BatchUpdateJobsRequest.Builder setJobs(int index, Job value)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • setJobs

      public BatchUpdateJobsRequest.Builder setJobs(int index, Job.Builder builderForValue)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addJobs

      public BatchUpdateJobsRequest.Builder addJobs(Job value)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addJobs

      public BatchUpdateJobsRequest.Builder addJobs(int index, Job value)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addJobs

      public BatchUpdateJobsRequest.Builder addJobs(Job.Builder builderForValue)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addJobs

      public BatchUpdateJobsRequest.Builder addJobs(int index, Job.Builder builderForValue)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllJobs

      public BatchUpdateJobsRequest.Builder addAllJobs(Iterable<? extends Job> values)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearJobs

      public BatchUpdateJobsRequest.Builder clearJobs()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeJobs

      public BatchUpdateJobsRequest.Builder removeJobs(int index)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getJobsBuilder

      public Job.Builder getJobsBuilder(int index)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getJobsOrBuilder

      public JobOrBuilder getJobsOrBuilder(int index)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobsOrBuilder in interface BatchUpdateJobsRequestOrBuilder
    • getJobsOrBuilderList

      public List<? extends JobOrBuilder> getJobsOrBuilderList()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getJobsOrBuilderList in interface BatchUpdateJobsRequestOrBuilder
    • addJobsBuilder

      public Job.Builder addJobsBuilder()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • addJobsBuilder

      public Job.Builder addJobsBuilder(int index)
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • getJobsBuilderList

      public List<Job.Builder> getJobsBuilderList()
       Required. The jobs to be updated.
       A maximum of 200 jobs can be updated in a batch.
       
      repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      public boolean hasUpdateMask()
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
      Specified by:
      hasUpdateMask in interface BatchUpdateJobsRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
      Specified by:
      getUpdateMask in interface BatchUpdateJobsRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public BatchUpdateJobsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
    • setUpdateMask

      public BatchUpdateJobsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
    • mergeUpdateMask

      public BatchUpdateJobsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
    • clearUpdateMask

      public BatchUpdateJobsRequest.Builder clearUpdateMask()
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Strongly recommended for the best service experience. Be aware that it will
       also increase latency when checking the status of a batch operation.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, only the specified fields in [Job][google.cloud.talent.v4.Job]
       are updated. Otherwise all the fields are updated.
      
       A field mask to restrict the fields that are updated. Only
       top level fields of [Job][google.cloud.talent.v4.Job] are supported.
      
       If [update_mask][google.cloud.talent.v4.BatchUpdateJobsRequest.update_mask]
       is provided, The [Job][google.cloud.talent.v4.Job] inside
       [JobResult][google.cloud.talent.v4.JobResult]
       will only contains fields that is updated, plus the Id of the Job.
       Otherwise,  [Job][google.cloud.talent.v4.Job] will include all fields,
       which can yield a very large response.
       
      .google.protobuf.FieldMask update_mask = 3;
      Specified by:
      getUpdateMaskOrBuilder in interface BatchUpdateJobsRequestOrBuilder