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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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 |
---|
Name | Description |
value | Job
|
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];
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
|
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];
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];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchUpdateJobsRequest build()
buildPartial()
public BatchUpdateJobsRequest buildPartial()
clear()
public BatchUpdateJobsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
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;
clone()
public BatchUpdateJobsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchUpdateJobsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
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];
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 |
---|
Name | Description |
index | int
|
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 |
---|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchUpdateJobsRequest other)
public BatchUpdateJobsRequest.Builder mergeFrom(BatchUpdateJobsRequest other)
public BatchUpdateJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchUpdateJobsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|