Package com.google.protobuf
Class Descriptors.DescriptorPool.PackageDescriptor
java.lang.Object
com.google.protobuf.Descriptors.GenericDescriptor
com.google.protobuf.Descriptors.DescriptorPool.PackageDescriptor
- Enclosing class:
Descriptors.DescriptorPool
private static final class Descriptors.DescriptorPool.PackageDescriptor
extends Descriptors.GenericDescriptor
Represents a package in the symbol table. We use PackageDescriptors just as placeholders so
that someone cannot define, say, a message type that has the same name as an existing
package.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Descriptors.FileDescriptor
private final String
private final String
Fields inherited from class com.google.protobuf.Descriptors.GenericDescriptor
features, parent
-
Constructor Summary
ConstructorsConstructorDescriptionPackageDescriptor
(String name, String fullName, Descriptors.FileDescriptor file) -
Method Summary
Methods inherited from class com.google.protobuf.Descriptors.GenericDescriptor
getFeatures, hasInferredLegacyProtoFeatures, inferLegacyProtoFeatures, resolveFeatures, validateFeatures
-
Field Details
-
name
-
fullName
-
file
-
-
Constructor Details
-
PackageDescriptor
PackageDescriptor(String name, String fullName, Descriptors.FileDescriptor file)
-
-
Method Details
-
toProto
- Specified by:
toProto
in classDescriptors.GenericDescriptor
-
getName
- Specified by:
getName
in classDescriptors.GenericDescriptor
-
getFullName
- Specified by:
getFullName
in classDescriptors.GenericDescriptor
-
getFile
- Specified by:
getFile
in classDescriptors.GenericDescriptor
-