public static final class ListBillingAccountsResponse.Builder extends GeneratedMessageV3.Builder<ListBillingAccountsResponse.Builder> implements ListBillingAccountsResponseOrBuilder
Response message for ListBillingAccounts
.
Protobuf type google.cloud.billing.v1.ListBillingAccountsResponse
Inherited Members
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
Methods
addAllBillingAccounts(Iterable<? extends BillingAccount> values)
public ListBillingAccountsResponse.Builder addAllBillingAccounts(Iterable<? extends BillingAccount> values)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.billing.v1.BillingAccount>
|
Returns
addBillingAccounts(BillingAccount value)
public ListBillingAccountsResponse.Builder addBillingAccounts(BillingAccount value)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
addBillingAccounts(BillingAccount.Builder builderForValue)
public ListBillingAccountsResponse.Builder addBillingAccounts(BillingAccount.Builder builderForValue)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
addBillingAccounts(int index, BillingAccount value)
public ListBillingAccountsResponse.Builder addBillingAccounts(int index, BillingAccount value)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameters
Returns
addBillingAccounts(int index, BillingAccount.Builder builderForValue)
public ListBillingAccountsResponse.Builder addBillingAccounts(int index, BillingAccount.Builder builderForValue)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameters
Returns
addBillingAccountsBuilder()
public BillingAccount.Builder addBillingAccountsBuilder()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
addBillingAccountsBuilder(int index)
public BillingAccount.Builder addBillingAccountsBuilder(int index)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBillingAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListBillingAccountsResponse build()
Returns
buildPartial()
public ListBillingAccountsResponse buildPartial()
Returns
clear()
public ListBillingAccountsResponse.Builder clear()
Returns
Overrides
clearBillingAccounts()
public ListBillingAccountsResponse.Builder clearBillingAccounts()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListBillingAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListBillingAccountsResponse.Builder clearNextPageToken()
A token to retrieve the next page of results. To retrieve the next page,
call ListBillingAccounts
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBillingAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListBillingAccountsResponse.Builder clone()
Returns
Overrides
getBillingAccounts(int index)
public BillingAccount getBillingAccounts(int index)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
getBillingAccountsBuilder(int index)
public BillingAccount.Builder getBillingAccountsBuilder(int index)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
getBillingAccountsBuilderList()
public List<BillingAccount.Builder> getBillingAccountsBuilderList()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
getBillingAccountsCount()
public int getBillingAccountsCount()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
getBillingAccountsList()
public List<BillingAccount> getBillingAccountsList()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
getBillingAccountsOrBuilder(int index)
public BillingAccountOrBuilder getBillingAccountsOrBuilder(int index)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
getBillingAccountsOrBuilderList()
public List<? extends BillingAccountOrBuilder> getBillingAccountsOrBuilderList()
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Returns
Type | Description |
List<? extends com.google.cloud.billing.v1.BillingAccountOrBuilder> | |
getDefaultInstanceForType()
public ListBillingAccountsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve the next page of results. To retrieve the next page,
call ListBillingAccounts
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
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve the next page of results. To retrieve the next page,
call ListBillingAccounts
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListBillingAccountsResponse other)
public ListBillingAccountsResponse.Builder mergeFrom(ListBillingAccountsResponse other)
Parameter
Returns
public ListBillingAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListBillingAccountsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBillingAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBillingAccounts(int index)
public ListBillingAccountsResponse.Builder removeBillingAccounts(int index)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameter
Returns
setBillingAccounts(int index, BillingAccount value)
public ListBillingAccountsResponse.Builder setBillingAccounts(int index, BillingAccount value)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameters
Returns
setBillingAccounts(int index, BillingAccount.Builder builderForValue)
public ListBillingAccountsResponse.Builder setBillingAccounts(int index, BillingAccount.Builder builderForValue)
A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListBillingAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListBillingAccountsResponse.Builder setNextPageToken(String value)
A token to retrieve the next page of results. To retrieve the next page,
call ListBillingAccounts
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListBillingAccountsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve the next page of results. To retrieve the next page,
call ListBillingAccounts
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
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBillingAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBillingAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides