Enum Class PortType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PortType>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAny type - accepts all values.Block type identifier.Boolean true/false value.Reference to a bot connection.Entity reference.Execution flow port (not data).Item stack reference.List/array of values.Key-value map of entries.Numeric value (integer or floating point).Text string value.3D vector with x, y, z components. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAny type - accepts all values.static final intBlock type identifier.static final intBoolean true/false value.static final intReference to a bot connection.static final intEntity reference.static final intExecution flow port (not data).static final intItem stack reference.static final intList/array of values.static final intKey-value map of entries.static final intNumeric value (integer or floating point).static final intText string value.static final int3D vector with x, y, z components. -
Method Summary
Modifier and TypeMethodDescriptionstatic PortTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PortType> static PortTypevalueOf(int value) Deprecated.static PortTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PortTypeReturns the enum constant of this class with the specified name.static PortType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PORT_TYPE_ANY
Any type - accepts all values. Used for generic nodes.
PORT_TYPE_ANY = 0; -
PORT_TYPE_NUMBER
Numeric value (integer or floating point).
PORT_TYPE_NUMBER = 1; -
PORT_TYPE_STRING
Text string value.
PORT_TYPE_STRING = 2; -
PORT_TYPE_BOOLEAN
Boolean true/false value.
PORT_TYPE_BOOLEAN = 3; -
PORT_TYPE_VECTOR3
3D vector with x, y, z components.
PORT_TYPE_VECTOR3 = 4; -
PORT_TYPE_BOT
Reference to a bot connection.
PORT_TYPE_BOT = 5; -
PORT_TYPE_LIST
List/array of values.
PORT_TYPE_LIST = 6; -
PORT_TYPE_EXEC
Execution flow port (not data).
PORT_TYPE_EXEC = 7; -
PORT_TYPE_BLOCK
Block type identifier.
PORT_TYPE_BLOCK = 8; -
PORT_TYPE_ENTITY
Entity reference.
PORT_TYPE_ENTITY = 9; -
PORT_TYPE_ITEM
Item stack reference.
PORT_TYPE_ITEM = 10; -
PORT_TYPE_MAP
Key-value map of entries.
PORT_TYPE_MAP = 11; -
UNRECOGNIZED
-
-
Field Details
-
PORT_TYPE_ANY_VALUE
public static final int PORT_TYPE_ANY_VALUEAny 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_VALUENumeric value (integer or floating point).
PORT_TYPE_NUMBER = 1;- See Also:
-
PORT_TYPE_STRING_VALUE
public static final int PORT_TYPE_STRING_VALUEText string value.
PORT_TYPE_STRING = 2;- See Also:
-
PORT_TYPE_BOOLEAN_VALUE
public static final int PORT_TYPE_BOOLEAN_VALUEBoolean true/false value.
PORT_TYPE_BOOLEAN = 3;- See Also:
-
PORT_TYPE_VECTOR3_VALUE
public static final int PORT_TYPE_VECTOR3_VALUE3D vector with x, y, z components.
PORT_TYPE_VECTOR3 = 4;- See Also:
-
PORT_TYPE_BOT_VALUE
public static final int PORT_TYPE_BOT_VALUEReference to a bot connection.
PORT_TYPE_BOT = 5;- See Also:
-
PORT_TYPE_LIST_VALUE
public static final int PORT_TYPE_LIST_VALUEList/array of values.
PORT_TYPE_LIST = 6;- See Also:
-
PORT_TYPE_EXEC_VALUE
public static final int PORT_TYPE_EXEC_VALUEExecution flow port (not data).
PORT_TYPE_EXEC = 7;- See Also:
-
PORT_TYPE_BLOCK_VALUE
public static final int PORT_TYPE_BLOCK_VALUEBlock type identifier.
PORT_TYPE_BLOCK = 8;- See Also:
-
PORT_TYPE_ENTITY_VALUE
public static final int PORT_TYPE_ENTITY_VALUEEntity reference.
PORT_TYPE_ENTITY = 9;- See Also:
-
PORT_TYPE_ITEM_VALUE
public static final int PORT_TYPE_ITEM_VALUEItem stack reference.
PORT_TYPE_ITEM = 10;- See Also:
-
PORT_TYPE_MAP_VALUE
public static final int PORT_TYPE_MAP_VALUEKey-value map of entries.
PORT_TYPE_MAP = 11;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-