Class ListGbpAccountsResponse.Builder (1.11.0)

public static final class ListGbpAccountsResponse.Builder extends GeneratedMessage.Builder<ListGbpAccountsResponse.Builder> implements ListGbpAccountsResponseOrBuilder

Response message for the ListGbpAccounts method.

Protobuf type google.shopping.merchant.accounts.v1beta.ListGbpAccountsResponse

Static Methods

getDescriptor()

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

Methods

addAllGbpAccounts(Iterable<? extends GbpAccount> values)

public ListGbpAccountsResponse.Builder addAllGbpAccounts(Iterable<? extends GbpAccount> values)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.GbpAccount>
Returns
Type Description
ListGbpAccountsResponse.Builder

addGbpAccounts(GbpAccount value)

public ListGbpAccountsResponse.Builder addGbpAccounts(GbpAccount value)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
value GbpAccount
Returns
Type Description
ListGbpAccountsResponse.Builder

addGbpAccounts(GbpAccount.Builder builderForValue)

public ListGbpAccountsResponse.Builder addGbpAccounts(GbpAccount.Builder builderForValue)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
builderForValue GbpAccount.Builder
Returns
Type Description
ListGbpAccountsResponse.Builder

addGbpAccounts(int index, GbpAccount value)

public ListGbpAccountsResponse.Builder addGbpAccounts(int index, GbpAccount value)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameters
Name Description
index int
value GbpAccount
Returns
Type Description
ListGbpAccountsResponse.Builder

addGbpAccounts(int index, GbpAccount.Builder builderForValue)

public ListGbpAccountsResponse.Builder addGbpAccounts(int index, GbpAccount.Builder builderForValue)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameters
Name Description
index int
builderForValue GbpAccount.Builder
Returns
Type Description
ListGbpAccountsResponse.Builder

addGbpAccountsBuilder()

public GbpAccount.Builder addGbpAccountsBuilder()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
GbpAccount.Builder

addGbpAccountsBuilder(int index)

public GbpAccount.Builder addGbpAccountsBuilder(int index)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
GbpAccount.Builder

build()

public ListGbpAccountsResponse build()
Returns
Type Description
ListGbpAccountsResponse

buildPartial()

public ListGbpAccountsResponse buildPartial()
Returns
Type Description
ListGbpAccountsResponse

clear()

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

clearGbpAccounts()

public ListGbpAccountsResponse.Builder clearGbpAccounts()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
ListGbpAccountsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

getDefaultInstanceForType()

public ListGbpAccountsResponse getDefaultInstanceForType()
Returns
Type Description
ListGbpAccountsResponse

getDescriptorForType()

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

getGbpAccounts(int index)

public GbpAccount getGbpAccounts(int index)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
GbpAccount

getGbpAccountsBuilder(int index)

public GbpAccount.Builder getGbpAccountsBuilder(int index)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
GbpAccount.Builder

getGbpAccountsBuilderList()

public List<GbpAccount.Builder> getGbpAccountsBuilderList()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
List<Builder>

getGbpAccountsCount()

public int getGbpAccountsCount()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
int

getGbpAccountsList()

public List<GbpAccount> getGbpAccountsList()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
List<GbpAccount>

getGbpAccountsOrBuilder(int index)

public GbpAccountOrBuilder getGbpAccountsOrBuilder(int index)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
GbpAccountOrBuilder

getGbpAccountsOrBuilderList()

public List<? extends GbpAccountOrBuilder> getGbpAccountsOrBuilderList()

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.GbpAccountOrBuilder>

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 ListGbpAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListGbpAccountsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListGbpAccountsResponse other)

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

removeGbpAccounts(int index)

public ListGbpAccountsResponse.Builder removeGbpAccounts(int index)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGbpAccountsResponse.Builder

setGbpAccounts(int index, GbpAccount value)

public ListGbpAccountsResponse.Builder setGbpAccounts(int index, GbpAccount value)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameters
Name Description
index int
value GbpAccount
Returns
Type Description
ListGbpAccountsResponse.Builder

setGbpAccounts(int index, GbpAccount.Builder builderForValue)

public ListGbpAccountsResponse.Builder setGbpAccounts(int index, GbpAccount.Builder builderForValue)

The GBP accounts from the specified merchant in the specified country.

repeated .google.shopping.merchant.accounts.v1beta.GbpAccount gbp_accounts = 1;

Parameters
Name Description
index int
builderForValue GbpAccount.Builder
Returns
Type Description
ListGbpAccountsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.