public static final class ListBudgetsResponse.Builder extends GeneratedMessageV3.Builder<ListBudgetsResponse.Builder> implements ListBudgetsResponseOrBuilder
Response for ListBudgets
Protobuf type google.cloud.billing.budgets.v1.ListBudgetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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 |
Name |
Description |
value |
Budget
|
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;
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 |
Name |
Description |
index |
int
|
value |
Budget
|
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;
addBudgetsBuilder()
public Budget.Builder addBudgetsBuilder()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.Budget budgets = 1;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListBudgetsResponse build()
buildPartial()
public ListBudgetsResponse buildPartial()
clear()
public ListBudgetsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListBudgetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBudgetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListBudgetsResponse.Builder clone()
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 |
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.v1.Budget budgets = 1;
Parameter |
Name |
Description |
index |
int
|
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;
getBudgetsCount()
public int getBudgetsCount()
List of the budgets owned by the requested billing account.
repeated .google.cloud.billing.budgets.v1.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.v1.Budget budgets = 1;
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 |
Name |
Description |
index |
int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListBudgetsResponse other)
public ListBudgetsResponse.Builder mergeFrom(ListBudgetsResponse other)
public ListBudgetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListBudgetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
value |
Budget
|
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBudgetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides