mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-25 17:42:16 +01:00
* Update third_party/protobuf * run tools/distrib/python/make_grpcio_tools.py * regenerate protos for ruby, php * update build_handwritten.yaml * regenerate projects * Build - Use :well_known_type_protos instead of :well_known_protos * Fix target * Update upb * Update Python for Protobuf 4.21 (#140) * Update protobuf dependency on grpcio-tools * Off by one * Drop python 3.6 support * Try upgrading pip * And in the other script * Try to figure out if we're compatible with abi3 * See what we've already got installed * Update the requirements.txt file I didn't know existed * And here too * See what's installed * Let's try that again * Remove * Try to confirm version * Let me see the generated code * Fix non-Bazel test runner * Work for all test directories * Regenerate example protos * Clean up * Generate .pyi files * Fix type checking and linting * Exclude pyi files from isort * Upgrade to 3.21.4 * Update iwyu to get around messy protobuf IWYU rules Co-authored-by: Richard Belleville <gnossen@gmail.com>
41 lines
1.6 KiB
Python
41 lines
1.6 KiB
Python
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
|
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
|
|
class CallInfo(_message.Message):
|
|
__slots__ = ["media", "session_id"]
|
|
MEDIA_FIELD_NUMBER: _ClassVar[int]
|
|
SESSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
media: str
|
|
session_id: str
|
|
def __init__(self, session_id: _Optional[str] = ..., media: _Optional[str] = ...) -> None: ...
|
|
|
|
class CallState(_message.Message):
|
|
__slots__ = ["state"]
|
|
class State(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
__slots__ = []
|
|
ACTIVE: CallState.State
|
|
ENDED: CallState.State
|
|
NEW: CallState.State
|
|
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
UNDEFINED: CallState.State
|
|
state: CallState.State
|
|
def __init__(self, state: _Optional[_Union[CallState.State, str]] = ...) -> None: ...
|
|
|
|
class StreamCallRequest(_message.Message):
|
|
__slots__ = ["phone_number"]
|
|
PHONE_NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
phone_number: str
|
|
def __init__(self, phone_number: _Optional[str] = ...) -> None: ...
|
|
|
|
class StreamCallResponse(_message.Message):
|
|
__slots__ = ["call_info", "call_state"]
|
|
CALL_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
CALL_STATE_FIELD_NUMBER: _ClassVar[int]
|
|
call_info: CallInfo
|
|
call_state: CallState
|
|
def __init__(self, call_info: _Optional[_Union[CallInfo, _Mapping]] = ..., call_state: _Optional[_Union[CallState, _Mapping]] = ...) -> None: ...
|