Class ListAccountTaxResponse.Builder (0.5.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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