Enum Class EnvironmentInfo.Runtime.RuntimeType
java.lang.Object
java.lang.Enum<EnvironmentInfo.Runtime.RuntimeType>
io.temporal.api.worker.v1.EnvironmentInfo.Runtime.RuntimeType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EnvironmentInfo.Runtime.RuntimeType>,Constable
- Enclosing class:
EnvironmentInfo.Runtime
public static enum EnvironmentInfo.Runtime.RuntimeType
extends Enum<EnvironmentInfo.Runtime.RuntimeType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
temporal.api.worker.v1.EnvironmentInfo.Runtime.RuntimeType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRUNTIME_TYPE_BUN = 4;RUNTIME_TYPE_CPYTHON = 2;RUNTIME_TYPE_CRUBY = 5;RUNTIME_TYPE_DOTNET_CORE = 8;RUNTIME_TYPE_DOTNET_FRAMEWORK = 7;RUNTIME_TYPE_GO = 6;RUNTIME_TYPE_JVM = 1;RUNTIME_TYPE_NATIVE = 9;RUNTIME_TYPE_NODE = 3;RUNTIME_TYPE_ROADRUNNER = 10;Should never actually be set, exists to follow convention of having a default. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRUNTIME_TYPE_BUN = 4;static final intRUNTIME_TYPE_CPYTHON = 2;static final intRUNTIME_TYPE_CRUBY = 5;static final intRUNTIME_TYPE_DOTNET_CORE = 8;static final intRUNTIME_TYPE_DOTNET_FRAMEWORK = 7;static final intRUNTIME_TYPE_GO = 6;static final intRUNTIME_TYPE_JVM = 1;static final intRUNTIME_TYPE_NATIVE = 9;static final intRUNTIME_TYPE_NODE = 3;static final intRUNTIME_TYPE_ROADRUNNER = 10;static final intShould never actually be set, exists to follow convention of having a default. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EnvironmentInfo.Runtime.RuntimeType> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static EnvironmentInfo.Runtime.RuntimeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNTIME_TYPE_UNSPECIFIED
Should never actually be set, exists to follow convention of having a default. SDKs should just leave `runtimes` empty if none can be determined.
RUNTIME_TYPE_UNSPECIFIED = 0; -
RUNTIME_TYPE_JVM
RUNTIME_TYPE_JVM = 1; -
RUNTIME_TYPE_CPYTHON
RUNTIME_TYPE_CPYTHON = 2; -
RUNTIME_TYPE_NODE
RUNTIME_TYPE_NODE = 3; -
RUNTIME_TYPE_BUN
RUNTIME_TYPE_BUN = 4; -
RUNTIME_TYPE_CRUBY
RUNTIME_TYPE_CRUBY = 5; -
RUNTIME_TYPE_GO
RUNTIME_TYPE_GO = 6; -
RUNTIME_TYPE_DOTNET_FRAMEWORK
RUNTIME_TYPE_DOTNET_FRAMEWORK = 7; -
RUNTIME_TYPE_DOTNET_CORE
RUNTIME_TYPE_DOTNET_CORE = 8; -
RUNTIME_TYPE_NATIVE
RUNTIME_TYPE_NATIVE = 9; -
RUNTIME_TYPE_ROADRUNNER
RUNTIME_TYPE_ROADRUNNER = 10; -
UNRECOGNIZED
-
-
Field Details
-
RUNTIME_TYPE_UNSPECIFIED_VALUE
public static final int RUNTIME_TYPE_UNSPECIFIED_VALUEShould never actually be set, exists to follow convention of having a default. SDKs should just leave `runtimes` empty if none can be determined.
RUNTIME_TYPE_UNSPECIFIED = 0;- See Also:
-
RUNTIME_TYPE_JVM_VALUE
public static final int RUNTIME_TYPE_JVM_VALUERUNTIME_TYPE_JVM = 1;- See Also:
-
RUNTIME_TYPE_CPYTHON_VALUE
public static final int RUNTIME_TYPE_CPYTHON_VALUERUNTIME_TYPE_CPYTHON = 2;- See Also:
-
RUNTIME_TYPE_NODE_VALUE
public static final int RUNTIME_TYPE_NODE_VALUERUNTIME_TYPE_NODE = 3;- See Also:
-
RUNTIME_TYPE_BUN_VALUE
public static final int RUNTIME_TYPE_BUN_VALUERUNTIME_TYPE_BUN = 4;- See Also:
-
RUNTIME_TYPE_CRUBY_VALUE
public static final int RUNTIME_TYPE_CRUBY_VALUERUNTIME_TYPE_CRUBY = 5;- See Also:
-
RUNTIME_TYPE_GO_VALUE
public static final int RUNTIME_TYPE_GO_VALUERUNTIME_TYPE_GO = 6;- See Also:
-
RUNTIME_TYPE_DOTNET_FRAMEWORK_VALUE
public static final int RUNTIME_TYPE_DOTNET_FRAMEWORK_VALUERUNTIME_TYPE_DOTNET_FRAMEWORK = 7;- See Also:
-
RUNTIME_TYPE_DOTNET_CORE_VALUE
public static final int RUNTIME_TYPE_DOTNET_CORE_VALUERUNTIME_TYPE_DOTNET_CORE = 8;- See Also:
-
RUNTIME_TYPE_NATIVE_VALUE
public static final int RUNTIME_TYPE_NATIVE_VALUERUNTIME_TYPE_NATIVE = 9;- See Also:
-
RUNTIME_TYPE_ROADRUNNER_VALUE
public static final int RUNTIME_TYPE_ROADRUNNER_VALUERUNTIME_TYPE_ROADRUNNER = 10;- 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
public static com.google.protobuf.Internal.EnumLiteMap<EnvironmentInfo.Runtime.RuntimeType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static EnvironmentInfo.Runtime.RuntimeType 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 nameNullPointerException- if the argument is null
-