Package flyteidl.core
Enum Tasks.Container.Architecture
- java.lang.Object
-
- java.lang.Enum<Tasks.Container.Architecture>
-
- flyteidl.core.Tasks.Container.Architecture
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Tasks.Container.Architecture>
- Enclosing class:
- Tasks.Container
public static enum Tasks.Container.Architecture extends Enum<Tasks.Container.Architecture> implements com.google.protobuf.ProtocolMessageEnum
Architecture-type the container image supports.
Protobuf enumflyteidl.core.Container.Architecture
-
-
Field Summary
Fields Modifier and Type Field Description static intAMD64_VALUEAMD64 = 1;static intARM_V6_VALUEARM_V6 = 3;static intARM_V7_VALUEARM_V7 = 4;static intARM64_VALUEARM64 = 2;private static com.google.protobuf.Internal.EnumLiteMap<Tasks.Container.Architecture>internalValueMapstatic intUNKNOWN_VALUEUNKNOWN = 0;private intvalueprivate static Tasks.Container.Architecture[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateArchitecture(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Tasks.Container.ArchitectureforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Tasks.Container.Architecture>internalGetValueMap()static Tasks.Container.ArchitecturevalueOf(int value)Deprecated.static Tasks.Container.ArchitecturevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Tasks.Container.ArchitecturevalueOf(String name)Returns the enum constant of this type with the specified name.static Tasks.Container.Architecture[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Tasks.Container.Architecture UNKNOWN
UNKNOWN = 0;
-
AMD64
public static final Tasks.Container.Architecture AMD64
AMD64 = 1;
-
ARM64
public static final Tasks.Container.Architecture ARM64
ARM64 = 2;
-
ARM_V6
public static final Tasks.Container.Architecture ARM_V6
ARM_V6 = 3;
-
ARM_V7
public static final Tasks.Container.Architecture ARM_V7
ARM_V7 = 4;
-
UNRECOGNIZED
public static final Tasks.Container.Architecture UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
AMD64_VALUE
public static final int AMD64_VALUE
AMD64 = 1;- See Also:
- Constant Field Values
-
ARM64_VALUE
public static final int ARM64_VALUE
ARM64 = 2;- See Also:
- Constant Field Values
-
ARM_V6_VALUE
public static final int ARM_V6_VALUE
ARM_V6 = 3;- See Also:
- Constant Field Values
-
ARM_V7_VALUE
public static final int ARM_V7_VALUE
ARM_V7 = 4;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Tasks.Container.Architecture> internalValueMap
-
VALUES
private static final Tasks.Container.Architecture[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Tasks.Container.Architecture[] 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 (Tasks.Container.Architecture c : Tasks.Container.Architecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tasks.Container.Architecture 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Tasks.Container.Architecture 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 Tasks.Container.Architecture 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<Tasks.Container.Architecture> 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 Tasks.Container.Architecture valueOf(com.google.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
-
-