<PackageReference Include="Google.Protobuf" Version="3.34.0-rc2" />

Google.Protobuf.WellKnownTypes.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.
public const int EditionFieldNumber = 8

Field number for the "edition" field.

public const int NameFieldNumber = 1

Field number for the "name" field.

public const int OptionsFieldNumber = 6

Field number for the "options" field.

public const int RequestStreamingFieldNumber = 3

Field number for the "request_streaming" field.

public const int RequestTypeUrlFieldNumber = 2

Field number for the "request_type_url" field.

public const int ResponseStreamingFieldNumber = 5

Field number for the "response_streaming" field.

public const int ResponseTypeUrlFieldNumber = 4

Field number for the "response_type_url" field.

public const int SyntaxFieldNumber = 7

Field number for the "syntax" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<Method> Parser { get; }

public string Edition { get; set; }

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.

public string Name { get; set; }

The simple name of this method.

public RepeatedField<Option> Options { get; }

Any metadata attached to the method.

public bool RequestStreaming { get; set; }

If true, the request is streamed.

public string RequestTypeUrl { get; set; }

A URL of the input message type.

public bool ResponseStreaming { get; set; }

If true, the response is streamed.

public string ResponseTypeUrl { get; set; }

The URL of the output message type.

public Syntax Syntax { get; set; }

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()

public Method(Method other)

public int CalculateSize()

public Method Clone()

public bool Equals(Method other)

public void MergeFrom(Method other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)