Class BatchUpdateJobsResponse.Builder (2.32.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.JobResult>
Returns
TypeDescription
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
NameDescription
valueJobResult
Returns
TypeDescription
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
NameDescription
builderForValueJobResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueJobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
JobResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

build()

public BatchUpdateJobsResponse build()
Returns
TypeDescription
BatchUpdateJobsResponse

buildPartial()

public BatchUpdateJobsResponse buildPartial()
Returns
TypeDescription
BatchUpdateJobsResponse

clear()

public BatchUpdateJobsResponse.Builder clear()
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateJobsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BatchUpdateJobsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateJobsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

clone()

public BatchUpdateJobsResponse.Builder clone()
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchUpdateJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateJobsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.talent.v4.JobResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateJobsResponse other)

public BatchUpdateJobsResponse.Builder mergeFrom(BatchUpdateJobsResponse other)
Parameter
NameDescription
otherBatchUpdateJobsResponse
Returns
TypeDescription
BatchUpdateJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchUpdateJobsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchUpdateJobsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchUpdateJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueJobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobResult.Builder
Returns
TypeDescription
BatchUpdateJobsResponse.Builder

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

public BatchUpdateJobsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchUpdateJobsResponse.Builder
Overrides