public static final class LfpMerchantState.CountrySettings extends GeneratedMessage implements LfpMerchantState.CountrySettingsOrBuilder
Country-specific settings for the merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int FREE_LOCAL_LISTINGS_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INSTOCK_SERVING_VERIFICATION_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INVENTORY_VERIFICATION_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LOCAL_INVENTORY_ADS_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PICKUP_SERVING_VERIFICATION_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRODUCT_PAGE_TYPE_FIELD_NUMBER
public static final int PRODUCT_PAGE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REGION_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static LfpMerchantState.CountrySettings getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static LfpMerchantState.CountrySettings.Builder newBuilder()
public static LfpMerchantState.CountrySettings.Builder newBuilder(LfpMerchantState.CountrySettings prototype)
public static LfpMerchantState.CountrySettings parseDelimitedFrom(InputStream input)
public static LfpMerchantState.CountrySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.CountrySettings parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static LfpMerchantState.CountrySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.CountrySettings parseFrom(ByteString data)
public static LfpMerchantState.CountrySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.CountrySettings parseFrom(CodedInputStream input)
public static LfpMerchantState.CountrySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.CountrySettings parseFrom(InputStream input)
public static LfpMerchantState.CountrySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.CountrySettings parseFrom(ByteBuffer data)
public static LfpMerchantState.CountrySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<LfpMerchantState.CountrySettings> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public LfpMerchantState.CountrySettings getDefaultInstanceForType()
public boolean getFreeLocalListingsEnabled()
True if this merchant has enabled free local listings in MC.
bool free_local_listings_enabled = 2;
| Returns |
| Type |
Description |
boolean |
The freeLocalListingsEnabled.
|
public LfpMerchantState.CountrySettings.VerificationState getInstockServingVerificationState()
Output only. The verification state of this merchant's instock serving
feature.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState instock_serving_verification_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getInstockServingVerificationStateValue()
Output only. The verification state of this merchant's instock serving
feature.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState instock_serving_verification_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for instockServingVerificationState.
|
public LfpMerchantState.CountrySettings.VerificationState getInventoryVerificationState()
Output only. The verification state of this merchant's inventory check.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState inventory_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getInventoryVerificationStateValue()
Output only. The verification state of this merchant's inventory check.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState inventory_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for inventoryVerificationState.
|
public boolean getLocalInventoryAdsEnabled()
True if this merchant has enabled local inventory ads in MC.
bool local_inventory_ads_enabled = 3;
| Returns |
| Type |
Description |
boolean |
The localInventoryAdsEnabled.
|
public Parser<LfpMerchantState.CountrySettings> getParserForType()
Overrides
public LfpMerchantState.CountrySettings.VerificationState getPickupServingVerificationState()
Output only. The verification state of this merchant's pickup serving
feature.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState pickup_serving_verification_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getPickupServingVerificationStateValue()
Output only. The verification state of this merchant's pickup serving
feature.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.VerificationState pickup_serving_verification_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for pickupServingVerificationState.
|
getProductPageType()
public LfpMerchantState.CountrySettings.ProductPageType getProductPageType()
Output only. The product page type selected by this merchant.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType product_page_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProductPageTypeValue()
public int getProductPageTypeValue()
Output only. The product page type selected by this merchant.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings.ProductPageType product_page_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for productPageType.
|
public String getRegionCode()
Required. The CLDR territory
code
for the country for which these settings are defined.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The regionCode.
|
public ByteString getRegionCodeBytes()
Required. The CLDR territory
code
for the country for which these settings are defined.
string region_code = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for regionCode.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LfpMerchantState.CountrySettings.Builder newBuilderForType()
protected LfpMerchantState.CountrySettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public LfpMerchantState.CountrySettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides