Show / Hide Table of Contents

Namespace Google.Protobuf.Reflection

Classes

CustomOptions

Container for a set of custom options specified within a message, field etc.

DescriptorBase

Base class for nearly all descriptors, providing common functionality.

DescriptorDeclaration

Provides additional information about the declaration of a descriptor, such as source location and comments.

DescriptorValidationException

Thrown when building descriptors fails because the source DescriptorProtos are not valid.

EnumDescriptor

Descriptor for an enum type in a .proto file.

EnumValueDescriptor

Descriptor for a single enum value within an enum in a .proto file.

FieldDescriptor

Descriptor for a field or extension within a message in a .proto file.

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.

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.

MessageDescriptor

Describes a message type.

MessageDescriptor.FieldCollection

A collection to simplify retrieving the field accessor for a particular field.

MethodDescriptor

Describes a single method in a service.

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.

OriginalNameAttribute

Specifies the original name (in the .proto file) of a named element, such as an enum value.

ServiceDescriptor

Describes a service type.

TypeRegistry

An immutable registry of types which can be looked up by their full name.

Interfaces

IDescriptor

Interface implemented by all descriptor types.

IFieldAccessor

Allows fields to be reflectively accessed.

Enums

FieldType

Enumeration of all the possible field types.

Back to top