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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

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

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

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

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProjectBillingInfoResponse build()
Returns

buildPartial()

public ListProjectBillingInfoResponse buildPartial()
Returns

clear()

public ListProjectBillingInfoResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clone()

public ListProjectBillingInfoResponse.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ListProjectBillingInfoResponse getDefaultInstanceForType()
Returns

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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