Enum Class DialogType

java.lang.Object
java.lang.Enum<DialogType>
com.soulfiremc.grpc.generated.DialogType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DialogType>, Constable

@Generated public enum DialogType extends Enum<DialogType> implements com.google.protobuf.ProtocolMessageEnum
Dialog types matching Minecraft's dialog registry.
Determines the overall structure and behavior of the dialog.
Protobuf enum soulfire.v1.DialogType
  • Enum Constant Details

    • DIALOG_TYPE_UNSPECIFIED

      public static final DialogType DIALOG_TYPE_UNSPECIFIED
      Unknown or unrecognized dialog type.
      
      DIALOG_TYPE_UNSPECIFIED = 0;
    • DIALOG_TYPE_NOTICE

      public static final DialogType DIALOG_TYPE_NOTICE
      Notice dialog with a single action button in the footer.
      Used for informational messages that require acknowledgment.
      
      DIALOG_TYPE_NOTICE = 1;
    • DIALOG_TYPE_CONFIRMATION

      public static final DialogType DIALOG_TYPE_CONFIRMATION
      Confirmation dialog with Yes/No buttons in the footer.
      Used for binary choices.
      
      DIALOG_TYPE_CONFIRMATION = 2;
    • DIALOG_TYPE_MULTI_ACTION

      public static final DialogType DIALOG_TYPE_MULTI_ACTION
      Multi-action dialog with a scrollable list of action buttons.
      Used for menus with multiple options.
      
      DIALOG_TYPE_MULTI_ACTION = 3;
    • DIALOG_TYPE_DIALOG_LIST

      public static final DialogType DIALOG_TYPE_DIALOG_LIST
      Dialog list with buttons linking to other dialogs.
      Used for hierarchical menu navigation.
      
      DIALOG_TYPE_DIALOG_LIST = 5;
    • UNRECOGNIZED

      public static final DialogType UNRECOGNIZED
  • Field Details

    • DIALOG_TYPE_UNSPECIFIED_VALUE

      public static final int DIALOG_TYPE_UNSPECIFIED_VALUE
      Unknown or unrecognized dialog type.
      
      DIALOG_TYPE_UNSPECIFIED = 0;
      See Also:
    • DIALOG_TYPE_NOTICE_VALUE

      public static final int DIALOG_TYPE_NOTICE_VALUE
      Notice dialog with a single action button in the footer.
      Used for informational messages that require acknowledgment.
      
      DIALOG_TYPE_NOTICE = 1;
      See Also:
    • DIALOG_TYPE_CONFIRMATION_VALUE

      public static final int DIALOG_TYPE_CONFIRMATION_VALUE
      Confirmation dialog with Yes/No buttons in the footer.
      Used for binary choices.
      
      DIALOG_TYPE_CONFIRMATION = 2;
      See Also:
    • DIALOG_TYPE_MULTI_ACTION_VALUE

      public static final int DIALOG_TYPE_MULTI_ACTION_VALUE
      Multi-action dialog with a scrollable list of action buttons.
      Used for menus with multiple options.
      
      DIALOG_TYPE_MULTI_ACTION = 3;
      See Also:
    • DIALOG_TYPE_DIALOG_LIST_VALUE

      public static final int DIALOG_TYPE_DIALOG_LIST_VALUE
      Dialog list with buttons linking to other dialogs.
      Used for hierarchical menu navigation.
      
      DIALOG_TYPE_DIALOG_LIST = 5;
      See Also:
  • Method Details

    • values

      public static DialogType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DialogType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DialogType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static DialogType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<DialogType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DialogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null