Class BatchUpdateJobsRequest.Builder (2.9.0)

public static final class BatchUpdateJobsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateJobsRequest.Builder> implements BatchUpdateJobsRequestOrBuilder

Request to update a batch of jobs.

Protobuf type google.cloud.talent.v4.BatchUpdateJobsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllJobs(Iterable<? extends Job> values)

public BatchUpdateJobsRequest.Builder addAllJobs(Iterable<? extends Job> values)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.talent.v4.Job>
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

addJobs(Job value)

public BatchUpdateJobsRequest.Builder addJobs(Job value)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueJob
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

addJobs(Job.Builder builderForValue)

public BatchUpdateJobsRequest.Builder addJobs(Job.Builder builderForValue)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueJob.Builder
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

addJobs(int index, Job value)

public BatchUpdateJobsRequest.Builder addJobs(int index, Job value)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueJob
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

addJobs(int index, Job.Builder builderForValue)

public BatchUpdateJobsRequest.Builder addJobs(int index, Job.Builder builderForValue)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueJob.Builder
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

addJobsBuilder()

public Job.Builder addJobsBuilder()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Job.Builder

addJobsBuilder(int index)

public Job.Builder addJobsBuilder(int index)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Job.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateJobsRequest build()
Returns
TypeDescription
BatchUpdateJobsRequest

buildPartial()

public BatchUpdateJobsRequest buildPartial()
Returns
TypeDescription
BatchUpdateJobsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchUpdateJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchUpdateJobsRequest.Builder
Overrides

clearJobs()

public BatchUpdateJobsRequest.Builder clearJobs()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchUpdateJobsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchUpdateJobsRequest.Builder clearParent()

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchUpdateJobsRequest.Builder

This builder for chaining.

clearUpdateMask()

public BatchUpdateJobsRequest.Builder clearUpdateMask()

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
BatchUpdateJobsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobs(int index)

public Job getJobs(int index)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Job

getJobsBuilder(int index)

public Job.Builder getJobsBuilder(int index)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Job.Builder

getJobsBuilderList()

public List<Job.Builder> getJobsBuilderList()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getJobsCount()

public int getJobsCount()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getJobsList()

public List<Job> getJobsList()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Job>

getJobsOrBuilder(int index)

public JobOrBuilder getJobsOrBuilder(int index)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
JobOrBuilder

getJobsOrBuilderList()

public List<? extends JobOrBuilder> getJobsOrBuilderList()

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.JobOrBuilder>

getParent()

public String getParent()

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getUpdateMask()

public FieldMask getUpdateMask()

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateJobsRequest other)

public BatchUpdateJobsRequest.Builder mergeFrom(BatchUpdateJobsRequest other)
Parameter
NameDescription
otherBatchUpdateJobsRequest
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchUpdateJobsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public BatchUpdateJobsRequest.Builder mergeUpdateMask(FieldMask value)

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

removeJobs(int index)

public BatchUpdateJobsRequest.Builder removeJobs(int index)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobs(int index, Job value)

public BatchUpdateJobsRequest.Builder setJobs(int index, Job value)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueJob
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

setJobs(int index, Job.Builder builderForValue)

public BatchUpdateJobsRequest.Builder setJobs(int index, Job.Builder builderForValue)

Required. The jobs to be updated. A maximum of 200 jobs can be updated in a batch.

repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueJob.Builder
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

setParent(String value)

public BatchUpdateJobsRequest.Builder setParent(String value)

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchUpdateJobsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateJobsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the tenant under which the job is created. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchUpdateJobsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public BatchUpdateJobsRequest.Builder setUpdateMask(FieldMask value)

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
BatchUpdateJobsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public BatchUpdateJobsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Strongly recommended for the best service experience. Be aware that it will also increase latency when checking the status of a batch operation. If update_mask is provided, only the specified fields in Job are updated. Otherwise all the fields are updated. A field mask to restrict the fields that are updated. Only top level fields of Job are supported. If update_mask is provided, The Job inside JobResult will only contains fields that is updated, plus the Id of the Job. Otherwise, Job will include all fields, which can yield a very large response.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BatchUpdateJobsRequest.Builder