Reflection access for a oneof, allowing clear and "get case" actions.
Properties |
|
---|---|
Descriptor
|
Gets the descriptor for this oneof.
|
Public functions |
|
---|---|
Clear(IMessage message)
|
void
Clears the oneof in the specified message.
|
GetCaseFieldDescriptor(IMessage message)
|
Indicates which field in the oneof is set for specified message
|
OneofDescriptor Descriptor
Gets the descriptor for this oneof.
The descriptor of the oneof.
FieldDescriptor GetCaseFieldDescriptor( IMessage message )
Indicates which field in the oneof is set for specified message