Class BatchDeleteJobsResponse.Builder (2.84.0)

public static final class BatchDeleteJobsResponse.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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