Class BatchDeleteJobsResponse.Builder (2.45.0)

public static final class BatchDeleteJobsResponse.Builder extends GeneratedMessageV3.Builder<BatchDeleteJobsResponse.Builder> implements BatchDeleteJobsResponseOrBuilder

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

Protobuf type google.cloud.talent.v4.BatchDeleteJobsResponse

Static Methods

getDescriptor()

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

Methods

addAllJobResults(Iterable<? extends JobResult> values)

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

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

addJobResults(JobResult value)

public BatchDeleteJobsResponse.Builder addJobResults(JobResult value)

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

addJobResults(JobResult.Builder builderForValue)

public BatchDeleteJobsResponse.Builder addJobResults(JobResult.Builder builderForValue)

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

addJobResults(int index, JobResult value)

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

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

addJobResults(int index, JobResult.Builder builderForValue)

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

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

addJobResultsBuilder()

public JobResult.Builder addJobResultsBuilder()

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

build()

public BatchDeleteJobsResponse build()
Returns
Type Description
BatchDeleteJobsResponse

buildPartial()

public BatchDeleteJobsResponse buildPartial()
Returns
Type Description
BatchDeleteJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobResults()

public BatchDeleteJobsResponse.Builder clearJobResults()

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

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

Returns
Type Description
BatchDeleteJobsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchDeleteJobsResponse getDefaultInstanceForType()
Returns
Type Description
BatchDeleteJobsResponse

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 delete 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 delete 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 delete 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 delete 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 delete 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 delete 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 delete 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(BatchDeleteJobsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeJobResults(int index)

public BatchDeleteJobsResponse.Builder removeJobResults(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobResults(int index, JobResult value)

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

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

setJobResults(int index, JobResult.Builder builderForValue)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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