Interface AssignmentOrBuilder (2.55.0)

public interface AssignmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssignee()

public abstract String getAssignee()

The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.

string assignee = 4;

Returns
Type Description
String

The assignee.

getAssigneeBytes()

public abstract ByteString getAssigneeBytes()

The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.

string assignee = 4;

Returns
Type Description
ByteString

The bytes for assignee.

getJobType()

public abstract Assignment.JobType getJobType()

Which type of jobs will use the reservation.

.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;

Returns
Type Description
Assignment.JobType

The jobType.

getJobTypeValue()

public abstract int getJobTypeValue()

Which type of jobs will use the reservation.

.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for jobType.

getName()

public abstract String getName()

Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getState()

public abstract Assignment.State getState()

Output only. State of the assignment.

.google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Assignment.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the assignment.

.google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.