Class JobOperationResult.Builder (2.56.0)

public static final class JobOperationResult.Builder extends GeneratedMessageV3.Builder<JobOperationResult.Builder> implements JobOperationResultOrBuilder

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

Protobuf type google.cloud.talent.v4beta1.JobOperationResult

Static Methods

getDescriptor()

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

Methods

addAllJobResults(Iterable<? extends JobOperationResult.JobResult> values)

public JobOperationResult.Builder addAllJobResults(Iterable<? extends JobOperationResult.JobResult> values)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

addJobResults(JobOperationResult.JobResult value)

public JobOperationResult.Builder addJobResults(JobOperationResult.JobResult value)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
value JobOperationResult.JobResult
Returns
Type Description
JobOperationResult.Builder

addJobResults(JobOperationResult.JobResult.Builder builderForValue)

public JobOperationResult.Builder addJobResults(JobOperationResult.JobResult.Builder builderForValue)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

addJobResults(int index, JobOperationResult.JobResult value)

public JobOperationResult.Builder addJobResults(int index, JobOperationResult.JobResult value)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

addJobResults(int index, JobOperationResult.JobResult.Builder builderForValue)

public JobOperationResult.Builder addJobResults(int index, JobOperationResult.JobResult.Builder builderForValue)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

addJobResultsBuilder()

public JobOperationResult.JobResult.Builder addJobResultsBuilder()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
JobOperationResult.JobResult.Builder

addJobResultsBuilder(int index)

public JobOperationResult.JobResult.Builder addJobResultsBuilder(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobOperationResult build()
Returns
Type Description
JobOperationResult

buildPartial()

public JobOperationResult buildPartial()
Returns
Type Description
JobOperationResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobResults()

public JobOperationResult.Builder clearJobResults()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
JobOperationResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public JobOperationResult getDefaultInstanceForType()
Returns
Type Description
JobOperationResult

getDescriptorForType()

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

getJobResults(int index)

public JobOperationResult.JobResult getJobResults(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResult

getJobResultsBuilder(int index)

public JobOperationResult.JobResult.Builder getJobResultsBuilder(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResult.Builder

getJobResultsBuilderList()

public List<JobOperationResult.JobResult.Builder> getJobResultsBuilderList()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
List<Builder>

getJobResultsCount()

public int getJobResultsCount()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
int

getJobResultsList()

public List<JobOperationResult.JobResult> getJobResultsList()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Returns
Type Description
List<JobResult>

getJobResultsOrBuilder(int index)

public JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.JobResultOrBuilder

getJobResultsOrBuilderList()

public List<? extends JobOperationResult.JobResultOrBuilder> getJobResultsOrBuilderList()

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(JobOperationResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobResults(int index)

public JobOperationResult.Builder removeJobResults(int index)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

Parameter
Name Description
index int
Returns
Type Description
JobOperationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobResults(int index, JobOperationResult.JobResult value)

public JobOperationResult.Builder setJobResults(int index, JobOperationResult.JobResult value)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

setJobResults(int index, JobOperationResult.JobResult.Builder builderForValue)

public JobOperationResult.Builder setJobResults(int index, JobOperationResult.JobResult.Builder builderForValue)

List of job mutation results from a batch mutate operation. It can change until operation status is FINISHED, FAILED or CANCELLED.

repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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