Interface CreateAssignmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAssignmentRequest
,CreateAssignmentRequest.Builder
public interface CreateAssignmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Assignment
getAssignment()
Assignment resource to create.String
getAssignmentId()
The optional assignment ID.com.google.protobuf.ByteString
getAssignmentIdBytes()
The optional assignment ID.AssignmentOrBuilder
getAssignmentOrBuilder()
Assignment resource to create.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasAssignment()
Assignment resource to create.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasAssignment
boolean hasAssignment()
Assignment resource to create.
.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;
- Returns:
- Whether the assignment field is set.
-
getAssignment
Assignment getAssignment()
Assignment resource to create.
.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;
- Returns:
- The assignment.
-
getAssignmentOrBuilder
AssignmentOrBuilder getAssignmentOrBuilder()
Assignment resource to create.
.google.cloud.bigquery.reservation.v1.Assignment assignment = 2;
-
getAssignmentId
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:
- The assignmentId.
-
getAssignmentIdBytes
com.google.protobuf.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:
- The bytes for assignmentId.
-
-