Class ListProjectBillingInfoResponse.Builder (2.54.0)

public static final class ListProjectBillingInfoResponse.Builder extends GeneratedMessageV3.Builder<ListProjectBillingInfoResponse.Builder> implements ListProjectBillingInfoResponseOrBuilder

Request message for ListProjectBillingInfoResponse.

Protobuf type google.cloud.billing.v1.ListProjectBillingInfoResponse

Static Methods

getDescriptor()

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

Methods

addAllProjectBillingInfo(Iterable<? extends ProjectBillingInfo> values)

public ListProjectBillingInfoResponse.Builder addAllProjectBillingInfo(Iterable<? extends ProjectBillingInfo> values)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.billing.v1.ProjectBillingInfo>
Returns
Type Description
ListProjectBillingInfoResponse.Builder

addProjectBillingInfo(ProjectBillingInfo value)

public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(ProjectBillingInfo value)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
value ProjectBillingInfo
Returns
Type Description
ListProjectBillingInfoResponse.Builder

addProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)

public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(ProjectBillingInfo.Builder builderForValue)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
builderForValue ProjectBillingInfo.Builder
Returns
Type Description
ListProjectBillingInfoResponse.Builder

addProjectBillingInfo(int index, ProjectBillingInfo value)

public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(int index, ProjectBillingInfo value)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameters
Name Description
index int
value ProjectBillingInfo
Returns
Type Description
ListProjectBillingInfoResponse.Builder

addProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)

public ListProjectBillingInfoResponse.Builder addProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameters
Name Description
index int
builderForValue ProjectBillingInfo.Builder
Returns
Type Description
ListProjectBillingInfoResponse.Builder

addProjectBillingInfoBuilder()

public ProjectBillingInfo.Builder addProjectBillingInfoBuilder()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
ProjectBillingInfo.Builder

addProjectBillingInfoBuilder(int index)

public ProjectBillingInfo.Builder addProjectBillingInfoBuilder(int index)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectBillingInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProjectBillingInfoResponse build()
Returns
Type Description
ListProjectBillingInfoResponse

buildPartial()

public ListProjectBillingInfoResponse buildPartial()
Returns
Type Description
ListProjectBillingInfoResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProjectBillingInfoResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
ListProjectBillingInfoResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectBillingInfo()

public ListProjectBillingInfoResponse.Builder clearProjectBillingInfo()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
ListProjectBillingInfoResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProjectBillingInfoResponse getDefaultInstanceForType()
Returns
Type Description
ListProjectBillingInfoResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getProjectBillingInfo(int index)

public ProjectBillingInfo getProjectBillingInfo(int index)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectBillingInfo

getProjectBillingInfoBuilder(int index)

public ProjectBillingInfo.Builder getProjectBillingInfoBuilder(int index)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectBillingInfo.Builder

getProjectBillingInfoBuilderList()

public List<ProjectBillingInfo.Builder> getProjectBillingInfoBuilderList()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
List<Builder>

getProjectBillingInfoCount()

public int getProjectBillingInfoCount()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
int

getProjectBillingInfoList()

public List<ProjectBillingInfo> getProjectBillingInfoList()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
List<ProjectBillingInfo>

getProjectBillingInfoOrBuilder(int index)

public ProjectBillingInfoOrBuilder getProjectBillingInfoOrBuilder(int index)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
index int
Returns
Type Description
ProjectBillingInfoOrBuilder

getProjectBillingInfoOrBuilderList()

public List<? extends ProjectBillingInfoOrBuilder> getProjectBillingInfoOrBuilderList()

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Returns
Type Description
List<? extends com.google.cloud.billing.v1.ProjectBillingInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProjectBillingInfoResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProjectBillingInfo(int index)

public ListProjectBillingInfoResponse.Builder removeProjectBillingInfo(int index)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProjectBillingInfoResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProjectBillingInfoResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListProjectBillingInfoResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProjectBillingInfoResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListProjectBillingInfoResponse.Builder

This builder for chaining.

setProjectBillingInfo(int index, ProjectBillingInfo value)

public ListProjectBillingInfoResponse.Builder setProjectBillingInfo(int index, ProjectBillingInfo value)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameters
Name Description
index int
value ProjectBillingInfo
Returns
Type Description
ListProjectBillingInfoResponse.Builder

setProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)

public ListProjectBillingInfoResponse.Builder setProjectBillingInfo(int index, ProjectBillingInfo.Builder builderForValue)

A list of ProjectBillingInfo resources representing the projects associated with the billing account.

repeated .google.cloud.billing.v1.ProjectBillingInfo project_billing_info = 1;

Parameters
Name Description
index int
builderForValue ProjectBillingInfo.Builder
Returns
Type Description
ListProjectBillingInfoResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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