Package com.google.cloud.vmmigration.v1
Enum AwsVmDetails.VmArchitecture
- java.lang.Object
-
- java.lang.Enum<AwsVmDetails.VmArchitecture>
-
- com.google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AwsVmDetails.VmArchitecture>
- Enclosing class:
- AwsVmDetails
public static enum AwsVmDetails.VmArchitecture extends Enum<AwsVmDetails.VmArchitecture> implements com.google.protobuf.ProtocolMessageEnum
Possible values for the architectures of the VM.
Protobuf enumgoogle.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARM64
The architecture is ARM64.I386
The architecture is I386.UNRECOGNIZED
VM_ARCHITECTURE_UNSPECIFIED
The architecture is unknown.X86_64
The architecture is X86_64.X86_64_MAC
The architecture is X86_64_MAC.
-
Field Summary
Fields Modifier and Type Field Description static int
ARM64_VALUE
The architecture is ARM64.static int
I386_VALUE
The architecture is I386.static int
VM_ARCHITECTURE_UNSPECIFIED_VALUE
The architecture is unknown.static int
X86_64_MAC_VALUE
The architecture is X86_64_MAC.static int
X86_64_VALUE
The architecture is X86_64.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AwsVmDetails.VmArchitecture
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<AwsVmDetails.VmArchitecture>
internalGetValueMap()
static AwsVmDetails.VmArchitecture
valueOf(int value)
Deprecated.static AwsVmDetails.VmArchitecture
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AwsVmDetails.VmArchitecture
valueOf(String name)
Returns the enum constant of this type with the specified name.static AwsVmDetails.VmArchitecture[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VM_ARCHITECTURE_UNSPECIFIED
public static final AwsVmDetails.VmArchitecture VM_ARCHITECTURE_UNSPECIFIED
The architecture is unknown.
VM_ARCHITECTURE_UNSPECIFIED = 0;
-
I386
public static final AwsVmDetails.VmArchitecture I386
The architecture is I386.
I386 = 1;
-
X86_64
public static final AwsVmDetails.VmArchitecture X86_64
The architecture is X86_64.
X86_64 = 2;
-
ARM64
public static final AwsVmDetails.VmArchitecture ARM64
The architecture is ARM64.
ARM64 = 3;
-
X86_64_MAC
public static final AwsVmDetails.VmArchitecture X86_64_MAC
The architecture is X86_64_MAC.
X86_64_MAC = 4;
-
UNRECOGNIZED
public static final AwsVmDetails.VmArchitecture UNRECOGNIZED
-
-
Field Detail
-
VM_ARCHITECTURE_UNSPECIFIED_VALUE
public static final int VM_ARCHITECTURE_UNSPECIFIED_VALUE
The architecture is unknown.
VM_ARCHITECTURE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
I386_VALUE
public static final int I386_VALUE
The architecture is I386.
I386 = 1;
- See Also:
- Constant Field Values
-
X86_64_VALUE
public static final int X86_64_VALUE
The architecture is X86_64.
X86_64 = 2;
- See Also:
- Constant Field Values
-
ARM64_VALUE
public static final int ARM64_VALUE
The architecture is ARM64.
ARM64 = 3;
- See Also:
- Constant Field Values
-
X86_64_MAC_VALUE
public static final int X86_64_MAC_VALUE
The architecture is X86_64_MAC.
X86_64_MAC = 4;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AwsVmDetails.VmArchitecture[] 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 (AwsVmDetails.VmArchitecture c : AwsVmDetails.VmArchitecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsVmDetails.VmArchitecture 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 interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AwsVmDetails.VmArchitecture 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 AwsVmDetails.VmArchitecture 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<AwsVmDetails.VmArchitecture> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AwsVmDetails.VmArchitecture 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
-
-