Class UpdateAccountTaxRequest.Builder (0.11.0)

public static final class UpdateAccountTaxRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountTaxRequest.Builder> implements UpdateAccountTaxRequestOrBuilder

Request to update the tax settings

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAccountTaxRequest build()
Returns
Type Description
UpdateAccountTaxRequest

buildPartial()

public UpdateAccountTaxRequest buildPartial()
Returns
Type Description
UpdateAccountTaxRequest

clear()

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

clearAccountTax()

public UpdateAccountTaxRequest.Builder clearAccountTax()

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAccountTaxRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAccountTaxRequest.Builder clearUpdateMask()

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAccountTaxRequest.Builder

clone()

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

getAccountTax()

public AccountTax getAccountTax()

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountTax

The accountTax.

getAccountTaxBuilder()

public AccountTax.Builder getAccountTaxBuilder()

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountTax.Builder

getAccountTaxOrBuilder()

public AccountTaxOrBuilder getAccountTaxOrBuilder()

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountTaxOrBuilder

getDefaultInstanceForType()

public UpdateAccountTaxRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAccountTaxRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAccountTax()

public boolean hasAccountTax()

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accountTax field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccountTax(AccountTax value)

public UpdateAccountTaxRequest.Builder mergeAccountTax(AccountTax value)

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccountTax
Returns
Type Description
UpdateAccountTaxRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccountTaxRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccountTaxRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(UpdateAccountTaxRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAccountTaxRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccountTaxRequest.Builder

setAccountTax(AccountTax value)

public UpdateAccountTaxRequest.Builder setAccountTax(AccountTax value)

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccountTax
Returns
Type Description
UpdateAccountTaxRequest.Builder

setAccountTax(AccountTax.Builder builderForValue)

public UpdateAccountTaxRequest.Builder setAccountTax(AccountTax.Builder builderForValue)

Required. The tax setting that will be updated

.google.shopping.merchant.accounts.v1beta.AccountTax account_tax = 1 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAccountTaxRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccountTaxRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAccountTaxRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAccountTaxRequest.Builder