public static final class LfpMerchantState.InventoryStats.Builder extends GeneratedMessage.Builder<LfpMerchantState.InventoryStats.Builder> implements LfpMerchantState.InventoryStatsOrBuilderThe inventory statistics for a merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LfpMerchantState.InventoryStats.BuilderImplements
LfpMerchantState.InventoryStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LfpMerchantState.InventoryStats build()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
buildPartial()
public LfpMerchantState.InventoryStats buildPartial()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
clear()
public LfpMerchantState.InventoryStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
clearSubmittedEntries()
public LfpMerchantState.InventoryStats.Builder clearSubmittedEntries()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 |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
clearSubmittedInStockEntries()
public LfpMerchantState.InventoryStats.Builder clearSubmittedInStockEntries()Number of submitted in stock entries.
int64 submitted_in_stock_entries = 2;
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
clearSubmittedProducts()
public LfpMerchantState.InventoryStats.Builder clearSubmittedProducts()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 |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
clearUnsubmittedEntries()
public LfpMerchantState.InventoryStats.Builder clearUnsubmittedEntries()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 |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LfpMerchantState.InventoryStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LfpMerchantState.InventoryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LfpMerchantState.InventoryStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
mergeFrom(LfpMerchantState.InventoryStats other)
public LfpMerchantState.InventoryStats.Builder mergeFrom(LfpMerchantState.InventoryStats other)| Parameter | |
|---|---|
| Name | Description |
other |
LfpMerchantState.InventoryStats |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
|
setSubmittedEntries(long value)
public LfpMerchantState.InventoryStats.Builder setSubmittedEntries(long value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe submittedEntries to set. |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
setSubmittedInStockEntries(long value)
public LfpMerchantState.InventoryStats.Builder setSubmittedInStockEntries(long value)Number of submitted in stock entries.
int64 submitted_in_stock_entries = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe submittedInStockEntries to set. |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
setSubmittedProducts(long value)
public LfpMerchantState.InventoryStats.Builder setSubmittedProducts(long value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe submittedProducts to set. |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |
setUnsubmittedEntries(long value)
public LfpMerchantState.InventoryStats.Builder setUnsubmittedEntries(long value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe unsubmittedEntries to set. |
| Returns | |
|---|---|
| Type | Description |
LfpMerchantState.InventoryStats.Builder |
This builder for chaining. |