webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Properties | List of all members
Google.Protobuf.Reflection.OneofAccessor Class Reference

Reflection access for a oneof, allowing clear and "get case" actions. More...

Public Member Functions

void Clear (IMessage message)
 Clears the oneof in the specified message. More...
 
FieldDescriptor GetCaseFieldDescriptor (IMessage message)
 Indicates which field in the oneof is set for specified message More...
 

Properties

OneofDescriptor Descriptor [get]
 Gets the descriptor for this oneof. More...
 

Detailed Description

Reflection access for a oneof, allowing clear and "get case" actions.

Member Function Documentation

◆ Clear()

void Google.Protobuf.Reflection.OneofAccessor.Clear ( IMessage  message)
inline

Clears the oneof in the specified message.

◆ GetCaseFieldDescriptor()

FieldDescriptor Google.Protobuf.Reflection.OneofAccessor.GetCaseFieldDescriptor ( IMessage  message)
inline

Indicates which field in the oneof is set for specified message

Property Documentation

◆ Descriptor

OneofDescriptor Google.Protobuf.Reflection.OneofAccessor.Descriptor
get

Gets the descriptor for this oneof.

The descriptor of the oneof.


The documentation for this class was generated from the following file: