Class ListChildAccountsResponse.Builder (0.51.0)

public static final class ListChildAccountsResponse.Builder extends GeneratedMessage.Builder<ListChildAccountsResponse.Builder> implements ListChildAccountsResponseOrBuilder

Response message for the ListChildAccounts method.

Protobuf type google.shopping.css.v1.ListChildAccountsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAccounts(Account value)

public ListChildAccountsResponse.Builder addAccounts(Account value)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
value Account
Returns
Type Description
ListChildAccountsResponse.Builder

addAccounts(Account.Builder builderForValue)

public ListChildAccountsResponse.Builder addAccounts(Account.Builder builderForValue)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
builderForValue Account.Builder
Returns
Type Description
ListChildAccountsResponse.Builder

addAccounts(int index, Account value)

public ListChildAccountsResponse.Builder addAccounts(int index, Account value)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameters
Name Description
index int
value Account
Returns
Type Description
ListChildAccountsResponse.Builder

addAccounts(int index, Account.Builder builderForValue)

public ListChildAccountsResponse.Builder addAccounts(int index, Account.Builder builderForValue)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameters
Name Description
index int
builderForValue Account.Builder
Returns
Type Description
ListChildAccountsResponse.Builder

addAccountsBuilder()

public Account.Builder addAccountsBuilder()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
Account.Builder

addAccountsBuilder(int index)

public Account.Builder addAccountsBuilder(int index)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
Account.Builder

addAllAccounts(Iterable<? extends Account> values)

public ListChildAccountsResponse.Builder addAllAccounts(Iterable<? extends Account> values)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.css.v1.Account>
Returns
Type Description
ListChildAccountsResponse.Builder

build()

public ListChildAccountsResponse build()
Returns
Type Description
ListChildAccountsResponse

buildPartial()

public ListChildAccountsResponse buildPartial()
Returns
Type Description
ListChildAccountsResponse

clear()

public ListChildAccountsResponse.Builder clear()
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

clearAccounts()

public ListChildAccountsResponse.Builder clearAccounts()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
ListChildAccountsResponse.Builder

clearNextPageToken()

public ListChildAccountsResponse.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
ListChildAccountsResponse.Builder

This builder for chaining.

getAccounts(int index)

public Account getAccounts(int index)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
Account

getAccountsBuilder(int index)

public Account.Builder getAccountsBuilder(int index)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
Account.Builder

getAccountsBuilderList()

public List<Account.Builder> getAccountsBuilderList()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
List<Builder>

getAccountsCount()

public int getAccountsCount()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
int

getAccountsList()

public List<Account> getAccountsList()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
List<Account>

getAccountsOrBuilder(int index)

public AccountOrBuilder getAccountsOrBuilder(int index)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountOrBuilder

getAccountsOrBuilderList()

public List<? extends AccountOrBuilder> getAccountsOrBuilderList()

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Returns
Type Description
List<? extends com.google.shopping.css.v1.AccountOrBuilder>

getDefaultInstanceForType()

public ListChildAccountsResponse getDefaultInstanceForType()
Returns
Type Description
ListChildAccountsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChildAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListChildAccountsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

mergeFrom(ListChildAccountsResponse other)

public ListChildAccountsResponse.Builder mergeFrom(ListChildAccountsResponse other)
Parameter
Name Description
other ListChildAccountsResponse
Returns
Type Description
ListChildAccountsResponse.Builder

removeAccounts(int index)

public ListChildAccountsResponse.Builder removeAccounts(int index)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
ListChildAccountsResponse.Builder

setAccounts(int index, Account value)

public ListChildAccountsResponse.Builder setAccounts(int index, Account value)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameters
Name Description
index int
value Account
Returns
Type Description
ListChildAccountsResponse.Builder

setAccounts(int index, Account.Builder builderForValue)

public ListChildAccountsResponse.Builder setAccounts(int index, Account.Builder builderForValue)

The CSS/MC accounts returned for the specified CSS parent account.

repeated .google.shopping.css.v1.Account accounts = 1;

Parameters
Name Description
index int
builderForValue Account.Builder
Returns
Type Description
ListChildAccountsResponse.Builder

setNextPageToken(String value)

public ListChildAccountsResponse.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 String

The nextPageToken to set.

Returns
Type Description
ListChildAccountsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChildAccountsResponse.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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListChildAccountsResponse.Builder

This builder for chaining.