Send feedback
  
   
 
  
    
      Class LfpMerchantState.InventoryStats.Builder (1.4.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  LfpMerchantState . InventoryStats . Builder   extends   GeneratedMessageV3 . Builder<LfpMerchantState . InventoryStats . Builder >  implements   LfpMerchantState . InventoryStatsOrBuilder  
   
   The inventory statistics for a merchant.
 Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
  Methods
   
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats   build ()  
   
  
   
  
  
    
public   LfpMerchantState . InventoryStats   buildPartial ()  
   
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   clear ()  
   
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  
  
    
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;
 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   clearSubmittedInStockEntries ()  
   
   Number of submitted in stock entries.
 int64 submitted_in_stock_entries = 2;
 
  
   
  
  
    
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;
 
  
   
  
  
    
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;
 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   clone ()  
   
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats   getDefaultInstanceForType ()  
   
  
   
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  
  
    
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.
 
       
     
  
   
  
  
    
public   long   getSubmittedInStockEntries ()  
   
   Number of submitted in stock entries.
 int64 submitted_in_stock_entries = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        long  
        The submittedInStockEntries.
 
       
     
  
   
  
  
    
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.
 
       
     
  
   
  
  
    
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.
 
       
     
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   mergeFrom ( LfpMerchantState . InventoryStats   other )  
   
  
  
   
  
  
    
public   final   LfpMerchantState . InventoryStats . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
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 
        long The submittedEntries to set.
 
       
     
  
  
   
  
  
    
public   LfpMerchantState . InventoryStats . Builder   setSubmittedInStockEntries ( long   value )  
   
   Number of submitted in stock entries.
 int64 submitted_in_stock_entries = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        long The submittedInStockEntries to set.
 
       
     
  
  
   
  
  
    
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 
        long The submittedProducts to set.
 
       
     
  
  
   
  
  
    
public   final   LfpMerchantState . InventoryStats . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  
  
    
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 
        long The unsubmittedEntries to set.
 
       
     
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    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-10-30 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-10-30 UTC."],[],[]]