Class LfpMerchantState (0.21.0)

public final class LfpMerchantState extends GeneratedMessageV3 implements LfpMerchantStateOrBuilder

The LFP state of a merchant.

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

Static Fields

COUNTRY_SETTINGS_FIELD_NUMBER

public static final int COUNTRY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_STATS_FIELD_NUMBER

public static final int INVENTORY_STATS_FIELD_NUMBER
Field Value
Type Description
int

LINKED_GBPS_FIELD_NUMBER

public static final int LINKED_GBPS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STORE_STATES_FIELD_NUMBER

public static final int STORE_STATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LfpMerchantState getDefaultInstance()
Returns
Type Description
LfpMerchantState

getDescriptor()

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

newBuilder()

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

newBuilder(LfpMerchantState prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCountrySettings(int index)

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
Returns
Type Description
LfpMerchantState.CountrySettings

getCountrySettingsCount()

public int getCountrySettingsCount()

Country-specific settings for the merchant.

repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;

Returns
Type Description
int

getCountrySettingsList()

public List<LfpMerchantState.CountrySettings> getCountrySettingsList()

Country-specific settings for the merchant.

repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;

Returns
Type Description
List<CountrySettings>

getCountrySettingsOrBuilder(int index)

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
Returns
Type Description
LfpMerchantState.CountrySettingsOrBuilder

getCountrySettingsOrBuilderList()

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>

getDefaultInstanceForType()

public LfpMerchantState getDefaultInstanceForType()
Returns
Type Description
LfpMerchantState

getInventoryStats()

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;

Returns
Type Description
LfpMerchantState.InventoryStats

The inventoryStats.

getInventoryStatsOrBuilder()

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;

Returns
Type Description
LfpMerchantState.InventoryStatsOrBuilder

getLinkedGbps()

public long getLinkedGbps()

Number of GBPs this merchant has access to.

int64 linked_gbps = 2;

Returns
Type Description
long

The linkedGbps.

getName()

public String getName()

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.

getNameBytes()

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStoreStates(int index)

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
Returns
Type Description
LfpMerchantState.LfpStoreState

getStoreStatesCount()

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

getStoreStatesList()

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

Returns
Type Description
List<LfpStoreState>

getStoreStatesOrBuilder(int index)

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
Returns
Type Description
LfpMerchantState.LfpStoreStateOrBuilder

getStoreStatesOrBuilderList()

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>

hasInventoryStats()

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.

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.Builder newBuilderForType()
Returns
Type Description
LfpMerchantState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LfpMerchantState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LfpMerchantState.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.Builder toBuilder()
Returns
Type Description
LfpMerchantState.Builder

writeTo(CodedOutputStream output)

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