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 TypeMethodDescriptionAction to perform when clicked.Action to perform when clicked.getLabel()Button text (may be a JSON text component).com.google.protobuf.ByteStringButton text (may be a JSON text component).Optional tooltip shown on hover.com.google.protobuf.ByteStringOptional tooltip shown on hover.intgetWidth()Button width in pixels.booleanAction to perform when clicked.booleanOptional tooltip shown on hover.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLabel
-
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;
-