alis.open.notifications.v1 1.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. alis_open_notifications_v1-1.5.0/PKG-INFO +8 -0
  2. alis_open_notifications_v1-1.5.0/alis/__init__.py +1 -0
  3. alis_open_notifications_v1-1.5.0/alis/__init__.pyi +1 -0
  4. alis_open_notifications_v1-1.5.0/alis/open/__init__.py +1 -0
  5. alis_open_notifications_v1-1.5.0/alis/open/__init__.pyi +1 -0
  6. alis_open_notifications_v1-1.5.0/alis/open/notifications/__init__.py +1 -0
  7. alis_open_notifications_v1-1.5.0/alis/open/notifications/__init__.pyi +1 -0
  8. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/__init__.py +1 -0
  9. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/__init__.pyi +1 -0
  10. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/devices_pb2.py +58 -0
  11. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/devices_pb2.pyi +184 -0
  12. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/devices_pb2_grpc.py +532 -0
  13. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/devices_pb2_grpc.pyi +144 -0
  14. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/notifications_pb2.py +51 -0
  15. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/notifications_pb2.pyi +136 -0
  16. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/notifications_pb2_grpc.py +271 -0
  17. alis_open_notifications_v1-1.5.0/alis/open/notifications/v1/notifications_pb2_grpc.pyi +87 -0
  18. alis_open_notifications_v1-1.5.0/alis.open.notifications.v1.egg-info/PKG-INFO +8 -0
  19. alis_open_notifications_v1-1.5.0/alis.open.notifications.v1.egg-info/SOURCES.txt +22 -0
  20. alis_open_notifications_v1-1.5.0/alis.open.notifications.v1.egg-info/dependency_links.txt +1 -0
  21. alis_open_notifications_v1-1.5.0/alis.open.notifications.v1.egg-info/requires.txt +2 -0
  22. alis_open_notifications_v1-1.5.0/alis.open.notifications.v1.egg-info/top_level.txt +1 -0
  23. alis_open_notifications_v1-1.5.0/setup.cfg +4 -0
  24. alis_open_notifications_v1-1.5.0/setup.py +38 -0
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.4
2
+ Name: alis.open.notifications.v1
3
+ Version: 1.5.0
4
+ Summary: Protobufs generated by Alis Build
5
+ Requires-Dist: google-common-protos>=0.0.1
6
+ Requires-Dist: alis-services-protobuf-open>=1.176.0
7
+ Dynamic: requires-dist
8
+ Dynamic: summary
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1 @@
1
+ __import__("pkg_resources").declare_namespace(__name__)
@@ -0,0 +1,58 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: alis/open/notifications/v1/devices.proto
5
+ # Protobuf Python Version: 6.33.5
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 5,
17
+ '',
18
+ 'alis/open/notifications/v1/devices.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from alis.open.iam.v1 import iam_pb2 as alis_dot_open_dot_iam_dot_v1_dot_iam__pb2
26
+ from alis.open.validation.v1 import validation_pb2 as alis_dot_open_dot_validation_dot_v1_dot_validation__pb2
27
+ from google.iam.v1 import iam_policy_pb2 as google_dot_iam_dot_v1_dot_iam__policy__pb2
28
+ from google.iam.v1 import policy_pb2 as google_dot_iam_dot_v1_dot_policy__pb2
29
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
30
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
31
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
32
+
33
+
34
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(alis/open/notifications/v1/devices.proto\x12\x1a\x61lis.open.notifications.v1\x1a\x1a\x61lis/open/iam/v1/iam.proto\x1a(alis/open/validation/v1/validation.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc0\x01\n\x06\x44\x65vice\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12\x12\n\x04\x65tag\x18\x61 \x01(\tR\x04\x65tag\x12;\n\x0b\x63reate_time\x18\x62 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x63 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"&\n\x10GetDeviceRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\xb9\x01\n\x12ListDevicesRequest\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12\x37\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x08readMask\x12\x16\n\x06\x66ilter\x18\x05 \x01(\tR\x06\x66ilter\"{\n\x13ListDevicesResponse\x12<\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\".alis.open.notifications.v1.DeviceR\x07\x64\x65vices\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\")\n\x13\x44\x65leteDeviceRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"W\n\x15RegisterDeviceRequest\x12\x1b\n\tdevice_id\x18\x01 \x01(\tR\x08\x64\x65viceId\x12!\n\x0c\x64\x65vice_token\x18\x02 \x01(\tR\x0b\x64\x65viceToken\"\x18\n\x16RegisterDeviceResponse2\xd8\x08\n\x0e\x44\x65vicesService\x12v\n\x0fValidateMessage\x12/.alis.open.validation.v1.ValidateMessageRequest\x1a\x30.alis.open.validation.v1.ValidateMessageResponse\"\x00\x12p\n\rRetrieveRules\x12-.alis.open.validation.v1.RetrieveRulesRequest\x1a..alis.open.validation.v1.RetrieveRulesResponse\"\x00\x12K\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x00\x12K\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x00\x12k\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\x00\x12R\n\x0e\x41\x64\x64IamBindings\x12\'.alis.open.iam.v1.AddIamBindingsRequest\x1a\x15.google.iam.v1.Policy\"\x00\x12X\n\x11RemoveIamBindings\x12*.alis.open.iam.v1.RemoveIamBindingsRequest\x1a\x15.google.iam.v1.Policy\"\x00\x12y\n\x0eRegisterDevice\x12\x31.alis.open.notifications.v1.RegisterDeviceRequest\x1a\x32.alis.open.notifications.v1.RegisterDeviceResponse\"\x00\x12_\n\tGetDevice\x12,.alis.open.notifications.v1.GetDeviceRequest\x1a\".alis.open.notifications.v1.Device\"\x00\x12p\n\x0bListDevices\x12..alis.open.notifications.v1.ListDevicesRequest\x1a/.alis.open.notifications.v1.ListDevicesResponse\"\x00\x12Y\n\x0c\x44\x65leteDevice\x12/.alis.open.notifications.v1.DeleteDeviceRequest\x1a\x16.google.protobuf.Empty\"\x00\x42.Z,go.alis.build/common/alis/open/notificationsb\x06proto3')
35
+
36
+ _globals = globals()
37
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
38
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.notifications.v1.devices_pb2', _globals)
39
+ if not _descriptor._USE_C_DESCRIPTORS:
40
+ _globals['DESCRIPTOR']._loaded_options = None
41
+ _globals['DESCRIPTOR']._serialized_options = b'Z,go.alis.build/common/alis/open/notifications'
42
+ _globals['_DEVICE']._serialized_start=299
43
+ _globals['_DEVICE']._serialized_end=491
44
+ _globals['_GETDEVICEREQUEST']._serialized_start=493
45
+ _globals['_GETDEVICEREQUEST']._serialized_end=531
46
+ _globals['_LISTDEVICESREQUEST']._serialized_start=534
47
+ _globals['_LISTDEVICESREQUEST']._serialized_end=719
48
+ _globals['_LISTDEVICESRESPONSE']._serialized_start=721
49
+ _globals['_LISTDEVICESRESPONSE']._serialized_end=844
50
+ _globals['_DELETEDEVICEREQUEST']._serialized_start=846
51
+ _globals['_DELETEDEVICEREQUEST']._serialized_end=887
52
+ _globals['_REGISTERDEVICEREQUEST']._serialized_start=889
53
+ _globals['_REGISTERDEVICEREQUEST']._serialized_end=976
54
+ _globals['_REGISTERDEVICERESPONSE']._serialized_start=978
55
+ _globals['_REGISTERDEVICERESPONSE']._serialized_end=1002
56
+ _globals['_DEVICESSERVICE']._serialized_start=1005
57
+ _globals['_DEVICESSERVICE']._serialized_end=2117
58
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,184 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from collections import abc as _abc
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import field_mask_pb2 as _field_mask_pb2
9
+ from google.protobuf import message as _message
10
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
11
+ from google.protobuf.internal import containers as _containers
12
+ import builtins as _builtins
13
+ import sys
14
+ import typing as _typing
15
+
16
+ if sys.version_info >= (3, 11):
17
+ from typing import TypeAlias as _TypeAlias, Never as _Never
18
+ else:
19
+ from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
20
+
21
+ DESCRIPTOR: _descriptor.FileDescriptor
22
+
23
+ @_typing.final
24
+ class Device(_message.Message):
25
+ DESCRIPTOR: _descriptor.Descriptor
26
+
27
+ NAME_FIELD_NUMBER: _builtins.int
28
+ TOKEN_FIELD_NUMBER: _builtins.int
29
+ ETAG_FIELD_NUMBER: _builtins.int
30
+ CREATE_TIME_FIELD_NUMBER: _builtins.int
31
+ UPDATE_TIME_FIELD_NUMBER: _builtins.int
32
+ name: _builtins.str
33
+ token: _builtins.str
34
+ etag: _builtins.str
35
+ @_builtins.property
36
+ def create_time(self) -> _timestamp_pb2.Timestamp: ...
37
+ @_builtins.property
38
+ def update_time(self) -> _timestamp_pb2.Timestamp: ...
39
+ def __init__(
40
+ self,
41
+ *,
42
+ name: _builtins.str = ...,
43
+ token: _builtins.str = ...,
44
+ etag: _builtins.str = ...,
45
+ create_time: _timestamp_pb2.Timestamp | None = ...,
46
+ update_time: _timestamp_pb2.Timestamp | None = ...,
47
+ ) -> None: ...
48
+ _HasFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "update_time", b"update_time"] # noqa: Y015
49
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
50
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "etag", b"etag", "name", b"name", "token", b"token", "update_time", b"update_time"] # noqa: Y015
51
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
52
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
53
+
54
+ Global___Device: _TypeAlias = Device # noqa: Y015
55
+
56
+ @_typing.final
57
+ class GetDeviceRequest(_message.Message):
58
+ DESCRIPTOR: _descriptor.Descriptor
59
+
60
+ NAME_FIELD_NUMBER: _builtins.int
61
+ name: _builtins.str
62
+ def __init__(
63
+ self,
64
+ *,
65
+ name: _builtins.str = ...,
66
+ ) -> None: ...
67
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
68
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
69
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name"] # noqa: Y015
70
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
71
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
72
+
73
+ Global___GetDeviceRequest: _TypeAlias = GetDeviceRequest # noqa: Y015
74
+
75
+ @_typing.final
76
+ class ListDevicesRequest(_message.Message):
77
+ DESCRIPTOR: _descriptor.Descriptor
78
+
79
+ PARENT_FIELD_NUMBER: _builtins.int
80
+ PAGE_SIZE_FIELD_NUMBER: _builtins.int
81
+ PAGE_TOKEN_FIELD_NUMBER: _builtins.int
82
+ READ_MASK_FIELD_NUMBER: _builtins.int
83
+ FILTER_FIELD_NUMBER: _builtins.int
84
+ parent: _builtins.str
85
+ page_size: _builtins.int
86
+ page_token: _builtins.str
87
+ filter: _builtins.str
88
+ @_builtins.property
89
+ def read_mask(self) -> _field_mask_pb2.FieldMask: ...
90
+ def __init__(
91
+ self,
92
+ *,
93
+ parent: _builtins.str = ...,
94
+ page_size: _builtins.int = ...,
95
+ page_token: _builtins.str = ...,
96
+ read_mask: _field_mask_pb2.FieldMask | None = ...,
97
+ filter: _builtins.str = ...,
98
+ ) -> None: ...
99
+ _HasFieldArgType: _TypeAlias = _typing.Literal["read_mask", b"read_mask"] # noqa: Y015
100
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
101
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "parent", b"parent", "read_mask", b"read_mask"] # noqa: Y015
102
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
103
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
104
+
105
+ Global___ListDevicesRequest: _TypeAlias = ListDevicesRequest # noqa: Y015
106
+
107
+ @_typing.final
108
+ class ListDevicesResponse(_message.Message):
109
+ DESCRIPTOR: _descriptor.Descriptor
110
+
111
+ DEVICES_FIELD_NUMBER: _builtins.int
112
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: _builtins.int
113
+ next_page_token: _builtins.str
114
+ @_builtins.property
115
+ def devices(self) -> _containers.RepeatedCompositeFieldContainer[Global___Device]: ...
116
+ def __init__(
117
+ self,
118
+ *,
119
+ devices: _abc.Iterable[Global___Device] | None = ...,
120
+ next_page_token: _builtins.str = ...,
121
+ ) -> None: ...
122
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
123
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
124
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["devices", b"devices", "next_page_token", b"next_page_token"] # noqa: Y015
125
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
126
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
127
+
128
+ Global___ListDevicesResponse: _TypeAlias = ListDevicesResponse # noqa: Y015
129
+
130
+ @_typing.final
131
+ class DeleteDeviceRequest(_message.Message):
132
+ DESCRIPTOR: _descriptor.Descriptor
133
+
134
+ NAME_FIELD_NUMBER: _builtins.int
135
+ name: _builtins.str
136
+ def __init__(
137
+ self,
138
+ *,
139
+ name: _builtins.str = ...,
140
+ ) -> None: ...
141
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
142
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
143
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["name", b"name"] # noqa: Y015
144
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
145
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
146
+
147
+ Global___DeleteDeviceRequest: _TypeAlias = DeleteDeviceRequest # noqa: Y015
148
+
149
+ @_typing.final
150
+ class RegisterDeviceRequest(_message.Message):
151
+ DESCRIPTOR: _descriptor.Descriptor
152
+
153
+ DEVICE_ID_FIELD_NUMBER: _builtins.int
154
+ DEVICE_TOKEN_FIELD_NUMBER: _builtins.int
155
+ device_id: _builtins.str
156
+ device_token: _builtins.str
157
+ def __init__(
158
+ self,
159
+ *,
160
+ device_id: _builtins.str = ...,
161
+ device_token: _builtins.str = ...,
162
+ ) -> None: ...
163
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
164
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
165
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["device_id", b"device_id", "device_token", b"device_token"] # noqa: Y015
166
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
167
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
168
+
169
+ Global___RegisterDeviceRequest: _TypeAlias = RegisterDeviceRequest # noqa: Y015
170
+
171
+ @_typing.final
172
+ class RegisterDeviceResponse(_message.Message):
173
+ DESCRIPTOR: _descriptor.Descriptor
174
+
175
+ def __init__(
176
+ self,
177
+ ) -> None: ...
178
+ _HasFieldArgType: _TypeAlias = _Never # noqa: Y015
179
+ def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
180
+ _ClearFieldArgType: _TypeAlias = _Never # noqa: Y015
181
+ def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
182
+ def WhichOneof(self, oneof_group: _Never) -> None: ...
183
+
184
+ Global___RegisterDeviceResponse: _TypeAlias = RegisterDeviceResponse # noqa: Y015