Class SkuPurchaseGroup (3.56.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.56.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  SkuPurchaseGroup   extends   GeneratedMessageV3   implements   SkuPurchaseGroupOrBuilder  
   
   Represents a set of SKUs that must be purchased using the same billing
 account.
 Protobuf type google.cloud.channel.v1.SkuPurchaseGroup
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  BILLING_ACCOUNT_PURCHASE_INFOS_FIELD_NUMBER 
  
    
public   static   final   int   BILLING_ACCOUNT_PURCHASE_INFOS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  SKUS_FIELD_NUMBER 
  
    
public   static   final   int   SKUS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   SkuPurchaseGroup   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   SkuPurchaseGroup . Builder   newBuilder ()  
   
  
   
  newBuilder(SkuPurchaseGroup prototype) 
  
    
public   static   SkuPurchaseGroup . Builder   newBuilder ( SkuPurchaseGroup   prototype )  
   
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   SkuPurchaseGroup   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   SkuPurchaseGroup   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<SkuPurchaseGroup>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getBillingAccountPurchaseInfos(int index) 
  
    
public   BillingAccountPurchaseInfo   getBillingAccountPurchaseInfos ( int   index )  
   
   List of billing accounts that are eligible to purhcase these SKUs.
 
 repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getBillingAccountPurchaseInfosCount() 
  
    
public   int   getBillingAccountPurchaseInfosCount ()  
   
   List of billing accounts that are eligible to purhcase these SKUs.
 
 repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  getBillingAccountPurchaseInfosList() 
  
    
public   List<BillingAccountPurchaseInfo>   getBillingAccountPurchaseInfosList ()  
   
   List of billing accounts that are eligible to purhcase these SKUs.
 
 repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
 
 
  
   
  getBillingAccountPurchaseInfosOrBuilder(int index) 
  
    
public   BillingAccountPurchaseInfoOrBuilder   getBillingAccountPurchaseInfosOrBuilder ( int   index )  
   
   List of billing accounts that are eligible to purhcase these SKUs.
 
 repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  getBillingAccountPurchaseInfosOrBuilderList() 
  
    
public   List <?   extends   BillingAccountPurchaseInfoOrBuilder >  getBillingAccountPurchaseInfosOrBuilderList ()  
   
   List of billing accounts that are eligible to purhcase these SKUs.
 
 repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        List <? extends com.google.cloud.channel.v1.BillingAccountPurchaseInfoOrBuilder > 
         
       
     
  
   
  getDefaultInstanceForType() 
  
    
public   SkuPurchaseGroup   getDefaultInstanceForType ()  
   
  
   
  getParserForType() 
  
    
public   Parser<SkuPurchaseGroup>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getSkus(int index) 
  
    
public   String   getSkus ( int   index )  
   
   Resource names of the SKUs included in this group.
 Format: products/{product_id}/skus/{sku_id}.
 repeated string skus = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the element to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The skus at the given index.
 
       
     
  
   
  getSkusBytes(int index) 
  
    
public   ByteString   getSkusBytes ( int   index )  
   
   Resource names of the SKUs included in this group.
 Format: products/{product_id}/skus/{sku_id}.
 repeated string skus = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int The index of the value to return.
 
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes of the skus at the given index.
 
       
     
  
   
  getSkusCount() 
  
    
public   int   getSkusCount ()  
   
   Resource names of the SKUs included in this group.
 Format: products/{product_id}/skus/{sku_id}.
 repeated string skus = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The count of skus.
 
       
     
  
   
  getSkusList() 
  
    
public   ProtocolStringList   getSkusList ()  
   
   Resource names of the SKUs included in this group.
 Format: products/{product_id}/skus/{sku_id}.
 repeated string skus = 1;
 
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   SkuPurchaseGroup . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   SkuPurchaseGroup . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   SkuPurchaseGroup . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]