Google.Protobuf.Reflection
Namespace with 47 public types
Classes
CustomOptions
Container for a set of custom options specified within a message, field etc.
DescriptorDeclaration
Provides additional information about the declaration of a descriptor,
such as source location and comments.
DescriptorProto
Describes a message type.
DescriptorValidationException
Thrown when building descriptors fails because the source DescriptorProtos
are not valid.
EnumDescriptor
Descriptor for an enum type in a .proto file.
EnumDescriptorProto
Describes an enum type.
EnumOptions
EnumValueDescriptor
Descriptor for a single enum value within an enum in a .proto file.
EnumValueDescriptorProto
Describes a value within an enum.
EnumValueOptions
ExtensionCollection
A collection to simplify retrieving the descriptors of extensions in a descriptor for a message
ExtensionRangeOptions
FeatureSet
TODO Enums in C++ gencode (and potentially other languages) are
not well scoped. This means that each of the feature enums below can clash
with each other. The short names we've chosen maximize call-site
readability, but leave us very open to this scenario. A future feature will
be designed and implemented to handle this, hopefully before we ever hit a
conflict here.
FeatureSetDefaults
A compiled specification for the defaults of a set of features. These
messages are generated from FeatureSet extensions and can be used to seed
feature resolution. The resolution with this object becomes a simple search
for the closest matching edition, followed by proto merges.
FieldDescriptor
Descriptor for a field or extension within a message in a .proto file.
FieldDescriptorProto
Describes a field within a message.
FieldOptions
FileDescriptor
Describes a .proto file, including everything defined within.
IDescriptor is implemented such that the File property returns this descriptor,
and the FullName is the same as the Name.
FileDescriptorProto
Describes a complete .proto file.
FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto
files it parses.
FileOptions
GeneratedClrTypeInfo
Extra information provided by generated code when initializing a message or file descriptor.
These are constructed as required, and are not long-lived. Hand-written code should
never need to use this type.
GeneratedCodeInfo
Describes the relationship between generated code and its original source
file. A GeneratedCodeInfo message is associated with only one generated
source file, but may contain references to different source .proto files.
MessageDescriptor
Describes a message type.
MessageOptions
MethodDescriptor
Describes a single method in a service.
MethodDescriptorProto
Describes a method of a service.
MethodOptions
OneofAccessor
Reflection access for a oneof, allowing clear and "get case" actions.
OneofDescriptor
Describes a "oneof" field collection in a message type: a set of
fields of which at most one can be set in any particular message.
OneofDescriptorProto
Describes a oneof.
OneofOptions
OriginalNameAttribute
Specifies the original name (in the .proto file) of a named element,
such as an enum value.
ServiceDescriptor
Describes a service type.
ServiceDescriptorProto
Describes a service.
ServiceOptions
SourceCodeInfo
Encapsulates information about the original source file from which a
FileDescriptorProto was generated.
TypeRegistry
An immutable registry of types which can be looked up by their full name.
UninterpretedOption
A message representing a option the parser does not recognize. This only
appears in options protos created by the compiler::Parser class.
DescriptorPool resolves these when building Descriptor objects. Therefore,
options protos in descriptor objects (e.g. returned by Descriptor::options(),
or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
in them.
Enumerations
Edition
The full set of known editions.
FieldType
Enumeration of all the possible field types.
SymbolVisibility
Describes the 'visibility' of a symbol with respect to the proto import
system. Symbols can only be imported when the visibility rules do not prevent
it (ex: local symbols cannot be imported). Visibility modifiers can only set
on `message` and `enum` as they are the only types available to be referenced
from other files.
Syntax
The syntax of a .proto file
Static Classes
DescriptorReflection
Holder for reflection information generated from google/protobuf/descriptor.proto
Abstract Classes
DescriptorBase
Base class for nearly all descriptors, providing common functionality.
Interfaces
IDescriptor
Interface implemented by all descriptor types.
IFieldAccessor
Allows fields to be reflectively accessed.