-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages_pb2.pyi
36 lines (31 loc) · 1.1 KB
/
messages_pb2.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"""
@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
"""
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import io.cloudevents.v1.cloudevents_pb2
import sys
if sys.version_info >= (3, 8):
import typing as typing_extensions
else:
import typing_extensions
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@typing_extensions.final
class Something(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor
FIELD_A_FIELD_NUMBER: builtins.int
FIELD_B_FIELD_NUMBER: builtins.int
field_a: builtins.str
@property
def field_b(self) -> io.cloudevents.v1.cloudevents_pb2.CloudEvent: ...
def __init__(
self,
*,
field_a: builtins.str = ...,
field_b: io.cloudevents.v1.cloudevents_pb2.CloudEvent | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["field_b", b"field_b"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["field_a", b"field_a", "field_b", b"field_b"]) -> None: ...
global___Something = Something