Interface Internal.EnumLite

All Known Subinterfaces:
ProtocolMessageEnum
All Known Implementing Classes:
DescriptorProtos.Edition, DescriptorProtos.ExtensionRangeOptions.VerificationState, DescriptorProtos.FeatureSet.EnforceNamingStyle, DescriptorProtos.FeatureSet.EnumType, DescriptorProtos.FeatureSet.FieldPresence, DescriptorProtos.FeatureSet.JsonFormat, DescriptorProtos.FeatureSet.MessageEncoding, DescriptorProtos.FeatureSet.RepeatedFieldEncoding, DescriptorProtos.FeatureSet.Utf8Validation, DescriptorProtos.FeatureSet.VisibilityFeature.DefaultSymbolVisibility, DescriptorProtos.FieldDescriptorProto.Label, DescriptorProtos.FieldDescriptorProto.Type, DescriptorProtos.FieldOptions.CType, DescriptorProtos.FieldOptions.JSType, DescriptorProtos.FieldOptions.OptionRetention, DescriptorProtos.FieldOptions.OptionTargetType, DescriptorProtos.FileOptions.OptimizeMode, DescriptorProtos.GeneratedCodeInfo.Annotation.Semantic, DescriptorProtos.MethodOptions.IdempotencyLevel, DescriptorProtos.SymbolVisibility, Descriptors.EnumValueDescriptor, Field.Cardinality, Field.Kind, JavaFeaturesProto.JavaFeatures.NestInFileClassFeature.NestInFileClass, JavaFeaturesProto.JavaFeatures.Utf8Validation, Log.OneofCase, Log.Severity, NullValue, PluginProtos.CodeGeneratorResponse.Feature, Syntax, Value.KindCase, Value.KindCase
Enclosing class:
Internal

public static interface Internal.EnumLite
Interface for an enum value or value descriptor, to be used in FieldSet. The lite library stores enum values directly in FieldSets but the full library stores EnumValueDescriptors in order to better support reflection.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
  • Method Details

    • getNumber

      int getNumber()