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
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 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>
|
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 |
---|
Name | Description |
value | Job
|
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];
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
|
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];
addJobsBuilder()
public Job.Builder addJobsBuilder()
Required. The jobs to be created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchCreateJobsRequest build()
buildPartial()
public BatchCreateJobsRequest buildPartial()
clear()
public BatchCreateJobsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public BatchCreateJobsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateJobsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Job | |
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 |
---|
Name | Description |
index | int
|
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];
getJobsCount()
public int getJobsCount()
Required. The jobs to be created.
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 created.
repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateJobsRequest other)
public BatchCreateJobsRequest.Builder mergeFrom(BatchCreateJobsRequest other)
public BatchCreateJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateJobsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides