public static enum DescriptorProtos.FeatureSet.RepeatedFieldEncoding extends Enum<DescriptorProtos.FeatureSet.RepeatedFieldEncoding> implements ProtocolMessageEnum
google.protobuf.FeatureSet.RepeatedFieldEncoding| Enum Constant and Description |
|---|
EXPANDED
EXPANDED = 2; |
PACKED
PACKED = 1; |
REPEATED_FIELD_ENCODING_UNKNOWN
REPEATED_FIELD_ENCODING_UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXPANDED_VALUE
EXPANDED = 2; |
static int |
PACKED_VALUE
PACKED = 1; |
static int |
REPEATED_FIELD_ENCODING_UNKNOWN_VALUE
REPEATED_FIELD_ENCODING_UNKNOWN = 0; |
public static final DescriptorProtos.FeatureSet.RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN
REPEATED_FIELD_ENCODING_UNKNOWN = 0;public static final DescriptorProtos.FeatureSet.RepeatedFieldEncoding PACKED
PACKED = 1;public static final DescriptorProtos.FeatureSet.RepeatedFieldEncoding EXPANDED
EXPANDED = 2;public static final int REPEATED_FIELD_ENCODING_UNKNOWN_VALUE
REPEATED_FIELD_ENCODING_UNKNOWN = 0;public static final int PACKED_VALUE
PACKED = 1;public static final int EXPANDED_VALUE
EXPANDED = 2;public static DescriptorProtos.FeatureSet.RepeatedFieldEncoding[] values()
for (DescriptorProtos.FeatureSet.RepeatedFieldEncoding c : DescriptorProtos.FeatureSet.RepeatedFieldEncoding.values()) System.out.println(c);
public static DescriptorProtos.FeatureSet.RepeatedFieldEncoding 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.RepeatedFieldEncoding valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DescriptorProtos.FeatureSet.RepeatedFieldEncoding forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<DescriptorProtos.FeatureSet.RepeatedFieldEncoding> 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.RepeatedFieldEncoding valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2008–2025. All rights reserved.