public static final class ListSubAccountsResponse.Builder extends GeneratedMessage.Builder<ListSubAccountsResponse.Builder> implements ListSubAccountsResponseOrBuilder Response message for the ListSubAccounts method.
Protobuf type google.shopping.merchant.accounts.v1beta.ListSubAccountsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSubAccountsResponse.BuilderImplements
ListSubAccountsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAccounts(Account value)
public ListSubAccountsResponse.Builder addAccounts(Account value)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Account |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
addAccounts(Account.Builder builderForValue)
public ListSubAccountsResponse.Builder addAccounts(Account.Builder builderForValue)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Account.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
addAccounts(int index, Account value)
public ListSubAccountsResponse.Builder addAccounts(int index, Account value)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Account |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
addAccounts(int index, Account.Builder builderForValue)
public ListSubAccountsResponse.Builder addAccounts(int index, Account.Builder builderForValue)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Account.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
addAccountsBuilder()
public Account.Builder addAccountsBuilder()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
Account.Builder |
|
addAccountsBuilder(int index)
public Account.Builder addAccountsBuilder(int index)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Account.Builder |
|
addAllAccounts(Iterable<? extends Account> values)
public ListSubAccountsResponse.Builder addAllAccounts(Iterable<? extends Account> values)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1beta.Account> |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
build()
public ListSubAccountsResponse build()| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse |
|
buildPartial()
public ListSubAccountsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse |
|
clear()
public ListSubAccountsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
clearAccounts()
public ListSubAccountsResponse.Builder clearAccounts()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
clearNextPageToken()
public ListSubAccountsResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
This builder for chaining. |
getAccounts(int index)
public Account getAccounts(int index)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Account |
|
getAccountsBuilder(int index)
public Account.Builder getAccountsBuilder(int index)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Account.Builder |
|
getAccountsBuilderList()
public List<Account.Builder> getAccountsBuilderList()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAccountsCount()
public int getAccountsCount()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAccountsList()
public List<Account> getAccountsList()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
List<Account> |
|
getAccountsOrBuilder(int index)
public AccountOrBuilder getAccountsOrBuilder(int index)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AccountOrBuilder |
|
getAccountsOrBuilderList()
public List<? extends AccountOrBuilder> getAccountsOrBuilderList()The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1beta.AccountOrBuilder> |
|
getDefaultInstanceForType()
public ListSubAccountsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSubAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSubAccountsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
mergeFrom(ListSubAccountsResponse other)
public ListSubAccountsResponse.Builder mergeFrom(ListSubAccountsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSubAccountsResponse |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
removeAccounts(int index)
public ListSubAccountsResponse.Builder removeAccounts(int index)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
setAccounts(int index, Account value)
public ListSubAccountsResponse.Builder setAccounts(int index, Account value)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Account |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
setAccounts(int index, Account.Builder builderForValue)
public ListSubAccountsResponse.Builder setAccounts(int index, Account.Builder builderForValue)The accounts for which the given parent account is an aggregator.
repeated .google.shopping.merchant.accounts.v1beta.Account accounts = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Account.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
|
setNextPageToken(String value)
public ListSubAccountsResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSubAccountsResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSubAccountsResponse.Builder |
This builder for chaining. |