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>
50 lines
2.0 KiB
Python
50 lines
2.0 KiB
Python
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 Feature(_message.Message):
|
|
__slots__ = ["location", "name"]
|
|
LOCATION_FIELD_NUMBER: _ClassVar[int]
|
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
location: Point
|
|
name: str
|
|
def __init__(self, name: _Optional[str] = ..., location: _Optional[_Union[Point, _Mapping]] = ...) -> None: ...
|
|
|
|
class Point(_message.Message):
|
|
__slots__ = ["latitude", "longitude"]
|
|
LATITUDE_FIELD_NUMBER: _ClassVar[int]
|
|
LONGITUDE_FIELD_NUMBER: _ClassVar[int]
|
|
latitude: int
|
|
longitude: int
|
|
def __init__(self, latitude: _Optional[int] = ..., longitude: _Optional[int] = ...) -> None: ...
|
|
|
|
class Rectangle(_message.Message):
|
|
__slots__ = ["hi", "lo"]
|
|
HI_FIELD_NUMBER: _ClassVar[int]
|
|
LO_FIELD_NUMBER: _ClassVar[int]
|
|
hi: Point
|
|
lo: Point
|
|
def __init__(self, lo: _Optional[_Union[Point, _Mapping]] = ..., hi: _Optional[_Union[Point, _Mapping]] = ...) -> None: ...
|
|
|
|
class RouteNote(_message.Message):
|
|
__slots__ = ["location", "message"]
|
|
LOCATION_FIELD_NUMBER: _ClassVar[int]
|
|
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
location: Point
|
|
message: str
|
|
def __init__(self, location: _Optional[_Union[Point, _Mapping]] = ..., message: _Optional[str] = ...) -> None: ...
|
|
|
|
class RouteSummary(_message.Message):
|
|
__slots__ = ["distance", "elapsed_time", "feature_count", "point_count"]
|
|
DISTANCE_FIELD_NUMBER: _ClassVar[int]
|
|
ELAPSED_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
FEATURE_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
POINT_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
distance: int
|
|
elapsed_time: int
|
|
feature_count: int
|
|
point_count: int
|
|
def __init__(self, point_count: _Optional[int] = ..., feature_count: _Optional[int] = ..., distance: _Optional[int] = ..., elapsed_time: _Optional[int] = ...) -> None: ...
|