Class ListChildAccountsResponse.Builder (0.17.0)

public static final class ListChildAccountsResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ListChildAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChildAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListChildAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChildAccountsResponse.Builder
Overrides