public static enum DescriptorProtos.FeatureSet.Utf8Validation extends Enum<DescriptorProtos.FeatureSet.Utf8Validation> implements ProtocolMessageEnum
google.protobuf.FeatureSet.Utf8Validation| Enum Constant and Description |
|---|
NONE
NONE = 1; |
UTF8_VALIDATION_UNKNOWN
UTF8_VALIDATION_UNKNOWN = 0; |
VERIFY
VERIFY = 2; |
| Modifier and Type | Field and Description |
|---|---|
static int |
NONE_VALUE
NONE = 1; |
static int |
UTF8_VALIDATION_UNKNOWN_VALUE
UTF8_VALIDATION_UNKNOWN = 0; |
static int |
VERIFY_VALUE
VERIFY = 2; |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorProtos.FeatureSet.Utf8Validation |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType()
Return the enum type's descriptor, which contains information about each defined value, etc.
|
int |
getNumber()
Return the value's numeric value as defined in the .proto file.
|
Descriptors.EnumValueDescriptor |
getValueDescriptor()
Return the value's descriptor, which contains information such as value name, number, and type.
|
static Internal.EnumLiteMap<DescriptorProtos.FeatureSet.Utf8Validation> |
internalGetValueMap() |
static DescriptorProtos.FeatureSet.Utf8Validation |
valueOf(Descriptors.EnumValueDescriptor desc) |
static DescriptorProtos.FeatureSet.Utf8Validation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DescriptorProtos.FeatureSet.Utf8Validation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescriptorProtos.FeatureSet.Utf8Validation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescriptorProtos.FeatureSet.Utf8Validation UTF8_VALIDATION_UNKNOWN
UTF8_VALIDATION_UNKNOWN = 0;public static final DescriptorProtos.FeatureSet.Utf8Validation NONE
NONE = 1;public static final DescriptorProtos.FeatureSet.Utf8Validation VERIFY
VERIFY = 2;public static final int UTF8_VALIDATION_UNKNOWN_VALUE
UTF8_VALIDATION_UNKNOWN = 0;public static final int NONE_VALUE
NONE = 1;public static final int VERIFY_VALUE
VERIFY = 2;public static DescriptorProtos.FeatureSet.Utf8Validation[] values()
for (DescriptorProtos.FeatureSet.Utf8Validation c : DescriptorProtos.FeatureSet.Utf8Validation.values()) System.out.println(c);
public static DescriptorProtos.FeatureSet.Utf8Validation 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()
ProtocolMessageEnumgetNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static DescriptorProtos.FeatureSet.Utf8Validation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DescriptorProtos.FeatureSet.Utf8Validation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<DescriptorProtos.FeatureSet.Utf8Validation> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
ProtocolMessageEnumgetValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
ProtocolMessageEnumgetDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static DescriptorProtos.FeatureSet.Utf8Validation valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2025. All rights reserved.