Describes a method of a service.

from message google.protobuf.MethodDescriptorProto

Hierarchy

Constructors

Properties

clientStreaming?: boolean

Identifies if client streams multiple client messages

from field: optional bool client_streaming = 5 [default = false];

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.

from field: optional string input_type = 2;

name?: string

from field: optional string name = 1;

options?: MethodOptions

from field: optional google.protobuf.MethodOptions options = 4;

outputType?: string

from field: optional string output_type = 3;

serverStreaming?: boolean

Identifies if server streams multiple server messages

from field: optional bool server_streaming = 6 [default = false];

fields: FieldList = ...
runtime: ProtoRuntime = proto2
typeName: "google.protobuf.MethodDescriptorProto" = "google.protobuf.MethodDescriptorProto"

Methods