Class ListBudgetsResponse.Builder (2.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.billing.budgets.v1beta1.Budget>
Returns
TypeDescription
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
NameDescription
valueBudget
Returns
TypeDescription
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
NameDescription
builderForValueBudget.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBudget
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBudget.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Budget.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBudgetsResponse build()
Returns
TypeDescription
ListBudgetsResponse

buildPartial()

public ListBudgetsResponse buildPartial()
Returns
TypeDescription
ListBudgetsResponse

clear()

public ListBudgetsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListBudgetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListBudgetsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.billing.budgets.v1beta1.BudgetOrBuilder>

getDefaultInstanceForType()

public ListBudgetsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBudgetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListBudgetsResponse other)

public ListBudgetsResponse.Builder mergeFrom(ListBudgetsResponse other)
Parameter
NameDescription
otherListBudgetsResponse
Returns
TypeDescription
ListBudgetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBudgetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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