Class LfpMerchantState.CountrySettings (0.21.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LfpMerchantState.CountrySettings

Static Fields

FREE_LOCAL_LISTINGS_ENABLED_FIELD_NUMBER

public static final int FREE_LOCAL_LISTINGS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

INSTOCK_SERVING_VERIFICATION_STATE_FIELD_NUMBER

public static final int INSTOCK_SERVING_VERIFICATION_STATE_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_VERIFICATION_STATE_FIELD_NUMBER

public static final int INVENTORY_VERIFICATION_STATE_FIELD_NUMBER
Field Value
Type Description
int

LOCAL_INVENTORY_ADS_ENABLED_FIELD_NUMBER

public static final int LOCAL_INVENTORY_ADS_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

PICKUP_SERVING_VERIFICATION_STATE_FIELD_NUMBER

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

REGION_CODE_FIELD_NUMBER

public static final int REGION_CODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LfpMerchantState.CountrySettings getDefaultInstance()
Returns
Type Description
LfpMerchantState.CountrySettings

getDescriptor()

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

newBuilder()

public static LfpMerchantState.CountrySettings.Builder newBuilder()
Returns
Type Description
LfpMerchantState.CountrySettings.Builder

newBuilder(LfpMerchantState.CountrySettings prototype)

public static LfpMerchantState.CountrySettings.Builder newBuilder(LfpMerchantState.CountrySettings prototype)
Parameter
Name Description
prototype LfpMerchantState.CountrySettings
Returns
Type Description
LfpMerchantState.CountrySettings.Builder

parseDelimitedFrom(InputStream input)

public static LfpMerchantState.CountrySettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LfpMerchantState.CountrySettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LfpMerchantState.CountrySettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LfpMerchantState.CountrySettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LfpMerchantState.CountrySettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LfpMerchantState.CountrySettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LfpMerchantState.CountrySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.CountrySettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LfpMerchantState.CountrySettings> parser()
Returns
Type Description
Parser<CountrySettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LfpMerchantState.CountrySettings getDefaultInstanceForType()
Returns
Type Description
LfpMerchantState.CountrySettings

getFreeLocalListingsEnabled()

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.

getInstockServingVerificationState()

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];

Returns
Type Description
LfpMerchantState.CountrySettings.VerificationState

The instockServingVerificationState.

getInstockServingVerificationStateValue()

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.

getInventoryVerificationState()

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];

Returns
Type Description
LfpMerchantState.CountrySettings.VerificationState

The inventoryVerificationState.

getInventoryVerificationStateValue()

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.

getLocalInventoryAdsEnabled()

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.

getParserForType()

public Parser<LfpMerchantState.CountrySettings> getParserForType()
Returns
Type Description
Parser<CountrySettings>
Overrides

getPickupServingVerificationState()

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];

Returns
Type Description
LfpMerchantState.CountrySettings.VerificationState

The pickupServingVerificationState.

getPickupServingVerificationStateValue()

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];

Returns
Type Description
LfpMerchantState.CountrySettings.ProductPageType

The productPageType.

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.

getRegionCode()

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.

getRegionCodeBytes()

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LfpMerchantState.CountrySettings.Builder newBuilderForType()
Returns
Type Description
LfpMerchantState.CountrySettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LfpMerchantState.CountrySettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LfpMerchantState.CountrySettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LfpMerchantState.CountrySettings.Builder toBuilder()
Returns
Type Description
LfpMerchantState.CountrySettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException