Google.Protobuf.WellKnownTypes.Method
public sealed class Method : IMessage<Method>, IMessage, IEquatable<Method>, IDeepCloneable<Method>, IBufferMessage
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.
Field number for the "edition" field.
Field number for the "name" field.
Field number for the "options" field.
Field number for the "request_streaming" field.
Field number for the "request_type_url" field.
Field number for the "response_streaming" field.
Field number for the "response_type_url" field.
Field number for the "syntax" field.
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.
The simple name of this method.
Any metadata attached to the method.
If true, the request is streamed.
A URL of the input message type.
If true, the response is streamed.
The URL of the output message type.
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.
public Method()