Interface AssignmentOrBuilder (2.31.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.