Class FutureReservationStatus (1.92.0)

public final class FutureReservationStatus extends GeneratedMessageV3 implements FutureReservationStatusOrBuilder

[Output only] Represents status related to the future reservation.

Protobuf type google.cloud.compute.v1.FutureReservationStatus

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()
Returns
Type Description
FutureReservationStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FutureReservationStatus.Builder newBuilder()
Returns
Type Description
FutureReservationStatus.Builder

newBuilder(FutureReservationStatus prototype)

public static FutureReservationStatus.Builder newBuilder(FutureReservationStatus prototype)
Parameter
Name Description
prototype FutureReservationStatus
Returns
Type Description
FutureReservationStatus.Builder

parseDelimitedFrom(InputStream input)

public static FutureReservationStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FutureReservationStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FutureReservationStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FutureReservationStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FutureReservationStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FutureReservationStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FutureReservationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FutureReservationStatus> parser()
Returns
Type Description
Parser<FutureReservationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
FutureReservationStatus

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;

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfo

The existingMatchingUsageInfo.

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;

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfoOrBuilder

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;

Returns
Type Description
FutureReservationStatusLastKnownGoodState

The lastKnownGoodState.

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;

Returns
Type Description
FutureReservationStatusLastKnownGoodStateOrBuilder

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()
Returns
Type Description
Parser<FutureReservationStatus>
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;

Returns
Type Description
FutureReservationStatusSpecificSKUProperties

The specificSkuProperties.

getSpecificSkuPropertiesOrBuilder()

public FutureReservationStatusSpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()

optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;

Returns
Type Description
FutureReservationStatusSpecificSKUPropertiesOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FutureReservationStatus.Builder newBuilderForType()
Returns
Type Description
FutureReservationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FutureReservationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FutureReservationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FutureReservationStatus.Builder toBuilder()
Returns
Type Description
FutureReservationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException