Interface AssignmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Assignment,Assignment.Builder
public interface AssignmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAssignee()The resource which will use the reservation.com.google.protobuf.ByteStringgetAssigneeBytes()The resource which will use the reservation.Assignment.JobTypegetJobType()Which type of jobs will use the reservation.intgetJobTypeValue()Which type of jobs will use the reservation.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Assignment.StategetState()Output only.intgetStateValue()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getAssignee
String getAssignee()
The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.
string assignee = 4;- Returns:
- The assignee.
-
getAssigneeBytes
com.google.protobuf.ByteString getAssigneeBytes()
The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or `organizations/456`.
string assignee = 4;- Returns:
- The bytes for assignee.
-
getJobTypeValue
int getJobTypeValue()
Which type of jobs will use the reservation.
.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;- Returns:
- The enum numeric value on the wire for jobType.
-
getJobType
Assignment.JobType getJobType()
Which type of jobs will use the reservation.
.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3;- Returns:
- The jobType.
-
getStateValue
int getStateValue()
Output only. State of the assignment.
.google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
-