<PackageReference Include="Google.Protobuf" Version="3.34.1" />

Google.Protobuf.Reflection.MethodDescriptorProto

Describes a method of a service.
public const int ClientStreamingFieldNumber = 5

Field number for the "client_streaming" field.

public const int InputTypeFieldNumber = 2

Field number for the "input_type" field.

public const int NameFieldNumber = 1

Field number for the "name" field.

public const int OptionsFieldNumber = 4

Field number for the "options" field.

public const int OutputTypeFieldNumber = 3

Field number for the "output_type" field.

public const int ServerStreamingFieldNumber = 6

Field number for the "server_streaming" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<MethodDescriptorProto> Parser { get; }

public bool ClientStreaming { get; set; }

Identifies if client streams multiple client messages

public bool HasClientStreaming { get; }

Gets whether the "client_streaming" field is set

public bool HasInputType { get; }

Gets whether the "input_type" field is set

public bool HasName { get; }

Gets whether the "name" field is set

public bool HasOutputType { get; }

Gets whether the "output_type" field is set

public bool HasServerStreaming { get; }

Gets whether the "server_streaming" field is set

public string InputType { get; set; }

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

public string Name { get; set; }

public MethodOptions Options { get; set; }

public string OutputType { get; set; }

public bool ServerStreaming { get; set; }

Identifies if server streams multiple server messages

public int CalculateSize()

public void ClearClientStreaming()

Clears the value of the "client_streaming" field

public void ClearInputType()

Clears the value of the "input_type" field

public void ClearName()

Clears the value of the "name" field

public void ClearOutputType()

Clears the value of the "output_type" field

public void ClearServerStreaming()

Clears the value of the "server_streaming" field

public bool Equals(MethodDescriptorProto other)

public void MergeFrom(MethodDescriptorProto other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)