Interface TextParagraphOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextParagraph, TextParagraph.Builder

public interface TextParagraphOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The maximum number of lines of text that are displayed in the widget.
    The text that's shown in the widget.
    com.google.protobuf.ByteString
    The text that's shown in the widget.
    The syntax of the text.
    int
    The syntax of the text.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getText

      String getText()
       The text that's shown in the widget.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       The text that's shown in the widget.
       
      string text = 1;
      Returns:
      The bytes for text.
    • getMaxLines

      int getMaxLines()
       The maximum number of lines of text that are displayed in the widget. If
       the text exceeds the specified maximum number of lines, the excess
       content is concealed behind a **show more** button. If the text is equal or
       shorter than the specified maximum number of lines, a **show more** button
       isn't displayed.
      
       The default value is 0, in which case
       all context is displayed. Negative values are ignored.
       
      int32 max_lines = 2;
      Returns:
      The maxLines.
    • getTextSyntaxValue

      int getTextSyntaxValue()
       The syntax of the text. If not set, the text is rendered as HTML.
      
       [Google Chat apps](https://developers.google.com/workspace/chat):
       
      .google.apps.card.v1.TextParagraph.TextSyntax text_syntax = 4;
      Returns:
      The enum numeric value on the wire for textSyntax.
    • getTextSyntax

      TextParagraph.TextSyntax getTextSyntax()
       The syntax of the text. If not set, the text is rendered as HTML.
      
       [Google Chat apps](https://developers.google.com/workspace/chat):
       
      .google.apps.card.v1.TextParagraph.TextSyntax text_syntax = 4;
      Returns:
      The textSyntax.