Class ListProjectBillingInfoRequest.Builder (2.41.0)

public static final class ListProjectBillingInfoRequest.Builder extends GeneratedMessageV3.Builder<ListProjectBillingInfoRequest.Builder> implements ListProjectBillingInfoRequestOrBuilder

Request message for ListProjectBillingInfo.

Protobuf type google.cloud.billing.v1.ListProjectBillingInfoRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProjectBillingInfoRequest build()
Returns
TypeDescription
ListProjectBillingInfoRequest

buildPartial()

public ListProjectBillingInfoRequest buildPartial()
Returns
TypeDescription
ListProjectBillingInfoRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ListProjectBillingInfoRequest.Builder clearName()

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProjectBillingInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListProjectBillingInfoRequest.Builder
Overrides

clearPageSize()

public ListProjectBillingInfoRequest.Builder clearPageSize()

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

int32 page_size = 2;

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

clearPageToken()

public ListProjectBillingInfoRequest.Builder clearPageToken()

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

string page_token = 3;

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListProjectBillingInfoRequest getDefaultInstanceForType()
Returns
TypeDescription
ListProjectBillingInfoRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

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

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

string page_token = 3;

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(ListProjectBillingInfoRequest other)

public ListProjectBillingInfoRequest.Builder mergeFrom(ListProjectBillingInfoRequest other)
Parameter
NameDescription
otherListProjectBillingInfoRequest
Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ListProjectBillingInfoRequest.Builder setName(String value)

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListProjectBillingInfoRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListProjectBillingInfoRequest.Builder setPageSize(int value)

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

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListProjectBillingInfoRequest.Builder setPageToken(String value)

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListProjectBillingInfoRequest.Builder setPageTokenBytes(ByteString value)

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListProjectBillingInfoRequest.Builder

This builder for chaining.

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

public ListProjectBillingInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListProjectBillingInfoRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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