Enum Class PortType

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

@Generated public enum PortType extends Enum<PortType> implements com.google.protobuf.ProtocolMessageEnum
The data type of a node port.
Used for validation and UI rendering of connections.
Protobuf enum soulfire.v1.PortType
  • Enum Constant Details

    • PORT_TYPE_ANY

      public static final PortType PORT_TYPE_ANY
      Any type - accepts all values. Used for generic nodes.
      
      PORT_TYPE_ANY = 0;
    • PORT_TYPE_NUMBER

      public static final PortType PORT_TYPE_NUMBER
      Numeric value (integer or floating point).
      
      PORT_TYPE_NUMBER = 1;
    • PORT_TYPE_STRING

      public static final PortType PORT_TYPE_STRING
      Text string value.
      
      PORT_TYPE_STRING = 2;
    • PORT_TYPE_BOOLEAN

      public static final PortType PORT_TYPE_BOOLEAN
      Boolean true/false value.
      
      PORT_TYPE_BOOLEAN = 3;
    • PORT_TYPE_VECTOR3

      public static final PortType PORT_TYPE_VECTOR3
      3D vector with x, y, z components.
      
      PORT_TYPE_VECTOR3 = 4;
    • PORT_TYPE_BOT

      public static final PortType PORT_TYPE_BOT
      Reference to a bot connection.
      
      PORT_TYPE_BOT = 5;
    • PORT_TYPE_LIST

      public static final PortType PORT_TYPE_LIST
      List/array of values.
      
      PORT_TYPE_LIST = 6;
    • PORT_TYPE_EXEC

      public static final PortType PORT_TYPE_EXEC
      Execution flow port (not data).
      
      PORT_TYPE_EXEC = 7;
    • PORT_TYPE_BLOCK

      public static final PortType PORT_TYPE_BLOCK
      Block type identifier.
      
      PORT_TYPE_BLOCK = 8;
    • PORT_TYPE_ENTITY

      public static final PortType PORT_TYPE_ENTITY
      Entity reference.
      
      PORT_TYPE_ENTITY = 9;
    • PORT_TYPE_ITEM

      public static final PortType PORT_TYPE_ITEM
      Item stack reference.
      
      PORT_TYPE_ITEM = 10;
    • PORT_TYPE_MAP

      public static final PortType PORT_TYPE_MAP
      Key-value map of entries.
      
      PORT_TYPE_MAP = 11;
    • UNRECOGNIZED

      public static final PortType UNRECOGNIZED
  • Field Details

    • PORT_TYPE_ANY_VALUE

      public static final int PORT_TYPE_ANY_VALUE
      Any type - accepts all values. Used for generic nodes.
      
      PORT_TYPE_ANY = 0;
      See Also:
    • PORT_TYPE_NUMBER_VALUE

      public static final int PORT_TYPE_NUMBER_VALUE
      Numeric value (integer or floating point).
      
      PORT_TYPE_NUMBER = 1;
      See Also:
    • PORT_TYPE_STRING_VALUE

      public static final int PORT_TYPE_STRING_VALUE
      Text string value.
      
      PORT_TYPE_STRING = 2;
      See Also:
    • PORT_TYPE_BOOLEAN_VALUE

      public static final int PORT_TYPE_BOOLEAN_VALUE
      Boolean true/false value.
      
      PORT_TYPE_BOOLEAN = 3;
      See Also:
    • PORT_TYPE_VECTOR3_VALUE

      public static final int PORT_TYPE_VECTOR3_VALUE
      3D vector with x, y, z components.
      
      PORT_TYPE_VECTOR3 = 4;
      See Also:
    • PORT_TYPE_BOT_VALUE

      public static final int PORT_TYPE_BOT_VALUE
      Reference to a bot connection.
      
      PORT_TYPE_BOT = 5;
      See Also:
    • PORT_TYPE_LIST_VALUE

      public static final int PORT_TYPE_LIST_VALUE
      List/array of values.
      
      PORT_TYPE_LIST = 6;
      See Also:
    • PORT_TYPE_EXEC_VALUE

      public static final int PORT_TYPE_EXEC_VALUE
      Execution flow port (not data).
      
      PORT_TYPE_EXEC = 7;
      See Also:
    • PORT_TYPE_BLOCK_VALUE

      public static final int PORT_TYPE_BLOCK_VALUE
      Block type identifier.
      
      PORT_TYPE_BLOCK = 8;
      See Also:
    • PORT_TYPE_ENTITY_VALUE

      public static final int PORT_TYPE_ENTITY_VALUE
      Entity reference.
      
      PORT_TYPE_ENTITY = 9;
      See Also:
    • PORT_TYPE_ITEM_VALUE

      public static final int PORT_TYPE_ITEM_VALUE
      Item stack reference.
      
      PORT_TYPE_ITEM = 10;
      See Also:
    • PORT_TYPE_MAP_VALUE

      public static final int PORT_TYPE_MAP_VALUE
      Key-value map of entries.
      
      PORT_TYPE_MAP = 11;
      See Also:
  • Method Details

    • values

      public static PortType[] 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 PortType 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 PortType 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 PortType 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<PortType> 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 PortType 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