Google.Protobuf.Reflection.ServiceDescriptor

Describes a service type.

Summary

Inheritance

Inherits from: Google.Protobuf.Reflection.DescriptorBase

Properties

Methods
IList< MethodDescriptor >
An unmodifiable list of methods in this service.
Name
override string
The brief name of the descriptor's target.
Proto
ServiceDescriptorProto

Public functions

FindMethodByName(String name)
MethodDescriptor
Finds a method by name.

Properties

Methods

IList< MethodDescriptor > Methods

An unmodifiable list of methods in this service.

Name

override string Name

The brief name of the descriptor's target.

Proto

ServiceDescriptorProto Proto

Public functions

FindMethodByName

MethodDescriptor FindMethodByName(
  String name
)

Finds a method by name.

Details
Parameters
name
The unqualified name of the method (e.g. "Foo").
Returns
The method's decsriptor, or null if not found.