public static enum Version.VersionKind extends Enum<Version.VersionKind> implements ProtocolMessageEnum
Whether this is an ordinary package version or a sentinel MIN/MAX version.Protobuf enum
grafeas.v1.Version.VersionKind
Enum Constant and Description |
---|
MAXIMUM
A special version representing positive infinity.
|
MINIMUM
A special version representing negative infinity.
|
NORMAL
A standard package version.
|
UNRECOGNIZED |
VERSION_KIND_UNSPECIFIED
Unknown.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAXIMUM_VALUE
A special version representing positive infinity.
|
static int |
MINIMUM_VALUE
A special version representing negative infinity.
|
static int |
NORMAL_VALUE
A standard package version.
|
static int |
VERSION_KIND_UNSPECIFIED_VALUE
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static Version.VersionKind |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Version.VersionKind> |
internalGetValueMap() |
static Version.VersionKind |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Version.VersionKind |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Version.VersionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.VersionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.VersionKind VERSION_KIND_UNSPECIFIED
Unknown.
VERSION_KIND_UNSPECIFIED = 0;
public static final Version.VersionKind NORMAL
A standard package version.
NORMAL = 1;
public static final Version.VersionKind MINIMUM
A special version representing negative infinity.
MINIMUM = 2;
public static final Version.VersionKind MAXIMUM
A special version representing positive infinity.
MAXIMUM = 3;
public static final Version.VersionKind UNRECOGNIZED
public static final int VERSION_KIND_UNSPECIFIED_VALUE
Unknown.
VERSION_KIND_UNSPECIFIED = 0;
public static final int NORMAL_VALUE
A standard package version.
NORMAL = 1;
public static final int MINIMUM_VALUE
A special version representing negative infinity.
MINIMUM = 2;
public static final int MAXIMUM_VALUE
A special version representing positive infinity.
MAXIMUM = 3;
public static Version.VersionKind[] values()
for (Version.VersionKind c : Version.VersionKind.values()) System.out.println(c);
public static Version.VersionKind 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 Version.VersionKind valueOf(int value)
forNumber(int)
instead.public static Version.VersionKind forNumber(int value)
public static Internal.EnumLiteMap<Version.VersionKind> 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 Version.VersionKind valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.