Class DialogAction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.DialogAction
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DialogActionOrBuilder, Serializable
@Generated
public final class DialogAction
extends com.google.protobuf.GeneratedMessage
implements DialogActionOrBuilder
Action that can be triggered by a dialog button.Protobuf type
soulfire.v1.DialogAction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classAction that can be triggered by a dialog button.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCopy text to clipboard.Copy text to clipboard.Custom server-defined action.Custom server-defined action.static DialogActionstatic final com.google.protobuf.Descriptors.DescriptorCustom action with additional data.Custom action with additional data.Run a command with input placeholders.Run a command with input placeholders.Open a URL in the browser.Open a URL in the browser.com.google.protobuf.Parser<DialogAction> Run a chat command.Run a chat command.intShow another dialog.Show another dialog.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.inthashCode()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 booleanstatic DialogAction.Builderstatic DialogAction.BuildernewBuilder(DialogAction prototype) protected DialogAction.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DialogActionparseDelimitedFrom(InputStream input) static DialogActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogActionparseFrom(byte[] data) static DialogActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogActionparseFrom(com.google.protobuf.ByteString data) static DialogActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogActionparseFrom(com.google.protobuf.CodedInputStream input) static DialogActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogActionparseFrom(InputStream input) static DialogActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DialogActionparseFrom(ByteBuffer data) static DialogActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DialogAction> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OPEN_URL_FIELD_NUMBER
public static final int OPEN_URL_FIELD_NUMBER- See Also:
-
RUN_COMMAND_FIELD_NUMBER
public static final int RUN_COMMAND_FIELD_NUMBER- See Also:
-
SUGGEST_COMMAND_FIELD_NUMBER
public static final int SUGGEST_COMMAND_FIELD_NUMBER- See Also:
-
COPY_TO_CLIPBOARD_FIELD_NUMBER
public static final int COPY_TO_CLIPBOARD_FIELD_NUMBER- See Also:
-
SHOW_DIALOG_FIELD_NUMBER
public static final int SHOW_DIALOG_FIELD_NUMBER- See Also:
-
CUSTOM_FIELD_NUMBER
public static final int CUSTOM_FIELD_NUMBER- See Also:
-
DYNAMIC_RUN_COMMAND_FIELD_NUMBER
public static final int DYNAMIC_RUN_COMMAND_FIELD_NUMBER- See Also:
-
DYNAMIC_CUSTOM_FIELD_NUMBER
public static final int DYNAMIC_CUSTOM_FIELD_NUMBER- See Also:
-
-
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
-
getActionCase
- Specified by:
getActionCasein interfaceDialogActionOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getDynamicCustomOrBuilder
Custom action with additional data.
.soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;- Specified by:
getDynamicCustomOrBuilderin interfaceDialogActionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DialogAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DialogAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DialogAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DialogAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DialogAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DialogAction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-