Class MethodDescriptor
Inheritance
MethodDescriptor
Assembly: Google.Protobuf.dll
Syntax
public sealed class MethodDescriptor : DescriptorBase, IDescriptor
Properties
CustomOptions
Declaration
[Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
public CustomOptions CustomOptions { get; }
Property Value
Declaration
public MessageDescriptor InputType { get; }
Property Value
IsClientStreaming
Declaration
public bool IsClientStreaming { get; }
Property Value
IsServerStreaming
Declaration
public bool IsServerStreaming { get; }
Property Value
Name
Declaration
public override string Name { get; }
Property Value
Overrides
OutputType
Declaration
public MessageDescriptor OutputType { get; }
Property Value
Service
Declaration
public ServiceDescriptor Service { get; }
Property Value
Methods
GetOption<T>(Extension<MethodOptions, T>)
Declaration
[Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
public T GetOption<T>(Extension<MethodOptions, T> extension)
Parameters
Returns
Type Parameters
GetOption<T>(RepeatedExtension<MethodOptions, T>)
Declaration
[Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
public RepeatedField<T> GetOption<T>(RepeatedExtension<MethodOptions, T> extension)
Parameters
Returns
Type Parameters
GetOptions()
Declaration
public MethodOptions GetOptions()
Returns
ToProto()
Declaration
public MethodDescriptorProto ToProto()
Returns
Implements