public enum Architecture extends Enum<Architecture> implements ProtocolMessageEnum
Instruction set architectures supported by various package managers.Protobuf enum
grafeas.v1.Architecture
Enum Constant and Description |
---|
ARCHITECTURE_UNSPECIFIED
Unknown architecture.
|
UNRECOGNIZED |
X64
X64 architecture.
|
X86
X86 architecture.
|
Modifier and Type | Field and Description |
---|---|
static int |
ARCHITECTURE_UNSPECIFIED_VALUE
Unknown architecture.
|
static int |
X64_VALUE
X64 architecture.
|
static int |
X86_VALUE
X86 architecture.
|
Modifier and Type | Method and Description |
---|---|
static Architecture |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Architecture> |
internalGetValueMap() |
static Architecture |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Architecture |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Architecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Architecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Architecture ARCHITECTURE_UNSPECIFIED
Unknown architecture.
ARCHITECTURE_UNSPECIFIED = 0;
public static final Architecture X86
X86 architecture.
X86 = 1;
public static final Architecture X64
X64 architecture.
X64 = 2;
public static final Architecture UNRECOGNIZED
public static final int ARCHITECTURE_UNSPECIFIED_VALUE
Unknown architecture.
ARCHITECTURE_UNSPECIFIED = 0;
public static final int X86_VALUE
X86 architecture.
X86 = 1;
public static final int X64_VALUE
X64 architecture.
X64 = 2;
public static Architecture[] values()
for (Architecture c : Architecture.values()) System.out.println(c);
public static Architecture valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Architecture valueOf(int value)
forNumber(int)
instead.public static Architecture forNumber(int value)
public static Internal.EnumLiteMap<Architecture> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Architecture valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.