public static final class BatchCreateJobsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateJobsRequest.Builder> implements BatchCreateJobsRequestOrBuilder
Request to create a batch of jobs.
Protobuf type google.cloud.talent.v4beta1.BatchCreateJobsRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllJobs(Iterable<? extends Job> values)
public BatchCreateJobsRequest.Builder addAllJobs(Iterable<? extends Job> values)
Required. The jobs to be created.
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
addJobs(Job value)
public BatchCreateJobsRequest.Builder addJobs(Job value)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addJobs(Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder addJobs(Job.Builder builderForValue)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addJobs(int index, Job value)
public BatchCreateJobsRequest.Builder addJobs(int index, Job value)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Name | Description |
index | int
|
value | Job
|
Returns
addJobs(int index, Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder addJobs(int index, Job.Builder builderForValue)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addJobsBuilder()
public Job.Builder addJobsBuilder()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
addJobsBuilder(int index)
public Job.Builder addJobsBuilder(int index)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchCreateJobsRequest build()
Returns
buildPartial()
public BatchCreateJobsRequest buildPartial()
Returns
clear()
public BatchCreateJobsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobs()
public BatchCreateJobsRequest.Builder clearJobs()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public BatchCreateJobsRequest.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
clone()
public BatchCreateJobsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateJobsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJobs(int index)
public Job getJobs(int index)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getJobsBuilder(int index)
public Job.Builder getJobsBuilder(int index)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobsCount()
public int getJobsCount()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobsList()
public List<Job> getJobsList()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getJobsOrBuilder(int index)
public JobOrBuilder getJobsOrBuilder(int index)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getJobsOrBuilderList()
public List<? extends JobOrBuilder> getJobsOrBuilderList()
Required. The jobs to be created.
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchCreateJobsRequest other)
public BatchCreateJobsRequest.Builder mergeFrom(BatchCreateJobsRequest other)
Parameter
Returns
public BatchCreateJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchCreateJobsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeJobs(int index)
public BatchCreateJobsRequest.Builder removeJobs(int index)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setJobs(int index, Job value)
public BatchCreateJobsRequest.Builder setJobs(int index, Job value)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Name | Description |
index | int
|
value | Job
|
Returns
setJobs(int index, Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder setJobs(int index, Job.Builder builderForValue)
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setParent(String value)
public BatchCreateJobsRequest.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
setParentBytes(ByteString value)
public BatchCreateJobsRequest.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides