public static final class ListBillingAccountsResponse.Builder extends GeneratedMessage.Builder<ListBillingAccountsResponse.Builder> implements ListBillingAccountsResponseOrBuilder Response message for ListBillingAccounts.
Protobuf type google.cloud.billing.v1.ListBillingAccountsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListBillingAccountsResponse.BuilderImplements
ListBillingAccountsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
addBillingAccounts(BillingAccount value)
public ListBillingAccountsResponse.Builder addBillingAccounts(BillingAccount value)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BillingAccount |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
BillingAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
BillingAccount |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BillingAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
addBillingAccountsBuilder()
public BillingAccount.Builder addBillingAccountsBuilder()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Returns | |
|---|---|
| Type | Description |
BillingAccount.Builder |
|
addBillingAccountsBuilder(int index)
public BillingAccount.Builder addBillingAccountsBuilder(int index)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccount.Builder |
|
build()
public ListBillingAccountsResponse build()| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse |
|
buildPartial()
public ListBillingAccountsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse |
|
clear()
public ListBillingAccountsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
clearBillingAccounts()
public ListBillingAccountsResponse.Builder clearBillingAccounts()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
This builder for chaining. |
getBillingAccounts(int index)
public BillingAccount getBillingAccounts(int index)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccount |
|
getBillingAccountsBuilder(int index)
public BillingAccount.Builder getBillingAccountsBuilder(int index)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccount.Builder |
|
getBillingAccountsBuilderList()
public List<BillingAccount.Builder> getBillingAccountsBuilderList()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBillingAccountsCount()
public int getBillingAccountsCount()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBillingAccountsList()
public List<BillingAccount> getBillingAccountsList()A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Returns | |
|---|---|
| Type | Description |
List<BillingAccount> |
|
getBillingAccountsOrBuilder(int index)
public BillingAccountOrBuilder getBillingAccountsOrBuilder(int index)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccountOrBuilder |
|
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 | |
|---|---|
| Type | Description |
ListBillingAccountsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListBillingAccountsResponse other)
public ListBillingAccountsResponse.Builder mergeFrom(ListBillingAccountsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListBillingAccountsResponse |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBillingAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListBillingAccountsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
removeBillingAccounts(int index)
public ListBillingAccountsResponse.Builder removeBillingAccounts(int index)A list of billing accounts.
repeated .google.cloud.billing.v1.BillingAccount billing_accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
BillingAccount |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BillingAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListBillingAccountsResponse.Builder |
This builder for chaining. |