public static final class CapacityCommitment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder> implements CapacityCommitmentOrBuilder
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes. In order to remove annual commitment, its plan needs to be changed to monthly or flex first. A capacity commitment resource exists as a child resource of the admin project.Protobuf type
google.cloud.bigquery.reservation.v1.CapacityCommitment| Modifier and Type | Method and Description |
|---|---|
CapacityCommitment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CapacityCommitment |
build() |
CapacityCommitment |
buildPartial() |
CapacityCommitment.Builder |
clear() |
CapacityCommitment.Builder |
clearCommitmentEndTime()
Output only.
|
CapacityCommitment.Builder |
clearCommitmentStartTime()
Output only.
|
CapacityCommitment.Builder |
clearEdition()
Edition of the capacity commitment.
|
CapacityCommitment.Builder |
clearFailureStatus()
Output only.
|
CapacityCommitment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CapacityCommitment.Builder |
clearMultiRegionAuxiliary()
Applicable only for commitments located within one of the BigQuery
multi-regions (US or EU).
|
CapacityCommitment.Builder |
clearName()
Output only.
|
CapacityCommitment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CapacityCommitment.Builder |
clearPlan()
Capacity commitment commitment plan.
|
CapacityCommitment.Builder |
clearRenewalPlan()
The plan this capacity commitment is converted to after commitment_end_time
passes.
|
CapacityCommitment.Builder |
clearSlotCount()
Number of slots in this commitment.
|
CapacityCommitment.Builder |
clearState()
Output only.
|
CapacityCommitment.Builder |
clone() |
com.google.protobuf.Timestamp |
getCommitmentEndTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCommitmentEndTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCommitmentEndTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCommitmentStartTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCommitmentStartTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCommitmentStartTimeOrBuilder()
Output only.
|
CapacityCommitment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Edition |
getEdition()
Edition of the capacity commitment.
|
int |
getEditionValue()
Edition of the capacity commitment.
|
com.google.rpc.Status |
getFailureStatus()
Output only.
|
com.google.rpc.Status.Builder |
getFailureStatusBuilder()
Output only.
|
com.google.rpc.StatusOrBuilder |
getFailureStatusOrBuilder()
Output only.
|
boolean |
getMultiRegionAuxiliary()
Applicable only for commitments located within one of the BigQuery
multi-regions (US or EU).
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
CapacityCommitment.CommitmentPlan |
getPlan()
Capacity commitment commitment plan.
|
int |
getPlanValue()
Capacity commitment commitment plan.
|
CapacityCommitment.CommitmentPlan |
getRenewalPlan()
The plan this capacity commitment is converted to after commitment_end_time
passes.
|
int |
getRenewalPlanValue()
The plan this capacity commitment is converted to after commitment_end_time
passes.
|
long |
getSlotCount()
Number of slots in this commitment.
|
CapacityCommitment.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCommitmentEndTime()
Output only.
|
boolean |
hasCommitmentStartTime()
Output only.
|
boolean |
hasFailureStatus()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CapacityCommitment.Builder |
mergeCommitmentEndTime(com.google.protobuf.Timestamp value)
Output only.
|
CapacityCommitment.Builder |
mergeCommitmentStartTime(com.google.protobuf.Timestamp value)
Output only.
|
CapacityCommitment.Builder |
mergeFailureStatus(com.google.rpc.Status value)
Output only.
|
CapacityCommitment.Builder |
mergeFrom(CapacityCommitment other) |
CapacityCommitment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CapacityCommitment.Builder |
mergeFrom(com.google.protobuf.Message other) |
CapacityCommitment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CapacityCommitment.Builder |
setCommitmentEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CapacityCommitment.Builder |
setCommitmentEndTime(com.google.protobuf.Timestamp value)
Output only.
|
CapacityCommitment.Builder |
setCommitmentStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
CapacityCommitment.Builder |
setCommitmentStartTime(com.google.protobuf.Timestamp value)
Output only.
|
CapacityCommitment.Builder |
setEdition(Edition value)
Edition of the capacity commitment.
|
CapacityCommitment.Builder |
setEditionValue(int value)
Edition of the capacity commitment.
|
CapacityCommitment.Builder |
setFailureStatus(com.google.rpc.Status.Builder builderForValue)
Output only.
|
CapacityCommitment.Builder |
setFailureStatus(com.google.rpc.Status value)
Output only.
|
CapacityCommitment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CapacityCommitment.Builder |
setMultiRegionAuxiliary(boolean value)
Applicable only for commitments located within one of the BigQuery
multi-regions (US or EU).
|
CapacityCommitment.Builder |
setName(String value)
Output only.
|
CapacityCommitment.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
CapacityCommitment.Builder |
setPlan(CapacityCommitment.CommitmentPlan value)
Capacity commitment commitment plan.
|
CapacityCommitment.Builder |
setPlanValue(int value)
Capacity commitment commitment plan.
|
CapacityCommitment.Builder |
setRenewalPlan(CapacityCommitment.CommitmentPlan value)
The plan this capacity commitment is converted to after commitment_end_time
passes.
|
CapacityCommitment.Builder |
setRenewalPlanValue(int value)
The plan this capacity commitment is converted to after commitment_end_time
passes.
|
CapacityCommitment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CapacityCommitment.Builder |
setSlotCount(long value)
Number of slots in this commitment.
|
CapacityCommitment.Builder |
setState(CapacityCommitment.State value)
Output only.
|
CapacityCommitment.Builder |
setStateValue(int value)
Output only.
|
CapacityCommitment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CapacityCommitment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CapacityCommitment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CapacityCommitment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder mergeFrom(CapacityCommitment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public CapacityCommitment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CapacityCommitment.Builder>IOExceptionpublic String getName()
Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface CapacityCommitmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setName(String value)
Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public CapacityCommitment.Builder clearName()
Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public CapacityCommitment.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` The commitment_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public long getSlotCount()
Number of slots in this commitment.
int64 slot_count = 2;getSlotCount in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setSlotCount(long value)
Number of slots in this commitment.
int64 slot_count = 2;value - The slotCount to set.public CapacityCommitment.Builder clearSlotCount()
Number of slots in this commitment.
int64 slot_count = 2;public int getPlanValue()
Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
getPlanValue in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setPlanValue(int value)
Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
value - The enum numeric value on the wire for plan to set.public CapacityCommitment.CommitmentPlan getPlan()
Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
getPlan in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setPlan(CapacityCommitment.CommitmentPlan value)
Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
value - The plan to set.public CapacityCommitment.Builder clearPlan()
Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
public int getStateValue()
Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setStateValue(int value)
Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public CapacityCommitment.State getState()
Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setState(CapacityCommitment.State value)
Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public CapacityCommitment.Builder clearState()
Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCommitmentStartTime()
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCommitmentStartTime in interface CapacityCommitmentOrBuilderpublic com.google.protobuf.Timestamp getCommitmentStartTime()
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitmentStartTime in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setCommitmentStartTime(com.google.protobuf.Timestamp value)
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder setCommitmentStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder mergeCommitmentStartTime(com.google.protobuf.Timestamp value)
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder clearCommitmentStartTime()
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCommitmentStartTimeBuilder()
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCommitmentStartTimeOrBuilder()
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitmentStartTimeOrBuilder in interface CapacityCommitmentOrBuilderpublic boolean hasCommitmentEndTime()
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCommitmentEndTime in interface CapacityCommitmentOrBuilderpublic com.google.protobuf.Timestamp getCommitmentEndTime()
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitmentEndTime in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setCommitmentEndTime(com.google.protobuf.Timestamp value)
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder setCommitmentEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder mergeCommitmentEndTime(com.google.protobuf.Timestamp value)
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder clearCommitmentEndTime()
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCommitmentEndTimeBuilder()
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCommitmentEndTimeOrBuilder()
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
.google.protobuf.Timestamp commitment_end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCommitmentEndTimeOrBuilder in interface CapacityCommitmentOrBuilderpublic boolean hasFailureStatus()
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasFailureStatus in interface CapacityCommitmentOrBuilderpublic com.google.rpc.Status getFailureStatus()
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFailureStatus in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setFailureStatus(com.google.rpc.Status value)
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder setFailureStatus(com.google.rpc.Status.Builder builderForValue)
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder mergeFailureStatus(com.google.rpc.Status value)
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CapacityCommitment.Builder clearFailureStatus()
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.Status.Builder getFailureStatusBuilder()
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.rpc.StatusOrBuilder getFailureStatusOrBuilder()
Output only. For FAILED commitment plan, provides the reason of failure.
.google.rpc.Status failure_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFailureStatusOrBuilder in interface CapacityCommitmentOrBuilderpublic int getRenewalPlanValue()
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8;
getRenewalPlanValue in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setRenewalPlanValue(int value)
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8;
value - The enum numeric value on the wire for renewalPlan to set.public CapacityCommitment.CommitmentPlan getRenewalPlan()
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8;
getRenewalPlan in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setRenewalPlan(CapacityCommitment.CommitmentPlan value)
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8;
value - The renewalPlan to set.public CapacityCommitment.Builder clearRenewalPlan()
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan renewal_plan = 8;
public boolean getMultiRegionAuxiliary()
Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
bool multi_region_auxiliary = 10;getMultiRegionAuxiliary in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setMultiRegionAuxiliary(boolean value)
Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
bool multi_region_auxiliary = 10;value - The multiRegionAuxiliary to set.public CapacityCommitment.Builder clearMultiRegionAuxiliary()
Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.
bool multi_region_auxiliary = 10;public int getEditionValue()
Edition of the capacity commitment.
.google.cloud.bigquery.reservation.v1.Edition edition = 12;getEditionValue in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setEditionValue(int value)
Edition of the capacity commitment.
.google.cloud.bigquery.reservation.v1.Edition edition = 12;value - The enum numeric value on the wire for edition to set.public Edition getEdition()
Edition of the capacity commitment.
.google.cloud.bigquery.reservation.v1.Edition edition = 12;getEdition in interface CapacityCommitmentOrBuilderpublic CapacityCommitment.Builder setEdition(Edition value)
Edition of the capacity commitment.
.google.cloud.bigquery.reservation.v1.Edition edition = 12;value - The edition to set.public CapacityCommitment.Builder clearEdition()
Edition of the capacity commitment.
.google.cloud.bigquery.reservation.v1.Edition edition = 12;public final CapacityCommitment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>public final CapacityCommitment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CapacityCommitment.Builder>Copyright © 2024 Google LLC. All rights reserved.