Class BatchUpdateJobsResponse.Builder

  • All Implemented Interfaces:
    BatchUpdateJobsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    BatchUpdateJobsResponse

    public static final class BatchUpdateJobsResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
    implements BatchUpdateJobsResponseOrBuilder
     The result of
     [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs].
     It's used to replace
     [google.longrunning.Operation.response][google.longrunning.Operation.response]
     in case of success.
     
    Protobuf type google.cloud.talent.v4.BatchUpdateJobsResponse
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • clear

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

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

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

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

        public BatchUpdateJobsResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • clearField

        public BatchUpdateJobsResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • clearOneof

        public BatchUpdateJobsResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • setRepeatedField

        public BatchUpdateJobsResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • addRepeatedField

        public BatchUpdateJobsResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • isInitialized

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

        public BatchUpdateJobsResponse.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<BatchUpdateJobsResponse.Builder>
        Throws:
        IOException
      • getJobResultsList

        public List<JobResult> getJobResultsList()
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
        Specified by:
        getJobResultsList in interface BatchUpdateJobsResponseOrBuilder
      • getJobResultsCount

        public int getJobResultsCount()
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
        Specified by:
        getJobResultsCount in interface BatchUpdateJobsResponseOrBuilder
      • getJobResults

        public JobResult getJobResults​(int index)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
        Specified by:
        getJobResults in interface BatchUpdateJobsResponseOrBuilder
      • setJobResults

        public BatchUpdateJobsResponse.Builder setJobResults​(int index,
                                                             JobResult value)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • setJobResults

        public BatchUpdateJobsResponse.Builder setJobResults​(int index,
                                                             JobResult.Builder builderForValue)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addJobResults

        public BatchUpdateJobsResponse.Builder addJobResults​(JobResult value)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addJobResults

        public BatchUpdateJobsResponse.Builder addJobResults​(int index,
                                                             JobResult value)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addJobResults

        public BatchUpdateJobsResponse.Builder addJobResults​(JobResult.Builder builderForValue)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addJobResults

        public BatchUpdateJobsResponse.Builder addJobResults​(int index,
                                                             JobResult.Builder builderForValue)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addAllJobResults

        public BatchUpdateJobsResponse.Builder addAllJobResults​(Iterable<? extends JobResult> values)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • clearJobResults

        public BatchUpdateJobsResponse.Builder clearJobResults()
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • removeJobResults

        public BatchUpdateJobsResponse.Builder removeJobResults​(int index)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • getJobResultsBuilder

        public JobResult.Builder getJobResultsBuilder​(int index)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • getJobResultsOrBuilder

        public JobResultOrBuilder getJobResultsOrBuilder​(int index)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
        Specified by:
        getJobResultsOrBuilder in interface BatchUpdateJobsResponseOrBuilder
      • addJobResultsBuilder

        public JobResult.Builder addJobResultsBuilder()
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • addJobResultsBuilder

        public JobResult.Builder addJobResultsBuilder​(int index)
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • getJobResultsBuilderList

        public List<JobResult.Builder> getJobResultsBuilderList()
         List of job mutation results from a batch update operation. It can change
         until operation status is FINISHED, FAILED or CANCELLED.
         
        repeated .google.cloud.talent.v4.JobResult job_results = 1;
      • setUnknownFields

        public final BatchUpdateJobsResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>
      • mergeUnknownFields

        public final BatchUpdateJobsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder>