public final class LfpMerchantState extends GeneratedMessage implements LfpMerchantStateOrBuilder
The LFP state of a merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LfpMerchantState.Builder newBuilderForType()
protected LfpMerchantState.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public LfpMerchantState.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides