Class JobOperationResult.Builder (2.2.9)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResult>
Returns
TypeDescription
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
NameDescription
valueJobOperationResult.JobResult
Returns
TypeDescription
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
NameDescription
builderForValueJobOperationResult.JobResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueJobOperationResult.JobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobOperationResult.JobResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
JobOperationResult.JobResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public JobOperationResult build()
Returns
TypeDescription
JobOperationResult

buildPartial()

public JobOperationResult buildPartial()
Returns
TypeDescription
JobOperationResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public JobOperationResult getDefaultInstanceForType()
Returns
TypeDescription
JobOperationResult

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(JobOperationResult other)

public JobOperationResult.Builder mergeFrom(JobOperationResult other)
Parameter
NameDescription
otherJobOperationResult
Returns
TypeDescription
JobOperationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public JobOperationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueJobOperationResult.JobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobOperationResult.JobResult.Builder
Returns
TypeDescription
JobOperationResult.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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