Class DialogAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DialogAction.Builder>
com.google.protobuf.GeneratedMessage.Builder<DialogAction.Builder>
com.soulfiremc.grpc.generated.DialogAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DialogActionOrBuilder, Cloneable
- Enclosing class:
DialogAction
public static final class DialogAction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DialogAction.Builder>
implements DialogActionOrBuilder
Action that can be triggered by a dialog button.Protobuf type
soulfire.v1.DialogAction-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Copy text to clipboard.Custom server-defined action.Custom action with additional data.Run a command with input placeholders.Open a URL in the browser.Run a chat command.Show another dialog.Suggest a command (put in chat box without sending).Copy text to clipboard.Copy text to clipboard.Copy text to clipboard.Custom server-defined action.Custom server-defined action.Custom server-defined action.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCustom action with additional data.Custom action with additional data.Custom action with additional data.Run a command with input placeholders.Run a command with input placeholders.Run a command with input placeholders.Open a URL in the browser.Open a URL in the browser.Open a URL in the browser.Run a chat command.Run a chat command.Run a chat command.Show another dialog.Show another dialog.Show another dialog.Suggest a command (put in chat box without sending).Suggest a command (put in chat box without sending).Suggest a command (put in chat box without sending).booleanCopy text to clipboard.booleanCustom server-defined action.booleanCustom action with additional data.booleanRun a command with input placeholders.booleanOpen a URL in the browser.booleanRun a chat command.booleanShow another dialog.booleanSuggest a command (put in chat box without sending).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanCopy text to clipboard.mergeCustom(DialogCustomAction value) Custom server-defined action.Custom action with additional data.Run a command with input placeholders.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DialogAction other) mergeOpenUrl(DialogOpenUrlAction value) Open a URL in the browser.Run a chat command.Show another dialog.Suggest a command (put in chat box without sending).Copy text to clipboard.setCopyToClipboard(DialogCopyToClipboardAction.Builder builderForValue) Copy text to clipboard.setCustom(DialogCustomAction value) Custom server-defined action.setCustom(DialogCustomAction.Builder builderForValue) Custom server-defined action.Custom action with additional data.setDynamicCustom(DialogDynamicCustomAction.Builder builderForValue) Custom action with additional data.Run a command with input placeholders.setDynamicRunCommand(DialogDynamicRunCommandAction.Builder builderForValue) Run a command with input placeholders.setOpenUrl(DialogOpenUrlAction value) Open a URL in the browser.setOpenUrl(DialogOpenUrlAction.Builder builderForValue) Open a URL in the browser.Run a chat command.setRunCommand(DialogRunCommandAction.Builder builderForValue) Run a chat command.Show another dialog.setShowDialog(DialogShowDialogAction.Builder builderForValue) Show another dialog.Suggest a command (put in chat box without sending).setSuggestCommand(DialogSuggestCommandAction.Builder builderForValue) Suggest a command (put in chat box without sending).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<DialogAction.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<DialogAction.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<DialogAction.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<DialogAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DialogAction.Builder>
-
mergeFrom
public DialogAction.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<DialogAction.Builder>- Throws:
IOException
-
getActionCase
- Specified by:
getActionCasein interfaceDialogActionOrBuilder
-
clearAction
-
hasOpenUrl
public boolean hasOpenUrl()Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1;- Specified by:
hasOpenUrlin interfaceDialogActionOrBuilder- Returns:
- Whether the openUrl field is set.
-
getOpenUrl
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1;- Specified by:
getOpenUrlin interfaceDialogActionOrBuilder- Returns:
- The openUrl.
-
setOpenUrl
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1; -
setOpenUrl
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1; -
mergeOpenUrl
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1; -
clearOpenUrl
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1; -
getOpenUrlBuilder
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1; -
getOpenUrlOrBuilder
Open a URL in the browser.
.soulfire.v1.DialogOpenUrlAction open_url = 1;- Specified by:
getOpenUrlOrBuilderin interfaceDialogActionOrBuilder
-
hasRunCommand
public boolean hasRunCommand()Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2;- Specified by:
hasRunCommandin interfaceDialogActionOrBuilder- Returns:
- Whether the runCommand field is set.
-
getRunCommand
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2;- Specified by:
getRunCommandin interfaceDialogActionOrBuilder- Returns:
- The runCommand.
-
setRunCommand
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2; -
setRunCommand
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2; -
mergeRunCommand
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2; -
clearRunCommand
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2; -
getRunCommandBuilder
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2; -
getRunCommandOrBuilder
Run a chat command.
.soulfire.v1.DialogRunCommandAction run_command = 2;- Specified by:
getRunCommandOrBuilderin interfaceDialogActionOrBuilder
-
hasSuggestCommand
public boolean hasSuggestCommand()Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3;- Specified by:
hasSuggestCommandin interfaceDialogActionOrBuilder- Returns:
- Whether the suggestCommand field is set.
-
getSuggestCommand
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3;- Specified by:
getSuggestCommandin interfaceDialogActionOrBuilder- Returns:
- The suggestCommand.
-
setSuggestCommand
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3; -
setSuggestCommand
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3; -
mergeSuggestCommand
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3; -
clearSuggestCommand
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3; -
getSuggestCommandBuilder
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3; -
getSuggestCommandOrBuilder
Suggest a command (put in chat box without sending).
.soulfire.v1.DialogSuggestCommandAction suggest_command = 3;- Specified by:
getSuggestCommandOrBuilderin interfaceDialogActionOrBuilder
-
hasCopyToClipboard
public boolean hasCopyToClipboard()Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;- Specified by:
hasCopyToClipboardin interfaceDialogActionOrBuilder- Returns:
- Whether the copyToClipboard field is set.
-
getCopyToClipboard
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;- Specified by:
getCopyToClipboardin interfaceDialogActionOrBuilder- Returns:
- The copyToClipboard.
-
setCopyToClipboard
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4; -
setCopyToClipboard
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4; -
mergeCopyToClipboard
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4; -
clearCopyToClipboard
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4; -
getCopyToClipboardBuilder
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4; -
getCopyToClipboardOrBuilder
Copy text to clipboard.
.soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;- Specified by:
getCopyToClipboardOrBuilderin interfaceDialogActionOrBuilder
-
hasShowDialog
public boolean hasShowDialog()Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5;- Specified by:
hasShowDialogin interfaceDialogActionOrBuilder- Returns:
- Whether the showDialog field is set.
-
getShowDialog
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5;- Specified by:
getShowDialogin interfaceDialogActionOrBuilder- Returns:
- The showDialog.
-
setShowDialog
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5; -
setShowDialog
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5; -
mergeShowDialog
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5; -
clearShowDialog
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5; -
getShowDialogBuilder
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5; -
getShowDialogOrBuilder
Show another dialog.
.soulfire.v1.DialogShowDialogAction show_dialog = 5;- Specified by:
getShowDialogOrBuilderin interfaceDialogActionOrBuilder
-
hasCustom
public boolean hasCustom()Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6;- Specified by:
hasCustomin interfaceDialogActionOrBuilder- Returns:
- Whether the custom field is set.
-
getCustom
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6;- Specified by:
getCustomin interfaceDialogActionOrBuilder- Returns:
- The custom.
-
setCustom
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6; -
setCustom
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6; -
mergeCustom
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6; -
clearCustom
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6; -
getCustomBuilder
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6; -
getCustomOrBuilder
Custom server-defined action.
.soulfire.v1.DialogCustomAction custom = 6;- Specified by:
getCustomOrBuilderin interfaceDialogActionOrBuilder
-
hasDynamicRunCommand
public boolean hasDynamicRunCommand()Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;- Specified by:
hasDynamicRunCommandin interfaceDialogActionOrBuilder- Returns:
- Whether the dynamicRunCommand field is set.
-
getDynamicRunCommand
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;- Specified by:
getDynamicRunCommandin interfaceDialogActionOrBuilder- Returns:
- The dynamicRunCommand.
-
setDynamicRunCommand
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7; -
setDynamicRunCommand
public DialogAction.Builder setDynamicRunCommand(DialogDynamicRunCommandAction.Builder builderForValue) Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7; -
mergeDynamicRunCommand
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7; -
clearDynamicRunCommand
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7; -
getDynamicRunCommandBuilder
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7; -
getDynamicRunCommandOrBuilder
Run a command with input placeholders.
.soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;- Specified by:
getDynamicRunCommandOrBuilderin interfaceDialogActionOrBuilder
-
hasDynamicCustom
public boolean hasDynamicCustom()Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;- Specified by:
hasDynamicCustomin interfaceDialogActionOrBuilder- Returns:
- Whether the dynamicCustom field is set.
-
getDynamicCustom
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;- Specified by:
getDynamicCustomin interfaceDialogActionOrBuilder- Returns:
- The dynamicCustom.
-
setDynamicCustom
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8; -
setDynamicCustom
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8; -
mergeDynamicCustom
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8; -
clearDynamicCustom
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8; -
getDynamicCustomBuilder
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8; -
getDynamicCustomOrBuilder
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;- Specified by:
getDynamicCustomOrBuilderin interfaceDialogActionOrBuilder
-