public static final class LfpMerchantState.CountrySettings.Builder extends GeneratedMessageV3.Builder<LfpMerchantState.CountrySettings.Builder> implements LfpMerchantState.CountrySettingsOrBuilderCountry-specific settings for the merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LfpMerchantState.CountrySettings.BuilderImplements
LfpMerchantState.CountrySettingsOrBuilderStatic 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 |
|
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 |
|
clearField(Descriptors.FieldDescriptor field)
public LfpMerchantState.CountrySettings.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.CountrySettings.Builder |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public LfpMerchantState.CountrySettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.CountrySettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
|
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 |
booleanThe 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.VerificationStateThe 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 |
intThe 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.VerificationStateThe 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 |
intThe 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 |
booleanThe 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.VerificationStateThe 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 |
intThe 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.ProductPageTypeThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LfpMerchantState.CountrySettings.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.CountrySettings.Builder |
|