GitHub

ServiceDescriptor

API reference for ServiceDescriptor.

A resolved protobuf service: its name, file and methods.

Attributes

AttributeTypeDescription
type_namestr
namestr
fileFileDescriptor
protoServiceDescriptorProto
methodslist[MethodDescriptor] = field(default_factory=(lambda: []))

Functions

__init__

__init__(type_name, name, file, proto, methods=(lambda: [])()) -> None
ParameterTypeDescription
type_namestr
namestr
fileFileDescriptor
protoServiceDescriptorProto
methodslist[MethodDescriptor] = (lambda: [])()