Interface CreateAssignmentRequestOrBuilder (2.9.0)

public interface CreateAssignmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssignment()

public abstract Assignment getAssignment()

Assignment resource to create.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;

Returns
TypeDescription
Assignment

The assignment.

getAssignmentId()

public abstract String getAssignmentId()

The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters.

string assignment_id = 4;

Returns
TypeDescription
String

The assignmentId.

getAssignmentIdBytes()

public abstract ByteString getAssignmentIdBytes()

The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters.

string assignment_id = 4;

Returns
TypeDescription
ByteString

The bytes for assignmentId.

getAssignmentOrBuilder()

public abstract AssignmentOrBuilder getAssignmentOrBuilder()

Assignment resource to create.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;

Returns
TypeDescription
AssignmentOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasAssignment()

public abstract boolean hasAssignment()

Assignment resource to create.

.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;

Returns
TypeDescription
boolean

Whether the assignment field is set.