Class BatchDeleteJobsRequest.Builder (2.84.0)

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

Batch delete jobs request.

Protobuf type google.cloud.talent.v4beta1.BatchDeleteJobsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public BatchDeleteJobsRequest build()
Returns
Type Description
BatchDeleteJobsRequest

buildPartial()

public BatchDeleteJobsRequest buildPartial()
Returns
Type Description
BatchDeleteJobsRequest

clear()

public BatchDeleteJobsRequest.Builder clear()
Returns
Type Description
BatchDeleteJobsRequest.Builder
Overrides

clearFilter()

public BatchDeleteJobsRequest.Builder clearFilter()

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

    Sample Query: companyName = "projects/foo/companies/bar" AND requisitionId = "req-1"

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BatchDeleteJobsRequest.Builder

This builder for chaining.

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/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
BatchDeleteJobsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public BatchDeleteJobsRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeleteJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

    Sample Query: companyName = "projects/foo/companies/bar" AND requisitionId = "req-1"

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

    Sample Query: companyName = "projects/foo/companies/bar" AND requisitionId = "req-1"

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for filter.

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDeleteJobsRequest other)

public BatchDeleteJobsRequest.Builder mergeFrom(BatchDeleteJobsRequest other)
Parameter
Name Description
other BatchDeleteJobsRequest
Returns
Type Description
BatchDeleteJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchDeleteJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteJobsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchDeleteJobsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchDeleteJobsRequest.Builder
Overrides

setFilter(String value)

public BatchDeleteJobsRequest.Builder setFilter(String value)

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

    Sample Query: companyName = "projects/foo/companies/bar" AND requisitionId = "req-1"

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
BatchDeleteJobsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public BatchDeleteJobsRequest.Builder setFilterBytes(ByteString value)

Required. The filter string specifies the jobs to be deleted.

Supported operator: =, AND

The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required)

    Sample Query: companyName = "projects/foo/companies/bar" AND requisitionId = "req-1"

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
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/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
Type Description
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/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
Type Description
BatchDeleteJobsRequest.Builder

This builder for chaining.