Class LfpMerchantState.CountrySettings.Builder (0.21.0)

public static final class LfpMerchantState.CountrySettings.Builder extends GeneratedMessageV3.Builder<LfpMerchantState.CountrySettings.Builder> implements LfpMerchantState.CountrySettingsOrBuilder

Country-specific settings for the merchant.

Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public LfpMerchantState.CountrySettings.Builder clear()
Returns
Type Description
LfpMerchantState.CountrySettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFreeLocalListingsEnabled()

public LfpMerchantState.CountrySettings.Builder clearFreeLocalListingsEnabled()

True if this merchant has enabled free local listings in MC.

bool free_local_listings_enabled = 2;

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

clearInstockServingVerificationState()

public LfpMerchantState.CountrySettings.Builder clearInstockServingVerificationState()

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.Builder

This builder for chaining.

clearInventoryVerificationState()

public LfpMerchantState.CountrySettings.Builder clearInventoryVerificationState()

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.Builder

This builder for chaining.

clearLocalInventoryAdsEnabled()

public LfpMerchantState.CountrySettings.Builder clearLocalInventoryAdsEnabled()

True if this merchant has enabled local inventory ads in MC.

bool local_inventory_ads_enabled = 3;

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPickupServingVerificationState()

public LfpMerchantState.CountrySettings.Builder clearPickupServingVerificationState()

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.Builder

This builder for chaining.

clearProductPageType()

public LfpMerchantState.CountrySettings.Builder clearProductPageType()

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.Builder

This builder for chaining.

clearRegionCode()

public LfpMerchantState.CountrySettings.Builder clearRegionCode()

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
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

clone()

public LfpMerchantState.CountrySettings.Builder clone()
Returns
Type Description
LfpMerchantState.CountrySettings.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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.

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.

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

mergeFrom(Message other)

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

mergeFrom(LfpMerchantState.CountrySettings other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFreeLocalListingsEnabled(boolean value)

public LfpMerchantState.CountrySettings.Builder setFreeLocalListingsEnabled(boolean value)

True if this merchant has enabled free local listings in MC.

bool free_local_listings_enabled = 2;

Parameter
Name Description
value boolean

The freeLocalListingsEnabled to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setInstockServingVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

public LfpMerchantState.CountrySettings.Builder setInstockServingVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

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

Parameter
Name Description
value LfpMerchantState.CountrySettings.VerificationState

The instockServingVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setInstockServingVerificationStateValue(int value)

public LfpMerchantState.CountrySettings.Builder setInstockServingVerificationStateValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for instockServingVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setInventoryVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

public LfpMerchantState.CountrySettings.Builder setInventoryVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

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

Parameter
Name Description
value LfpMerchantState.CountrySettings.VerificationState

The inventoryVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setInventoryVerificationStateValue(int value)

public LfpMerchantState.CountrySettings.Builder setInventoryVerificationStateValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for inventoryVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setLocalInventoryAdsEnabled(boolean value)

public LfpMerchantState.CountrySettings.Builder setLocalInventoryAdsEnabled(boolean value)

True if this merchant has enabled local inventory ads in MC.

bool local_inventory_ads_enabled = 3;

Parameter
Name Description
value boolean

The localInventoryAdsEnabled to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setPickupServingVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

public LfpMerchantState.CountrySettings.Builder setPickupServingVerificationState(LfpMerchantState.CountrySettings.VerificationState value)

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

Parameter
Name Description
value LfpMerchantState.CountrySettings.VerificationState

The pickupServingVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setPickupServingVerificationStateValue(int value)

public LfpMerchantState.CountrySettings.Builder setPickupServingVerificationStateValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for pickupServingVerificationState to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setProductPageType(LfpMerchantState.CountrySettings.ProductPageType value)

public LfpMerchantState.CountrySettings.Builder setProductPageType(LfpMerchantState.CountrySettings.ProductPageType value)

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

Parameter
Name Description
value LfpMerchantState.CountrySettings.ProductPageType

The productPageType to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setProductPageTypeValue(int value)

public LfpMerchantState.CountrySettings.Builder setProductPageTypeValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for productPageType to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setRegionCode(String value)

public LfpMerchantState.CountrySettings.Builder setRegionCode(String value)

Required. The CLDR territory code for the country for which these settings are defined.

string region_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The regionCode to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

setRegionCodeBytes(ByteString value)

public LfpMerchantState.CountrySettings.Builder setRegionCodeBytes(ByteString value)

Required. The CLDR territory code for the country for which these settings are defined.

string region_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for regionCode to set.

Returns
Type Description
LfpMerchantState.CountrySettings.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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