public static final class BatchCreateJobsRequest.Builder extends GeneratedMessage.Builder<BatchCreateJobsRequest.Builder> implements BatchCreateJobsRequestOrBuilderRequest to create a batch of jobs.
Protobuf type google.cloud.talent.v4.BatchCreateJobsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCreateJobsRequest.BuilderImplements
BatchCreateJobsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllJobs(Iterable<? extends Job> values)
public BatchCreateJobsRequest.Builder addAllJobs(Iterable<? extends Job> values)Required. The jobs to be created. A maximum of 200 jobs can be created 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 | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
addJobs(Job value)
public BatchCreateJobsRequest.Builder addJobs(Job value)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
addJobs(Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder addJobs(Job.Builder builderForValue)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
addJobs(int index, Job value)
public BatchCreateJobsRequest.Builder addJobs(int index, Job value)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
addJobs(int index, Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder addJobs(int index, Job.Builder builderForValue)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
addJobsBuilder()
public Job.Builder addJobsBuilder()Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.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 created. A maximum of 200 jobs can be created 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.Builder |
|
build()
public BatchCreateJobsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest |
|
buildPartial()
public BatchCreateJobsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest |
|
clear()
public BatchCreateJobsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
clearJobs()
public BatchCreateJobsRequest.Builder clearJobs()Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchCreateJobsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobs(int index)
public Job getJobs(int index)Required. The jobs to be created. A maximum of 200 jobs can be created 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 created. A maximum of 200 jobs can be created 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.Builder |
|
getJobsBuilderList()
public List<Job.Builder> getJobsBuilderList()Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getJobsCount()
public int getJobsCount()Required. The jobs to be created. A maximum of 200 jobs can be created 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 created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.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 created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.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 created. A maximum of 200 jobs can be created 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchCreateJobsRequest other)
public BatchCreateJobsRequest.Builder mergeFrom(BatchCreateJobsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreateJobsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCreateJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCreateJobsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
removeJobs(int index)
public BatchCreateJobsRequest.Builder removeJobs(int index)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
setJobs(int index, Job value)
public BatchCreateJobsRequest.Builder setJobs(int index, Job value)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Job |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
setJobs(int index, Job.Builder builderForValue)
public BatchCreateJobsRequest.Builder setJobs(int index, Job.Builder builderForValue)Required. The jobs to be created. A maximum of 200 jobs can be created in a batch.
repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Job.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
|
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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
This builder for chaining. |
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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateJobsRequest.Builder |
This builder for chaining. |