Class ListBudgetsResponse.Builder

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

public static final class ListBudgetsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBudgetsResponse.Builder> implements ListBudgetsResponseOrBuilder
 Response for ListBudgets
 
Protobuf type google.cloud.billing.budgets.v1.ListBudgetsResponse
  • 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<ListBudgetsResponse.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<ListBudgetsResponse.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<ListBudgetsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListBudgetsResponse.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<ListBudgetsResponse.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<ListBudgetsResponse.Builder>
    • mergeFrom

      public ListBudgetsResponse.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<ListBudgetsResponse.Builder>
      Throws:
      IOException
    • getBudgetsList

      public List<Budget> getBudgetsList()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
      Specified by:
      getBudgetsList in interface ListBudgetsResponseOrBuilder
    • getBudgetsCount

      public int getBudgetsCount()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
      Specified by:
      getBudgetsCount in interface ListBudgetsResponseOrBuilder
    • getBudgets

      public Budget getBudgets(int index)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
      Specified by:
      getBudgets in interface ListBudgetsResponseOrBuilder
    • setBudgets

      public ListBudgetsResponse.Builder setBudgets(int index, Budget value)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • setBudgets

      public ListBudgetsResponse.Builder setBudgets(int index, Budget.Builder builderForValue)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addBudgets

      public ListBudgetsResponse.Builder addBudgets(Budget value)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addBudgets

      public ListBudgetsResponse.Builder addBudgets(int index, Budget value)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addBudgets

      public ListBudgetsResponse.Builder addBudgets(Budget.Builder builderForValue)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addBudgets

      public ListBudgetsResponse.Builder addBudgets(int index, Budget.Builder builderForValue)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addAllBudgets

      public ListBudgetsResponse.Builder addAllBudgets(Iterable<? extends Budget> values)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • clearBudgets

      public ListBudgetsResponse.Builder clearBudgets()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • removeBudgets

      public ListBudgetsResponse.Builder removeBudgets(int index)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • getBudgetsBuilder

      public Budget.Builder getBudgetsBuilder(int index)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • getBudgetsOrBuilder

      public BudgetOrBuilder getBudgetsOrBuilder(int index)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
      Specified by:
      getBudgetsOrBuilder in interface ListBudgetsResponseOrBuilder
    • getBudgetsOrBuilderList

      public List<? extends BudgetOrBuilder> getBudgetsOrBuilderList()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
      Specified by:
      getBudgetsOrBuilderList in interface ListBudgetsResponseOrBuilder
    • addBudgetsBuilder

      public Budget.Builder addBudgetsBuilder()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • addBudgetsBuilder

      public Budget.Builder addBudgetsBuilder(int index)
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • getBudgetsBuilderList

      public List<Budget.Builder> getBudgetsBuilderList()
       List of the budgets owned by the requested billing account.
       
      repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
    • getNextPageToken

      public String getNextPageToken()
       If not empty, indicates that there may be more budgets that match the
       request; this value should be passed in a new `ListBudgetsRequest`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListBudgetsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       If not empty, indicates that there may be more budgets that match the
       request; this value should be passed in a new `ListBudgetsRequest`.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListBudgetsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListBudgetsResponse.Builder setNextPageToken(String value)
       If not empty, indicates that there may be more budgets that match the
       request; this value should be passed in a new `ListBudgetsRequest`.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListBudgetsResponse.Builder clearNextPageToken()
       If not empty, indicates that there may be more budgets that match the
       request; this value should be passed in a new `ListBudgetsRequest`.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListBudgetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       If not empty, indicates that there may be more budgets that match the
       request; this value should be passed in a new `ListBudgetsRequest`.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.