Send feedback
Class LfpMerchantState.CountrySettings (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class LfpMerchantState . CountrySettings extends GeneratedMessageV3 implements LfpMerchantState . CountrySettingsOrBuilder
Country-specific settings for the merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public LfpMerchantState . CountrySettings . Builder newBuilderForType ()
protected LfpMerchantState . CountrySettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public LfpMerchantState . CountrySettings . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-05-10 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-10 UTC."],[],[]]