Class ListBillingAccountsRequest.Builder (2.36.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. 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
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.

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
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. 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
TypeDescription
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
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.

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

The bytes for parent.

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. 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
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. 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
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.

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

The parent to set.

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

The bytes for parent 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