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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchCreateJobsResponse build()
Returns
TypeDescription
BatchCreateJobsResponse

buildPartial()

public BatchCreateJobsResponse buildPartial()
Returns
TypeDescription
BatchCreateJobsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BatchCreateJobsResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateJobsResponse

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

public BatchCreateJobsResponse.Builder mergeFrom(BatchCreateJobsResponse other)
Parameter
NameDescription
otherBatchCreateJobsResponse
Returns
TypeDescription
BatchCreateJobsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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