Class FutureReservation.Status (0.1.0)
public static final class FutureReservation.Status extends GeneratedMessageV3 implements FutureReservation.StatusOrBuilder
Represents status related to the future reservation.
Protobuf type google.cloud.capacityplanner.v1beta.FutureReservation.Status
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
public static final int AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FULFILLED_COUNT_FIELD_NUMBER
public static final int FULFILLED_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LOCK_TIME_FIELD_NUMBER
public static final int LOCK_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROCUREMENT_STATUS_FIELD_NUMBER
public static final int PROCUREMENT_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FutureReservation.Status getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FutureReservation.Status.Builder newBuilder()
newBuilder(FutureReservation.Status prototype)
public static FutureReservation.Status.Builder newBuilder(FutureReservation.Status prototype)
public static FutureReservation.Status parseDelimitedFrom(InputStream input)
public static FutureReservation.Status parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FutureReservation.Status parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FutureReservation.Status parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FutureReservation.Status parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureReservation.Status parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureReservation.Status parseFrom(CodedInputStream input)
public static FutureReservation.Status parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureReservation.Status parseFrom(InputStream input)
public static FutureReservation.Status parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FutureReservation.Status parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FutureReservation.Status parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FutureReservation.Status> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAutoCreatedReservations(int index)
public String getAutoCreatedReservations(int index)
Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The autoCreatedReservations at the given index.
|
getAutoCreatedReservationsBytes(int index)
public ByteString getAutoCreatedReservationsBytes(int index)
Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 3;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the autoCreatedReservations at the given index.
|
getAutoCreatedReservationsCount()
public int getAutoCreatedReservationsCount()
Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 3;
| Returns |
| Type |
Description |
int |
The count of autoCreatedReservations.
|
getAutoCreatedReservationsList()
public ProtocolStringList getAutoCreatedReservationsList()
Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 3;
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the autoCreatedReservations.
|
getDefaultInstanceForType()
public FutureReservation.Status getDefaultInstanceForType()
getFulfilledCount()
public long getFulfilledCount()
This count indicates the fulfilled capacity so far. This is set during
"PROVISIONING" state. This count also includes capacity delivered as part
of existing matching reservations.
int64 fulfilled_count = 4;
| Returns |
| Type |
Description |
long |
The fulfilledCount.
|
getLockTime()
public Timestamp getLockTime()
Time when Future Reservation would become LOCKED, after which no
modifications to Future Reservation will be allowed. Applicable only
after the Future Reservation is in the APPROVED state. The lock_time is
an RFC3339 string. The procurement_status will transition to PROCURING
state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The lockTime.
|
getLockTimeOrBuilder()
public TimestampOrBuilder getLockTimeOrBuilder()
Time when Future Reservation would become LOCKED, after which no
modifications to Future Reservation will be allowed. Applicable only
after the Future Reservation is in the APPROVED state. The lock_time is
an RFC3339 string. The procurement_status will transition to PROCURING
state at this time.
.google.protobuf.Timestamp lock_time = 2;
getParserForType()
public Parser<FutureReservation.Status> getParserForType()
Overrides
getProcurementStatus()
public FutureReservation.Status.ProcurementStatus getProcurementStatus()
Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
getProcurementStatusValue()
public int getProcurementStatusValue()
Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for procurementStatus.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasLockTime()
public boolean hasLockTime()
Time when Future Reservation would become LOCKED, after which no
modifications to Future Reservation will be allowed. Applicable only
after the Future Reservation is in the APPROVED state. The lock_time is
an RFC3339 string. The procurement_status will transition to PROCURING
state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the lockTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FutureReservation.Status.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FutureReservation.Status.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public FutureReservation.Status.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]