|
| 1 | +from google.api import annotations_pb2 as _annotations_pb2 |
| 2 | +from google.protobuf.internal import containers as _containers |
| 3 | +from google.protobuf import descriptor as _descriptor |
| 4 | +from google.protobuf import message as _message |
| 5 | +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union |
| 6 | + |
| 7 | +DESCRIPTOR: _descriptor.FileDescriptor |
| 8 | + |
| 9 | +class Employee(_message.Message): |
| 10 | + __slots__ = ["birthday", "full_name", "id"] |
| 11 | + BIRTHDAY_FIELD_NUMBER: _ClassVar[int] |
| 12 | + FULL_NAME_FIELD_NUMBER: _ClassVar[int] |
| 13 | + ID_FIELD_NUMBER: _ClassVar[int] |
| 14 | + birthday: str |
| 15 | + full_name: str |
| 16 | + id: int |
| 17 | + def __init__(self, id: _Optional[int] = ..., full_name: _Optional[str] = ..., birthday: _Optional[str] = ...) -> None: ... |
| 18 | + |
| 19 | +class GetEmployeeRequest(_message.Message): |
| 20 | + __slots__ = ["short_name"] |
| 21 | + SHORT_NAME_FIELD_NUMBER: _ClassVar[int] |
| 22 | + short_name: str |
| 23 | + def __init__(self, short_name: _Optional[str] = ...) -> None: ... |
| 24 | + |
| 25 | +class GetEmployeeResponse(_message.Message): |
| 26 | + __slots__ = ["employee"] |
| 27 | + EMPLOYEE_FIELD_NUMBER: _ClassVar[int] |
| 28 | + employee: Employee |
| 29 | + def __init__(self, employee: _Optional[_Union[Employee, _Mapping]] = ...) -> None: ... |
| 30 | + |
| 31 | +class ListEmployeesRequest(_message.Message): |
| 32 | + __slots__ = [] |
| 33 | + def __init__(self) -> None: ... |
| 34 | + |
| 35 | +class ListEmployeesResponse(_message.Message): |
| 36 | + __slots__ = ["short_names"] |
| 37 | + SHORT_NAMES_FIELD_NUMBER: _ClassVar[int] |
| 38 | + short_names: _containers.RepeatedScalarFieldContainer[str] |
| 39 | + def __init__(self, short_names: _Optional[_Iterable[str]] = ...) -> None: ... |
0 commit comments