Class ListBillingAccountsResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBillingAccountsResponse.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.GeneratedMessageV3.Builder<ListBillingAccountsResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public ListBillingAccountsResponse.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<ListBillingAccountsResponse.Builder>
        Throws:
        IOException
      • clearBillingAccounts

        public ListBillingAccountsResponse.Builder clearBillingAccounts()
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • removeBillingAccounts

        public ListBillingAccountsResponse.Builder removeBillingAccounts​(int index)
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • getBillingAccountsBuilder

        public BillingAccount.Builder getBillingAccountsBuilder​(int index)
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • addBillingAccountsBuilder

        public BillingAccount.Builder addBillingAccountsBuilder()
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • addBillingAccountsBuilder

        public BillingAccount.Builder addBillingAccountsBuilder​(int index)
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • getBillingAccountsBuilderList

        public List<BillingAccount.Builder> getBillingAccountsBuilderList()
         A list of billing accounts.
         
        repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token to retrieve the next page of results. To retrieve the next page,
         call `ListBillingAccounts` again with the `page_token` field set to this
         value. This field is empty if there are no more results to retrieve.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListBillingAccountsResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token to retrieve the next page of results. To retrieve the next page,
         call `ListBillingAccounts` again with the `page_token` field set to this
         value. This field is empty if there are no more results to retrieve.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListBillingAccountsResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListBillingAccountsResponse.Builder setNextPageToken​(String value)
         A token to retrieve the next page of results. To retrieve the next page,
         call `ListBillingAccounts` again with the `page_token` field set to this
         value. This field is empty if there are no more results to retrieve.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListBillingAccountsResponse.Builder clearNextPageToken()
         A token to retrieve the next page of results. To retrieve the next page,
         call `ListBillingAccounts` again with the `page_token` field set to this
         value. This field is empty if there are no more results to retrieve.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListBillingAccountsResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token to retrieve the next page of results. To retrieve the next page,
         call `ListBillingAccounts` again with the `page_token` field set to this
         value. This field is empty if there are no more results to retrieve.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final ListBillingAccountsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBillingAccountsResponse.Builder>