Package org.nd4j.ir
Enum MapperNamespace.VariableResolutionType
- java.lang.Object
-
- java.lang.Enum<MapperNamespace.VariableResolutionType>
-
- org.nd4j.ir.MapperNamespace.VariableResolutionType
-
- All Implemented Interfaces:
Serializable
,Comparable<MapperNamespace.VariableResolutionType>
,org.nd4j.shade.protobuf.Internal.EnumLite
,org.nd4j.shade.protobuf.ProtocolMessageEnum
- Enclosing class:
- MapperNamespace
public static enum MapperNamespace.VariableResolutionType extends Enum<MapperNamespace.VariableResolutionType> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
Protobuf enumorg.nd4j.ir.VariableResolutionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT
DIRECT = 0;
ERROR_ON_NOT_EQUAL
ERROR_ON_NOT_EQUAL = 2;
OVERRIDE
OVERRIDE = 1;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DIRECT_VALUE
DIRECT = 0;
static int
ERROR_ON_NOT_EQUAL_VALUE
ERROR_ON_NOT_EQUAL = 2;
static int
OVERRIDE_VALUE
OVERRIDE = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MapperNamespace.VariableResolutionType
forNumber(int value)
static org.nd4j.shade.protobuf.Descriptors.EnumDescriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static org.nd4j.shade.protobuf.Internal.EnumLiteMap<MapperNamespace.VariableResolutionType>
internalGetValueMap()
static MapperNamespace.VariableResolutionType
valueOf(int value)
Deprecated.static MapperNamespace.VariableResolutionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MapperNamespace.VariableResolutionType
valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static MapperNamespace.VariableResolutionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT
public static final MapperNamespace.VariableResolutionType DIRECT
DIRECT = 0;
-
OVERRIDE
public static final MapperNamespace.VariableResolutionType OVERRIDE
OVERRIDE = 1;
-
ERROR_ON_NOT_EQUAL
public static final MapperNamespace.VariableResolutionType ERROR_ON_NOT_EQUAL
ERROR_ON_NOT_EQUAL = 2;
-
UNRECOGNIZED
public static final MapperNamespace.VariableResolutionType UNRECOGNIZED
-
-
Field Detail
-
DIRECT_VALUE
public static final int DIRECT_VALUE
DIRECT = 0;
- See Also:
- Constant Field Values
-
OVERRIDE_VALUE
public static final int OVERRIDE_VALUE
OVERRIDE = 1;
- See Also:
- Constant Field Values
-
ERROR_ON_NOT_EQUAL_VALUE
public static final int ERROR_ON_NOT_EQUAL_VALUE
ERROR_ON_NOT_EQUAL = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MapperNamespace.VariableResolutionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapperNamespace.VariableResolutionType c : MapperNamespace.VariableResolutionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapperNamespace.VariableResolutionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfaceorg.nd4j.shade.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static MapperNamespace.VariableResolutionType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static MapperNamespace.VariableResolutionType 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 org.nd4j.shade.protobuf.Internal.EnumLiteMap<MapperNamespace.VariableResolutionType> internalGetValueMap()
-
getValueDescriptor
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static MapperNamespace.VariableResolutionType valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-