Class ListBillingAccountsRequest.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBillingAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

build()

public ListBillingAccountsRequest build()
Returns
TypeDescription
ListBillingAccountsRequest

buildPartial()

public ListBillingAccountsRequest buildPartial()
Returns
TypeDescription
ListBillingAccountsRequest

clear()

public ListBillingAccountsRequest.Builder clear()
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListBillingAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

clearFilter()

public ListBillingAccountsRequest.Builder clearFilter()

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

string filter = 3;

Returns
TypeDescription
ListBillingAccountsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBillingAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListBillingAccountsRequest.Builder

This builder for chaining.

clone()

public ListBillingAccountsRequest.Builder clone()
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListBillingAccountsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListBillingAccountsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

string filter = 3;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

string filter = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListBillingAccountsRequest other)

public ListBillingAccountsRequest.Builder mergeFrom(ListBillingAccountsRequest other)
Parameter
NameDescription
otherListBillingAccountsRequest
Returns
TypeDescription
ListBillingAccountsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBillingAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListBillingAccountsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBillingAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListBillingAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

setFilter(String value)

public ListBillingAccountsRequest.Builder setFilter(String value)

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

string filter = 3;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListBillingAccountsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListBillingAccountsRequest.Builder setFilterBytes(ByteString value)

Options for how to filter the returned billing accounts. Currently this only supports filtering for subaccounts under a single provided reseller billing account. (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra and other fields are not currently supported.

string filter = 3;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBillingAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListBillingAccountsRequest.Builder
Overrides