Class CommitmentsScopedList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CommitmentsScopedList.Builder>
com.google.cloud.compute.v1.CommitmentsScopedList.Builder
All Implemented Interfaces:
CommitmentsScopedListOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CommitmentsScopedList

public static final class CommitmentsScopedList.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommitmentsScopedList.Builder> implements CommitmentsScopedListOrBuilder
 
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
  • 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.Builder<CommitmentsScopedList.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CommitmentsScopedList.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CommitmentsScopedList.Builder>
    • getDefaultInstanceForType

      public CommitmentsScopedList getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CommitmentsScopedList build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CommitmentsScopedList buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CommitmentsScopedList.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitmentsScopedList.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CommitmentsScopedList.Builder>
    • mergeFrom

      public CommitmentsScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommitmentsScopedList.Builder>
      Throws:
      IOException
    • getCommitmentsList

      public List<Commitment> getCommitmentsList()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
      Specified by:
      getCommitmentsList in interface CommitmentsScopedListOrBuilder
    • getCommitmentsCount

      public int getCommitmentsCount()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
      Specified by:
      getCommitmentsCount in interface CommitmentsScopedListOrBuilder
    • getCommitments

      public Commitment getCommitments(int index)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
      Specified by:
      getCommitments in interface CommitmentsScopedListOrBuilder
    • setCommitments

      public CommitmentsScopedList.Builder setCommitments(int index, Commitment value)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • setCommitments

      public CommitmentsScopedList.Builder setCommitments(int index, Commitment.Builder builderForValue)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addCommitments

      public CommitmentsScopedList.Builder addCommitments(Commitment value)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addCommitments

      public CommitmentsScopedList.Builder addCommitments(int index, Commitment value)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addCommitments

      public CommitmentsScopedList.Builder addCommitments(Commitment.Builder builderForValue)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addCommitments

      public CommitmentsScopedList.Builder addCommitments(int index, Commitment.Builder builderForValue)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addAllCommitments

      public CommitmentsScopedList.Builder addAllCommitments(Iterable<? extends Commitment> values)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • clearCommitments

      public CommitmentsScopedList.Builder clearCommitments()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • removeCommitments

      public CommitmentsScopedList.Builder removeCommitments(int index)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • getCommitmentsBuilder

      public Commitment.Builder getCommitmentsBuilder(int index)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • getCommitmentsOrBuilder

      public CommitmentOrBuilder getCommitmentsOrBuilder(int index)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
      Specified by:
      getCommitmentsOrBuilder in interface CommitmentsScopedListOrBuilder
    • getCommitmentsOrBuilderList

      public List<? extends CommitmentOrBuilder> getCommitmentsOrBuilderList()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
      Specified by:
      getCommitmentsOrBuilderList in interface CommitmentsScopedListOrBuilder
    • addCommitmentsBuilder

      public Commitment.Builder addCommitmentsBuilder()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • addCommitmentsBuilder

      public Commitment.Builder addCommitmentsBuilder(int index)
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • getCommitmentsBuilderList

      public List<Commitment.Builder> getCommitmentsBuilderList()
       [Output Only] The list of commitments contained in this scope.
       
      repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
    • hasWarning

      public boolean hasWarning()
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      hasWarning in interface CommitmentsScopedListOrBuilder
      Returns:
      Whether the warning field is set.
    • getWarning

      public Warning getWarning()
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarning in interface CommitmentsScopedListOrBuilder
      Returns:
      The warning.
    • setWarning

      public CommitmentsScopedList.Builder setWarning(Warning value)
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • setWarning

      public CommitmentsScopedList.Builder setWarning(Warning.Builder builderForValue)
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • mergeWarning

      public CommitmentsScopedList.Builder mergeWarning(Warning value)
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • clearWarning

      public CommitmentsScopedList.Builder clearWarning()
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningBuilder

      public Warning.Builder getWarningBuilder()
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
    • getWarningOrBuilder

      public WarningOrBuilder getWarningOrBuilder()
       [Output Only] Informational warning which replaces the list of commitments
       when the list is empty.
       
      optional .google.cloud.compute.v1.Warning warning = 50704284;
      Specified by:
      getWarningOrBuilder in interface CommitmentsScopedListOrBuilder