public static final class ListBudgetsResponse.Builder extends GeneratedMessageV3.Builder<ListBudgetsResponse.Builder> implements ListBudgetsResponseOrBuilder
Response for ListBudgets
Protobuf type google.cloud.billing.budgets.v1.ListBudgetsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1.Budget budgets = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.billing.budgets.v1.Budget>
|
Returns
addBudgets(Budget value)
public ListBudgetsResponse.Builder addBudgets(Budget value)
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Parameter
Returns
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.v1.Budget budgets = 1;
Parameter
Returns
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.v1.Budget budgets = 1;
Parameters
Returns
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.v1.Budget budgets = 1;
Parameters
Returns
addBudgetsBuilder()
public Budget.Builder addBudgetsBuilder()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
addBudgetsBuilder(int index)
public Budget.Builder addBudgetsBuilder(int index)
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListBudgetsResponse build()
Returns
buildPartial()
public ListBudgetsResponse buildPartial()
Returns
clear()
public ListBudgetsResponse.Builder clear()
Returns
Overrides
clearBudgets()
public ListBudgetsResponse.Builder clearBudgets()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListBudgetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBudgetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListBudgetsResponse.Builder clone()
Returns
Overrides
getBudgets(int index)
public Budget getBudgets(int index)
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Parameter
Returns
getBudgetsBuilder(int index)
public Budget.Builder getBudgetsBuilder(int index)
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Parameter
Returns
getBudgetsBuilderList()
public List<Budget.Builder> getBudgetsBuilderList()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
getBudgetsCount()
public int getBudgetsCount()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
getBudgetsList()
public List<Budget> getBudgetsList()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
getBudgetsOrBuilder(int index)
public BudgetOrBuilder getBudgetsOrBuilder(int index)
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Parameter
Returns
getBudgetsOrBuilderList()
public List<? extends BudgetOrBuilder> getBudgetsOrBuilderList()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
Returns
Type | Description |
List<? extends com.google.cloud.billing.budgets.v1.BudgetOrBuilder> | |
getDefaultInstanceForType()
public ListBudgetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListBudgetsResponse other)
public ListBudgetsResponse.Builder mergeFrom(ListBudgetsResponse other)
Parameter
Returns
public ListBudgetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBudgetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1.Budget budgets = 1;
Parameter
Returns
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.v1.Budget budgets = 1;
Parameters
Returns
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.v1.Budget budgets = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBudgetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides