Class ActionResponse.SelectionItems.Builder (0.38.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.38.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ActionResponse . SelectionItems . Builder   extends   GeneratedMessageV3 . Builder<ActionResponse . SelectionItems . Builder >  implements   ActionResponse . SelectionItemsOrBuilder  
   List of widget autocomplete results.
 Protobuf type google.chat.v1.ActionResponse.SelectionItems
    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
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   ActionResponse . SelectionItems . Builder   addAllItems ( Iterable <?   extends   SelectionInput . SelectionItem >  values )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends com.google.apps.card.v1.SelectionInput.SelectionItem > 
     
  
  
  
    
public   ActionResponse . SelectionItems . Builder   addItems ( SelectionInput . SelectionItem   value )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuecom.google.apps.card.v1.SelectionInput.SelectionItem  
     
  
  
  
    
public   ActionResponse . SelectionItems . Builder   addItems ( SelectionInput . SelectionItem . Builder   builderForValue )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  
  
    
public   ActionResponse . SelectionItems . Builder   addItems ( int   index ,   SelectionInput . SelectionItem   value )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valuecom.google.apps.card.v1.SelectionInput.SelectionItem  
     
  
  
  
    
public   ActionResponse . SelectionItems . Builder   addItems ( int   index ,   SelectionInput . SelectionItem . Builder   builderForValue )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  
  addItemsBuilder() 
  
    
public   SelectionInput . SelectionItem . Builder   addItemsBuilder ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Returns  
      
        Type Description  
      
        com.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  addItemsBuilder(int index) 
  
    
public   SelectionInput . SelectionItem . Builder   addItemsBuilder ( int   index )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ActionResponse . SelectionItems . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ActionResponse . SelectionItems   build ()  
  
  buildPartial() 
  
    
public   ActionResponse . SelectionItems   buildPartial ()  
  
  clear() 
  
    
public   ActionResponse . SelectionItems . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ActionResponse . SelectionItems . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearItems() 
  
    
public   ActionResponse . SelectionItems . Builder   clearItems ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ActionResponse . SelectionItems . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ActionResponse . SelectionItems . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ActionResponse . SelectionItems   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getItems(int index) 
  
    
public   SelectionInput . SelectionItem   getItems ( int   index )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.apps.card.v1.SelectionInput.SelectionItem  
     
  
  getItemsBuilder(int index) 
  
    
public   SelectionInput . SelectionItem . Builder   getItemsBuilder ( int   index )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  getItemsBuilderList() 
  
    
public   List<SelectionInput . SelectionItem . Builder >  getItemsBuilderList ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Returns  
      
        Type Description  
      
        List <com.google.apps.card.v1.SelectionInput.SelectionItem.Builder > 
     
  
  getItemsCount() 
  
    
public   int   getItemsCount ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getItemsList() 
  
    
public   List<SelectionInput . SelectionItem >  getItemsList ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Returns  
      
        Type Description  
      
        List <com.google.apps.card.v1.SelectionInput.SelectionItem > 
     
  
  getItemsOrBuilder(int index) 
  
    
public   SelectionInput . SelectionItemOrBuilder   getItemsOrBuilder ( int   index )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder  
     
  
  getItemsOrBuilderList() 
  
    
public   List <?   extends   SelectionInput . SelectionItemOrBuilder >  getItemsOrBuilderList ()  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder > 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ActionResponse.SelectionItems other) 
  
    
public   ActionResponse . SelectionItems . Builder   mergeFrom ( ActionResponse . SelectionItems   other )  
  
  
  
    
public   ActionResponse . SelectionItems . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ActionResponse . SelectionItems . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ActionResponse . SelectionItems . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeItems(int index) 
  
    
public   ActionResponse . SelectionItems . Builder   removeItems ( int   index )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ActionResponse . SelectionItems . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   ActionResponse . SelectionItems . Builder   setItems ( int   index ,   SelectionInput . SelectionItem   value )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valuecom.google.apps.card.v1.SelectionInput.SelectionItem  
     
  
  
  
    
public   ActionResponse . SelectionItems . Builder   setItems ( int   index ,   SelectionInput . SelectionItem . Builder   builderForValue )  
   An array of the SelectionItem objects.
 repeated .google.apps.card.v1.SelectionInput.SelectionItem items = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        builderForValuecom.google.apps.card.v1.SelectionInput.SelectionItem.Builder  
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ActionResponse . SelectionItems . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ActionResponse . SelectionItems . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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-28 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-28 UTC."],[],[]]