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
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
Name | Description |
values | Iterable<? extends com.google.cloud.talent.v4.Job>
|
Returns
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
Returns
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
Returns
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
Name | Description |
index | int
|
value | Job
|
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchUpdateJobsRequest build()
Returns
buildPartial()
public BatchUpdateJobsRequest buildPartial()
Returns
clear()
public BatchUpdateJobsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public BatchUpdateJobsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchUpdateJobsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
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
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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchUpdateJobsRequest other)
public BatchUpdateJobsRequest.Builder mergeFrom(BatchUpdateJobsRequest other)
Parameter
Returns
public BatchUpdateJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchUpdateJobsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
index | int
|
value | Job
|
Returns
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
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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