Package udpa.annotations
Enum Status.PackageVersionStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Status.PackageVersionStatus>
- Enclosing class:
Status
public static enum Status.PackageVersionStatus
extends Enum<Status.PackageVersionStatus>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
udpa.annotations.PackageVersionStatus
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis version of the package is the active development version.This version of the package is frozen.This version of the package is the candidate for the next major version.Unknown package version status. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
This version of the package is the active development version.static final int
This version of the package is frozen.private static final com.google.protobuf.Internal.EnumLiteMap
<Status.PackageVersionStatus> static final int
This version of the package is the candidate for the next major version.static final int
Unknown package version status.private final int
private static final Status.PackageVersionStatus[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Status.PackageVersionStatus
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<Status.PackageVersionStatus> static Status.PackageVersionStatus
valueOf
(int value) Deprecated.static Status.PackageVersionStatus
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Status.PackageVersionStatus
Returns the enum constant of this type with the specified name.static Status.PackageVersionStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown package version status.
UNKNOWN = 0;
-
FROZEN
This version of the package is frozen.
FROZEN = 1;
-
ACTIVE
This version of the package is the active development version.
ACTIVE = 2;
-
NEXT_MAJOR_VERSION_CANDIDATE
This version of the package is the candidate for the next major version. It is typically machine generated from the active development version.
NEXT_MAJOR_VERSION_CANDIDATE = 3;
-
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUnknown package version status.
UNKNOWN = 0;
- See Also:
-
FROZEN_VALUE
public static final int FROZEN_VALUEThis version of the package is frozen.
FROZEN = 1;
- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEThis version of the package is the active development version.
ACTIVE = 2;
- See Also:
-
NEXT_MAJOR_VERSION_CANDIDATE_VALUE
public static final int NEXT_MAJOR_VERSION_CANDIDATE_VALUEThis version of the package is the candidate for the next major version. It is typically machine generated from the active development version.
NEXT_MAJOR_VERSION_CANDIDATE = 3;
- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Status.PackageVersionStatus> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
PackageVersionStatus
private PackageVersionStatus(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- 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<Status.PackageVersionStatus> 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 Status.PackageVersionStatus 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
-