public final class FutureReservationStatus extends GeneratedMessageV3 implements FutureReservationStatusOrBuilder
[Output only] Represents status related to the future reservation.
Protobuf type google.cloud.compute.v1.FutureReservationStatus
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
AMENDMENT_STATUS_FIELD_NUMBER
public static final int AMENDMENT_STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
public static final int AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXISTING_MATCHING_USAGE_INFO_FIELD_NUMBER
public static final int EXISTING_MATCHING_USAGE_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FULFILLED_COUNT_FIELD_NUMBER
public static final int FULFILLED_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_KNOWN_GOOD_STATE_FIELD_NUMBER
public static final int LAST_KNOWN_GOOD_STATE_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 |
|
SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER
public static final int SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FutureReservationStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FutureReservationStatus.Builder newBuilder()
newBuilder(FutureReservationStatus prototype)
public static FutureReservationStatus.Builder newBuilder(FutureReservationStatus prototype)
public static FutureReservationStatus parseDelimitedFrom(InputStream input)
public static FutureReservationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FutureReservationStatus parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FutureReservationStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationStatus parseFrom(CodedInputStream input)
public static FutureReservationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FutureReservationStatus parseFrom(InputStream input)
public static FutureReservationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FutureReservationStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FutureReservationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FutureReservationStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAmendmentStatus()
public String getAmendmentStatus()
Output only. [Output Only] The current status of the requested amendment.
Check the AmendmentStatus enum for the list of possible values.
optional string amendment_status = 250270052;
| Returns |
| Type |
Description |
String |
The amendmentStatus.
|
getAmendmentStatusBytes()
public ByteString getAmendmentStatusBytes()
Output only. [Output Only] The current status of the requested amendment.
Check the AmendmentStatus enum for the list of possible values.
optional string amendment_status = 250270052;
| Returns |
| Type |
Description |
ByteString |
The bytes for amendmentStatus.
|
getAutoCreatedReservations(int index)
public String getAutoCreatedReservations(int index)
Output only. Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 140217006;
| 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)
Output only. Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 140217006;
| 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()
Output only. Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 140217006;
| Returns |
| Type |
Description |
int |
The count of autoCreatedReservations.
|
getAutoCreatedReservationsList()
public ProtocolStringList getAutoCreatedReservationsList()
Output only. Fully qualified urls of the automatically created reservations at
start_time.
repeated string auto_created_reservations = 140217006;
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the autoCreatedReservations.
|
getDefaultInstanceForType()
public FutureReservationStatus getDefaultInstanceForType()
getExistingMatchingUsageInfo()
public FutureReservationStatusExistingMatchingUsageInfo getExistingMatchingUsageInfo()
Output only. [Output Only] Represents the existing matching usage for the future
reservation.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;
getExistingMatchingUsageInfoOrBuilder()
public FutureReservationStatusExistingMatchingUsageInfoOrBuilder getExistingMatchingUsageInfoOrBuilder()
Output only. [Output Only] Represents the existing matching usage for the future
reservation.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;
getFulfilledCount()
public long getFulfilledCount()
Output only. 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.
optional int64 fulfilled_count = 319392239;
| Returns |
| Type |
Description |
long |
The fulfilledCount.
|
getLastKnownGoodState()
public FutureReservationStatusLastKnownGoodState getLastKnownGoodState()
Output only. [Output Only] This field represents the future reservation before an
amendment was requested. If the amendment is declined, the Future
Reservation will be reverted to the last known good state. The last known
good state is not set when updating a future reservation whose
Procurement Status is DRAFTING.
optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState last_known_good_state = 192819092;
getLastKnownGoodStateOrBuilder()
public FutureReservationStatusLastKnownGoodStateOrBuilder getLastKnownGoodStateOrBuilder()
Output only. [Output Only] This field represents the future reservation before an
amendment was requested. If the amendment is declined, the Future
Reservation will be reverted to the last known good state. The last known
good state is not set when updating a future reservation whose
Procurement Status is DRAFTING.
optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState last_known_good_state = 192819092;
getLockTime()
public String getLockTime()
Output only. 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.
optional string lock_time = 143772001;
| Returns |
| Type |
Description |
String |
The lockTime.
|
getLockTimeBytes()
public ByteString getLockTimeBytes()
Output only. 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.
optional string lock_time = 143772001;
| Returns |
| Type |
Description |
ByteString |
The bytes for lockTime.
|
getParserForType()
public Parser<FutureReservationStatus> getParserForType()
Overrides
getProcurementStatus()
public String getProcurementStatus()
Output only. Current state of this Future Reservation
Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;
| Returns |
| Type |
Description |
String |
The procurementStatus.
|
getProcurementStatusBytes()
public ByteString getProcurementStatusBytes()
Output only. Current state of this Future Reservation
Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;
| Returns |
| Type |
Description |
ByteString |
The bytes for procurementStatus.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSpecificSkuProperties()
public FutureReservationStatusSpecificSKUProperties getSpecificSkuProperties()
optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
getSpecificSkuPropertiesOrBuilder()
public FutureReservationStatusSpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()
optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
hasAmendmentStatus()
public boolean hasAmendmentStatus()
Output only. [Output Only] The current status of the requested amendment.
Check the AmendmentStatus enum for the list of possible values.
optional string amendment_status = 250270052;
| Returns |
| Type |
Description |
boolean |
Whether the amendmentStatus field is set.
|
hasExistingMatchingUsageInfo()
public boolean hasExistingMatchingUsageInfo()
Output only. [Output Only] Represents the existing matching usage for the future
reservation.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;
| Returns |
| Type |
Description |
boolean |
Whether the existingMatchingUsageInfo field is set.
|
hasFulfilledCount()
public boolean hasFulfilledCount()
Output only. 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.
optional int64 fulfilled_count = 319392239;
| Returns |
| Type |
Description |
boolean |
Whether the fulfilledCount field is set.
|
hasLastKnownGoodState()
public boolean hasLastKnownGoodState()
Output only. [Output Only] This field represents the future reservation before an
amendment was requested. If the amendment is declined, the Future
Reservation will be reverted to the last known good state. The last known
good state is not set when updating a future reservation whose
Procurement Status is DRAFTING.
optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState last_known_good_state = 192819092;
| Returns |
| Type |
Description |
boolean |
Whether the lastKnownGoodState field is set.
|
hasLockTime()
public boolean hasLockTime()
Output only. 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.
optional string lock_time = 143772001;
| Returns |
| Type |
Description |
boolean |
Whether the lockTime field is set.
|
hasProcurementStatus()
public boolean hasProcurementStatus()
Output only. Current state of this Future Reservation
Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;
| Returns |
| Type |
Description |
boolean |
Whether the procurementStatus field is set.
|
hasSpecificSkuProperties()
public boolean hasSpecificSkuProperties()
optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
| Returns |
| Type |
Description |
boolean |
Whether the specificSkuProperties field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FutureReservationStatus.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FutureReservationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public FutureReservationStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides