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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getActionCase

      public DialogAction.ActionCase getActionCase()
      Specified by:
      getActionCase in interface DialogActionOrBuilder
    • hasOpenUrl

      public boolean hasOpenUrl()
      Open a URL in the browser.
      
      .soulfire.v1.DialogOpenUrlAction open_url = 1;
      Specified by:
      hasOpenUrl in interface DialogActionOrBuilder
      Returns:
      Whether the openUrl field is set.
    • getOpenUrl

      public DialogOpenUrlAction getOpenUrl()
      Open a URL in the browser.
      
      .soulfire.v1.DialogOpenUrlAction open_url = 1;
      Specified by:
      getOpenUrl in interface DialogActionOrBuilder
      Returns:
      The openUrl.
    • getOpenUrlOrBuilder

      public DialogOpenUrlActionOrBuilder getOpenUrlOrBuilder()
      Open a URL in the browser.
      
      .soulfire.v1.DialogOpenUrlAction open_url = 1;
      Specified by:
      getOpenUrlOrBuilder in interface DialogActionOrBuilder
    • hasRunCommand

      public boolean hasRunCommand()
      Run a chat command.
      
      .soulfire.v1.DialogRunCommandAction run_command = 2;
      Specified by:
      hasRunCommand in interface DialogActionOrBuilder
      Returns:
      Whether the runCommand field is set.
    • getRunCommand

      public DialogRunCommandAction getRunCommand()
      Run a chat command.
      
      .soulfire.v1.DialogRunCommandAction run_command = 2;
      Specified by:
      getRunCommand in interface DialogActionOrBuilder
      Returns:
      The runCommand.
    • getRunCommandOrBuilder

      public DialogRunCommandActionOrBuilder getRunCommandOrBuilder()
      Run a chat command.
      
      .soulfire.v1.DialogRunCommandAction run_command = 2;
      Specified by:
      getRunCommandOrBuilder in interface DialogActionOrBuilder
    • hasSuggestCommand

      public boolean hasSuggestCommand()
      Suggest a command (put in chat box without sending).
      
      .soulfire.v1.DialogSuggestCommandAction suggest_command = 3;
      Specified by:
      hasSuggestCommand in interface DialogActionOrBuilder
      Returns:
      Whether the suggestCommand field is set.
    • getSuggestCommand

      public DialogSuggestCommandAction getSuggestCommand()
      Suggest a command (put in chat box without sending).
      
      .soulfire.v1.DialogSuggestCommandAction suggest_command = 3;
      Specified by:
      getSuggestCommand in interface DialogActionOrBuilder
      Returns:
      The suggestCommand.
    • getSuggestCommandOrBuilder

      public DialogSuggestCommandActionOrBuilder getSuggestCommandOrBuilder()
      Suggest a command (put in chat box without sending).
      
      .soulfire.v1.DialogSuggestCommandAction suggest_command = 3;
      Specified by:
      getSuggestCommandOrBuilder in interface DialogActionOrBuilder
    • hasCopyToClipboard

      public boolean hasCopyToClipboard()
      Copy text to clipboard.
      
      .soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;
      Specified by:
      hasCopyToClipboard in interface DialogActionOrBuilder
      Returns:
      Whether the copyToClipboard field is set.
    • getCopyToClipboard

      public DialogCopyToClipboardAction getCopyToClipboard()
      Copy text to clipboard.
      
      .soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;
      Specified by:
      getCopyToClipboard in interface DialogActionOrBuilder
      Returns:
      The copyToClipboard.
    • getCopyToClipboardOrBuilder

      public DialogCopyToClipboardActionOrBuilder getCopyToClipboardOrBuilder()
      Copy text to clipboard.
      
      .soulfire.v1.DialogCopyToClipboardAction copy_to_clipboard = 4;
      Specified by:
      getCopyToClipboardOrBuilder in interface DialogActionOrBuilder
    • hasShowDialog

      public boolean hasShowDialog()
      Show another dialog.
      
      .soulfire.v1.DialogShowDialogAction show_dialog = 5;
      Specified by:
      hasShowDialog in interface DialogActionOrBuilder
      Returns:
      Whether the showDialog field is set.
    • getShowDialog

      public DialogShowDialogAction getShowDialog()
      Show another dialog.
      
      .soulfire.v1.DialogShowDialogAction show_dialog = 5;
      Specified by:
      getShowDialog in interface DialogActionOrBuilder
      Returns:
      The showDialog.
    • getShowDialogOrBuilder

      public DialogShowDialogActionOrBuilder getShowDialogOrBuilder()
      Show another dialog.
      
      .soulfire.v1.DialogShowDialogAction show_dialog = 5;
      Specified by:
      getShowDialogOrBuilder in interface DialogActionOrBuilder
    • hasCustom

      public boolean hasCustom()
      Custom server-defined action.
      
      .soulfire.v1.DialogCustomAction custom = 6;
      Specified by:
      hasCustom in interface DialogActionOrBuilder
      Returns:
      Whether the custom field is set.
    • getCustom

      public DialogCustomAction getCustom()
      Custom server-defined action.
      
      .soulfire.v1.DialogCustomAction custom = 6;
      Specified by:
      getCustom in interface DialogActionOrBuilder
      Returns:
      The custom.
    • getCustomOrBuilder

      public DialogCustomActionOrBuilder getCustomOrBuilder()
      Custom server-defined action.
      
      .soulfire.v1.DialogCustomAction custom = 6;
      Specified by:
      getCustomOrBuilder in interface DialogActionOrBuilder
    • hasDynamicRunCommand

      public boolean hasDynamicRunCommand()
      Run a command with input placeholders.
      
      .soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;
      Specified by:
      hasDynamicRunCommand in interface DialogActionOrBuilder
      Returns:
      Whether the dynamicRunCommand field is set.
    • getDynamicRunCommand

      public DialogDynamicRunCommandAction getDynamicRunCommand()
      Run a command with input placeholders.
      
      .soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;
      Specified by:
      getDynamicRunCommand in interface DialogActionOrBuilder
      Returns:
      The dynamicRunCommand.
    • getDynamicRunCommandOrBuilder

      public DialogDynamicRunCommandActionOrBuilder getDynamicRunCommandOrBuilder()
      Run a command with input placeholders.
      
      .soulfire.v1.DialogDynamicRunCommandAction dynamic_run_command = 7;
      Specified by:
      getDynamicRunCommandOrBuilder in interface DialogActionOrBuilder
    • hasDynamicCustom

      public boolean hasDynamicCustom()
      Custom action with additional data.
      
      .soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;
      Specified by:
      hasDynamicCustom in interface DialogActionOrBuilder
      Returns:
      Whether the dynamicCustom field is set.
    • getDynamicCustom

      public DialogDynamicCustomAction getDynamicCustom()
      Custom action with additional data.
      
      .soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;
      Specified by:
      getDynamicCustom in interface DialogActionOrBuilder
      Returns:
      The dynamicCustom.
    • getDynamicCustomOrBuilder

      public DialogDynamicCustomActionOrBuilder getDynamicCustomOrBuilder()
      Custom action with additional data.
      
      .soulfire.v1.DialogDynamicCustomAction dynamic_custom = 8;
      Specified by:
      getDynamicCustomOrBuilder in interface DialogActionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static DialogAction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DialogAction parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DialogAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DialogAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DialogAction.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DialogAction.Builder newBuilder()
    • newBuilder

      public static DialogAction.Builder newBuilder(DialogAction prototype)
    • toBuilder

      public DialogAction.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DialogAction.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DialogAction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DialogAction> parser()
    • getParserForType

      public com.google.protobuf.Parser<DialogAction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DialogAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder