Class ListBillingAccountsRequest.Builder (2.43.0)

public static final class ListBillingAccountsRequest.Builder extends GeneratedMessageV3.Builder<ListBillingAccountsRequest.Builder> implements ListBillingAccountsRequestOrBuilder

Request message for ListBillingAccounts.

Protobuf type google.cloud.billing.v1.ListBillingAccountsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBillingAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

build()

public ListBillingAccountsRequest build()
Returns
Type Description
ListBillingAccountsRequest

buildPartial()

public ListBillingAccountsRequest buildPartial()
Returns
Type Description
ListBillingAccountsRequest

clear()

public ListBillingAccountsRequest.Builder clear()
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListBillingAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

clearFilter()

public ListBillingAccountsRequest.Builder clearFilter()

Options for how to filter the returned billing accounts. This only supports filtering for subaccounts 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
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBillingAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

clearPageSize()

public ListBillingAccountsRequest.Builder clearPageSize()

Requested page size. The maximum page size is 100; this is also the default.

int32 page_size = 1;

Returns
Type Description
ListBillingAccountsRequest.Builder

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
Type Description
ListBillingAccountsRequest.Builder

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
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

clone()

public ListBillingAccountsRequest.Builder clone()
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListBillingAccountsRequest getDefaultInstanceForType()
Returns
Type Description
ListBillingAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Options for how to filter the returned billing accounts. This only supports filtering for subaccounts 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
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Options for how to filter the returned billing accounts. This only supports filtering for subaccounts 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
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Requested page size. The maximum page size is 100; this is also the default.

int32 page_size = 1;

Returns
Type Description
int

The pageSize.

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;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for pageToken.

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];

Returns
Type Description
String

The parent.

getParentBytes()

public 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];

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBillingAccountsRequest other)

public ListBillingAccountsRequest.Builder mergeFrom(ListBillingAccountsRequest other)
Parameter
Name Description
other ListBillingAccountsRequest
Returns
Type Description
ListBillingAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBillingAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListBillingAccountsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBillingAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListBillingAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

setFilter(String value)

public ListBillingAccountsRequest.Builder setFilter(String value)

Options for how to filter the returned billing accounts. This only supports filtering for subaccounts 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;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListBillingAccountsRequest.Builder setFilterBytes(ByteString value)

Options for how to filter the returned billing accounts. This only supports filtering for subaccounts 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;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListBillingAccountsRequest.Builder setPageSize(int value)

Requested page size. The maximum page size is 100; this is also the default.

int32 page_size = 1;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setPageToken(String value)

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;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListBillingAccountsRequest.Builder setPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setParent(String value)

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];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListBillingAccountsRequest.Builder setParentBytes(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];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListBillingAccountsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListBillingAccountsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBillingAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBillingAccountsRequest.Builder
Overrides