Describes a method of a service.

interface MethodDescriptorProto {
    clientStreaming: boolean;
    inputType: string;
    name: string;
    options?: MethodOptions;
    outputType: string;
    serverStreaming: boolean;
}

Properties

clientStreaming: boolean

Identifies if client streams multiple client messages

inputType: string

Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.

name: string
options?: MethodOptions
outputType: string
serverStreaming: boolean

Identifies if server streams multiple server messages