clarifai-grpc 6.4.0__py3-none-any.whl → 11.10.3__py3-none-any.whl
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.
- clarifai_grpc/__init__.py +33 -0
- clarifai_grpc/channel/clarifai_channel.py +150 -44
- clarifai_grpc/channel/custom_converters/custom_dict_to_message.py +41 -34
- clarifai_grpc/channel/custom_converters/custom_message_to_dict.py +85 -74
- clarifai_grpc/channel/errors.py +5 -0
- clarifai_grpc/channel/exceptions.py +1 -1
- clarifai_grpc/channel/grpc_json_channel.py +387 -261
- clarifai_grpc/channel/http_client.py +125 -104
- clarifai_grpc/grpc/api/resources_pb2.py +984 -7266
- clarifai_grpc/grpc/api/resources_pb2.pyi +17925 -0
- clarifai_grpc/grpc/api/resources_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/api/service_pb2.py +1578 -8672
- clarifai_grpc/grpc/api/service_pb2.pyi +18269 -0
- clarifai_grpc/grpc/api/service_pb2_grpc.py +9746 -1859
- clarifai_grpc/grpc/api/status/status_code_pb2.py +33 -1334
- clarifai_grpc/grpc/api/status/status_code_pb2.pyi +1210 -0
- clarifai_grpc/grpc/api/status/status_code_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/api/status/status_pb2.py +23 -149
- clarifai_grpc/grpc/api/status/status_pb2.pyi +174 -0
- clarifai_grpc/grpc/api/status/status_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/api/utils/extensions_pb2.py +13 -46
- clarifai_grpc/grpc/api/utils/extensions_pb2.pyi +39 -0
- clarifai_grpc/grpc/api/utils/extensions_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/api/utils/matrix_pb2.py +26 -0
- clarifai_grpc/grpc/api/utils/matrix_pb2.pyi +53 -0
- clarifai_grpc/grpc/api/utils/matrix_pb2_grpc.py +4 -0
- clarifai_grpc/grpc/api/utils/test_proto_pb2.py +17 -158
- clarifai_grpc/grpc/api/utils/test_proto_pb2.pyi +107 -0
- clarifai_grpc/grpc/api/utils/test_proto_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/auth/scope/scope_pb2.py +245 -448
- clarifai_grpc/grpc/auth/scope/scope_pb2.pyi +550 -0
- clarifai_grpc/grpc/auth/scope/scope_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/auth/types/types_pb2.py +11 -62
- clarifai_grpc/grpc/auth/types/types_pb2.pyi +78 -0
- clarifai_grpc/grpc/auth/types/types_pb2_grpc.py +1 -0
- clarifai_grpc/grpc/auth/util/extension_pb2.py +14 -68
- clarifai_grpc/grpc/auth/util/extension_pb2.pyi +68 -0
- clarifai_grpc/grpc/auth/util/extension_pb2_grpc.py +1 -0
- clarifai_grpc-11.10.3.dist-info/METADATA +124 -0
- clarifai_grpc-11.10.3.dist-info/RECORD +53 -0
- {clarifai_grpc-6.4.0.dist-info → clarifai_grpc-11.10.3.dist-info}/WHEEL +1 -1
- {clarifai_grpc-6.4.0.dist-info → clarifai_grpc-11.10.3.dist-info}/top_level.txt +0 -2
- clarifai_grpc-6.4.0.dist-info/METADATA +0 -88
- clarifai_grpc-6.4.0.dist-info/RECORD +0 -46
- scripts/__init__.py +0 -0
- scripts/app_and_key_for_tests.py +0 -180
- tests/__init__.py +0 -0
- tests/helpers.py +0 -105
- tests/test_integration.py +0 -243
- {clarifai_grpc-6.4.0.dist-info → clarifai_grpc-11.10.3.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: proto/clarifai/api/utils/test_proto.proto
|
|
4
|
-
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
5
6
|
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import
|
|
7
|
-
from google.protobuf import reflection as _reflection
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
9
|
# @@protoc_insertion_point(imports)
|
|
10
10
|
|
|
@@ -14,161 +14,20 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from clarifai_grpc.grpc.api.utils import extensions_pb2 as proto_dot_clarifai_dot_api_dot_utils_dot_extensions__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR =
|
|
18
|
-
name='proto/clarifai/api/utils/test_proto.proto',
|
|
19
|
-
package='clarifai.api.utils',
|
|
20
|
-
syntax='proto3',
|
|
21
|
-
serialized_options=b'\n\033com.clarifai.grpc.api.utilsP\001Z\005utils\242\002\004CAIP',
|
|
22
|
-
serialized_pb=b'\n)proto/clarifai/api/utils/test_proto.proto\x12\x12\x63larifai.api.utils\x1a)proto/clarifai/api/utils/extensions.proto\"\xe5\x01\n\tTestProto\x12\n\n\x02id\x18\x01 \x01(\t\x12(\n\x07message\x18\x02 \x01(\tB\x17\x80\xb5\x18\x01\x8a\xb5\x18\x0fprotos are cool\x12\x16\n\x05value\x18\x03 \x01(\x01\x42\x07\xd5\xb5\x18\x00\x00\x80?\x12\x13\n\x0bimage_bytes\x18\x04 \x01(\x0c\x12\x16\n\x0cstring_oneof\x18\x05 \x01(\tH\x00\x12\x14\n\nbool_oneof\x18\x06 \x01(\x08H\x00\x12\x37\n\rmessage_oneof\x18\x07 \x01(\x0b\x32\x1e.clarifai.api.utils.TestProto2H\x00\x42\x0e\n\x0cone_of_field\"&\n\nTestProto2\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04\x66lip\x18\x02 \x01(\x08\x42-\n\x1b\x63om.clarifai.grpc.api.utilsP\x01Z\x05utils\xa2\x02\x04\x43\x41IPb\x06proto3'
|
|
23
|
-
,
|
|
24
|
-
dependencies=[proto_dot_clarifai_dot_api_dot_utils_dot_extensions__pb2.DESCRIPTOR,])
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
_TESTPROTO = _descriptor.Descriptor(
|
|
30
|
-
name='TestProto',
|
|
31
|
-
full_name='clarifai.api.utils.TestProto',
|
|
32
|
-
filename=None,
|
|
33
|
-
file=DESCRIPTOR,
|
|
34
|
-
containing_type=None,
|
|
35
|
-
fields=[
|
|
36
|
-
_descriptor.FieldDescriptor(
|
|
37
|
-
name='id', full_name='clarifai.api.utils.TestProto.id', index=0,
|
|
38
|
-
number=1, type=9, cpp_type=9, label=1,
|
|
39
|
-
has_default_value=False, default_value=b"".decode('utf-8'),
|
|
40
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
41
|
-
is_extension=False, extension_scope=None,
|
|
42
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
43
|
-
_descriptor.FieldDescriptor(
|
|
44
|
-
name='message', full_name='clarifai.api.utils.TestProto.message', index=1,
|
|
45
|
-
number=2, type=9, cpp_type=9, label=1,
|
|
46
|
-
has_default_value=False, default_value=b"".decode('utf-8'),
|
|
47
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
48
|
-
is_extension=False, extension_scope=None,
|
|
49
|
-
serialized_options=b'\200\265\030\001\212\265\030\017protos are cool', file=DESCRIPTOR),
|
|
50
|
-
_descriptor.FieldDescriptor(
|
|
51
|
-
name='value', full_name='clarifai.api.utils.TestProto.value', index=2,
|
|
52
|
-
number=3, type=1, cpp_type=5, label=1,
|
|
53
|
-
has_default_value=False, default_value=float(0),
|
|
54
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
55
|
-
is_extension=False, extension_scope=None,
|
|
56
|
-
serialized_options=b'\325\265\030\000\000\200?', file=DESCRIPTOR),
|
|
57
|
-
_descriptor.FieldDescriptor(
|
|
58
|
-
name='image_bytes', full_name='clarifai.api.utils.TestProto.image_bytes', index=3,
|
|
59
|
-
number=4, type=12, cpp_type=9, label=1,
|
|
60
|
-
has_default_value=False, default_value=b"",
|
|
61
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
62
|
-
is_extension=False, extension_scope=None,
|
|
63
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
64
|
-
_descriptor.FieldDescriptor(
|
|
65
|
-
name='string_oneof', full_name='clarifai.api.utils.TestProto.string_oneof', index=4,
|
|
66
|
-
number=5, type=9, cpp_type=9, label=1,
|
|
67
|
-
has_default_value=False, default_value=b"".decode('utf-8'),
|
|
68
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
69
|
-
is_extension=False, extension_scope=None,
|
|
70
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
71
|
-
_descriptor.FieldDescriptor(
|
|
72
|
-
name='bool_oneof', full_name='clarifai.api.utils.TestProto.bool_oneof', index=5,
|
|
73
|
-
number=6, type=8, cpp_type=7, label=1,
|
|
74
|
-
has_default_value=False, default_value=False,
|
|
75
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
76
|
-
is_extension=False, extension_scope=None,
|
|
77
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
78
|
-
_descriptor.FieldDescriptor(
|
|
79
|
-
name='message_oneof', full_name='clarifai.api.utils.TestProto.message_oneof', index=6,
|
|
80
|
-
number=7, type=11, cpp_type=10, label=1,
|
|
81
|
-
has_default_value=False, default_value=None,
|
|
82
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
83
|
-
is_extension=False, extension_scope=None,
|
|
84
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
85
|
-
],
|
|
86
|
-
extensions=[
|
|
87
|
-
],
|
|
88
|
-
nested_types=[],
|
|
89
|
-
enum_types=[
|
|
90
|
-
],
|
|
91
|
-
serialized_options=None,
|
|
92
|
-
is_extendable=False,
|
|
93
|
-
syntax='proto3',
|
|
94
|
-
extension_ranges=[],
|
|
95
|
-
oneofs=[
|
|
96
|
-
_descriptor.OneofDescriptor(
|
|
97
|
-
name='one_of_field', full_name='clarifai.api.utils.TestProto.one_of_field',
|
|
98
|
-
index=0, containing_type=None, fields=[]),
|
|
99
|
-
],
|
|
100
|
-
serialized_start=109,
|
|
101
|
-
serialized_end=338,
|
|
102
|
-
)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
_TESTPROTO2 = _descriptor.Descriptor(
|
|
106
|
-
name='TestProto2',
|
|
107
|
-
full_name='clarifai.api.utils.TestProto2',
|
|
108
|
-
filename=None,
|
|
109
|
-
file=DESCRIPTOR,
|
|
110
|
-
containing_type=None,
|
|
111
|
-
fields=[
|
|
112
|
-
_descriptor.FieldDescriptor(
|
|
113
|
-
name='id', full_name='clarifai.api.utils.TestProto2.id', index=0,
|
|
114
|
-
number=1, type=9, cpp_type=9, label=1,
|
|
115
|
-
has_default_value=False, default_value=b"".decode('utf-8'),
|
|
116
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
117
|
-
is_extension=False, extension_scope=None,
|
|
118
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
119
|
-
_descriptor.FieldDescriptor(
|
|
120
|
-
name='flip', full_name='clarifai.api.utils.TestProto2.flip', index=1,
|
|
121
|
-
number=2, type=8, cpp_type=7, label=1,
|
|
122
|
-
has_default_value=False, default_value=False,
|
|
123
|
-
message_type=None, enum_type=None, containing_type=None,
|
|
124
|
-
is_extension=False, extension_scope=None,
|
|
125
|
-
serialized_options=None, file=DESCRIPTOR),
|
|
126
|
-
],
|
|
127
|
-
extensions=[
|
|
128
|
-
],
|
|
129
|
-
nested_types=[],
|
|
130
|
-
enum_types=[
|
|
131
|
-
],
|
|
132
|
-
serialized_options=None,
|
|
133
|
-
is_extendable=False,
|
|
134
|
-
syntax='proto3',
|
|
135
|
-
extension_ranges=[],
|
|
136
|
-
oneofs=[
|
|
137
|
-
],
|
|
138
|
-
serialized_start=340,
|
|
139
|
-
serialized_end=378,
|
|
140
|
-
)
|
|
141
|
-
|
|
142
|
-
_TESTPROTO.fields_by_name['message_oneof'].message_type = _TESTPROTO2
|
|
143
|
-
_TESTPROTO.oneofs_by_name['one_of_field'].fields.append(
|
|
144
|
-
_TESTPROTO.fields_by_name['string_oneof'])
|
|
145
|
-
_TESTPROTO.fields_by_name['string_oneof'].containing_oneof = _TESTPROTO.oneofs_by_name['one_of_field']
|
|
146
|
-
_TESTPROTO.oneofs_by_name['one_of_field'].fields.append(
|
|
147
|
-
_TESTPROTO.fields_by_name['bool_oneof'])
|
|
148
|
-
_TESTPROTO.fields_by_name['bool_oneof'].containing_oneof = _TESTPROTO.oneofs_by_name['one_of_field']
|
|
149
|
-
_TESTPROTO.oneofs_by_name['one_of_field'].fields.append(
|
|
150
|
-
_TESTPROTO.fields_by_name['message_oneof'])
|
|
151
|
-
_TESTPROTO.fields_by_name['message_oneof'].containing_oneof = _TESTPROTO.oneofs_by_name['one_of_field']
|
|
152
|
-
DESCRIPTOR.message_types_by_name['TestProto'] = _TESTPROTO
|
|
153
|
-
DESCRIPTOR.message_types_by_name['TestProto2'] = _TESTPROTO2
|
|
154
|
-
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
155
|
-
|
|
156
|
-
TestProto = _reflection.GeneratedProtocolMessageType('TestProto', (_message.Message,), {
|
|
157
|
-
'DESCRIPTOR' : _TESTPROTO,
|
|
158
|
-
'__module__' : 'proto.clarifai.api.utils.test_proto_pb2'
|
|
159
|
-
# @@protoc_insertion_point(class_scope:clarifai.api.utils.TestProto)
|
|
160
|
-
})
|
|
161
|
-
_sym_db.RegisterMessage(TestProto)
|
|
162
|
-
|
|
163
|
-
TestProto2 = _reflection.GeneratedProtocolMessageType('TestProto2', (_message.Message,), {
|
|
164
|
-
'DESCRIPTOR' : _TESTPROTO2,
|
|
165
|
-
'__module__' : 'proto.clarifai.api.utils.test_proto_pb2'
|
|
166
|
-
# @@protoc_insertion_point(class_scope:clarifai.api.utils.TestProto2)
|
|
167
|
-
})
|
|
168
|
-
_sym_db.RegisterMessage(TestProto2)
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)proto/clarifai/api/utils/test_proto.proto\x12\x12\x63larifai.api.utils\x1a)proto/clarifai/api/utils/extensions.proto\"\xe5\x01\n\tTestProto\x12\n\n\x02id\x18\x01 \x01(\t\x12(\n\x07message\x18\x02 \x01(\tB\x17\x80\xb5\x18\x01\x8a\xb5\x18\x0fprotos are cool\x12\x16\n\x05value\x18\x03 \x01(\x01\x42\x07\xd5\xb5\x18\x00\x00\x80?\x12\x13\n\x0bimage_bytes\x18\x04 \x01(\x0c\x12\x16\n\x0cstring_oneof\x18\x05 \x01(\tH\x00\x12\x14\n\nbool_oneof\x18\x06 \x01(\x08H\x00\x12\x37\n\rmessage_oneof\x18\x07 \x01(\x0b\x32\x1e.clarifai.api.utils.TestProto2H\x00\x42\x0e\n\x0cone_of_field\"&\n\nTestProto2\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04\x66lip\x18\x02 \x01(\x08\x42\x65\n\x1b\x63om.clarifai.grpc.api.utilsP\x01Z=github.com/Clarifai/clarifai-go-grpc/proto/clarifai/api/utils\xa2\x02\x04\x43\x41IPb\x06proto3')
|
|
169
18
|
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.clarifai.api.utils.test_proto_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
170
22
|
|
|
171
|
-
DESCRIPTOR._options = None
|
|
172
|
-
|
|
173
|
-
_TESTPROTO.fields_by_name['
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\033com.clarifai.grpc.api.utilsP\001Z=github.com/Clarifai/clarifai-go-grpc/proto/clarifai/api/utils\242\002\004CAIP'
|
|
25
|
+
_TESTPROTO.fields_by_name['message']._options = None
|
|
26
|
+
_TESTPROTO.fields_by_name['message']._serialized_options = b'\200\265\030\001\212\265\030\017protos are cool'
|
|
27
|
+
_TESTPROTO.fields_by_name['value']._options = None
|
|
28
|
+
_TESTPROTO.fields_by_name['value']._serialized_options = b'\325\265\030\000\000\200?'
|
|
29
|
+
_TESTPROTO._serialized_start=109
|
|
30
|
+
_TESTPROTO._serialized_end=338
|
|
31
|
+
_TESTPROTO2._serialized_start=340
|
|
32
|
+
_TESTPROTO2._serialized_end=378
|
|
174
33
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
import google.protobuf.descriptor
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
|
|
12
|
+
if sys.version_info >= (3, 8):
|
|
13
|
+
import typing as typing_extensions
|
|
14
|
+
else:
|
|
15
|
+
import typing_extensions
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
18
|
+
|
|
19
|
+
@typing_extensions.final
|
|
20
|
+
class TestProto(google.protobuf.message.Message):
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
22
|
+
|
|
23
|
+
ID_FIELD_NUMBER: builtins.int
|
|
24
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
25
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
26
|
+
IMAGE_BYTES_FIELD_NUMBER: builtins.int
|
|
27
|
+
STRING_ONEOF_FIELD_NUMBER: builtins.int
|
|
28
|
+
BOOL_ONEOF_FIELD_NUMBER: builtins.int
|
|
29
|
+
MESSAGE_ONEOF_FIELD_NUMBER: builtins.int
|
|
30
|
+
id: builtins.str
|
|
31
|
+
message: builtins.str
|
|
32
|
+
value: builtins.float
|
|
33
|
+
image_bytes: builtins.bytes
|
|
34
|
+
string_oneof: builtins.str
|
|
35
|
+
bool_oneof: builtins.bool
|
|
36
|
+
@property
|
|
37
|
+
def message_oneof(self) -> global___TestProto2: ...
|
|
38
|
+
def __init__(
|
|
39
|
+
self,
|
|
40
|
+
*,
|
|
41
|
+
id: builtins.str = ...,
|
|
42
|
+
message: builtins.str = ...,
|
|
43
|
+
value: builtins.float = ...,
|
|
44
|
+
image_bytes: builtins.bytes = ...,
|
|
45
|
+
string_oneof: builtins.str = ...,
|
|
46
|
+
bool_oneof: builtins.bool = ...,
|
|
47
|
+
message_oneof: global___TestProto2 | None = ...,
|
|
48
|
+
) -> None: ...
|
|
49
|
+
def HasField(
|
|
50
|
+
self,
|
|
51
|
+
field_name: typing_extensions.Literal[
|
|
52
|
+
"bool_oneof",
|
|
53
|
+
b"bool_oneof",
|
|
54
|
+
"message_oneof",
|
|
55
|
+
b"message_oneof",
|
|
56
|
+
"one_of_field",
|
|
57
|
+
b"one_of_field",
|
|
58
|
+
"string_oneof",
|
|
59
|
+
b"string_oneof",
|
|
60
|
+
],
|
|
61
|
+
) -> builtins.bool: ...
|
|
62
|
+
def ClearField(
|
|
63
|
+
self,
|
|
64
|
+
field_name: typing_extensions.Literal[
|
|
65
|
+
"bool_oneof",
|
|
66
|
+
b"bool_oneof",
|
|
67
|
+
"id",
|
|
68
|
+
b"id",
|
|
69
|
+
"image_bytes",
|
|
70
|
+
b"image_bytes",
|
|
71
|
+
"message",
|
|
72
|
+
b"message",
|
|
73
|
+
"message_oneof",
|
|
74
|
+
b"message_oneof",
|
|
75
|
+
"one_of_field",
|
|
76
|
+
b"one_of_field",
|
|
77
|
+
"string_oneof",
|
|
78
|
+
b"string_oneof",
|
|
79
|
+
"value",
|
|
80
|
+
b"value",
|
|
81
|
+
],
|
|
82
|
+
) -> None: ...
|
|
83
|
+
def WhichOneof(
|
|
84
|
+
self, oneof_group: typing_extensions.Literal["one_of_field", b"one_of_field"]
|
|
85
|
+
) -> typing_extensions.Literal["string_oneof", "bool_oneof", "message_oneof"] | None: ...
|
|
86
|
+
|
|
87
|
+
global___TestProto = TestProto
|
|
88
|
+
|
|
89
|
+
@typing_extensions.final
|
|
90
|
+
class TestProto2(google.protobuf.message.Message):
|
|
91
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
92
|
+
|
|
93
|
+
ID_FIELD_NUMBER: builtins.int
|
|
94
|
+
FLIP_FIELD_NUMBER: builtins.int
|
|
95
|
+
id: builtins.str
|
|
96
|
+
flip: builtins.bool
|
|
97
|
+
def __init__(
|
|
98
|
+
self,
|
|
99
|
+
*,
|
|
100
|
+
id: builtins.str = ...,
|
|
101
|
+
flip: builtins.bool = ...,
|
|
102
|
+
) -> None: ...
|
|
103
|
+
def ClearField(
|
|
104
|
+
self, field_name: typing_extensions.Literal["flip", b"flip", "id", b"id"]
|
|
105
|
+
) -> None: ...
|
|
106
|
+
|
|
107
|
+
global___TestProto2 = TestProto2
|