Interface TextOrBuilder

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

@Generated public interface TextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The text content to be displayed.
    com.google.protobuf.ByteString
    The text content to be displayed.
    How the text content is formatted.
    int
    How the text content is formatted.
    How the text is styled
    How the text is styled
    boolean
    How the text is styled

    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

    • getContent

      String getContent()
       The text content to be displayed.
       
      string content = 1;
      Returns:
      The content.
    • getContentBytes

      com.google.protobuf.ByteString getContentBytes()
       The text content to be displayed.
       
      string content = 1;
      Returns:
      The bytes for content.
    • getFormatValue

      int getFormatValue()
       How the text content is formatted.
       
      .google.monitoring.dashboard.v1.Text.Format format = 2;
      Returns:
      The enum numeric value on the wire for format.
    • getFormat

      Text.Format getFormat()
       How the text content is formatted.
       
      .google.monitoring.dashboard.v1.Text.Format format = 2;
      Returns:
      The format.
    • hasStyle

      boolean hasStyle()
       How the text is styled
       
      .google.monitoring.dashboard.v1.Text.TextStyle style = 3;
      Returns:
      Whether the style field is set.
    • getStyle

      Text.TextStyle getStyle()
       How the text is styled
       
      .google.monitoring.dashboard.v1.Text.TextStyle style = 3;
      Returns:
      The style.
    • getStyleOrBuilder

      Text.TextStyleOrBuilder getStyleOrBuilder()
       How the text is styled
       
      .google.monitoring.dashboard.v1.Text.TextStyle style = 3;