Class BatchDeleteJobsResponse.Builder (2.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.JobResult>
Returns
TypeDescription
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
NameDescription
valueJobResult
Returns
TypeDescription
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
NameDescription
builderForValueJobResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueJobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
JobResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchDeleteJobsResponse build()
Returns
TypeDescription
BatchDeleteJobsResponse

buildPartial()

public BatchDeleteJobsResponse buildPartial()
Returns
TypeDescription
BatchDeleteJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchDeleteJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchDeleteJobsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDeleteJobsResponse other)

public BatchDeleteJobsResponse.Builder mergeFrom(BatchDeleteJobsResponse other)
Parameter
NameDescription
otherBatchDeleteJobsResponse
Returns
TypeDescription
BatchDeleteJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteJobsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueJobResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueJobResult.Builder
Returns
TypeDescription
BatchDeleteJobsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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