Class BatchCreateJobsResponse.Builder (2.55.0)

public static final class BatchCreateJobsResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateJobsResponse.Builder> implements BatchCreateJobsResponseOrBuilder

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

Protobuf type google.cloud.talent.v4.BatchCreateJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllJobResults(Iterable<? extends JobResult> values)

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

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

addJobResults(JobResult value)

public BatchCreateJobsResponse.Builder addJobResults(JobResult value)

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

addJobResults(JobResult.Builder builderForValue)

public BatchCreateJobsResponse.Builder addJobResults(JobResult.Builder builderForValue)

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

addJobResults(int index, JobResult value)

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

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

addJobResults(int index, JobResult.Builder builderForValue)

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

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

addJobResultsBuilder()

public JobResult.Builder addJobResultsBuilder()

List of job mutation results from a batch create 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 create 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 BatchCreateJobsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateJobsResponse.Builder
Overrides

build()

public BatchCreateJobsResponse build()
Returns
Type Description
BatchCreateJobsResponse

buildPartial()

public BatchCreateJobsResponse buildPartial()
Returns
Type Description
BatchCreateJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobResults()

public BatchCreateJobsResponse.Builder clearJobResults()

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

repeated .google.cloud.talent.v4.JobResult job_results = 1;

Returns
Type Description
BatchCreateJobsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchCreateJobsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateJobsResponse

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 create 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 create 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 create 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 create 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 create 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 create 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 create 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(BatchCreateJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobResults(int index)

public BatchCreateJobsResponse.Builder removeJobResults(int index)

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobResults(int index, JobResult value)

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

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

setJobResults(int index, JobResult.Builder builderForValue)

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

List of job mutation results from a batch create 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
BatchCreateJobsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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