public interface CapacityCommitmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCommitmentEndTime()
public abstract 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];
| Type | Description |
| Timestamp | The commitmentEndTime. |
getCommitmentEndTimeOrBuilder()
public abstract 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];
| Type | Description |
| TimestampOrBuilder |
getCommitmentStartTime()
public abstract 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];
| Type | Description |
| Timestamp | The commitmentStartTime. |
getCommitmentStartTimeOrBuilder()
public abstract 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];
| Type | Description |
| TimestampOrBuilder |
getFailureStatus()
public abstract 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];
| Type | Description |
| com.google.rpc.Status | The failureStatus. |
getFailureStatusOrBuilder()
public abstract 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];
| Type | Description |
| com.google.rpc.StatusOrBuilder |
getName()
public abstract String getName() Output only. The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The name. |
getNameBytes()
public abstract ByteString getNameBytes() Output only. The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for name. |
getPlan()
public abstract CapacityCommitment.CommitmentPlan getPlan()Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
| Type | Description |
| CapacityCommitment.CommitmentPlan | The plan. |
getPlanValue()
public abstract int getPlanValue()Capacity commitment commitment plan.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan plan = 3;
| Type | Description |
| int | The enum numeric value on the wire for plan. |
getRenewalPlan()
public abstract 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;
| Type | Description |
| CapacityCommitment.CommitmentPlan | The renewalPlan. |
getRenewalPlanValue()
public abstract 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;
| Type | Description |
| int | The enum numeric value on the wire for renewalPlan. |
getSlotCount()
public abstract long getSlotCount()Number of slots in this commitment.
int64 slot_count = 2;
| Type | Description |
| long | The slotCount. |
getState()
public abstract CapacityCommitment.State getState()Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| CapacityCommitment.State | The state. |
getStateValue()
public abstract int getStateValue()Output only. State of the commitment.
.google.cloud.bigquery.reservation.v1.CapacityCommitment.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int | The enum numeric value on the wire for state. |
hasCommitmentEndTime()
public abstract 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];
| Type | Description |
| boolean | Whether the commitmentEndTime field is set. |
hasCommitmentStartTime()
public abstract 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];
| Type | Description |
| boolean | Whether the commitmentStartTime field is set. |
hasFailureStatus()
public abstract 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];
| Type | Description |
| boolean | Whether the failureStatus field is set. |