Class FutureReservationStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.FutureReservationStatus
All Implemented Interfaces:
FutureReservationStatusOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FutureReservationStatus extends com.google.protobuf.GeneratedMessage implements FutureReservationStatusOrBuilder
 [Output only] Represents status related to the future reservation.
 
Protobuf type google.cloud.compute.v1.FutureReservationStatus
See Also:
  • Field Details

    • AMENDMENT_STATUS_FIELD_NUMBER

      public static final int AMENDMENT_STATUS_FIELD_NUMBER
      See Also:
    • AUTO_CREATED_RESERVATIONS_FIELD_NUMBER

      public static final int AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
      See Also:
    • EXISTING_MATCHING_USAGE_INFO_FIELD_NUMBER

      public static final int EXISTING_MATCHING_USAGE_INFO_FIELD_NUMBER
      See Also:
    • FULFILLED_COUNT_FIELD_NUMBER

      public static final int FULFILLED_COUNT_FIELD_NUMBER
      See Also:
    • LAST_KNOWN_GOOD_STATE_FIELD_NUMBER

      public static final int LAST_KNOWN_GOOD_STATE_FIELD_NUMBER
      See Also:
    • LOCK_TIME_FIELD_NUMBER

      public static final int LOCK_TIME_FIELD_NUMBER
      See Also:
    • PROCUREMENT_STATUS_FIELD_NUMBER

      public static final int PROCUREMENT_STATUS_FIELD_NUMBER
      See Also:
    • SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER

      public static final int SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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;
      Specified by:
      hasAmendmentStatus in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the amendmentStatus field is set.
    • 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;
      Specified by:
      getAmendmentStatus in interface FutureReservationStatusOrBuilder
      Returns:
      The amendmentStatus.
    • getAmendmentStatusBytes

      public com.google.protobuf.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;
      Specified by:
      getAmendmentStatusBytes in interface FutureReservationStatusOrBuilder
      Returns:
      The bytes for amendmentStatus.
    • getAutoCreatedReservationsList

      public com.google.protobuf.ProtocolStringList getAutoCreatedReservationsList()
       Output only. Fully qualified urls of the automatically created reservations at
       start_time.
       
      repeated string auto_created_reservations = 140217006;
      Specified by:
      getAutoCreatedReservationsList in interface FutureReservationStatusOrBuilder
      Returns:
      A list containing the autoCreatedReservations.
    • getAutoCreatedReservationsCount

      public int getAutoCreatedReservationsCount()
       Output only. Fully qualified urls of the automatically created reservations at
       start_time.
       
      repeated string auto_created_reservations = 140217006;
      Specified by:
      getAutoCreatedReservationsCount in interface FutureReservationStatusOrBuilder
      Returns:
      The count of autoCreatedReservations.
    • getAutoCreatedReservations

      public String getAutoCreatedReservations(int index)
       Output only. Fully qualified urls of the automatically created reservations at
       start_time.
       
      repeated string auto_created_reservations = 140217006;
      Specified by:
      getAutoCreatedReservations in interface FutureReservationStatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The autoCreatedReservations at the given index.
    • getAutoCreatedReservationsBytes

      public com.google.protobuf.ByteString getAutoCreatedReservationsBytes(int index)
       Output only. Fully qualified urls of the automatically created reservations at
       start_time.
       
      repeated string auto_created_reservations = 140217006;
      Specified by:
      getAutoCreatedReservationsBytes in interface FutureReservationStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the autoCreatedReservations at the given index.
    • 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;
      Specified by:
      hasExistingMatchingUsageInfo in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the existingMatchingUsageInfo field is set.
    • 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;
      Specified by:
      getExistingMatchingUsageInfo in interface FutureReservationStatusOrBuilder
      Returns:
      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;
      Specified by:
      getExistingMatchingUsageInfoOrBuilder in interface FutureReservationStatusOrBuilder
    • 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;
      Specified by:
      hasFulfilledCount in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the fulfilledCount field is set.
    • 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;
      Specified by:
      getFulfilledCount in interface FutureReservationStatusOrBuilder
      Returns:
      The fulfilledCount.
    • 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;
      Specified by:
      hasLastKnownGoodState in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the lastKnownGoodState field is set.
    • 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;
      Specified by:
      getLastKnownGoodState in interface FutureReservationStatusOrBuilder
      Returns:
      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;
      Specified by:
      getLastKnownGoodStateOrBuilder in interface FutureReservationStatusOrBuilder
    • 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;
      Specified by:
      hasLockTime in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the lockTime field is set.
    • 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;
      Specified by:
      getLockTime in interface FutureReservationStatusOrBuilder
      Returns:
      The lockTime.
    • getLockTimeBytes

      public com.google.protobuf.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;
      Specified by:
      getLockTimeBytes in interface FutureReservationStatusOrBuilder
      Returns:
      The bytes for lockTime.
    • 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;
      Specified by:
      hasProcurementStatus in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the procurementStatus field is set.
    • 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;
      Specified by:
      getProcurementStatus in interface FutureReservationStatusOrBuilder
      Returns:
      The procurementStatus.
    • getProcurementStatusBytes

      public com.google.protobuf.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;
      Specified by:
      getProcurementStatusBytes in interface FutureReservationStatusOrBuilder
      Returns:
      The bytes for procurementStatus.
    • hasSpecificSkuProperties

      public boolean hasSpecificSkuProperties()
      optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      hasSpecificSkuProperties in interface FutureReservationStatusOrBuilder
      Returns:
      Whether the specificSkuProperties field is set.
    • getSpecificSkuProperties

      public FutureReservationStatusSpecificSKUProperties getSpecificSkuProperties()
      optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      getSpecificSkuProperties in interface FutureReservationStatusOrBuilder
      Returns:
      The specificSkuProperties.
    • getSpecificSkuPropertiesOrBuilder

      public FutureReservationStatusSpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()
      optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      getSpecificSkuPropertiesOrBuilder in interface FutureReservationStatusOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FutureReservationStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FutureReservationStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FutureReservationStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FutureReservationStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FutureReservationStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FutureReservationStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FutureReservationStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FutureReservationStatus.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FutureReservationStatus.Builder newBuilder()
    • newBuilder

      public static FutureReservationStatus.Builder newBuilder(FutureReservationStatus prototype)
    • toBuilder

      public FutureReservationStatus.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FutureReservationStatus.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FutureReservationStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FutureReservationStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<FutureReservationStatus> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FutureReservationStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder