Class ServerDialog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServerDialog.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
com.soulfiremc.grpc.generated.ServerDialog.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerDialogOrBuilder, Cloneable
- Enclosing class:
ServerDialog
public static final class ServerDialog.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
implements ServerDialogOrBuilder
Complete server dialog definition. Contains all information needed to render and interact with a dialog.Protobuf type
soulfire.v1.ServerDialog-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, DialogButton value) For MULTI_ACTION type: list of action buttons.addActions(int index, DialogButton.Builder builderForValue) For MULTI_ACTION type: list of action buttons.addActions(DialogButton value) For MULTI_ACTION type: list of action buttons.addActions(DialogButton.Builder builderForValue) For MULTI_ACTION type: list of action buttons.For MULTI_ACTION type: list of action buttons.addActionsBuilder(int index) For MULTI_ACTION type: list of action buttons.addAllActions(Iterable<? extends DialogButton> values) For MULTI_ACTION type: list of action buttons.addAllBody(Iterable<? extends DialogBodyElement> values) Body elements (text and items) displayed in the dialog.addAllInputs(Iterable<? extends DialogInput> values) Input controls for gathering user data.addBody(int index, DialogBodyElement value) Body elements (text and items) displayed in the dialog.addBody(int index, DialogBodyElement.Builder builderForValue) Body elements (text and items) displayed in the dialog.addBody(DialogBodyElement value) Body elements (text and items) displayed in the dialog.addBody(DialogBodyElement.Builder builderForValue) Body elements (text and items) displayed in the dialog.Body elements (text and items) displayed in the dialog.addBodyBuilder(int index) Body elements (text and items) displayed in the dialog.addInputs(int index, DialogInput value) Input controls for gathering user data.addInputs(int index, DialogInput.Builder builderForValue) Input controls for gathering user data.addInputs(DialogInput value) Input controls for gathering user data.addInputs(DialogInput.Builder builderForValue) Input controls for gathering user data.Input controls for gathering user data.addInputsBuilder(int index) Input controls for gathering user data.build()clear()For NOTICE type: the single action button.For MULTI_ACTION type: list of action buttons.Behavior after an action button is clicked.Body elements (text and items) displayed in the dialog.For SERVER_LINKS and DIALOG_LIST: button width.Whether ESC key can close the dialog.For MULTI_ACTION and DIALOG_LIST: number of button columns.For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.Button label when shown as an external/minimized button.clearId()Dialog identifier from the server.Input controls for gathering user data.clearNo()For CONFIRMATION type: the "no" button.Whether to pause the game in singleplayer.Dialog title (may be a JSON text component).The type of dialog, determining overall structure.clearYes()For CONFIRMATION type: the "yes" button.For NOTICE type: the single action button.For NOTICE type: the single action button.For NOTICE type: the single action button.getActions(int index) For MULTI_ACTION type: list of action buttons.getActionsBuilder(int index) For MULTI_ACTION type: list of action buttons.For MULTI_ACTION type: list of action buttons.intFor MULTI_ACTION type: list of action buttons.For MULTI_ACTION type: list of action buttons.getActionsOrBuilder(int index) For MULTI_ACTION type: list of action buttons.List<? extends DialogButtonOrBuilder> For MULTI_ACTION type: list of action buttons.Behavior after an action button is clicked.intBehavior after an action button is clicked.getBody(int index) Body elements (text and items) displayed in the dialog.getBodyBuilder(int index) Body elements (text and items) displayed in the dialog.Body elements (text and items) displayed in the dialog.intBody elements (text and items) displayed in the dialog.Body elements (text and items) displayed in the dialog.getBodyOrBuilder(int index) Body elements (text and items) displayed in the dialog.List<? extends DialogBodyElementOrBuilder> Body elements (text and items) displayed in the dialog.intFor SERVER_LINKS and DIALOG_LIST: button width.booleanWhether ESC key can close the dialog.intFor MULTI_ACTION and DIALOG_LIST: number of button columns.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFor MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.Button label when shown as an external/minimized button.com.google.protobuf.ByteStringButton label when shown as an external/minimized button.getId()Dialog identifier from the server.com.google.protobuf.ByteStringDialog identifier from the server.getInputs(int index) Input controls for gathering user data.getInputsBuilder(int index) Input controls for gathering user data.Input controls for gathering user data.intInput controls for gathering user data.Input controls for gathering user data.getInputsOrBuilder(int index) Input controls for gathering user data.List<? extends DialogInputOrBuilder> Input controls for gathering user data.getNo()For CONFIRMATION type: the "no" button.For CONFIRMATION type: the "no" button.For CONFIRMATION type: the "no" button.booleangetPause()Whether to pause the game in singleplayer.getTitle()Dialog title (may be a JSON text component).com.google.protobuf.ByteStringDialog title (may be a JSON text component).getType()The type of dialog, determining overall structure.intThe type of dialog, determining overall structure.getYes()For CONFIRMATION type: the "yes" button.For CONFIRMATION type: the "yes" button.For CONFIRMATION type: the "yes" button.booleanFor NOTICE type: the single action button.booleanFor MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.booleanButton label when shown as an external/minimized button.booleanhasNo()For CONFIRMATION type: the "no" button.booleanhasYes()For CONFIRMATION type: the "yes" button.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAction(DialogButton value) For NOTICE type: the single action button.mergeExitAction(DialogButton value) For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ServerDialog other) mergeNo(DialogButton value) For CONFIRMATION type: the "no" button.mergeYes(DialogButton value) For CONFIRMATION type: the "yes" button.removeActions(int index) For MULTI_ACTION type: list of action buttons.removeBody(int index) Body elements (text and items) displayed in the dialog.removeInputs(int index) Input controls for gathering user data.setAction(DialogButton value) For NOTICE type: the single action button.setAction(DialogButton.Builder builderForValue) For NOTICE type: the single action button.setActions(int index, DialogButton value) For MULTI_ACTION type: list of action buttons.setActions(int index, DialogButton.Builder builderForValue) For MULTI_ACTION type: list of action buttons.setAfterAction(DialogAfterAction value) Behavior after an action button is clicked.setAfterActionValue(int value) Behavior after an action button is clicked.setBody(int index, DialogBodyElement value) Body elements (text and items) displayed in the dialog.setBody(int index, DialogBodyElement.Builder builderForValue) Body elements (text and items) displayed in the dialog.setButtonWidth(int value) For SERVER_LINKS and DIALOG_LIST: button width.setCanCloseWithEscape(boolean value) Whether ESC key can close the dialog.setColumns(int value) For MULTI_ACTION and DIALOG_LIST: number of button columns.setExitAction(DialogButton value) For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.setExitAction(DialogButton.Builder builderForValue) For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.setExternalTitle(String value) Button label when shown as an external/minimized button.setExternalTitleBytes(com.google.protobuf.ByteString value) Button label when shown as an external/minimized button.Dialog identifier from the server.setIdBytes(com.google.protobuf.ByteString value) Dialog identifier from the server.setInputs(int index, DialogInput value) Input controls for gathering user data.setInputs(int index, DialogInput.Builder builderForValue) Input controls for gathering user data.setNo(DialogButton value) For CONFIRMATION type: the "no" button.setNo(DialogButton.Builder builderForValue) For CONFIRMATION type: the "no" button.setPause(boolean value) Whether to pause the game in singleplayer.Dialog title (may be a JSON text component).setTitleBytes(com.google.protobuf.ByteString value) Dialog title (may be a JSON text component).setType(DialogType value) The type of dialog, determining overall structure.setTypeValue(int value) The type of dialog, determining overall structure.setYes(DialogButton value) For CONFIRMATION type: the "yes" button.setYes(DialogButton.Builder builderForValue) For CONFIRMATION type: the "yes" button.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerDialog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServerDialog.Builder>
-
mergeFrom
public ServerDialog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServerDialog.Builder>- Throws:
IOException
-
getId
Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Specified by:
getIdin interfaceServerDialogOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Specified by:
getIdBytesin interfaceServerDialogOrBuilder- Returns:
- The bytes for id.
-
setId
Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
Dialog identifier from the server. Format: namespaced identifier (e.g., "myserver:welcome_dialog").
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Specified by:
getTypeValuein interfaceServerDialogOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Specified by:
getTypein interfaceServerDialogOrBuilder- Returns:
- The type.
-
setType
The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of dialog, determining overall structure.
.soulfire.v1.DialogType type = 2;- Returns:
- This builder for chaining.
-
getTitle
Dialog title (may be a JSON text component).
string title = 3;- Specified by:
getTitlein interfaceServerDialogOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Dialog title (may be a JSON text component).
string title = 3;- Specified by:
getTitleBytesin interfaceServerDialogOrBuilder- Returns:
- The bytes for title.
-
setTitle
Dialog title (may be a JSON text component).
string title = 3;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Dialog title (may be a JSON text component).
string title = 3;- Returns:
- This builder for chaining.
-
setTitleBytes
Dialog title (may be a JSON text component).
string title = 3;- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasExternalTitle
public boolean hasExternalTitle()Button label when shown as an external/minimized button.
optional string external_title = 4;- Specified by:
hasExternalTitlein interfaceServerDialogOrBuilder- Returns:
- Whether the externalTitle field is set.
-
getExternalTitle
Button label when shown as an external/minimized button.
optional string external_title = 4;- Specified by:
getExternalTitlein interfaceServerDialogOrBuilder- Returns:
- The externalTitle.
-
getExternalTitleBytes
public com.google.protobuf.ByteString getExternalTitleBytes()Button label when shown as an external/minimized button.
optional string external_title = 4;- Specified by:
getExternalTitleBytesin interfaceServerDialogOrBuilder- Returns:
- The bytes for externalTitle.
-
setExternalTitle
Button label when shown as an external/minimized button.
optional string external_title = 4;- Parameters:
value- The externalTitle to set.- Returns:
- This builder for chaining.
-
clearExternalTitle
Button label when shown as an external/minimized button.
optional string external_title = 4;- Returns:
- This builder for chaining.
-
setExternalTitleBytes
Button label when shown as an external/minimized button.
optional string external_title = 4;- Parameters:
value- The bytes for externalTitle to set.- Returns:
- This builder for chaining.
-
getBodyList
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5;- Specified by:
getBodyListin interfaceServerDialogOrBuilder
-
getBodyCount
public int getBodyCount()Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5;- Specified by:
getBodyCountin interfaceServerDialogOrBuilder
-
getBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5;- Specified by:
getBodyin interfaceServerDialogOrBuilder
-
setBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
setBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addAllBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
clearBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
removeBody
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyBuilder
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyOrBuilder
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5;- Specified by:
getBodyOrBuilderin interfaceServerDialogOrBuilder
-
getBodyOrBuilderList
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5;- Specified by:
getBodyOrBuilderListin interfaceServerDialogOrBuilder
-
addBodyBuilder
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
addBodyBuilder
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getBodyBuilderList
Body elements (text and items) displayed in the dialog.
repeated .soulfire.v1.DialogBodyElement body = 5; -
getInputsList
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6;- Specified by:
getInputsListin interfaceServerDialogOrBuilder
-
getInputsCount
public int getInputsCount()Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6;- Specified by:
getInputsCountin interfaceServerDialogOrBuilder
-
getInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6;- Specified by:
getInputsin interfaceServerDialogOrBuilder
-
setInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
setInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addAllInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
clearInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
removeInputs
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsBuilder
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsOrBuilder
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6;- Specified by:
getInputsOrBuilderin interfaceServerDialogOrBuilder
-
getInputsOrBuilderList
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6;- Specified by:
getInputsOrBuilderListin interfaceServerDialogOrBuilder
-
addInputsBuilder
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
addInputsBuilder
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getInputsBuilderList
Input controls for gathering user data.
repeated .soulfire.v1.DialogInput inputs = 6; -
getCanCloseWithEscape
public boolean getCanCloseWithEscape()Whether ESC key can close the dialog. Default: true.
bool can_close_with_escape = 7;- Specified by:
getCanCloseWithEscapein interfaceServerDialogOrBuilder- Returns:
- The canCloseWithEscape.
-
setCanCloseWithEscape
Whether ESC key can close the dialog. Default: true.
bool can_close_with_escape = 7;- Parameters:
value- The canCloseWithEscape to set.- Returns:
- This builder for chaining.
-
clearCanCloseWithEscape
Whether ESC key can close the dialog. Default: true.
bool can_close_with_escape = 7;- Returns:
- This builder for chaining.
-
getPause
public boolean getPause()Whether to pause the game in singleplayer. Default: true. No effect in multiplayer.
bool pause = 8;- Specified by:
getPausein interfaceServerDialogOrBuilder- Returns:
- The pause.
-
setPause
Whether to pause the game in singleplayer. Default: true. No effect in multiplayer.
bool pause = 8;- Parameters:
value- The pause to set.- Returns:
- This builder for chaining.
-
clearPause
Whether to pause the game in singleplayer. Default: true. No effect in multiplayer.
bool pause = 8;- Returns:
- This builder for chaining.
-
getAfterActionValue
public int getAfterActionValue()Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Specified by:
getAfterActionValuein interfaceServerDialogOrBuilder- Returns:
- The enum numeric value on the wire for afterAction.
-
setAfterActionValue
Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Parameters:
value- The enum numeric value on the wire for afterAction to set.- Returns:
- This builder for chaining.
-
getAfterAction
Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Specified by:
getAfterActionin interfaceServerDialogOrBuilder- Returns:
- The afterAction.
-
setAfterAction
Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Parameters:
value- The afterAction to set.- Returns:
- This builder for chaining.
-
clearAfterAction
Behavior after an action button is clicked.
.soulfire.v1.DialogAfterAction after_action = 9;- Returns:
- This builder for chaining.
-
hasAction
public boolean hasAction()For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10;- Specified by:
hasActionin interfaceServerDialogOrBuilder- Returns:
- Whether the action field is set.
-
getAction
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10;- Specified by:
getActionin interfaceServerDialogOrBuilder- Returns:
- The action.
-
setAction
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
setAction
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
mergeAction
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
clearAction
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
getActionBuilder
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10; -
getActionOrBuilder
For NOTICE type: the single action button.
optional .soulfire.v1.DialogButton action = 10;- Specified by:
getActionOrBuilderin interfaceServerDialogOrBuilder
-
hasYes
public boolean hasYes()For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11;- Specified by:
hasYesin interfaceServerDialogOrBuilder- Returns:
- Whether the yes field is set.
-
getYes
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11;- Specified by:
getYesin interfaceServerDialogOrBuilder- Returns:
- The yes.
-
setYes
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
setYes
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
mergeYes
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
clearYes
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
getYesBuilder
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11; -
getYesOrBuilder
For CONFIRMATION type: the "yes" button.
optional .soulfire.v1.DialogButton yes = 11;- Specified by:
getYesOrBuilderin interfaceServerDialogOrBuilder
-
hasNo
public boolean hasNo()For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12;- Specified by:
hasNoin interfaceServerDialogOrBuilder- Returns:
- Whether the no field is set.
-
getNo
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12;- Specified by:
getNoin interfaceServerDialogOrBuilder- Returns:
- The no.
-
setNo
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
setNo
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
mergeNo
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
clearNo
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
getNoBuilder
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12; -
getNoOrBuilder
For CONFIRMATION type: the "no" button.
optional .soulfire.v1.DialogButton no = 12;- Specified by:
getNoOrBuilderin interfaceServerDialogOrBuilder
-
getActionsList
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13;- Specified by:
getActionsListin interfaceServerDialogOrBuilder
-
getActionsCount
public int getActionsCount()For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13;- Specified by:
getActionsCountin interfaceServerDialogOrBuilder
-
getActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13;- Specified by:
getActionsin interfaceServerDialogOrBuilder
-
setActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
setActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addAllActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
clearActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
removeActions
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsBuilder
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsOrBuilder
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13;- Specified by:
getActionsOrBuilderin interfaceServerDialogOrBuilder
-
getActionsOrBuilderList
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13;- Specified by:
getActionsOrBuilderListin interfaceServerDialogOrBuilder
-
addActionsBuilder
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
addActionsBuilder
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getActionsBuilderList
For MULTI_ACTION type: list of action buttons.
repeated .soulfire.v1.DialogButton actions = 13; -
getColumns
public int getColumns()For MULTI_ACTION and DIALOG_LIST: number of button columns. Default: 2.
int32 columns = 14;- Specified by:
getColumnsin interfaceServerDialogOrBuilder- Returns:
- The columns.
-
setColumns
For MULTI_ACTION and DIALOG_LIST: number of button columns. Default: 2.
int32 columns = 14;- Parameters:
value- The columns to set.- Returns:
- This builder for chaining.
-
clearColumns
For MULTI_ACTION and DIALOG_LIST: number of button columns. Default: 2.
int32 columns = 14;- Returns:
- This builder for chaining.
-
hasExitAction
public boolean hasExitAction()For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15;- Specified by:
hasExitActionin interfaceServerDialogOrBuilder- Returns:
- Whether the exitAction field is set.
-
getExitAction
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15;- Specified by:
getExitActionin interfaceServerDialogOrBuilder- Returns:
- The exitAction.
-
setExitAction
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
setExitAction
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
mergeExitAction
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
clearExitAction
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
getExitActionBuilder
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15; -
getExitActionOrBuilder
For MULTI_ACTION, SERVER_LINKS, DIALOG_LIST: exit/close button.
optional .soulfire.v1.DialogButton exit_action = 15;- Specified by:
getExitActionOrBuilderin interfaceServerDialogOrBuilder
-
getButtonWidth
public int getButtonWidth()For SERVER_LINKS and DIALOG_LIST: button width. Default: 150.
int32 button_width = 16;- Specified by:
getButtonWidthin interfaceServerDialogOrBuilder- Returns:
- The buttonWidth.
-
setButtonWidth
For SERVER_LINKS and DIALOG_LIST: button width. Default: 150.
int32 button_width = 16;- Parameters:
value- The buttonWidth to set.- Returns:
- This builder for chaining.
-
clearButtonWidth
For SERVER_LINKS and DIALOG_LIST: button width. Default: 150.
int32 button_width = 16;- Returns:
- This builder for chaining.
-