Describes a oneof group in a protobuf source file.

Hierarchy

  • DescOneof

Properties

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.

Methods

  • Get comments on the element in the protobuf source.

    Returns DescComments

  • Returns string

Generated using TypeDoc