Send feedback
Class LfpMerchantState (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class LfpMerchantState extends GeneratedMessageV3 implements LfpMerchantStateOrBuilder
The LFP state of a merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState
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 COUNTRY_SETTINGS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int INVENTORY_STATS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LINKED_GBPS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STORE_STATES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static LfpMerchantState getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static LfpMerchantState . Builder newBuilder ()
public static LfpMerchantState . Builder newBuilder ( LfpMerchantState prototype )
public static LfpMerchantState parseDelimitedFrom ( InputStream input )
public static LfpMerchantState parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LfpMerchantState parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static LfpMerchantState parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static LfpMerchantState parseFrom ( ByteString data )
public static LfpMerchantState parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LfpMerchantState parseFrom ( CodedInputStream input )
public static LfpMerchantState parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LfpMerchantState parseFrom ( InputStream input )
public static LfpMerchantState parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static LfpMerchantState parseFrom ( ByteBuffer data )
public static LfpMerchantState parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<LfpMerchantState> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public LfpMerchantState . CountrySettings getCountrySettings ( int index )
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter
Name
Description
index
int
public int getCountrySettingsCount ()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns
Type
Description
int
public List<LfpMerchantState . CountrySettings > getCountrySettingsList ()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
public LfpMerchantState . CountrySettingsOrBuilder getCountrySettingsOrBuilder ( int index )
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter
Name
Description
index
int
public List <? extends LfpMerchantState . CountrySettingsOrBuilder > getCountrySettingsOrBuilderList ()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns
Type
Description
List <? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettingsOrBuilder >
public LfpMerchantState getDefaultInstanceForType ()
public LfpMerchantState . InventoryStats getInventoryStats ()
The inventory statistics for the merchant. The field will be absent if the
merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
public LfpMerchantState . InventoryStatsOrBuilder getInventoryStatsOrBuilder ()
The inventory statistics for the merchant. The field will be absent if the
merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
public long getLinkedGbps ()
Number of GBPs this merchant has access
to.
int64 linked_gbps = 2;
Returns
Type
Description
long
The linkedGbps.
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns
Type
Description
String
The name.
public ByteString getNameBytes ()
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns
Type
Description
ByteString
The bytes for name.
public Parser<LfpMerchantState> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public LfpMerchantState . LfpStoreState getStoreStates ( int index )
Output only. The state per store from the specified merchant. The field
will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
public int getStoreStatesCount ()
Output only. The state per store from the specified merchant. The field
will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
public List<LfpMerchantState . LfpStoreState > getStoreStatesList ()
Output only. The state per store from the specified merchant. The field
will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public LfpMerchantState . LfpStoreStateOrBuilder getStoreStatesOrBuilder ( int index )
Output only. The state per store from the specified merchant. The field
will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name
Description
index
int
public List <? extends LfpMerchantState . LfpStoreStateOrBuilder > getStoreStatesOrBuilderList ()
Output only. The state per store from the specified merchant. The field
will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
List <? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreStateOrBuilder >
public boolean hasInventoryStats ()
The inventory statistics for the merchant. The field will be absent if the
merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns
Type
Description
boolean
Whether the inventoryStats field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public LfpMerchantState . Builder newBuilderForType ()
protected LfpMerchantState . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public LfpMerchantState . 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."],[],[]]