Class BatchDeleteJobsRequest.Builder (2.38.0)

public static final class BatchDeleteJobsRequest.Builder extends GeneratedMessageV3.Builder<BatchDeleteJobsRequest.Builder> implements BatchDeleteJobsRequestOrBuilder

Request to delete a batch of jobs.

Protobuf type google.cloud.talent.v4.BatchDeleteJobsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNames(Iterable<String> values)

public BatchDeleteJobsRequest.Builder addAllNames(Iterable<String> values)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valuesIterable<String>

The names to add.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

addNames(String value)

public BatchDeleteJobsRequest.Builder addNames(String value)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The names to add.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

addNamesBytes(ByteString value)

public BatchDeleteJobsRequest.Builder addNamesBytes(ByteString value)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes of the names to add.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

build()

public BatchDeleteJobsRequest build()
Returns
TypeDescription
BatchDeleteJobsRequest

buildPartial()

public BatchDeleteJobsRequest buildPartial()
Returns
TypeDescription
BatchDeleteJobsRequest

clear()

public BatchDeleteJobsRequest.Builder clear()
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchDeleteJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

clearNames()

public BatchDeleteJobsRequest.Builder clearNames()

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchDeleteJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

clearParent()

public BatchDeleteJobsRequest.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".

The parent of all of the jobs specified in names must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

clone()

public BatchDeleteJobsRequest.Builder clone()
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchDeleteJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchDeleteJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNames(int index)

public String getNames(int index)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The names at the given index.

getNamesBytes(int index)

public ByteString getNamesBytes(int index)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the names at the given index.

getNamesCount()

public int getNamesCount()

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of names.

getNamesList()

public ProtocolStringList getNamesList()

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the names.

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".

The parent of all of the jobs specified in names must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
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".

The parent of all of the jobs specified in names must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchDeleteJobsRequest other)

public BatchDeleteJobsRequest.Builder mergeFrom(BatchDeleteJobsRequest other)
Parameter
NameDescription
otherBatchDeleteJobsRequest
Returns
TypeDescription
BatchDeleteJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDeleteJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchDeleteJobsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BatchDeleteJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

setNames(int index, String value)

public BatchDeleteJobsRequest.Builder setNames(int index, String value)

The names of the jobs to delete.

The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example, "projects/foo/tenants/bar/jobs/baz".

A maximum of 200 jobs can be deleted in a batch.

repeated string names = 2 [(.google.api.resource_reference) = { ... }

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The names to set.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

setParent(String value)

public BatchDeleteJobsRequest.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".

The parent of all of the jobs specified in names must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchDeleteJobsRequest.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".

The parent of all of the jobs specified in names must match this field.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchDeleteJobsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchDeleteJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchDeleteJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchDeleteJobsRequest.Builder
Overrides