mongot-standalone-client 0.1.0__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.
@@ -0,0 +1,4 @@
1
+ from . import standalone_pb2 as api
2
+ from .client import Client, decode_bson, encode_bson
3
+
4
+ __all__ = ["Client", "api", "encode_bson", "decode_bson"]
@@ -0,0 +1,53 @@
1
+ """JSON-lines adapter used by the cross-language integration suite."""
2
+
3
+ import json
4
+ import os
5
+ import sys
6
+
7
+ import grpc
8
+ from google.protobuf.json_format import MessageToDict, ParseDict
9
+
10
+ from . import Client, api
11
+
12
+ METHODS = {
13
+ "CreateCollection": ("create_collection", api.CreateCollectionRequest),
14
+ "GetCollection": ("get_collection", api.GetCollectionRequest),
15
+ "CreateIndex": ("create_index", api.CreateIndexRequest),
16
+ "UpdateIndex": ("update_index", api.UpdateIndexRequest),
17
+ "DropIndex": ("drop_index", api.DropIndexRequest),
18
+ "GetIndex": ("get_index", api.GetIndexRequest),
19
+ "ListIndexes": ("list_indexes", api.ListIndexesRequest),
20
+ "Write": ("write", api.WriteRequest),
21
+ "WriteBatch": ("write_batch", api.WriteBatchRequest),
22
+ "GetWriteResult": ("get_write_result", api.GetWriteResultRequest),
23
+ "AwaitSequence": ("await_sequence", api.AwaitSequenceRequest),
24
+ "GetStatus": ("get_status", api.GetStatusRequest),
25
+ "Search": ("search", api.QueryRequest),
26
+ "VectorSearch": ("vector_search", api.QueryRequest),
27
+ "GetMore": ("get_more", api.GetMoreRequest),
28
+ "KillCursor": ("kill_cursor", api.KillCursorRequest),
29
+ }
30
+
31
+
32
+ def main():
33
+ with Client(
34
+ os.getenv("MONGOT_ADDRESS", "127.0.0.1:27029"),
35
+ ca_file=os.getenv("MONGOT_CA"),
36
+ token_file=os.getenv("MONGOT_TOKEN_FILE"),
37
+ timeout=float(os.getenv("MONGOT_TIMEOUT", "30")),
38
+ ) as client:
39
+ for line in sys.stdin:
40
+ try:
41
+ call = json.loads(line)
42
+ method, request = METHODS[call["method"]]
43
+ response = getattr(client, method)(ParseDict(call.get("request", {}), request()))
44
+ output = {"response": MessageToDict(response)}
45
+ except grpc.RpcError as error:
46
+ output = {"error": {"code": error.code().name, "message": error.details()}}
47
+ except Exception as error:
48
+ output = {"error": {"code": "CLIENT_ERROR", "message": str(error)}}
49
+ print(json.dumps(output), flush=True)
50
+
51
+
52
+ if __name__ == "__main__":
53
+ main()
@@ -0,0 +1,150 @@
1
+ """Typed requests/responses, BSON helpers, per-call deadlines and TLS/bearer auth."""
2
+
3
+ import math
4
+ from collections.abc import Mapping
5
+ from pathlib import Path
6
+
7
+ import bson
8
+ import grpc
9
+
10
+ from . import standalone_pb2 as api
11
+ from . import standalone_pb2_grpc as rpc
12
+
13
+
14
+ def encode_bson(document: Mapping) -> bytes:
15
+ return bson.encode(document)
16
+
17
+
18
+ def decode_bson(data: bytes) -> dict:
19
+ return bson.decode(data)
20
+
21
+
22
+ class Client:
23
+ def __init__(self, address="127.0.0.1:27029", *, ca_file=None, token_file=None, timeout=30):
24
+ if timeout <= 0 or not math.isfinite(timeout):
25
+ raise ValueError("timeout must be positive and finite")
26
+ if token_file and not ca_file:
27
+ raise ValueError("bearer authentication requires TLS")
28
+ self.timeout = timeout
29
+ self.metadata = (
30
+ (("authorization", "Bearer " + Path(token_file).read_text().strip()),)
31
+ if token_file
32
+ else ()
33
+ )
34
+ options = (("grpc.max_receive_message_length", 64 * 1024 * 1024),)
35
+ self.channel = (
36
+ grpc.secure_channel(
37
+ address, grpc.ssl_channel_credentials(Path(ca_file).read_bytes()), options
38
+ )
39
+ if ca_file
40
+ else grpc.insecure_channel(address, options)
41
+ )
42
+ self.catalog = rpc.CatalogServiceStub(self.channel)
43
+ self.documents = rpc.DocumentServiceStub(self.channel)
44
+ self.operations = rpc.OperationsServiceStub(self.channel)
45
+ self.queries = rpc.QueryServiceStub(self.channel)
46
+
47
+ def close(self):
48
+ self.channel.close()
49
+
50
+ def __enter__(self):
51
+ return self
52
+
53
+ def __exit__(self, *_):
54
+ self.close()
55
+
56
+ def create_collection(
57
+ self, request: api.CreateCollectionRequest, *, timeout=None
58
+ ) -> api.CollectionDescription:
59
+ return self.catalog.CreateCollection(
60
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
61
+ )
62
+
63
+ def get_collection(
64
+ self, request: api.GetCollectionRequest, *, timeout=None
65
+ ) -> api.CollectionDescription:
66
+ return self.catalog.GetCollection(
67
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
68
+ )
69
+
70
+ def create_index(
71
+ self, request: api.CreateIndexRequest, *, timeout=None
72
+ ) -> api.IndexDescription:
73
+ return self.catalog.CreateIndex(
74
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
75
+ )
76
+
77
+ def update_index(
78
+ self, request: api.UpdateIndexRequest, *, timeout=None
79
+ ) -> api.IndexDescription:
80
+ return self.catalog.UpdateIndex(
81
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
82
+ )
83
+
84
+ def drop_index(self, request: api.DropIndexRequest, *, timeout=None) -> api.IndexDescription:
85
+ return self.catalog.DropIndex(
86
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
87
+ )
88
+
89
+ def get_index(self, request: api.GetIndexRequest, *, timeout=None) -> api.IndexDescription:
90
+ return self.catalog.GetIndex(
91
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
92
+ )
93
+
94
+ def list_indexes(
95
+ self, request: api.ListIndexesRequest, *, timeout=None
96
+ ) -> api.ListIndexesResponse:
97
+ return self.catalog.ListIndexes(
98
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
99
+ )
100
+
101
+ def write(self, request: api.WriteRequest, *, timeout=None) -> api.WriteResponse:
102
+ return self.documents.Write(
103
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
104
+ )
105
+
106
+ def write_batch(self, request: api.WriteBatchRequest, *, timeout=None) -> api.WriteResponse:
107
+ return self.documents.WriteBatch(
108
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
109
+ )
110
+
111
+ def get_write_result(
112
+ self, request: api.GetWriteResultRequest, *, timeout=None
113
+ ) -> api.WriteResponse:
114
+ return self.documents.GetWriteResult(
115
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
116
+ )
117
+
118
+ def await_sequence(
119
+ self, request: api.AwaitSequenceRequest, *, timeout=None
120
+ ) -> api.IndexWatermarks:
121
+ return self.documents.AwaitSequence(
122
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
123
+ )
124
+
125
+ def get_status(self, request: api.GetStatusRequest, *, timeout=None) -> api.ServiceStatus:
126
+ return self.operations.GetStatus(
127
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
128
+ )
129
+
130
+ def search(self, request: api.QueryRequest, *, timeout=None) -> api.QueryResponse:
131
+ return self.queries.Search(
132
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
133
+ )
134
+
135
+ def vector_search(self, request: api.QueryRequest, *, timeout=None) -> api.QueryResponse:
136
+ return self.queries.VectorSearch(
137
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
138
+ )
139
+
140
+ def get_more(self, request: api.GetMoreRequest, *, timeout=None) -> api.QueryResponse:
141
+ return self.queries.GetMore(
142
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
143
+ )
144
+
145
+ def kill_cursor(
146
+ self, request: api.KillCursorRequest, *, timeout=None
147
+ ) -> api.KillCursorResponse:
148
+ return self.queries.KillCursor(
149
+ request, timeout=self.timeout if timeout is None else timeout, metadata=self.metadata
150
+ )
File without changes
@@ -0,0 +1,111 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: standalone.proto
5
+ # Protobuf Python Version: 7.35.1
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
+ 7,
15
+ 35,
16
+ 1,
17
+ '',
18
+ 'standalone.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10standalone.proto\x12\x14mongot.standalone.v1\"\x12\n\x10GetStatusRequest\"\xb2\x03\n\rServiceStatus\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\x12\x18\n\x10management_ready\x18\x02 \x01(\x08\x12\x17\n\x0f\x66\x61ilure_message\x18\x03 \x01(\t\x12\x1c\n\x14store_schema_version\x18\x04 \x01(\r\x12\x1e\n\x16retry_retention_millis\x18\x05 \x01(\x04\x12\x19\n\x11logical_log_bytes\x18\x06 \x01(\x04\x12\x16\n\x0eretry_requests\x18\x07 \x01(\x04\x12\x16\n\x0eretention_pins\x18\x08 \x01(\x04\x12\x14\n\x0csource_bytes\x18\t \x01(\x04\x12\x18\n\x10store_file_bytes\x18\n \x01(\x04\x12\x18\n\x10sqlite_wal_bytes\x18\x0b \x01(\x04\x12\x17\n\x0f\x66ree_disk_bytes\x18\x0c \x01(\x04\x12\x37\n\x07indexes\x18\r \x03(\x0b\x32&.mongot.standalone.v1.IndexDescription\x12\x34\n\x07metrics\x18\x0e \x03(\x0b\x32#.mongot.standalone.v1.ServiceMetric\"\x8f\x02\n\rServiceMetric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x06labels\x18\x02 \x03(\x0b\x32/.mongot.standalone.v1.ServiceMetric.LabelsEntry\x12K\n\x0cmeasurements\x18\x03 \x03(\x0b\x32\x35.mongot.standalone.v1.ServiceMetric.MeasurementsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11MeasurementsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"_\n\x0cQueryRequest\x12\x10\n\x08index_id\x18\x01 \x01(\t\x12\x12\n\nquery_bson\x18\x02 \x01(\x0c\x12\x12\n\nbatch_size\x18\x03 \x01(\r\x12\x15\n\rgeneration_id\x18\x04 \x01(\t\"d\n\rQueryResponse\x12\x11\n\tcursor_id\x18\x01 \x01(\x04\x12\x12\n\nbatch_bson\x18\x02 \x01(\x0c\x12\x15\n\rmetadata_bson\x18\x03 \x01(\x0c\x12\x15\n\rgeneration_id\x18\x04 \x01(\t\"7\n\x0eGetMoreRequest\x12\x11\n\tcursor_id\x18\x01 \x01(\x04\x12\x12\n\nbatch_size\x18\x02 \x01(\r\"&\n\x11KillCursorRequest\x12\x11\n\tcursor_id\x18\x01 \x01(\x04\"\x14\n\x12KillCursorResponse\"M\n\x17\x43reateCollectionRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"-\n\x14GetCollectionRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\"i\n\x15\x43ollectionDescription\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x19\n\x11\x61\x63\x63\x65pted_sequence\x18\x04 \x01(\x04\"\x95\x01\n\x12\x43reateIndexRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x15\n\rcollection_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12-\n\x04type\x18\x04 \x01(\x0e\x32\x1f.mongot.standalone.v1.IndexType\x12\x17\n\x0f\x64\x65\x66inition_bson\x18\x05 \x01(\x0c\"n\n\x12UpdateIndexRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08index_id\x18\x02 \x01(\t\x12\x19\n\x11\x65xpected_revision\x18\x03 \x01(\x04\x12\x17\n\x0f\x64\x65\x66inition_bson\x18\x04 \x01(\x0c\"S\n\x10\x44ropIndexRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x10\n\x08index_id\x18\x02 \x01(\t\x12\x19\n\x11\x65xpected_revision\x18\x03 \x01(\x04\"#\n\x0fGetIndexRequest\x12\x10\n\x08index_id\x18\x01 \x01(\t\"R\n\x12ListIndexesRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\r\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x13ListIndexesResponse\x12\x37\n\x07indexes\x18\x01 \x03(\x0b\x32&.mongot.standalone.v1.IndexDescription\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xec\x02\n\x10IndexDescription\x12\x10\n\x08index_id\x18\x01 \x01(\t\x12\x15\n\rcollection_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12-\n\x04type\x18\x04 \x01(\x0e\x32\x1f.mongot.standalone.v1.IndexType\x12\x18\n\x10\x64\x65sired_revision\x18\x05 \x01(\x04\x12\x1f\n\x17\x64\x65sired_definition_bson\x18\x06 \x01(\x0c\x12\x17\n\x0flifecycle_state\x18\x07 \x01(\t\x12\x33\n\x04live\x18\x08 \x01(\x0b\x32%.mongot.standalone.v1.IndexWatermarks\x12\x37\n\x08\x62uilding\x18\t \x01(\x0b\x32%.mongot.standalone.v1.IndexWatermarks\x12\x17\n\x0f\x66\x61ilure_message\x18\n \x01(\t\x12\x17\n\x0f\x61\x63tive_revision\x18\x0b \x01(\x04\"J\n\x08Mutation\x12\x30\n\x04type\x18\x01 \x01(\x0e\x32\".mongot.standalone.v1.MutationType\x12\x0c\n\x04\x62son\x18\x02 \x01(\x0c\"k\n\x0cWriteRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x30\n\x08mutation\x18\x03 \x01(\x0b\x32\x1e.mongot.standalone.v1.Mutation\"q\n\x11WriteBatchRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x31\n\tmutations\x18\x03 \x03(\x0b\x32\x1e.mongot.standalone.v1.Mutation\"\xb2\x01\n\x0eMutationResult\x12\x0f\n\x07ordinal\x18\x01 \x01(\r\x12\x13\n\x0bstatus_code\x18\x02 \x01(\x05\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x1e\n\x11\x61\x63\x63\x65pted_sequence\x18\x04 \x01(\x04H\x00\x88\x01\x01\x12\x33\n\x05state\x18\x05 \x01(\x0e\x32$.mongot.standalone.v1.WriteItemStateB\x14\n\x12_accepted_sequence\"\x83\x01\n\rWriteResponse\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x35\n\x07results\x18\x03 \x03(\x0b\x32$.mongot.standalone.v1.MutationResult\x12\x10\n\x08\x63omplete\x18\x04 \x01(\x08\"B\n\x15GetWriteResultRequest\x12\x15\n\rcollection_id\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x8d\x01\n\x14\x41waitSequenceRequest\x12\x10\n\x08index_id\x18\x01 \x01(\t\x12\x15\n\rgeneration_id\x18\x02 \x01(\t\x12\x10\n\x08sequence\x18\x03 \x01(\x04\x12:\n\tcondition\x18\x04 \x01(\x0e\x32\'.mongot.standalone.v1.SequenceCondition\"\xaf\x01\n\x0fIndexWatermarks\x12\x15\n\rgeneration_id\x18\x01 \x01(\t\x12\x18\n\x10\x61pplied_sequence\x18\x02 \x01(\x04\x12\x1a\n\x12\x63ommitted_sequence\x18\x03 \x01(\x04\x12\x18\n\x10visible_sequence\x18\x04 \x01(\x04\x12\x1a\n\x12snapshot_documents\x18\x05 \x01(\x04\x12\x19\n\x11snapshot_complete\x18\x06 \x01(\x08*\\\n\tIndexType\x12\x1a\n\x16INDEX_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11INDEX_TYPE_SEARCH\x10\x01\x12\x1c\n\x18INDEX_TYPE_VECTOR_SEARCH\x10\x02*{\n\x0cMutationType\x12\x1d\n\x19MUTATION_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14MUTATION_TYPE_INSERT\x10\x01\x12\x18\n\x14MUTATION_TYPE_UPSERT\x10\x02\x12\x18\n\x14MUTATION_TYPE_DELETE\x10\x03*\xbc\x01\n\x0eWriteItemState\x12 \n\x1cWRITE_ITEM_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19WRITE_ITEM_STATE_REJECTED\x10\x01\x12%\n!WRITE_ITEM_STATE_PENDING_INDEXING\x10\x02\x12\x1c\n\x18WRITE_ITEM_STATE_INDEXED\x10\x03\x12$\n WRITE_ITEM_STATE_INDEXING_FAILED\x10\x04*\x99\x01\n\x11SequenceCondition\x12\"\n\x1eSEQUENCE_CONDITION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEQUENCE_CONDITION_APPLIED\x10\x01\x12 \n\x1cSEQUENCE_CONDITION_COMMITTED\x10\x02\x12\x1e\n\x1aSEQUENCE_CONDITION_VISIBLE\x10\x03\x32\xc8\x05\n\x0e\x43\x61talogService\x12n\n\x10\x43reateCollection\x12-.mongot.standalone.v1.CreateCollectionRequest\x1a+.mongot.standalone.v1.CollectionDescription\x12h\n\rGetCollection\x12*.mongot.standalone.v1.GetCollectionRequest\x1a+.mongot.standalone.v1.CollectionDescription\x12_\n\x0b\x43reateIndex\x12(.mongot.standalone.v1.CreateIndexRequest\x1a&.mongot.standalone.v1.IndexDescription\x12_\n\x0bUpdateIndex\x12(.mongot.standalone.v1.UpdateIndexRequest\x1a&.mongot.standalone.v1.IndexDescription\x12[\n\tDropIndex\x12&.mongot.standalone.v1.DropIndexRequest\x1a&.mongot.standalone.v1.IndexDescription\x12Y\n\x08GetIndex\x12%.mongot.standalone.v1.GetIndexRequest\x1a&.mongot.standalone.v1.IndexDescription\x12\x62\n\x0bListIndexes\x12(.mongot.standalone.v1.ListIndexesRequest\x1a).mongot.standalone.v1.ListIndexesResponse2\x87\x03\n\x0f\x44ocumentService\x12P\n\x05Write\x12\".mongot.standalone.v1.WriteRequest\x1a#.mongot.standalone.v1.WriteResponse\x12Z\n\nWriteBatch\x12\'.mongot.standalone.v1.WriteBatchRequest\x1a#.mongot.standalone.v1.WriteResponse\x12\x62\n\x0eGetWriteResult\x12+.mongot.standalone.v1.GetWriteResultRequest\x1a#.mongot.standalone.v1.WriteResponse\x12\x62\n\rAwaitSequence\x12*.mongot.standalone.v1.AwaitSequenceRequest\x1a%.mongot.standalone.v1.IndexWatermarks2m\n\x11OperationsService\x12X\n\tGetStatus\x12&.mongot.standalone.v1.GetStatusRequest\x1a#.mongot.standalone.v1.ServiceStatus2\xf1\x02\n\x0cQueryService\x12Q\n\x06Search\x12\".mongot.standalone.v1.QueryRequest\x1a#.mongot.standalone.v1.QueryResponse\x12W\n\x0cVectorSearch\x12\".mongot.standalone.v1.QueryRequest\x1a#.mongot.standalone.v1.QueryResponse\x12T\n\x07GetMore\x12$.mongot.standalone.v1.GetMoreRequest\x1a#.mongot.standalone.v1.QueryResponse\x12_\n\nKillCursor\x12\'.mongot.standalone.v1.KillCursorRequest\x1a(.mongot.standalone.v1.KillCursorResponseB#\n\x1f\x63om.xgen.mongot.standalone.grpcP\x01\x62\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'standalone_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\037com.xgen.mongot.standalone.grpcP\001'
35
+ _globals['_SERVICEMETRIC_LABELSENTRY']._loaded_options = None
36
+ _globals['_SERVICEMETRIC_LABELSENTRY']._serialized_options = b'8\001'
37
+ _globals['_SERVICEMETRIC_MEASUREMENTSENTRY']._loaded_options = None
38
+ _globals['_SERVICEMETRIC_MEASUREMENTSENTRY']._serialized_options = b'8\001'
39
+ _globals['_INDEXTYPE']._serialized_start=3271
40
+ _globals['_INDEXTYPE']._serialized_end=3363
41
+ _globals['_MUTATIONTYPE']._serialized_start=3365
42
+ _globals['_MUTATIONTYPE']._serialized_end=3488
43
+ _globals['_WRITEITEMSTATE']._serialized_start=3491
44
+ _globals['_WRITEITEMSTATE']._serialized_end=3679
45
+ _globals['_SEQUENCECONDITION']._serialized_start=3682
46
+ _globals['_SEQUENCECONDITION']._serialized_end=3835
47
+ _globals['_GETSTATUSREQUEST']._serialized_start=42
48
+ _globals['_GETSTATUSREQUEST']._serialized_end=60
49
+ _globals['_SERVICESTATUS']._serialized_start=63
50
+ _globals['_SERVICESTATUS']._serialized_end=497
51
+ _globals['_SERVICEMETRIC']._serialized_start=500
52
+ _globals['_SERVICEMETRIC']._serialized_end=771
53
+ _globals['_SERVICEMETRIC_LABELSENTRY']._serialized_start=673
54
+ _globals['_SERVICEMETRIC_LABELSENTRY']._serialized_end=718
55
+ _globals['_SERVICEMETRIC_MEASUREMENTSENTRY']._serialized_start=720
56
+ _globals['_SERVICEMETRIC_MEASUREMENTSENTRY']._serialized_end=771
57
+ _globals['_QUERYREQUEST']._serialized_start=773
58
+ _globals['_QUERYREQUEST']._serialized_end=868
59
+ _globals['_QUERYRESPONSE']._serialized_start=870
60
+ _globals['_QUERYRESPONSE']._serialized_end=970
61
+ _globals['_GETMOREREQUEST']._serialized_start=972
62
+ _globals['_GETMOREREQUEST']._serialized_end=1027
63
+ _globals['_KILLCURSORREQUEST']._serialized_start=1029
64
+ _globals['_KILLCURSORREQUEST']._serialized_end=1067
65
+ _globals['_KILLCURSORRESPONSE']._serialized_start=1069
66
+ _globals['_KILLCURSORRESPONSE']._serialized_end=1089
67
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_start=1091
68
+ _globals['_CREATECOLLECTIONREQUEST']._serialized_end=1168
69
+ _globals['_GETCOLLECTIONREQUEST']._serialized_start=1170
70
+ _globals['_GETCOLLECTIONREQUEST']._serialized_end=1215
71
+ _globals['_COLLECTIONDESCRIPTION']._serialized_start=1217
72
+ _globals['_COLLECTIONDESCRIPTION']._serialized_end=1322
73
+ _globals['_CREATEINDEXREQUEST']._serialized_start=1325
74
+ _globals['_CREATEINDEXREQUEST']._serialized_end=1474
75
+ _globals['_UPDATEINDEXREQUEST']._serialized_start=1476
76
+ _globals['_UPDATEINDEXREQUEST']._serialized_end=1586
77
+ _globals['_DROPINDEXREQUEST']._serialized_start=1588
78
+ _globals['_DROPINDEXREQUEST']._serialized_end=1671
79
+ _globals['_GETINDEXREQUEST']._serialized_start=1673
80
+ _globals['_GETINDEXREQUEST']._serialized_end=1708
81
+ _globals['_LISTINDEXESREQUEST']._serialized_start=1710
82
+ _globals['_LISTINDEXESREQUEST']._serialized_end=1792
83
+ _globals['_LISTINDEXESRESPONSE']._serialized_start=1794
84
+ _globals['_LISTINDEXESRESPONSE']._serialized_end=1897
85
+ _globals['_INDEXDESCRIPTION']._serialized_start=1900
86
+ _globals['_INDEXDESCRIPTION']._serialized_end=2264
87
+ _globals['_MUTATION']._serialized_start=2266
88
+ _globals['_MUTATION']._serialized_end=2340
89
+ _globals['_WRITEREQUEST']._serialized_start=2342
90
+ _globals['_WRITEREQUEST']._serialized_end=2449
91
+ _globals['_WRITEBATCHREQUEST']._serialized_start=2451
92
+ _globals['_WRITEBATCHREQUEST']._serialized_end=2564
93
+ _globals['_MUTATIONRESULT']._serialized_start=2567
94
+ _globals['_MUTATIONRESULT']._serialized_end=2745
95
+ _globals['_WRITERESPONSE']._serialized_start=2748
96
+ _globals['_WRITERESPONSE']._serialized_end=2879
97
+ _globals['_GETWRITERESULTREQUEST']._serialized_start=2881
98
+ _globals['_GETWRITERESULTREQUEST']._serialized_end=2947
99
+ _globals['_AWAITSEQUENCEREQUEST']._serialized_start=2950
100
+ _globals['_AWAITSEQUENCEREQUEST']._serialized_end=3091
101
+ _globals['_INDEXWATERMARKS']._serialized_start=3094
102
+ _globals['_INDEXWATERMARKS']._serialized_end=3269
103
+ _globals['_CATALOGSERVICE']._serialized_start=3838
104
+ _globals['_CATALOGSERVICE']._serialized_end=4550
105
+ _globals['_DOCUMENTSERVICE']._serialized_start=4553
106
+ _globals['_DOCUMENTSERVICE']._serialized_end=4944
107
+ _globals['_OPERATIONSSERVICE']._serialized_start=4946
108
+ _globals['_OPERATIONSSERVICE']._serialized_end=5055
109
+ _globals['_QUERYSERVICE']._serialized_start=5058
110
+ _globals['_QUERYSERVICE']._serialized_end=5427
111
+ # @@protoc_insertion_point(module_scope)