|
2 | 2 | @generated by mypy-protobuf. Do not edit manually!
|
3 | 3 | isort:skip_file
|
4 | 4 | """
|
5 |
| -from google.protobuf.descriptor import ( |
6 |
| - Descriptor as google___protobuf___descriptor___Descriptor, |
7 |
| - FileDescriptor as google___protobuf___descriptor___FileDescriptor, |
8 |
| -) |
9 |
| - |
10 |
| -from google.protobuf.internal.containers import ( |
11 |
| - RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer, |
12 |
| -) |
13 |
| - |
14 |
| -from google.protobuf.message import ( |
15 |
| - Message as google___protobuf___message___Message, |
16 |
| -) |
17 |
| - |
18 |
| -from google.protobuf.source_context_pb2 import ( |
19 |
| - SourceContext as google___protobuf___source_context_pb2___SourceContext, |
20 |
| -) |
21 |
| - |
22 |
| -from google.protobuf.type_pb2 import ( |
23 |
| - Option as google___protobuf___type_pb2___Option, |
24 |
| - SyntaxValue as google___protobuf___type_pb2___SyntaxValue, |
25 |
| -) |
26 |
| - |
27 |
| -from typing import ( |
28 |
| - Iterable as typing___Iterable, |
29 |
| - Optional as typing___Optional, |
30 |
| - Text as typing___Text, |
31 |
| -) |
32 |
| - |
33 |
| -from typing_extensions import ( |
34 |
| - Literal as typing_extensions___Literal, |
35 |
| -) |
36 |
| - |
37 |
| - |
38 |
| -builtin___bool = bool |
39 |
| -builtin___bytes = bytes |
40 |
| -builtin___float = float |
41 |
| -builtin___int = int |
42 |
| - |
43 |
| - |
44 |
| -DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... |
45 |
| - |
46 |
| -class Api(google___protobuf___message___Message): |
47 |
| - DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... |
48 |
| - name: typing___Text = ... |
49 |
| - version: typing___Text = ... |
50 |
| - syntax: google___protobuf___type_pb2___SyntaxValue = ... |
| 5 | +import builtins |
| 6 | +import google.protobuf.descriptor |
| 7 | +import google.protobuf.internal.containers |
| 8 | +import google.protobuf.message |
| 9 | +import google.protobuf.source_context_pb2 |
| 10 | +import google.protobuf.type_pb2 |
| 11 | +import typing |
| 12 | +import typing_extensions |
| 13 | + |
| 14 | +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ... |
| 15 | + |
| 16 | +class Api(google.protobuf.message.Message): |
| 17 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor = ... |
| 18 | + NAME_FIELD_NUMBER: builtins.int |
| 19 | + METHODS_FIELD_NUMBER: builtins.int |
| 20 | + OPTIONS_FIELD_NUMBER: builtins.int |
| 21 | + VERSION_FIELD_NUMBER: builtins.int |
| 22 | + SOURCE_CONTEXT_FIELD_NUMBER: builtins.int |
| 23 | + MIXINS_FIELD_NUMBER: builtins.int |
| 24 | + SYNTAX_FIELD_NUMBER: builtins.int |
| 25 | + name: typing.Text = ... |
| 26 | + version: typing.Text = ... |
| 27 | + syntax: google.protobuf.type_pb2.Syntax.V = ... |
51 | 28 |
|
52 | 29 | @property
|
53 |
| - def methods(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Method]: ... |
| 30 | + def methods(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Method]: ... |
54 | 31 |
|
55 | 32 | @property
|
56 |
| - def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ... |
| 33 | + def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.type_pb2.Option]: ... |
57 | 34 |
|
58 | 35 | @property
|
59 |
| - def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ... |
| 36 | + def source_context(self) -> google.protobuf.source_context_pb2.SourceContext: ... |
60 | 37 |
|
61 | 38 | @property
|
62 |
| - def mixins(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Mixin]: ... |
| 39 | + def mixins(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Mixin]: ... |
63 | 40 |
|
64 | 41 | def __init__(self,
|
65 | 42 | *,
|
66 |
| - name : typing___Optional[typing___Text] = ..., |
67 |
| - methods : typing___Optional[typing___Iterable[type___Method]] = ..., |
68 |
| - options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = ..., |
69 |
| - version : typing___Optional[typing___Text] = ..., |
70 |
| - source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = ..., |
71 |
| - mixins : typing___Optional[typing___Iterable[type___Mixin]] = ..., |
72 |
| - syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = ..., |
| 43 | + name : typing.Text = ..., |
| 44 | + methods : typing.Optional[typing.Iterable[global___Method]] = ..., |
| 45 | + options : typing.Optional[typing.Iterable[google.protobuf.type_pb2.Option]] = ..., |
| 46 | + version : typing.Text = ..., |
| 47 | + source_context : typing.Optional[google.protobuf.source_context_pb2.SourceContext] = ..., |
| 48 | + mixins : typing.Optional[typing.Iterable[global___Mixin]] = ..., |
| 49 | + syntax : google.protobuf.type_pb2.Syntax.V = ..., |
73 | 50 | ) -> None: ...
|
74 |
| - def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ... |
75 |
| - def ClearField(self, field_name: typing_extensions___Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ... |
76 |
| -type___Api = Api |
77 |
| - |
78 |
| -class Method(google___protobuf___message___Message): |
79 |
| - DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... |
80 |
| - name: typing___Text = ... |
81 |
| - request_type_url: typing___Text = ... |
82 |
| - request_streaming: builtin___bool = ... |
83 |
| - response_type_url: typing___Text = ... |
84 |
| - response_streaming: builtin___bool = ... |
85 |
| - syntax: google___protobuf___type_pb2___SyntaxValue = ... |
| 51 | + def HasField(self, field_name: typing_extensions.Literal[u"source_context",b"source_context"]) -> builtins.bool: ... |
| 52 | + def ClearField(self, field_name: typing_extensions.Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ... |
| 53 | +global___Api = Api |
| 54 | + |
| 55 | +class Method(google.protobuf.message.Message): |
| 56 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor = ... |
| 57 | + NAME_FIELD_NUMBER: builtins.int |
| 58 | + REQUEST_TYPE_URL_FIELD_NUMBER: builtins.int |
| 59 | + REQUEST_STREAMING_FIELD_NUMBER: builtins.int |
| 60 | + RESPONSE_TYPE_URL_FIELD_NUMBER: builtins.int |
| 61 | + RESPONSE_STREAMING_FIELD_NUMBER: builtins.int |
| 62 | + OPTIONS_FIELD_NUMBER: builtins.int |
| 63 | + SYNTAX_FIELD_NUMBER: builtins.int |
| 64 | + name: typing.Text = ... |
| 65 | + request_type_url: typing.Text = ... |
| 66 | + request_streaming: builtins.bool = ... |
| 67 | + response_type_url: typing.Text = ... |
| 68 | + response_streaming: builtins.bool = ... |
| 69 | + syntax: google.protobuf.type_pb2.Syntax.V = ... |
86 | 70 |
|
87 | 71 | @property
|
88 |
| - def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ... |
| 72 | + def options(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.type_pb2.Option]: ... |
89 | 73 |
|
90 | 74 | def __init__(self,
|
91 | 75 | *,
|
92 |
| - name : typing___Optional[typing___Text] = ..., |
93 |
| - request_type_url : typing___Optional[typing___Text] = ..., |
94 |
| - request_streaming : typing___Optional[builtin___bool] = ..., |
95 |
| - response_type_url : typing___Optional[typing___Text] = ..., |
96 |
| - response_streaming : typing___Optional[builtin___bool] = ..., |
97 |
| - options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = ..., |
98 |
| - syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = ..., |
| 76 | + name : typing.Text = ..., |
| 77 | + request_type_url : typing.Text = ..., |
| 78 | + request_streaming : builtins.bool = ..., |
| 79 | + response_type_url : typing.Text = ..., |
| 80 | + response_streaming : builtins.bool = ..., |
| 81 | + options : typing.Optional[typing.Iterable[google.protobuf.type_pb2.Option]] = ..., |
| 82 | + syntax : google.protobuf.type_pb2.Syntax.V = ..., |
99 | 83 | ) -> None: ...
|
100 |
| - def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ... |
101 |
| -type___Method = Method |
| 84 | + def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ... |
| 85 | +global___Method = Method |
102 | 86 |
|
103 |
| -class Mixin(google___protobuf___message___Message): |
104 |
| - DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... |
105 |
| - name: typing___Text = ... |
106 |
| - root: typing___Text = ... |
| 87 | +class Mixin(google.protobuf.message.Message): |
| 88 | + DESCRIPTOR: google.protobuf.descriptor.Descriptor = ... |
| 89 | + NAME_FIELD_NUMBER: builtins.int |
| 90 | + ROOT_FIELD_NUMBER: builtins.int |
| 91 | + name: typing.Text = ... |
| 92 | + root: typing.Text = ... |
107 | 93 |
|
108 | 94 | def __init__(self,
|
109 | 95 | *,
|
110 |
| - name : typing___Optional[typing___Text] = ..., |
111 |
| - root : typing___Optional[typing___Text] = ..., |
| 96 | + name : typing.Text = ..., |
| 97 | + root : typing.Text = ..., |
112 | 98 | ) -> None: ...
|
113 |
| - def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"root",b"root"]) -> None: ... |
114 |
| -type___Mixin = Mixin |
| 99 | + def ClearField(self, field_name: typing_extensions.Literal[u"name",b"name",u"root",b"root"]) -> None: ... |
| 100 | +global___Mixin = Mixin |
0 commit comments