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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobOperationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobOperationResult build()
Returns
buildPartial()
public JobOperationResult buildPartial()
Returns
clear()
public JobOperationResult.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobOperationResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public JobOperationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public JobOperationResult.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public JobOperationResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(JobOperationResult other)
public JobOperationResult.Builder mergeFrom(JobOperationResult other)
Parameter
Returns
public JobOperationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobOperationResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobOperationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public JobOperationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobOperationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobOperationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides