Interface DialogButtonOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Action to perform when clicked.
    Action to perform when clicked.
    Button text (may be a JSON text component).
    com.google.protobuf.ByteString
    Button text (may be a JSON text component).
    Optional tooltip shown on hover.
    com.google.protobuf.ByteString
    Optional tooltip shown on hover.
    int
    Button width in pixels.
    boolean
    Action to perform when clicked.
    boolean
    Optional tooltip shown on hover.

    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

    • getLabel

      String getLabel()
      Button text (may be a JSON text component).
      
      string label = 1;
      Returns:
      The label.
    • getLabelBytes

      com.google.protobuf.ByteString getLabelBytes()
      Button text (may be a JSON text component).
      
      string label = 1;
      Returns:
      The bytes for label.
    • hasTooltip

      boolean hasTooltip()
      Optional tooltip shown on hover.
      
      optional string tooltip = 2;
      Returns:
      Whether the tooltip field is set.
    • getTooltip

      String getTooltip()
      Optional tooltip shown on hover.
      
      optional string tooltip = 2;
      Returns:
      The tooltip.
    • getTooltipBytes

      com.google.protobuf.ByteString getTooltipBytes()
      Optional tooltip shown on hover.
      
      optional string tooltip = 2;
      Returns:
      The bytes for tooltip.
    • getWidth

      int getWidth()
      Button width in pixels.
      Range: 1-1024, default: 150.
      
      int32 width = 3;
      Returns:
      The width.
    • hasAction

      boolean hasAction()
      Action to perform when clicked.
      
      optional .soulfire.v1.DialogAction action = 4;
      Returns:
      Whether the action field is set.
    • getAction

      DialogAction getAction()
      Action to perform when clicked.
      
      optional .soulfire.v1.DialogAction action = 4;
      Returns:
      The action.
    • getActionOrBuilder

      DialogActionOrBuilder getActionOrBuilder()
      Action to perform when clicked.
      
      optional .soulfire.v1.DialogAction action = 4;