Class ListProjectBillingInfoResponse.Builder (2.5.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.billing.v1.ProjectBillingInfo>
Returns
TypeDescription
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
NameDescription
valueProjectBillingInfo
Returns
TypeDescription
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
NameDescription
builderForValueProjectBillingInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProjectBillingInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProjectBillingInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProjectBillingInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProjectBillingInfoResponse build()
Returns
TypeDescription
ListProjectBillingInfoResponse

buildPartial()

public ListProjectBillingInfoResponse buildPartial()
Returns
TypeDescription
ListProjectBillingInfoResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListProjectBillingInfoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListProjectBillingInfoResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListProjectBillingInfoResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProjectBillingInfoResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.billing.v1.ProjectBillingInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProjectBillingInfoResponse other)

public ListProjectBillingInfoResponse.Builder mergeFrom(ListProjectBillingInfoResponse other)
Parameter
NameDescription
otherListProjectBillingInfoResponse
Returns
TypeDescription
ListProjectBillingInfoResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListProjectBillingInfoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListProjectBillingInfoResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListProjectBillingInfoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProjectBillingInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProjectBillingInfo.Builder
Returns
TypeDescription
ListProjectBillingInfoResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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