Class BatchUpdateJobsRequest.Builder (2.46.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.v4beta1.BatchUpdateJobsRequest

Static Methods

getDescriptor()

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

Methods

addAllJobs(Iterable<? extends Job> values)

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

Required. The jobs to be updated.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.talent.v4beta1.Job>
Returns
Type Description
BatchUpdateJobsRequest.Builder

addJobs(Job value)

public BatchUpdateJobsRequest.Builder addJobs(Job value)

Required. The jobs to be updated.

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

Parameter
Name Description
value Job
Returns
Type Description
BatchUpdateJobsRequest.Builder

addJobs(Job.Builder builderForValue)

public BatchUpdateJobsRequest.Builder addJobs(Job.Builder builderForValue)

Required. The jobs to be updated.

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

Parameter
Name Description
builderForValue Job.Builder
Returns
Type Description
BatchUpdateJobsRequest.Builder

addJobs(int index, Job value)

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

Required. The jobs to be updated.

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

Parameters
Name Description
index int
value Job
Returns
Type Description
BatchUpdateJobsRequest.Builder

addJobs(int index, Job.Builder builderForValue)

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

Required. The jobs to be updated.

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

Parameters
Name Description
index int
builderForValue Job.Builder
Returns
Type Description
BatchUpdateJobsRequest.Builder

addJobsBuilder()

public Job.Builder addJobsBuilder()

Required. The jobs to be updated.

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

Returns
Type Description
Job.Builder

addJobsBuilder(int index)

public Job.Builder addJobsBuilder(int index)

Required. The jobs to be updated.

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

Parameter
Name Description
index int
Returns
Type Description
Job.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchUpdateJobsRequest build()
Returns
Type Description
BatchUpdateJobsRequest

buildPartial()

public BatchUpdateJobsRequest buildPartial()
Returns
Type Description
BatchUpdateJobsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobs()

public BatchUpdateJobsRequest.Builder clearJobs()

Required. The jobs to be updated.

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

Returns
Type Description
BatchUpdateJobsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Returns
Type Description
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
Type Description
BatchUpdateJobsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateJobsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getJobs(int index)

public Job getJobs(int index)

Required. The jobs to be updated.

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

Parameter
Name Description
index int
Returns
Type Description
Job

getJobsBuilder(int index)

public Job.Builder getJobsBuilder(int index)

Required. The jobs to be updated.

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

Parameter
Name Description
index int
Returns
Type Description
Job.Builder

getJobsBuilderList()

public List<Job.Builder> getJobsBuilderList()

Required. The jobs to be updated.

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

Returns
Type Description
List<Builder>

getJobsCount()

public int getJobsCount()

Required. The jobs to be updated.

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

Returns
Type Description
int

getJobsList()

public List<Job> getJobsList()

Required. The jobs to be updated.

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

Returns
Type Description
List<Job>

getJobsOrBuilder(int index)

public JobOrBuilder getJobsOrBuilder(int index)

Required. The jobs to be updated.

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

Parameter
Name Description
index int
Returns
Type Description
JobOrBuilder

getJobsOrBuilderList()

public List<? extends JobOrBuilder> getJobsOrBuilderList()

Required. The jobs to be updated.

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

Returns
Type Description
List<? extends com.google.cloud.talent.v4beta1.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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Returns
Type Description
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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateJobsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
BatchUpdateJobsRequest.Builder

removeJobs(int index)

public BatchUpdateJobsRequest.Builder removeJobs(int index)

Required. The jobs to be updated.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateJobsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobs(int index, Job value)

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

Required. The jobs to be updated.

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

Parameters
Name Description
index int
value Job
Returns
Type Description
BatchUpdateJobsRequest.Builder

setJobs(int index, Job.Builder builderForValue)

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

Required. The jobs to be updated.

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

Parameters
Name Description
index int
builderForValue Job.Builder
Returns
Type Description
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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
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/tenant/bar". If tenant id is unspecified, a default tenant is created. For example, "projects/foo".

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchUpdateJobsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
BatchUpdateJobsRequest.Builder