public static enum DescriptorProtos.ExtensionRangeOptions.VerificationState extends Enum<DescriptorProtos.ExtensionRangeOptions.VerificationState> implements ProtocolMessageEnum
The verification state of the extension range.Protobuf enum
google.protobuf.ExtensionRangeOptions.VerificationState
Enum Constant and Description |
---|
DECLARATION
All the extensions of the range must be declared.
|
UNVERIFIED
UNVERIFIED = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
DECLARATION_VALUE
All the extensions of the range must be declared.
|
static int |
UNVERIFIED_VALUE
UNVERIFIED = 1; |
public static final DescriptorProtos.ExtensionRangeOptions.VerificationState DECLARATION
All the extensions of the range must be declared.
DECLARATION = 0;
public static final DescriptorProtos.ExtensionRangeOptions.VerificationState UNVERIFIED
UNVERIFIED = 1;
public static final int DECLARATION_VALUE
All the extensions of the range must be declared.
DECLARATION = 0;
public static final int UNVERIFIED_VALUE
UNVERIFIED = 1;
public static DescriptorProtos.ExtensionRangeOptions.VerificationState[] values()
for (DescriptorProtos.ExtensionRangeOptions.VerificationState c : DescriptorProtos.ExtensionRangeOptions.VerificationState.values()) System.out.println(c);
public static DescriptorProtos.ExtensionRangeOptions.VerificationState 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()
ProtocolMessageEnum
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static DescriptorProtos.ExtensionRangeOptions.VerificationState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static DescriptorProtos.ExtensionRangeOptions.VerificationState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<DescriptorProtos.ExtensionRangeOptions.VerificationState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
ProtocolMessageEnum
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
ProtocolMessageEnum
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static DescriptorProtos.ExtensionRangeOptions.VerificationState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2024. All rights reserved.