Google.Protobuf.Reflection.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.

Summary

Inheritance

Inherits from: Google.Protobuf.Reflection.DescriptorBase

Properties

Accessor
OneofAccessor
Gets an accessor for reflective access to the values associated with the oneof in a particular message.
ContainingType
MessageDescriptor
Gets the message type containing this oneof.
Fields
IList< FieldDescriptor >
Gets the fields within this oneof, in declaration order.
Name
override string
The brief name of the descriptor's target.

Properties

Accessor

OneofAccessor Accessor

Gets an accessor for reflective access to the values associated with the oneof in a particular message.

The accessor used for reflective access.

ContainingType

MessageDescriptor ContainingType

Gets the message type containing this oneof.

The message type containing this oneof.

Fields

IList< FieldDescriptor > Fields

Gets the fields within this oneof, in declaration order.

The fields within this oneof, in declaration order.

Name

override string Name

The brief name of the descriptor's target.