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