Class ListBudgetsResponse.Builder (2.44.0)

public static final class ListBudgetsResponse.Builder extends GeneratedMessageV3.Builder<ListBudgetsResponse.Builder> implements ListBudgetsResponseOrBuilder

Response for ListBudgets

Protobuf type google.cloud.billing.budgets.v1beta1.ListBudgetsResponse

Static Methods

getDescriptor()

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

Methods

addAllBudgets(Iterable<? extends Budget> values)

public ListBudgetsResponse.Builder addAllBudgets(Iterable<? extends Budget> values)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.billing.budgets.v1beta1.Budget>
Returns
Type Description
ListBudgetsResponse.Builder

addBudgets(Budget value)

public ListBudgetsResponse.Builder addBudgets(Budget value)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
value Budget
Returns
Type Description
ListBudgetsResponse.Builder

addBudgets(Budget.Builder builderForValue)

public ListBudgetsResponse.Builder addBudgets(Budget.Builder builderForValue)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
builderForValue Budget.Builder
Returns
Type Description
ListBudgetsResponse.Builder

addBudgets(int index, Budget value)

public ListBudgetsResponse.Builder addBudgets(int index, Budget value)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameters
Name Description
index int
value Budget
Returns
Type Description
ListBudgetsResponse.Builder

addBudgets(int index, Budget.Builder builderForValue)

public ListBudgetsResponse.Builder addBudgets(int index, Budget.Builder builderForValue)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameters
Name Description
index int
builderForValue Budget.Builder
Returns
Type Description
ListBudgetsResponse.Builder

addBudgetsBuilder()

public Budget.Builder addBudgetsBuilder()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
Budget.Builder

addBudgetsBuilder(int index)

public Budget.Builder addBudgetsBuilder(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
index int
Returns
Type Description
Budget.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBudgetsResponse build()
Returns
Type Description
ListBudgetsResponse

buildPartial()

public ListBudgetsResponse buildPartial()
Returns
Type Description
ListBudgetsResponse

clear()

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

clearBudgets()

public ListBudgetsResponse.Builder clearBudgets()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
ListBudgetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBudgetsResponse.Builder clearNextPageToken()

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Returns
Type Description
ListBudgetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBudgets(int index)

public Budget getBudgets(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
index int
Returns
Type Description
Budget

getBudgetsBuilder(int index)

public Budget.Builder getBudgetsBuilder(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
index int
Returns
Type Description
Budget.Builder

getBudgetsBuilderList()

public List<Budget.Builder> getBudgetsBuilderList()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
List<Builder>

getBudgetsCount()

public int getBudgetsCount()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
int

getBudgetsList()

public List<Budget> getBudgetsList()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
List<Budget>

getBudgetsOrBuilder(int index)

public BudgetOrBuilder getBudgetsOrBuilder(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
index int
Returns
Type Description
BudgetOrBuilder

getBudgetsOrBuilderList()

public List<? extends BudgetOrBuilder> getBudgetsOrBuilderList()

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Returns
Type Description
List<? extends com.google.cloud.billing.budgets.v1beta1.BudgetOrBuilder>

getDefaultInstanceForType()

public ListBudgetsResponse getDefaultInstanceForType()
Returns
Type Description
ListBudgetsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBudgetsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBudgets(int index)

public ListBudgetsResponse.Builder removeBudgets(int index)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBudgetsResponse.Builder

setBudgets(int index, Budget value)

public ListBudgetsResponse.Builder setBudgets(int index, Budget value)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameters
Name Description
index int
value Budget
Returns
Type Description
ListBudgetsResponse.Builder

setBudgets(int index, Budget.Builder builderForValue)

public ListBudgetsResponse.Builder setBudgets(int index, Budget.Builder builderForValue)

List of the budgets owned by the requested billing account.

repeated .google.cloud.billing.budgets.v1beta1.Budget budgets = 1;

Parameters
Name Description
index int
builderForValue Budget.Builder
Returns
Type Description
ListBudgetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBudgetsResponse.Builder setNextPageToken(String value)

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListBudgetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBudgetsResponse.Builder setNextPageTokenBytes(ByteString value)

If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new ListBudgetsRequest.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListBudgetsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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