Interface TextLabelOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Background color of the label in HEX format.
    com.google.protobuf.ByteString
    Background color of the label in HEX format.
    A short description of the label.
    com.google.protobuf.ByteString
    A short description of the label.
    boolean
    Background color of the label in HEX format.
    boolean
    A short description of the label.

    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

    • hasBackgroundColor

      boolean hasBackgroundColor()
       Background color of the label in HEX format. This string must match the
       regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
       Note: The background color may not be visible for manager accounts.
       
      optional string background_color = 3;
      Returns:
      Whether the backgroundColor field is set.
    • getBackgroundColor

      String getBackgroundColor()
       Background color of the label in HEX format. This string must match the
       regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
       Note: The background color may not be visible for manager accounts.
       
      optional string background_color = 3;
      Returns:
      The backgroundColor.
    • getBackgroundColorBytes

      com.google.protobuf.ByteString getBackgroundColorBytes()
       Background color of the label in HEX format. This string must match the
       regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'.
       Note: The background color may not be visible for manager accounts.
       
      optional string background_color = 3;
      Returns:
      The bytes for backgroundColor.
    • hasDescription

      boolean hasDescription()
       A short description of the label. The length must be no more than 200
       characters.
       
      optional string description = 4;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       A short description of the label. The length must be no more than 200
       characters.
       
      optional string description = 4;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A short description of the label. The length must be no more than 200
       characters.
       
      optional string description = 4;
      Returns:
      The bytes for description.