Google.Protobuf.Reflection.ServiceDescriptor
Describes a service type.
namespace Google.Protobuf.Reflection
{
public sealed class ServiceDescriptor : DescriptorBase
{
public IList<MethodDescriptor> Methods { get; }
public CustomOptions CustomOptions { get; }
public ServiceDescriptorProto ToProto();
public MethodDescriptor FindMethodByName(string name);
public ServiceOptions GetOptions();
public T GetOption<T>(Extension<ServiceOptions, T> extension);
public RepeatedField<T> GetOption<T>(RepeatedExtension<ServiceOptions, T> extension);
}
}