Class BatchUpdateJobsResponse.Builder (2.53.0)

public static final class BatchUpdateJobsResponse.Builder extends GeneratedMessageV3.Builder<BatchUpdateJobsResponse.Builder> implements BatchUpdateJobsResponseOrBuilder

The result of JobService.BatchUpdateJobs. It's used to replace google.longrunning.Operation.response in case of success.

Protobuf type google.cloud.talent.v4.BatchUpdateJobsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllJobResults(Iterable<? extends JobResult> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4.JobResult>
Returns
Type Description
BatchUpdateJobsResponse.Builder

addJobResults(JobResult value)

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;

Parameter
Name Description
value JobResult
Returns
Type Description
BatchUpdateJobsResponse.Builder

addJobResults(JobResult.Builder builderForValue)

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;

Parameter
Name Description
builderForValue JobResult.Builder
Returns
Type Description
BatchUpdateJobsResponse.Builder

addJobResults(int index, JobResult value)

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;

Parameters
Name Description
index int
value JobResult
Returns
Type Description
BatchUpdateJobsResponse.Builder

addJobResults(int index, JobResult.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue JobResult.Builder
Returns
Type Description
BatchUpdateJobsResponse.Builder

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;

Returns
Type Description
JobResult.Builder

addJobResultsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
JobResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

build()

public BatchUpdateJobsResponse build()
Returns
Type Description
BatchUpdateJobsResponse

buildPartial()

public BatchUpdateJobsResponse buildPartial()
Returns
Type Description
BatchUpdateJobsResponse

clear()

public BatchUpdateJobsResponse.Builder clear()
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

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;

Returns
Type Description
BatchUpdateJobsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

clone()

public BatchUpdateJobsResponse.Builder clone()
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchUpdateJobsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJobResults(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
JobResult

getJobResultsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
JobResult.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<JobResult>

getJobResultsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
JobResultOrBuilder

getJobResultsOrBuilderList()

public List<? extends JobResultOrBuilder> getJobResultsOrBuilderList()

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;

Returns
Type Description
List<? extends com.google.cloud.talent.v4.JobResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateJobsResponse other)

public BatchUpdateJobsResponse.Builder mergeFrom(BatchUpdateJobsResponse other)
Parameter
Name Description
other BatchUpdateJobsResponse
Returns
Type Description
BatchUpdateJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchUpdateJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchUpdateJobsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

removeJobResults(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

setJobResults(int index, JobResult value)

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;

Parameters
Name Description
index int
value JobResult
Returns
Type Description
BatchUpdateJobsResponse.Builder

setJobResults(int index, JobResult.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue JobResult.Builder
Returns
Type Description
BatchUpdateJobsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchUpdateJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchUpdateJobsResponse.Builder
Overrides