Class MinimumOrderValueTable.StoreCodeSetWithMov.Builder (1.0.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class MinimumOrderValueTable . StoreCodeSetWithMov . Builder extends GeneratedMessageV3 . Builder<MinimumOrderValueTable . StoreCodeSetWithMov . Builder > implements MinimumOrderValueTable . StoreCodeSetWithMovOrBuilder
A list of store code sets sharing the same minimum order value. 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.
Protobuf type
google.shopping.merchant.accounts.v1.MinimumOrderValueTable.StoreCodeSetWithMov
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder addAllStoreCodes ( Iterable<String> values )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
values
Iterable <String >
The storeCodes to add.
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder addStoreCodes ( String value )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The storeCodes to add.
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder addStoreCodesBytes ( ByteString value )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes of the storeCodes to add.
public MinimumOrderValueTable . StoreCodeSetWithMov build ()
public MinimumOrderValueTable . StoreCodeSetWithMov buildPartial ()
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clear ()
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clearStoreCodes ()
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clearValue ()
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder clone ()
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getStoreCodes ( int index )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The storeCodes at the given index.
public ByteString getStoreCodesBytes ( int index )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the storeCodes at the given index.
public int getStoreCodesCount ()
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The count of storeCodes.
public ProtocolStringList getStoreCodesList ()
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Returns
Type
Description
com.google.shopping.type.Price
The value.
public Price . Builder getValueBuilder ()
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Returns
Type
Description
com.google.shopping.type.Price.Builder
public PriceOrBuilder getValueOrBuilder ()
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Returns
Type
Description
com.google.shopping.type.PriceOrBuilder
public boolean hasValue ()
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Returns
Type
Description
boolean
Whether the value field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder mergeFrom ( MinimumOrderValueTable . StoreCodeSetWithMov other )
public final MinimumOrderValueTable . StoreCodeSetWithMov . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder mergeValue ( Price value )
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Parameter
Name
Description
value
com.google.shopping.type.Price
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder setStoreCodes ( int index , String value )
Optional. A list of unique store codes or empty for the catch all.
repeated string store_codes = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameters
Name
Description
index
int
The index to set the value at.
value
String
The storeCodes to set.
public final MinimumOrderValueTable . StoreCodeSetWithMov . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder setValue ( Price value )
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Parameter
Name
Description
value
com.google.shopping.type.Price
public MinimumOrderValueTable . StoreCodeSetWithMov . Builder setValue ( Price . Builder builderForValue )
The minimum order value for the given stores.
optional .google.shopping.type.Price value = 2;
Parameter
Name
Description
builderForValue
com.google.shopping.type.Price.Builder
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[]]