Class ListChildAccountsResponse.Builder (0.4.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
TypeDescription
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
NameDescription
valueAccount
Returns
TypeDescription
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
NameDescription
builderForValueAccount.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAccount
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccount.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.css.v1.Account>
Returns
TypeDescription
ListChildAccountsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides

build()

public ListChildAccountsResponse build()
Returns
TypeDescription
ListChildAccountsResponse

buildPartial()

public ListChildAccountsResponse buildPartial()
Returns
TypeDescription
ListChildAccountsResponse

clear()

public ListChildAccountsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListChildAccountsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListChildAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListChildAccountsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChildAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides

clone()

public ListChildAccountsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.shopping.css.v1.AccountOrBuilder>

getDefaultInstanceForType()

public ListChildAccountsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChildAccountsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChildAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListChildAccountsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides

mergeFrom(ListChildAccountsResponse other)

public ListChildAccountsResponse.Builder mergeFrom(ListChildAccountsResponse other)
Parameter
NameDescription
otherListChildAccountsResponse
Returns
TypeDescription
ListChildAccountsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAccount
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccount.Builder
Returns
TypeDescription
ListChildAccountsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListChildAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChildAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListChildAccountsResponse.Builder
Overrides