Class MinimumOrderValueTable.Builder (0.2.0)

public static final class MinimumOrderValueTable.Builder extends GeneratedMessageV3.Builder<MinimumOrderValueTable.Builder> implements MinimumOrderValueTableOrBuilder

Table of per store minimum order values for the pickup fulfillment type.

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

Static Methods

getDescriptor()

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

Methods

addAllStoreCodeSetWithMovs(Iterable<? extends MinimumOrderValueTable.StoreCodeSetWithMov> values)

public MinimumOrderValueTable.Builder addAllStoreCodeSetWithMovs(Iterable<? extends MinimumOrderValueTable.StoreCodeSetWithMov> values)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStoreCodeSetWithMovs(MinimumOrderValueTable.StoreCodeSetWithMov value)

public MinimumOrderValueTable.Builder addStoreCodeSetWithMovs(MinimumOrderValueTable.StoreCodeSetWithMov value)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MinimumOrderValueTable.StoreCodeSetWithMov
Returns
Type Description
MinimumOrderValueTable.Builder

addStoreCodeSetWithMovs(MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

public MinimumOrderValueTable.Builder addStoreCodeSetWithMovs(MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MinimumOrderValueTable.StoreCodeSetWithMov.Builder
Returns
Type Description
MinimumOrderValueTable.Builder

addStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov value)

public MinimumOrderValueTable.Builder addStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov value)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MinimumOrderValueTable.StoreCodeSetWithMov
Returns
Type Description
MinimumOrderValueTable.Builder

addStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

public MinimumOrderValueTable.Builder addStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MinimumOrderValueTable.StoreCodeSetWithMov.Builder
Returns
Type Description
MinimumOrderValueTable.Builder

addStoreCodeSetWithMovsBuilder()

public MinimumOrderValueTable.StoreCodeSetWithMov.Builder addStoreCodeSetWithMovsBuilder()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MinimumOrderValueTable.StoreCodeSetWithMov.Builder

addStoreCodeSetWithMovsBuilder(int index)

public MinimumOrderValueTable.StoreCodeSetWithMov.Builder addStoreCodeSetWithMovsBuilder(int index)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MinimumOrderValueTable.StoreCodeSetWithMov.Builder

build()

public MinimumOrderValueTable build()
Returns
Type Description
MinimumOrderValueTable

buildPartial()

public MinimumOrderValueTable buildPartial()
Returns
Type Description
MinimumOrderValueTable

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStoreCodeSetWithMovs()

public MinimumOrderValueTable.Builder clearStoreCodeSetWithMovs()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MinimumOrderValueTable.Builder

clone()

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

getDefaultInstanceForType()

public MinimumOrderValueTable getDefaultInstanceForType()
Returns
Type Description
MinimumOrderValueTable

getDescriptorForType()

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

getStoreCodeSetWithMovs(int index)

public MinimumOrderValueTable.StoreCodeSetWithMov getStoreCodeSetWithMovs(int index)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MinimumOrderValueTable.StoreCodeSetWithMov

getStoreCodeSetWithMovsBuilder(int index)

public MinimumOrderValueTable.StoreCodeSetWithMov.Builder getStoreCodeSetWithMovsBuilder(int index)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MinimumOrderValueTable.StoreCodeSetWithMov.Builder

getStoreCodeSetWithMovsBuilderList()

public List<MinimumOrderValueTable.StoreCodeSetWithMov.Builder> getStoreCodeSetWithMovsBuilderList()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getStoreCodeSetWithMovsCount()

public int getStoreCodeSetWithMovsCount()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getStoreCodeSetWithMovsList()

public List<MinimumOrderValueTable.StoreCodeSetWithMov> getStoreCodeSetWithMovsList()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<StoreCodeSetWithMov>

getStoreCodeSetWithMovsOrBuilder(int index)

public MinimumOrderValueTable.StoreCodeSetWithMovOrBuilder getStoreCodeSetWithMovsOrBuilder(int index)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MinimumOrderValueTable.StoreCodeSetWithMovOrBuilder

getStoreCodeSetWithMovsOrBuilderList()

public List<? extends MinimumOrderValueTable.StoreCodeSetWithMovOrBuilder> getStoreCodeSetWithMovsOrBuilderList()

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

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

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

mergeFrom(Message other)

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

mergeFrom(MinimumOrderValueTable other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeStoreCodeSetWithMovs(int index)

public MinimumOrderValueTable.Builder removeStoreCodeSetWithMovs(int index)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MinimumOrderValueTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov value)

public MinimumOrderValueTable.Builder setStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov value)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value MinimumOrderValueTable.StoreCodeSetWithMov
Returns
Type Description
MinimumOrderValueTable.Builder

setStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

public MinimumOrderValueTable.Builder setStoreCodeSetWithMovs(int index, MinimumOrderValueTable.StoreCodeSetWithMov.Builder builderForValue)

Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.

repeated .google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov store_code_set_with_movs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue MinimumOrderValueTable.StoreCodeSetWithMov.Builder
Returns
Type Description
MinimumOrderValueTable.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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