Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

Message in google.protobuf

Method

google.protobuf.Method

Method represents a method of an API interface.

New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.

Fields

FieldTypeNumberDescription
namestring1

The simple name of this method.

request_type_urlstring2

A URL of the input message type.

request_streamingbool3

If true, the request is streamed.

response_type_urlstring4

The URL of the output message type.

response_streamingbool5

If true, the response is streamed.

optionsrepeatedOption6

Any metadata attached to the method.

syntaxDeprecatedSyntax7

The source syntax of this method.

This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.

editionDeprecatedstring8

The source edition string, only valid when syntax is SYNTAX_EDITIONS.

This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.

Used by

Defined in google/protobuf/api.proto