Class ListBillingAccountsRequest.Builder

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

public static final class ListBillingAccountsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBillingAccountsRequest.Builder> implements ListBillingAccountsRequestOrBuilder
 Request message for `ListBillingAccounts`.
 
Protobuf type google.cloud.billing.v1.ListBillingAccountsRequest
  • 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<ListBillingAccountsRequest.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<ListBillingAccountsRequest.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<ListBillingAccountsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ListBillingAccountsRequest.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<ListBillingAccountsRequest.Builder>
      Throws:
      IOException
    • getPageSize

      public int getPageSize()
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 1;
      Specified by:
      getPageSize in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListBillingAccountsRequest.Builder setPageSize(int value)
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 1;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListBillingAccountsRequest.Builder clearPageSize()
       Requested page size. The maximum page size is 100; this is also the
       default.
       
      int32 page_size = 1;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token identifying a page of results to return. This should be a
       `next_page_token` value returned from a previous `ListBillingAccounts`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 2;
      Specified by:
      getPageToken in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A token identifying a page of results to return. This should be a
       `next_page_token` value returned from a previous `ListBillingAccounts`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 2;
      Specified by:
      getPageTokenBytes in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListBillingAccountsRequest.Builder setPageToken(String value)
       A token identifying a page of results to return. This should be a
       `next_page_token` value returned from a previous `ListBillingAccounts`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 2;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListBillingAccountsRequest.Builder clearPageToken()
       A token identifying a page of results to return. This should be a
       `next_page_token` value returned from a previous `ListBillingAccounts`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 2;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListBillingAccountsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results to return. This should be a
       `next_page_token` value returned from a previous `ListBillingAccounts`
       call. If unspecified, the first page of results is returned.
       
      string page_token = 2;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Options for how to filter the returned billing accounts.
       This only supports filtering for
       [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
       single provided parent billing account.
       (for example,
       `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
       Boolean algebra and other fields are not currently supported.
       
      string filter = 3;
      Specified by:
      getFilter in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Options for how to filter the returned billing accounts.
       This only supports filtering for
       [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
       single provided parent billing account.
       (for example,
       `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
       Boolean algebra and other fields are not currently supported.
       
      string filter = 3;
      Specified by:
      getFilterBytes in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListBillingAccountsRequest.Builder setFilter(String value)
       Options for how to filter the returned billing accounts.
       This only supports filtering for
       [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
       single provided parent billing account.
       (for example,
       `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
       Boolean algebra and other fields are not currently supported.
       
      string filter = 3;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListBillingAccountsRequest.Builder clearFilter()
       Options for how to filter the returned billing accounts.
       This only supports filtering for
       [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
       single provided parent billing account.
       (for example,
       `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
       Boolean algebra and other fields are not currently supported.
       
      string filter = 3;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListBillingAccountsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Options for how to filter the returned billing accounts.
       This only supports filtering for
       [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
       single provided parent billing account.
       (for example,
       `master_billing_account=billingAccounts/012345-678901-ABCDEF`).
       Boolean algebra and other fields are not currently supported.
       
      string filter = 3;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getParent

      public String getParent()
       Optional. The parent resource to list billing accounts from.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParent in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Optional. The parent resource to list billing accounts from.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParentBytes in interface ListBillingAccountsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListBillingAccountsRequest.Builder setParent(String value)
       Optional. The parent resource to list billing accounts from.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListBillingAccountsRequest.Builder clearParent()
       Optional. The parent resource to list billing accounts from.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListBillingAccountsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Optional. The parent resource to list billing accounts from.
       Format:
       - `organizations/{organization_id}`, for example,
       `organizations/12345678`
       - `billingAccounts/{billing_account_id}`, for example,
       `billingAccounts/012345-567890-ABCDEF`
       
      string parent = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.