Class GetJobRequest.Builder (2.84.0)

public static final class GetJobRequest.Builder extends GeneratedMessage.Builder<GetJobRequest.Builder> implements GetJobRequestOrBuilder

Get job request.

Protobuf type google.cloud.talent.v4.GetJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetJobRequest build()
Returns
Type Description
GetJobRequest

buildPartial()

public GetJobRequest buildPartial()
Returns
Type Description
GetJobRequest

clear()

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

clearName()

public GetJobRequest.Builder clearName()

Required. The resource name of the job to retrieve.

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

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

Returns
Type Description
GetJobRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetJobRequest getDefaultInstanceForType()
Returns
Type Description
GetJobRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the job to retrieve.

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the job to retrieve.

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

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetJobRequest.Builder setName(String value)

Required. The resource name of the job to retrieve.

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetJobRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the job to retrieve.

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetJobRequest.Builder

This builder for chaining.