Describes a oneof group in a protobuf source file.


  • DescOneof


deprecated: boolean

Marked as deprecated in the protobuf source. Note that oneof groups cannot be marked as deprecated, this property only exists for consistency and will always be false.

fields: DescField[]

The fields declared in this oneof group.

kind: "oneof"
name: string

The name of the oneof group, as specified in the protobuf source.

parent: DescMessage

The message this oneof group was declared in.

The compiler-generated descriptor.


  • Get comments on the element in the protobuf source.

    Returns DescComments

  • Returns string

Generated using TypeDoc