public static final class WidgetMarkup.Builder extends GeneratedMessageV3.Builder<WidgetMarkup.Builder> implements WidgetMarkupOrBuilder
   
   A widget is a UI element that presents text and images.
 Protobuf type google.chat.v1.WidgetMarkup
 
  
  
  
    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 WidgetMarkup.Builder addAllButtons(Iterable<? extends WidgetMarkup.Button> values)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        values | 
        Iterable<? extends com.google.chat.v1.WidgetMarkup.Button>
  | 
      
    
  
  
  
  
  
    public WidgetMarkup.Builder addButtons(WidgetMarkup.Button value)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Builder addButtons(WidgetMarkup.Button.Builder builderForValue)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Builder addButtons(int index, WidgetMarkup.Button value)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Builder addButtons(int index, WidgetMarkup.Button.Builder builderForValue)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Button.Builder addButtonsBuilder()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
    public WidgetMarkup.Button.Builder addButtonsBuilder(int index)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  
  
    public WidgetMarkup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public WidgetMarkup build()
   
  
  
  
  
    public WidgetMarkup buildPartial()
   
  
  
  
  
    public WidgetMarkup.Builder clear()
   
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder clearButtons()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
    public WidgetMarkup.Builder clearData()
   
  
  
  
  
    public WidgetMarkup.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder clearImage()
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
    public WidgetMarkup.Builder clearKeyValue()
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  
    public WidgetMarkup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clearTextParagraph()
  
    public WidgetMarkup.Builder clearTextParagraph()
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  
  
    public WidgetMarkup.Builder clone()
   
  
  Overrides
  
  
  
  
    public WidgetMarkup.Button getButtons(int index)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  
  
    public WidgetMarkup.Button.Builder getButtonsBuilder(int index)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  
  
    public List<WidgetMarkup.Button.Builder> getButtonsBuilderList()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
    public int getButtonsCount()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  
  
  
    public List<WidgetMarkup.Button> getButtonsList()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
    public WidgetMarkup.ButtonOrBuilder getButtonsOrBuilder(int index)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  
  
    public List<? extends WidgetMarkup.ButtonOrBuilder> getButtonsOrBuilderList()
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        List<? extends com.google.chat.v1.WidgetMarkup.ButtonOrBuilder> | 
         | 
      
    
  
  
  
  
    public WidgetMarkup.DataCase getDataCase()
   
  
  
  
  
    public WidgetMarkup getDefaultInstanceForType()
   
  
  
  
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  
  
    public WidgetMarkup.Image getImage()
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
    public WidgetMarkup.Image.Builder getImageBuilder()
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
    public WidgetMarkup.ImageOrBuilder getImageOrBuilder()
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
    public WidgetMarkup.KeyValue getKeyValue()
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  
    public WidgetMarkup.KeyValue.Builder getKeyValueBuilder()
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  
    public WidgetMarkup.KeyValueOrBuilder getKeyValueOrBuilder()
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  getTextParagraph()
  
    public WidgetMarkup.TextParagraph getTextParagraph()
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  getTextParagraphBuilder()
  
    public WidgetMarkup.TextParagraph.Builder getTextParagraphBuilder()
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  getTextParagraphOrBuilder()
  
    public WidgetMarkup.TextParagraphOrBuilder getTextParagraphOrBuilder()
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  
  
    public boolean hasImage()
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the image field is set. 
 | 
      
    
  
  
  
  
    public boolean hasKeyValue()
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the keyValue field is set. 
 | 
      
    
  
  
  hasTextParagraph()
  
    public boolean hasTextParagraph()
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the textParagraph field is set. 
 | 
      
    
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder mergeFrom(WidgetMarkup other)
   
  
  
  
  
  
    public WidgetMarkup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  
  
    public WidgetMarkup.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder mergeImage(WidgetMarkup.Image value)
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
  
    public WidgetMarkup.Builder mergeKeyValue(WidgetMarkup.KeyValue value)
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  mergeTextParagraph(WidgetMarkup.TextParagraph value)
  
    public WidgetMarkup.Builder mergeTextParagraph(WidgetMarkup.TextParagraph value)
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  
  
  
    public final WidgetMarkup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder removeButtons(int index)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  
  
    public WidgetMarkup.Builder setButtons(int index, WidgetMarkup.Button value)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Builder setButtons(int index, WidgetMarkup.Button.Builder builderForValue)
   
   A list of buttons. Buttons is also oneof data and only one of these
 fields should be set.
 repeated .google.chat.v1.WidgetMarkup.Button buttons = 6;
 
  
  
  
  
  
    public WidgetMarkup.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public WidgetMarkup.Builder setImage(WidgetMarkup.Image value)
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
  
    public WidgetMarkup.Builder setImage(WidgetMarkup.Image.Builder builderForValue)
   
   Display an image in this widget.
 .google.chat.v1.WidgetMarkup.Image image = 2;
 
  
  
  
  
  
    public WidgetMarkup.Builder setKeyValue(WidgetMarkup.KeyValue value)
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  
  
    public WidgetMarkup.Builder setKeyValue(WidgetMarkup.KeyValue.Builder builderForValue)
   
   Display a key value item in this widget.
 .google.chat.v1.WidgetMarkup.KeyValue key_value = 3;
 
  
  
  
  
  
    public WidgetMarkup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setTextParagraph(WidgetMarkup.TextParagraph value)
  
    public WidgetMarkup.Builder setTextParagraph(WidgetMarkup.TextParagraph value)
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  
  setTextParagraph(WidgetMarkup.TextParagraph.Builder builderForValue)
  
    public WidgetMarkup.Builder setTextParagraph(WidgetMarkup.TextParagraph.Builder builderForValue)
   
   Display a text paragraph in this widget.
 .google.chat.v1.WidgetMarkup.TextParagraph text_paragraph = 1;
 
  
  
  
  
  
    public final WidgetMarkup.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides