Class ListAccountTaxResponse.Builder (1.11.0)

public static final class ListAccountTaxResponse.Builder extends GeneratedMessage.Builder<ListAccountTaxResponse.Builder> implements ListAccountTaxResponseOrBuilder

Response to account tax list request This method can only be called on a multi-client account, otherwise it'll return an error.

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

Static Methods

getDescriptor()

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

Methods

addAccountTaxes(AccountTax value)

public ListAccountTaxResponse.Builder addAccountTaxes(AccountTax value)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
value AccountTax
Returns
Type Description
ListAccountTaxResponse.Builder

addAccountTaxes(AccountTax.Builder builderForValue)

public ListAccountTaxResponse.Builder addAccountTaxes(AccountTax.Builder builderForValue)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
builderForValue AccountTax.Builder
Returns
Type Description
ListAccountTaxResponse.Builder

addAccountTaxes(int index, AccountTax value)

public ListAccountTaxResponse.Builder addAccountTaxes(int index, AccountTax value)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameters
Name Description
index int
value AccountTax
Returns
Type Description
ListAccountTaxResponse.Builder

addAccountTaxes(int index, AccountTax.Builder builderForValue)

public ListAccountTaxResponse.Builder addAccountTaxes(int index, AccountTax.Builder builderForValue)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameters
Name Description
index int
builderForValue AccountTax.Builder
Returns
Type Description
ListAccountTaxResponse.Builder

addAccountTaxesBuilder()

public AccountTax.Builder addAccountTaxesBuilder()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Returns
Type Description
AccountTax.Builder

addAccountTaxesBuilder(int index)

public AccountTax.Builder addAccountTaxesBuilder(int index)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountTax.Builder

addAllAccountTaxes(Iterable<? extends AccountTax> values)

public ListAccountTaxResponse.Builder addAllAccountTaxes(Iterable<? extends AccountTax> values)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

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

build()

public ListAccountTaxResponse build()
Returns
Type Description
ListAccountTaxResponse

buildPartial()

public ListAccountTaxResponse buildPartial()
Returns
Type Description
ListAccountTaxResponse

clear()

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

clearAccountTaxes()

public ListAccountTaxResponse.Builder clearAccountTaxes()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Returns
Type Description
ListAccountTaxResponse.Builder

clearNextPageToken()

public ListAccountTaxResponse.Builder clearNextPageToken()

The token for the retrieval of the next page of account tax settings.

string next_page_token = 2;

Returns
Type Description
ListAccountTaxResponse.Builder

This builder for chaining.

getAccountTaxes(int index)

public AccountTax getAccountTaxes(int index)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountTax

getAccountTaxesBuilder(int index)

public AccountTax.Builder getAccountTaxesBuilder(int index)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountTax.Builder

getAccountTaxesBuilderList()

public List<AccountTax.Builder> getAccountTaxesBuilderList()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Returns
Type Description
List<Builder>

getAccountTaxesCount()

public int getAccountTaxesCount()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Returns
Type Description
int

getAccountTaxesList()

public List<AccountTax> getAccountTaxesList()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Returns
Type Description
List<AccountTax>

getAccountTaxesOrBuilder(int index)

public AccountTaxOrBuilder getAccountTaxesOrBuilder(int index)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
index int
Returns
Type Description
AccountTaxOrBuilder

getAccountTaxesOrBuilderList()

public List<? extends AccountTaxOrBuilder> getAccountTaxesOrBuilderList()

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

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

getDefaultInstanceForType()

public ListAccountTaxResponse getDefaultInstanceForType()
Returns
Type Description
ListAccountTaxResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The token for the retrieval of the next page of account tax settings.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token for the retrieval of the next page of account tax settings.

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

mergeFrom(Message other)

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

mergeFrom(ListAccountTaxResponse other)

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

removeAccountTaxes(int index)

public ListAccountTaxResponse.Builder removeAccountTaxes(int index)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAccountTaxResponse.Builder

setAccountTaxes(int index, AccountTax value)

public ListAccountTaxResponse.Builder setAccountTaxes(int index, AccountTax value)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameters
Name Description
index int
value AccountTax
Returns
Type Description
ListAccountTaxResponse.Builder

setAccountTaxes(int index, AccountTax.Builder builderForValue)

public ListAccountTaxResponse.Builder setAccountTaxes(int index, AccountTax.Builder builderForValue)

Page of accounttax settings

repeated .google.shopping.merchant.accounts.v1beta.AccountTax account_taxes = 1;

Parameters
Name Description
index int
builderForValue AccountTax.Builder
Returns
Type Description
ListAccountTaxResponse.Builder

setNextPageToken(String value)

public ListAccountTaxResponse.Builder setNextPageToken(String value)

The token for the retrieval of the next page of account tax settings.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAccountTaxResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccountTaxResponse.Builder setNextPageTokenBytes(ByteString value)

The token for the retrieval of the next page of account tax settings.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAccountTaxResponse.Builder

This builder for chaining.