From 193b5047b588d1905fa67d8e30564efec1800e04 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sat, 17 Oct 2020 12:27:06 +0200 Subject: [PATCH] Add missing stubs Due to a misconfiguration of .gitignore, these stubs weren't included in the previous update. --- .gitignore | 1 + google-stubs/longrunning/operations_grpc.pyi | 1 + .../longrunning/operations_grpc_pb2.pyi | 10 + google-stubs/longrunning/operations_proto.pyi | 1 + .../longrunning/operations_proto_pb2.pyi | 200 +++++++++ google-stubs/rpc/context/__init__.pyi | 0 .../rpc/context/attribute_context_pb2.pyi | 405 ++++++++++++++++++ google-stubs/type/datetime_pb2.pyi | 107 +++++ google-stubs/type/month_pb2.pyi | 53 +++ 9 files changed, 778 insertions(+) create mode 100644 google-stubs/longrunning/operations_grpc.pyi create mode 100644 google-stubs/longrunning/operations_grpc_pb2.pyi create mode 100644 google-stubs/longrunning/operations_proto.pyi create mode 100644 google-stubs/longrunning/operations_proto_pb2.pyi create mode 100644 google-stubs/rpc/context/__init__.pyi create mode 100644 google-stubs/rpc/context/attribute_context_pb2.pyi create mode 100644 google-stubs/type/datetime_pb2.pyi create mode 100644 google-stubs/type/month_pb2.pyi diff --git a/.gitignore b/.gitignore index 1b1d54e..973701c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ * +!*/ !/.gitignore !/google-stubs/** !/pyproject.toml diff --git a/google-stubs/longrunning/operations_grpc.pyi b/google-stubs/longrunning/operations_grpc.pyi new file mode 100644 index 0000000..4a9a519 --- /dev/null +++ b/google-stubs/longrunning/operations_grpc.pyi @@ -0,0 +1 @@ +from google.longrunning.operations_grpc_pb2 import * diff --git a/google-stubs/longrunning/operations_grpc_pb2.pyi b/google-stubs/longrunning/operations_grpc_pb2.pyi new file mode 100644 index 0000000..1a36e54 --- /dev/null +++ b/google-stubs/longrunning/operations_grpc_pb2.pyi @@ -0,0 +1,10 @@ +from typing import Any + +from google.longrunning.operations_proto_pb2 import * + +class OperationsStub: + GetOperation: Any = ... + ListOperations: Any = ... + CancelOperation: Any = ... + DeleteOperation: Any = ... + def __init__(self, channel: Any) -> None: ... diff --git a/google-stubs/longrunning/operations_proto.pyi b/google-stubs/longrunning/operations_proto.pyi new file mode 100644 index 0000000..0006d4c --- /dev/null +++ b/google-stubs/longrunning/operations_proto.pyi @@ -0,0 +1 @@ +from google.longrunning.operations_proto_pb2 import * diff --git a/google-stubs/longrunning/operations_proto_pb2.pyi b/google-stubs/longrunning/operations_proto_pb2.pyi new file mode 100644 index 0000000..5490164 --- /dev/null +++ b/google-stubs/longrunning/operations_proto_pb2.pyi @@ -0,0 +1,200 @@ +# @generated by generate_proto_mypy_stubs.py. Do not edit! +import sys +from typing import ( + Iterable as typing___Iterable, + Optional as typing___Optional, + Text as typing___Text, +) + +from google.protobuf.any_pb2 import Any as google___protobuf___any_pb2___Any +from google.protobuf.descriptor import ( + Descriptor as google___protobuf___descriptor___Descriptor, + FieldDescriptor as google___protobuf___descriptor___FieldDescriptor, + FileDescriptor as google___protobuf___descriptor___FileDescriptor, +) +from google.protobuf.internal.containers import ( + RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer, +) +from google.protobuf.message import Message as google___protobuf___message___Message +from typing_extensions import Literal as typing_extensions___Literal + +from google.rpc.status_pb2 import Status as google___rpc___status_pb2___Status + +builtin___bool = bool +builtin___bytes = bytes +builtin___float = float +builtin___int = int + +DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... + +class Operation(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + name: typing___Text = ... + done: builtin___bool = ... + @property + def metadata(self) -> google___protobuf___any_pb2___Any: ... + @property + def error(self) -> google___rpc___status_pb2___Status: ... + @property + def response(self) -> google___protobuf___any_pb2___Any: ... + def __init__( + self, + *, + name: typing___Optional[typing___Text] = None, + metadata: typing___Optional[google___protobuf___any_pb2___Any] = None, + done: typing___Optional[builtin___bool] = None, + error: typing___Optional[google___rpc___status_pb2___Status] = None, + response: typing___Optional[google___protobuf___any_pb2___Any] = None, + ) -> None: ... + def HasField( + self, + field_name: typing_extensions___Literal[ + "error", + b"error", + "metadata", + b"metadata", + "response", + b"response", + "result", + b"result", + ], + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "done", + b"done", + "error", + b"error", + "metadata", + b"metadata", + "name", + b"name", + "response", + b"response", + "result", + b"result", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions___Literal["result", b"result"] + ) -> typing_extensions___Literal["error", "response"]: ... + +type___Operation = Operation + +class GetOperationRequest(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + name: typing___Text = ... + def __init__( + self, + *, + name: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, field_name: typing_extensions___Literal["name", b"name"] + ) -> None: ... + +type___GetOperationRequest = GetOperationRequest + +class ListOperationsRequest(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + name: typing___Text = ... + filter: typing___Text = ... + page_size: builtin___int = ... + page_token: typing___Text = ... + def __init__( + self, + *, + name: typing___Optional[typing___Text] = None, + filter: typing___Optional[typing___Text] = None, + page_size: typing___Optional[builtin___int] = None, + page_token: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "filter", + b"filter", + "name", + b"name", + "page_size", + b"page_size", + "page_token", + b"page_token", + ], + ) -> None: ... + +type___ListOperationsRequest = ListOperationsRequest + +class ListOperationsResponse(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + next_page_token: typing___Text = ... + @property + def operations( + self, + ) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[ + type___Operation + ]: ... + def __init__( + self, + *, + operations: typing___Optional[typing___Iterable[type___Operation]] = None, + next_page_token: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "next_page_token", b"next_page_token", "operations", b"operations" + ], + ) -> None: ... + +type___ListOperationsResponse = ListOperationsResponse + +class CancelOperationRequest(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + name: typing___Text = ... + def __init__( + self, + *, + name: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, field_name: typing_extensions___Literal["name", b"name"] + ) -> None: ... + +type___CancelOperationRequest = CancelOperationRequest + +class DeleteOperationRequest(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + name: typing___Text = ... + def __init__( + self, + *, + name: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, field_name: typing_extensions___Literal["name", b"name"] + ) -> None: ... + +type___DeleteOperationRequest = DeleteOperationRequest + +class OperationInfo(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + response_type: typing___Text = ... + metadata_type: typing___Text = ... + def __init__( + self, + *, + response_type: typing___Optional[typing___Text] = None, + metadata_type: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "metadata_type", b"metadata_type", "response_type", b"response_type" + ], + ) -> None: ... + +type___OperationInfo = OperationInfo + +operation_info: google___protobuf___descriptor___FieldDescriptor = ... diff --git a/google-stubs/rpc/context/__init__.pyi b/google-stubs/rpc/context/__init__.pyi new file mode 100644 index 0000000..e69de29 diff --git a/google-stubs/rpc/context/attribute_context_pb2.pyi b/google-stubs/rpc/context/attribute_context_pb2.pyi new file mode 100644 index 0000000..6352641 --- /dev/null +++ b/google-stubs/rpc/context/attribute_context_pb2.pyi @@ -0,0 +1,405 @@ +# @generated by generate_proto_mypy_stubs.py. Do not edit! +import sys +from typing import ( + Iterable as typing___Iterable, + Mapping as typing___Mapping, + MutableMapping as typing___MutableMapping, + Optional as typing___Optional, + Text as typing___Text, +) + +from google.protobuf.descriptor import ( + Descriptor as google___protobuf___descriptor___Descriptor, + FileDescriptor as google___protobuf___descriptor___FileDescriptor, +) +from google.protobuf.internal.containers import ( + RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer, +) +from google.protobuf.message import Message as google___protobuf___message___Message +from google.protobuf.struct_pb2 import Struct as google___protobuf___struct_pb2___Struct +from google.protobuf.timestamp_pb2 import ( + Timestamp as google___protobuf___timestamp_pb2___Timestamp, +) +from typing_extensions import Literal as typing_extensions___Literal + +builtin___bool = bool +builtin___bytes = bytes +builtin___float = float +builtin___int = int + +DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... + +class AttributeContext(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + class Peer(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + class LabelsEntry(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + key: typing___Text = ... + value: typing___Text = ... + def __init__( + self, + *, + key: typing___Optional[typing___Text] = None, + value: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "key", b"key", "value", b"value" + ], + ) -> None: ... + type___LabelsEntry = LabelsEntry + + ip: typing___Text = ... + port: builtin___int = ... + principal: typing___Text = ... + region_code: typing___Text = ... + @property + def labels(self) -> typing___MutableMapping[typing___Text, typing___Text]: ... + def __init__( + self, + *, + ip: typing___Optional[typing___Text] = None, + port: typing___Optional[builtin___int] = None, + labels: typing___Optional[ + typing___Mapping[typing___Text, typing___Text] + ] = None, + principal: typing___Optional[typing___Text] = None, + region_code: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "ip", + b"ip", + "labels", + b"labels", + "port", + b"port", + "principal", + b"principal", + "region_code", + b"region_code", + ], + ) -> None: ... + type___Peer = Peer + class Api(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + service: typing___Text = ... + operation: typing___Text = ... + protocol: typing___Text = ... + version: typing___Text = ... + def __init__( + self, + *, + service: typing___Optional[typing___Text] = None, + operation: typing___Optional[typing___Text] = None, + protocol: typing___Optional[typing___Text] = None, + version: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "operation", + b"operation", + "protocol", + b"protocol", + "service", + b"service", + "version", + b"version", + ], + ) -> None: ... + type___Api = Api + class Auth(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + principal: typing___Text = ... + audiences: google___protobuf___internal___containers___RepeatedScalarFieldContainer[ + typing___Text + ] = ... + presenter: typing___Text = ... + access_levels: google___protobuf___internal___containers___RepeatedScalarFieldContainer[ + typing___Text + ] = ... + @property + def claims(self) -> google___protobuf___struct_pb2___Struct: ... + def __init__( + self, + *, + principal: typing___Optional[typing___Text] = None, + audiences: typing___Optional[typing___Iterable[typing___Text]] = None, + presenter: typing___Optional[typing___Text] = None, + claims: typing___Optional[google___protobuf___struct_pb2___Struct] = None, + access_levels: typing___Optional[typing___Iterable[typing___Text]] = None, + ) -> None: ... + def HasField( + self, field_name: typing_extensions___Literal["claims", b"claims"] + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "access_levels", + b"access_levels", + "audiences", + b"audiences", + "claims", + b"claims", + "presenter", + b"presenter", + "principal", + b"principal", + ], + ) -> None: ... + type___Auth = Auth + class Request(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + class HeadersEntry(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + key: typing___Text = ... + value: typing___Text = ... + def __init__( + self, + *, + key: typing___Optional[typing___Text] = None, + value: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "key", b"key", "value", b"value" + ], + ) -> None: ... + type___HeadersEntry = HeadersEntry + + id: typing___Text = ... + method: typing___Text = ... + path: typing___Text = ... + host: typing___Text = ... + scheme: typing___Text = ... + query: typing___Text = ... + size: builtin___int = ... + protocol: typing___Text = ... + reason: typing___Text = ... + @property + def headers(self) -> typing___MutableMapping[typing___Text, typing___Text]: ... + @property + def time(self) -> google___protobuf___timestamp_pb2___Timestamp: ... + @property + def auth(self) -> type___AttributeContext.Auth: ... + def __init__( + self, + *, + id: typing___Optional[typing___Text] = None, + method: typing___Optional[typing___Text] = None, + headers: typing___Optional[ + typing___Mapping[typing___Text, typing___Text] + ] = None, + path: typing___Optional[typing___Text] = None, + host: typing___Optional[typing___Text] = None, + scheme: typing___Optional[typing___Text] = None, + query: typing___Optional[typing___Text] = None, + time: typing___Optional[ + google___protobuf___timestamp_pb2___Timestamp + ] = None, + size: typing___Optional[builtin___int] = None, + protocol: typing___Optional[typing___Text] = None, + reason: typing___Optional[typing___Text] = None, + auth: typing___Optional[type___AttributeContext.Auth] = None, + ) -> None: ... + def HasField( + self, + field_name: typing_extensions___Literal["auth", b"auth", "time", b"time"], + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "auth", + b"auth", + "headers", + b"headers", + "host", + b"host", + "id", + b"id", + "method", + b"method", + "path", + b"path", + "protocol", + b"protocol", + "query", + b"query", + "reason", + b"reason", + "scheme", + b"scheme", + "size", + b"size", + "time", + b"time", + ], + ) -> None: ... + type___Request = Request + class Response(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + class HeadersEntry(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + key: typing___Text = ... + value: typing___Text = ... + def __init__( + self, + *, + key: typing___Optional[typing___Text] = None, + value: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "key", b"key", "value", b"value" + ], + ) -> None: ... + type___HeadersEntry = HeadersEntry + + code: builtin___int = ... + size: builtin___int = ... + @property + def headers(self) -> typing___MutableMapping[typing___Text, typing___Text]: ... + @property + def time(self) -> google___protobuf___timestamp_pb2___Timestamp: ... + def __init__( + self, + *, + code: typing___Optional[builtin___int] = None, + size: typing___Optional[builtin___int] = None, + headers: typing___Optional[ + typing___Mapping[typing___Text, typing___Text] + ] = None, + time: typing___Optional[ + google___protobuf___timestamp_pb2___Timestamp + ] = None, + ) -> None: ... + def HasField( + self, field_name: typing_extensions___Literal["time", b"time"] + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "code", b"code", "headers", b"headers", "size", b"size", "time", b"time" + ], + ) -> None: ... + type___Response = Response + class Resource(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + class LabelsEntry(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + key: typing___Text = ... + value: typing___Text = ... + def __init__( + self, + *, + key: typing___Optional[typing___Text] = None, + value: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "key", b"key", "value", b"value" + ], + ) -> None: ... + type___LabelsEntry = LabelsEntry + + service: typing___Text = ... + name: typing___Text = ... + type: typing___Text = ... + @property + def labels(self) -> typing___MutableMapping[typing___Text, typing___Text]: ... + def __init__( + self, + *, + service: typing___Optional[typing___Text] = None, + name: typing___Optional[typing___Text] = None, + type: typing___Optional[typing___Text] = None, + labels: typing___Optional[ + typing___Mapping[typing___Text, typing___Text] + ] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "labels", + b"labels", + "name", + b"name", + "service", + b"service", + "type", + b"type", + ], + ) -> None: ... + type___Resource = Resource + @property + def origin(self) -> type___AttributeContext.Peer: ... + @property + def source(self) -> type___AttributeContext.Peer: ... + @property + def destination(self) -> type___AttributeContext.Peer: ... + @property + def request(self) -> type___AttributeContext.Request: ... + @property + def response(self) -> type___AttributeContext.Response: ... + @property + def resource(self) -> type___AttributeContext.Resource: ... + @property + def api(self) -> type___AttributeContext.Api: ... + def __init__( + self, + *, + origin: typing___Optional[type___AttributeContext.Peer] = None, + source: typing___Optional[type___AttributeContext.Peer] = None, + destination: typing___Optional[type___AttributeContext.Peer] = None, + request: typing___Optional[type___AttributeContext.Request] = None, + response: typing___Optional[type___AttributeContext.Response] = None, + resource: typing___Optional[type___AttributeContext.Resource] = None, + api: typing___Optional[type___AttributeContext.Api] = None, + ) -> None: ... + def HasField( + self, + field_name: typing_extensions___Literal[ + "api", + b"api", + "destination", + b"destination", + "origin", + b"origin", + "request", + b"request", + "resource", + b"resource", + "response", + b"response", + "source", + b"source", + ], + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "api", + b"api", + "destination", + b"destination", + "origin", + b"origin", + "request", + b"request", + "resource", + b"resource", + "response", + b"response", + "source", + b"source", + ], + ) -> None: ... + +type___AttributeContext = AttributeContext diff --git a/google-stubs/type/datetime_pb2.pyi b/google-stubs/type/datetime_pb2.pyi new file mode 100644 index 0000000..391bb7c --- /dev/null +++ b/google-stubs/type/datetime_pb2.pyi @@ -0,0 +1,107 @@ +# @generated by generate_proto_mypy_stubs.py. Do not edit! +import sys +from typing import Optional as typing___Optional, Text as typing___Text + +from google.protobuf.descriptor import ( + Descriptor as google___protobuf___descriptor___Descriptor, + FileDescriptor as google___protobuf___descriptor___FileDescriptor, +) +from google.protobuf.duration_pb2 import ( + Duration as google___protobuf___duration_pb2___Duration, +) +from google.protobuf.message import Message as google___protobuf___message___Message +from typing_extensions import Literal as typing_extensions___Literal + +builtin___bool = bool +builtin___bytes = bytes +builtin___float = float +builtin___int = int + +DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... + +class DateTime(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + year: builtin___int = ... + month: builtin___int = ... + day: builtin___int = ... + hours: builtin___int = ... + minutes: builtin___int = ... + seconds: builtin___int = ... + nanos: builtin___int = ... + @property + def utc_offset(self) -> google___protobuf___duration_pb2___Duration: ... + @property + def time_zone(self) -> type___TimeZone: ... + def __init__( + self, + *, + year: typing___Optional[builtin___int] = None, + month: typing___Optional[builtin___int] = None, + day: typing___Optional[builtin___int] = None, + hours: typing___Optional[builtin___int] = None, + minutes: typing___Optional[builtin___int] = None, + seconds: typing___Optional[builtin___int] = None, + nanos: typing___Optional[builtin___int] = None, + utc_offset: typing___Optional[ + google___protobuf___duration_pb2___Duration + ] = None, + time_zone: typing___Optional[type___TimeZone] = None, + ) -> None: ... + def HasField( + self, + field_name: typing_extensions___Literal[ + "time_offset", + b"time_offset", + "time_zone", + b"time_zone", + "utc_offset", + b"utc_offset", + ], + ) -> builtin___bool: ... + def ClearField( + self, + field_name: typing_extensions___Literal[ + "day", + b"day", + "hours", + b"hours", + "minutes", + b"minutes", + "month", + b"month", + "nanos", + b"nanos", + "seconds", + b"seconds", + "time_offset", + b"time_offset", + "time_zone", + b"time_zone", + "utc_offset", + b"utc_offset", + "year", + b"year", + ], + ) -> None: ... + def WhichOneof( + self, oneof_group: typing_extensions___Literal["time_offset", b"time_offset"] + ) -> typing_extensions___Literal["utc_offset", "time_zone"]: ... + +type___DateTime = DateTime + +class TimeZone(google___protobuf___message___Message): + DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... + id: typing___Text = ... + version: typing___Text = ... + def __init__( + self, + *, + id: typing___Optional[typing___Text] = None, + version: typing___Optional[typing___Text] = None, + ) -> None: ... + def ClearField( + self, + field_name: typing_extensions___Literal["id", b"id", "version", b"version"], + ) -> None: ... + +type___TimeZone = TimeZone diff --git a/google-stubs/type/month_pb2.pyi b/google-stubs/type/month_pb2.pyi new file mode 100644 index 0000000..53fb8bb --- /dev/null +++ b/google-stubs/type/month_pb2.pyi @@ -0,0 +1,53 @@ +# @generated by generate_proto_mypy_stubs.py. Do not edit! +import sys +from typing import NewType as typing___NewType, cast as typing___cast + +from google.protobuf.descriptor import ( + EnumDescriptor as google___protobuf___descriptor___EnumDescriptor, + FileDescriptor as google___protobuf___descriptor___FileDescriptor, +) +from google.protobuf.internal.enum_type_wrapper import ( + _EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper, +) +from google.protobuf.message import Message as google___protobuf___message___Message + +builtin___int = int + +DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... + +MonthValue = typing___NewType("MonthValue", builtin___int) +type___MonthValue = MonthValue +Month: _Month + +class _Month( + google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[MonthValue] +): + DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ... + MONTH_UNSPECIFIED = typing___cast(MonthValue, 0) + JANUARY = typing___cast(MonthValue, 1) + FEBRUARY = typing___cast(MonthValue, 2) + MARCH = typing___cast(MonthValue, 3) + APRIL = typing___cast(MonthValue, 4) + MAY = typing___cast(MonthValue, 5) + JUNE = typing___cast(MonthValue, 6) + JULY = typing___cast(MonthValue, 7) + AUGUST = typing___cast(MonthValue, 8) + SEPTEMBER = typing___cast(MonthValue, 9) + OCTOBER = typing___cast(MonthValue, 10) + NOVEMBER = typing___cast(MonthValue, 11) + DECEMBER = typing___cast(MonthValue, 12) + +MONTH_UNSPECIFIED = typing___cast(MonthValue, 0) +JANUARY = typing___cast(MonthValue, 1) +FEBRUARY = typing___cast(MonthValue, 2) +MARCH = typing___cast(MonthValue, 3) +APRIL = typing___cast(MonthValue, 4) +MAY = typing___cast(MonthValue, 5) +JUNE = typing___cast(MonthValue, 6) +JULY = typing___cast(MonthValue, 7) +AUGUST = typing___cast(MonthValue, 8) +SEPTEMBER = typing___cast(MonthValue, 9) +OCTOBER = typing___cast(MonthValue, 10) +NOVEMBER = typing___cast(MonthValue, 11) +DECEMBER = typing___cast(MonthValue, 12) +type___Month = Month