public static final class LfpMerchantState.InventoryStats extends GeneratedMessage implements LfpMerchantState.InventoryStatsOrBuilderThe inventory statistics for a merchant.
Protobuf type google.shopping.merchant.lfp.v1.LfpMerchantState.InventoryStats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LfpMerchantState.InventoryStatsImplements
LfpMerchantState.InventoryStatsOrBuilderStatic Fields
SUBMITTED_ENTRIES_FIELD_NUMBER
public static final int SUBMITTED_ENTRIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUBMITTED_IN_STOCK_ENTRIES_FIELD_NUMBER
public static final int SUBMITTED_IN_STOCK_ENTRIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUBMITTED_PRODUCTS_FIELD_NUMBER
public static final int SUBMITTED_PRODUCTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UNSUBMITTED_ENTRIES_FIELD_NUMBER
public static final int UNSUBMITTED_ENTRIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static LfpMerchantState.InventoryStats getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static LfpMerchantState.InventoryStats.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
newBuilder(LfpMerchantState.InventoryStats prototype)
public static LfpMerchantState.InventoryStats.Builder newBuilder(LfpMerchantState.InventoryStats prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
LfpMerchantState.InventoryStats |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
parseDelimitedFrom(InputStream input)
public static LfpMerchantState.InventoryStats parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static LfpMerchantState.InventoryStats parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static LfpMerchantState.InventoryStats parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static LfpMerchantState.InventoryStats parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static LfpMerchantState.InventoryStats parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static LfpMerchantState.InventoryStats parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LfpMerchantState.InventoryStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<LfpMerchantState.InventoryStats> parser()| Returns | |
|---|---|
| Type | Description |
Parser<InventoryStats> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public LfpMerchantState.InventoryStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
getParserForType()
public Parser<LfpMerchantState.InventoryStats> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<InventoryStats> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSubmittedEntries()
public long getSubmittedEntries()Number of entries (understanding entry as a pair of product and store) that were built based on provided inventories/sales and submitted to Google.
int64 submitted_entries = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The submittedEntries. |
getSubmittedInStockEntries()
public long getSubmittedInStockEntries()Number of submitted in stock entries.
int64 submitted_in_stock_entries = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The submittedInStockEntries. |
getSubmittedProducts()
public long getSubmittedProducts()Number of products from provided inventories/sales that were created from matches to existing online products provided by the merchant or to the Google catalog.
int64 submitted_products = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The submittedProducts. |
getUnsubmittedEntries()
public long getUnsubmittedEntries()Number of entries that were built based on provided inventories/sales and couldn't be submitted to Google due to errors like missing product.
int64 unsubmitted_entries = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The unsubmittedEntries. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public LfpMerchantState.InventoryStats.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LfpMerchantState.InventoryStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
toBuilder()
public LfpMerchantState.InventoryStats.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|