Describes an RPC declaration in a protobuf source file.


  • DescMethod


deprecated: boolean

Marked as deprecated in the protobuf source.

idempotency?: MethodIdempotency

The idempotency level declared in the protobuf source, if any.

The message type for requests.

kind: "rpc"
methodKind: MethodKind

One of the four available method types.

name: string

The name of the RPC, as specified in the protobuf source.

output: DescMessage

The message type for responses.

parent: DescService

The parent service.

The compiler-generated descriptor.


  • Get comments on the element in the protobuf source.

    Returns DescComments

  • Returns string

Generated using TypeDoc