A resolved protobuf service: its name, file and methods.
Attributes#
| Attribute | Type | Description |
|---|---|---|
type_name | str | |
name | str | |
file | FileDescriptor | |
proto | ServiceDescriptorProto | |
methods | list[MethodDescriptor] = field(default_factory=(lambda: [])) |
Functions#
__init__#
__init__(type_name, name, file, proto, methods=(lambda: [])()) -> None| Parameter | Type | Description |
|---|---|---|
type_name | str | |
name | str | |
file | FileDescriptor | |
proto | ServiceDescriptorProto | |
methods | list[MethodDescriptor] = (lambda: [])() |