Interface CreateCapacityCommitmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateCapacityCommitmentRequest
,CreateCapacityCommitmentRequest.Builder
public interface CreateCapacityCommitmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityCommitment
getCapacityCommitment()
Content of the capacity commitment to create.String
getCapacityCommitmentId()
The optional capacity commitment ID.com.google.protobuf.ByteString
getCapacityCommitmentIdBytes()
The optional capacity commitment ID.CapacityCommitmentOrBuilder
getCapacityCommitmentOrBuilder()
Content of the capacity commitment to create.boolean
getEnforceSingleAdminProjectPerOrg()
If true, fail the request if another project in the organization has a capacity commitment.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasCapacityCommitment()
Content of the capacity commitment 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. Resource name of the parent reservation. E.g., `projects/myproject/locations/US`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the parent reservation. E.g., `projects/myproject/locations/US`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasCapacityCommitment
boolean hasCapacityCommitment()
Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
- Returns:
- Whether the capacityCommitment field is set.
-
getCapacityCommitment
CapacityCommitment getCapacityCommitment()
Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
- Returns:
- The capacityCommitment.
-
getCapacityCommitmentOrBuilder
CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()
Content of the capacity commitment to create.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
-
getEnforceSingleAdminProjectPerOrg
boolean getEnforceSingleAdminProjectPerOrg()
If true, fail the request if another project in the organization has a capacity commitment.
bool enforce_single_admin_project_per_org = 4;
- Returns:
- The enforceSingleAdminProjectPerOrg.
-
getCapacityCommitmentId
String getCapacityCommitmentId()
The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
- Returns:
- The capacityCommitmentId.
-
getCapacityCommitmentIdBytes
com.google.protobuf.ByteString getCapacityCommitmentIdBytes()
The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
string capacity_commitment_id = 5;
- Returns:
- The bytes for capacityCommitmentId.
-
-