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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBackgroundColor()
      Background color of the label in RGB format.
      com.google.protobuf.ByteString getBackgroundColorBytes()
      Background color of the label in RGB format.
      java.lang.String getDescription()
      A short description of the label.
      com.google.protobuf.ByteString getDescriptionBytes()
      A short description of the label.
      boolean hasBackgroundColor()
      Background color of the label in RGB format.
      boolean hasDescription()
      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 Detail

      • hasBackgroundColor

        boolean hasBackgroundColor()
         Background color of the label in RGB 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

        java.lang.String getBackgroundColor()
         Background color of the label in RGB 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 RGB 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

        java.lang.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.