Class FutureReservationCommitmentInfo

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

@Generated public final class FutureReservationCommitmentInfo extends com.google.protobuf.GeneratedMessage implements FutureReservationCommitmentInfoOrBuilder
 
Protobuf type google.cloud.compute.v1.FutureReservationCommitmentInfo
See Also:
  • Field Details

    • COMMITMENT_NAME_FIELD_NUMBER

      public static final int COMMITMENT_NAME_FIELD_NUMBER
      See Also:
    • COMMITMENT_PLAN_FIELD_NUMBER

      public static final int COMMITMENT_PLAN_FIELD_NUMBER
      See Also:
    • PREVIOUS_COMMITMENT_TERMS_FIELD_NUMBER

      public static final int PREVIOUS_COMMITMENT_TERMS_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
    • hasCommitmentName

      public boolean hasCommitmentName()
       name of the commitment where capacity is being delivered to.
       
      optional string commitment_name = 164498805;
      Specified by:
      hasCommitmentName in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      Whether the commitmentName field is set.
    • getCommitmentName

      public String getCommitmentName()
       name of the commitment where capacity is being delivered to.
       
      optional string commitment_name = 164498805;
      Specified by:
      getCommitmentName in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The commitmentName.
    • getCommitmentNameBytes

      public com.google.protobuf.ByteString getCommitmentNameBytes()
       name of the commitment where capacity is being delivered to.
       
      optional string commitment_name = 164498805;
      Specified by:
      getCommitmentNameBytes in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The bytes for commitmentName.
    • hasCommitmentPlan

      public boolean hasCommitmentPlan()
       Indicates if a Commitment needs to be created as part of FR delivery. If
       this field is not present, then no
       commitment needs to be created.
       Check the CommitmentPlan enum for the list of possible values.
       
      optional string commitment_plan = 164568595;
      Specified by:
      hasCommitmentPlan in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      Whether the commitmentPlan field is set.
    • getCommitmentPlan

      public String getCommitmentPlan()
       Indicates if a Commitment needs to be created as part of FR delivery. If
       this field is not present, then no
       commitment needs to be created.
       Check the CommitmentPlan enum for the list of possible values.
       
      optional string commitment_plan = 164568595;
      Specified by:
      getCommitmentPlan in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The commitmentPlan.
    • getCommitmentPlanBytes

      public com.google.protobuf.ByteString getCommitmentPlanBytes()
       Indicates if a Commitment needs to be created as part of FR delivery. If
       this field is not present, then no
       commitment needs to be created.
       Check the CommitmentPlan enum for the list of possible values.
       
      optional string commitment_plan = 164568595;
      Specified by:
      getCommitmentPlanBytes in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The bytes for commitmentPlan.
    • hasPreviousCommitmentTerms

      public boolean hasPreviousCommitmentTerms()
       Only applicable if FR is delivering to the same reservation. If set, all
       parent commitments will be extended to match the end date of the plan for
       this commitment.
       Check the PreviousCommitmentTerms enum for the list of possible values.
       
      optional string previous_commitment_terms = 447490085;
      Specified by:
      hasPreviousCommitmentTerms in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      Whether the previousCommitmentTerms field is set.
    • getPreviousCommitmentTerms

      public String getPreviousCommitmentTerms()
       Only applicable if FR is delivering to the same reservation. If set, all
       parent commitments will be extended to match the end date of the plan for
       this commitment.
       Check the PreviousCommitmentTerms enum for the list of possible values.
       
      optional string previous_commitment_terms = 447490085;
      Specified by:
      getPreviousCommitmentTerms in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The previousCommitmentTerms.
    • getPreviousCommitmentTermsBytes

      public com.google.protobuf.ByteString getPreviousCommitmentTermsBytes()
       Only applicable if FR is delivering to the same reservation. If set, all
       parent commitments will be extended to match the end date of the plan for
       this commitment.
       Check the PreviousCommitmentTerms enum for the list of possible values.
       
      optional string previous_commitment_terms = 447490085;
      Specified by:
      getPreviousCommitmentTermsBytes in interface FutureReservationCommitmentInfoOrBuilder
      Returns:
      The bytes for previousCommitmentTerms.
    • 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 FutureReservationCommitmentInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static FutureReservationCommitmentInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static FutureReservationCommitmentInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<FutureReservationCommitmentInfo> 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 FutureReservationCommitmentInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder