From 7c03b6b40e367166bb250725539213f1fd7c23f8 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Tue, 29 Oct 2024 18:09:31 +0800 Subject: [PATCH 01/11] Update gRPC and protobuf [ML-6341](https://iguazio.atlassian.net/browse/ML-6341) --- clients/py/requirements.txt | 4 +- clients/py/v3io_frames/frames_pb2.py | 480 +-- clients/py/v3io_frames/frames_pb2_grpc.py | 386 ++- frames.proto | 2 + go.mod | 14 +- go.sum | 29 +- pb/frames.pb.go | 3369 ++++++++++----------- 7 files changed, 2213 insertions(+), 2071 deletions(-) diff --git a/clients/py/requirements.txt b/clients/py/requirements.txt index e2c0020d..0bb530b7 100644 --- a/clients/py/requirements.txt +++ b/clients/py/requirements.txt @@ -1,6 +1,4 @@ googleapis-common-protos>=1.5.3 -# grpcio-tools 1.34.0 must not be used as it segfaults (1.34.1 ok). -# grpcio-tools 1.49 raises protobuf version from 3.x to 4.x, which breaks compatibility. -grpcio-tools>=1.30,!=1.34.0,<1.49 +grpcio-tools>=1.49 pandas>=0.23.4 requests>=2.19.1 diff --git a/clients/py/v3io_frames/frames_pb2.py b/clients/py/v3io_frames/frames_pb2.py index 1e5f7c86..8cd554b2 100644 --- a/clients/py/v3io_frames/frames_pb2.py +++ b/clients/py/v3io_frames/frames_pb2.py @@ -1,9 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: frames.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -20,8 +18,9 @@ name='frames.proto', package='pb', syntax='proto3', - serialized_options=None, - serialized_pb=_b('\n\x0c\x66rames.proto\x12\x02pb\"\xc8\x01\n\x06\x43olumn\x12\x1d\n\x04kind\x18\x01 \x01(\x0e\x32\x0f.pb.Column.Kind\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x05\x64type\x18\x03 \x01(\x0e\x32\t.pb.DType\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x0c\n\x04ints\x18\x05 \x03(\x03\x12\x0e\n\x06\x66loats\x18\x06 \x03(\x01\x12\x0f\n\x07strings\x18\x07 \x03(\t\x12\r\n\x05times\x18\x08 \x03(\x03\x12\r\n\x05\x62ools\x18\t \x03(\x08\"\x1c\n\x04Kind\x12\t\n\x05SLICE\x10\x00\x12\t\n\x05LABEL\x10\x01\"`\n\x05Value\x12\x0e\n\x04ival\x18\x01 \x01(\x03H\x00\x12\x0e\n\x04\x66val\x18\x02 \x01(\x01H\x00\x12\x0e\n\x04sval\x18\x03 \x01(\tH\x00\x12\x0e\n\x04tval\x18\x04 \x01(\x03H\x00\x12\x0e\n\x04\x62val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\rNullValuesMap\x12\x37\n\x0bnullColumns\x18\x01 \x03(\x0b\x32\".pb.NullValuesMap.NullColumnsEntry\x1a\x32\n\x10NullColumnsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xd9\x01\n\x05\x46rame\x12\x1b\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\n.pb.Column\x12\x1b\n\x07indices\x18\x02 \x03(\x0b\x32\n.pb.Column\x12%\n\x06labels\x18\x03 \x03(\x0b\x32\x15.pb.Frame.LabelsEntry\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12&\n\x0bnull_values\x18\x05 \x03(\x0b\x32\x11.pb.NullValuesMap\x1a\x38\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\xc5\x01\n\x0bSchemaField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64oc\x18\x02 \x01(\t\x12\x1a\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x0b\x32\t.pb.Value\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x33\n\nproperties\x18\x05 \x03(\x0b\x32\x1f.pb.SchemaField.PropertiesEntry\x1a<\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"6\n\tSchemaKey\x12\x14\n\x0csharding_key\x18\x01 \x03(\t\x12\x13\n\x0bsorting_key\x18\x02 \x03(\t\"\x97\x01\n\x0bTableSchema\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0b\n\x03\x64oc\x18\x04 \x01(\t\x12\x0f\n\x07\x61liases\x18\x05 \x03(\t\x12\x1f\n\x06\x66ields\x18\x06 \x03(\x0b\x32\x0f.pb.SchemaField\x12\x1a\n\x03key\x18\x07 \x01(\x0b\x32\r.pb.SchemaKey\"\x0c\n\nJoinStruct\"r\n\x07Session\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\x12\r\n\x05token\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\"\xdd\x04\n\x0bReadRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\x1f\n\x06schema\x18\x03 \x01(\x0b\x32\x0f.pb.TableSchema\x12\x13\n\x0b\x64\x61ta_format\x18\x04 \x01(\t\x12\x12\n\nrow_layout\x18\x05 \x01(\x08\x12\x13\n\x0bmulti_index\x18\x06 \x01(\x08\x12\r\n\x05query\x18\x07 \x01(\t\x12\r\n\x05table\x18\x08 \x01(\t\x12\x0f\n\x07\x63olumns\x18\t \x03(\t\x12\x0e\n\x06\x66ilter\x18\n \x01(\t\x12\x10\n\x08group_by\x18\x0b \x01(\t\x12\x1c\n\x04join\x18\x0c \x03(\x0b\x32\x0e.pb.JoinStruct\x12\r\n\x05limit\x18\r \x01(\x03\x12\x15\n\rmessage_limit\x18\x0e \x01(\x03\x12\x0e\n\x06marker\x18\x0f \x01(\t\x12\x13\n\x0breset_index\x18\x1d \x01(\x08\x12\x10\n\x08segments\x18\x10 \x03(\x03\x12\x16\n\x0etotal_segments\x18\x11 \x01(\x03\x12\x15\n\rsharding_keys\x18\x12 \x03(\t\x12\x1c\n\x14sort_key_range_start\x18\x13 \x01(\t\x12\x1a\n\x12sort_key_range_end\x18\x14 \x01(\t\x12\r\n\x05start\x18\x15 \x01(\t\x12\x0b\n\x03\x65nd\x18\x16 \x01(\t\x12\x0c\n\x04step\x18\x17 \x01(\t\x12\x13\n\x0b\x61ggregators\x18\x18 \x01(\t\x12\x1a\n\x12\x61ggregation_window\x18\x1c \x01(\t\x12\x0c\n\x04seek\x18\x19 \x01(\t\x12\x10\n\x08shard_id\x18\x1a \x01(\t\x12\x10\n\x08sequence\x18\x1b \x01(\x03\"\xd4\x01\n\x13InitialWriteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x0cinitial_data\x18\x04 \x01(\x0b\x32\t.pb.Frame\x12\x12\n\nexpression\x18\x05 \x01(\t\x12\x0c\n\x04more\x18\x06 \x01(\x08\x12\x16\n\x0epartition_keys\x18\x07 \x03(\t\x12\x11\n\tcondition\x18\x08 \x01(\t\x12\x11\n\tsave_mode\x18\t \x01(\t\"^\n\x0cWriteRequest\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x17.pb.InitialWriteRequestH\x00\x12\x1a\n\x05\x66rame\x18\x02 \x01(\x0b\x32\t.pb.FrameH\x00\x42\x06\n\x04type\",\n\x0cWriteRespose\x12\x0e\n\x06\x66rames\x18\x01 \x01(\x03\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xff\x01\n\rCreateRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x06schema\x18\x04 \x01(\x0b\x32\x0f.pb.TableSchema\x12#\n\tif_exists\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\x0c\n\x04rate\x18\x06 \x01(\t\x12\x12\n\naggregates\x18\x07 \x01(\t\x12\x1f\n\x17\x61ggregation_granularity\x18\x08 \x01(\t\x12\x0e\n\x06shards\x18\t \x01(\x03\x12\x17\n\x0fretention_hours\x18\n \x01(\x03\"\x10\n\x0e\x43reateResponse\"\xb0\x01\n\rDeleteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12$\n\nif_missing\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\r\n\x05start\x18\x06 \x01(\t\x12\x0b\n\x03\x65nd\x18\x07 \x01(\t\x12\x0f\n\x07metrics\x18\x08 \x03(\t\"\x10\n\x0e\x44\x65leteResponse\"\x10\n\x0eVersionRequest\"6\n\x0c\x45xecResponse\x12\x18\n\x05\x66rame\x18\x01 \x01(\x0b\x32\t.pb.Frame\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xd1\x01\n\x0b\x45xecRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\'\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x19.pb.ExecRequest.ArgsEntry\x12\x12\n\nexpression\x18\x06 \x01(\t\x1a\x36\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\"\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xdb\x01\n\x0eHistoryRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\x12\x16\n\x0emin_start_time\x18\x06 \x01(\t\x12\x16\n\x0emax_start_time\x18\x07 \x01(\t\x12\x11\n\tcontainer\x18\x08 \x01(\t\x12\x14\n\x0cmin_duration\x18\t \x01(\x03\x12\x14\n\x0cmax_duration\x18\n \x01(\x03*V\n\x05\x44Type\x12\x08\n\x04NONE\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\t\n\x05\x46LOAT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\x08\n\x04TIME\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x08\n\x04NULL\x10\x06*$\n\x0c\x45rrorOptions\x12\x08\n\x04\x46\x41IL\x10\x00\x12\n\n\x06IGNORE\x10\x01\x32\xd8\x02\n\x06\x46rames\x12&\n\x04Read\x12\x0f.pb.ReadRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12/\n\x05Write\x12\x10.pb.WriteRequest\x1a\x10.pb.WriteRespose\"\x00(\x01\x12\x31\n\x06\x43reate\x12\x11.pb.CreateRequest\x1a\x12.pb.CreateResponse\"\x00\x12\x31\n\x06\x44\x65lete\x12\x11.pb.DeleteRequest\x1a\x12.pb.DeleteResponse\"\x00\x12+\n\x04\x45xec\x12\x0f.pb.ExecRequest\x1a\x10.pb.ExecResponse\"\x00\x12,\n\x07History\x12\x12.pb.HistoryRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12\x34\n\x07Version\x12\x12.pb.VersionRequest\x1a\x13.pb.VersionResponse\"\x00\x62\x06proto3') + serialized_options=b'Z\004.;pb', + create_key=_descriptor._internal_create_key, + serialized_pb=b'\n\x0c\x66rames.proto\x12\x02pb\"\xc8\x01\n\x06\x43olumn\x12\x1d\n\x04kind\x18\x01 \x01(\x0e\x32\x0f.pb.Column.Kind\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x05\x64type\x18\x03 \x01(\x0e\x32\t.pb.DType\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x0c\n\x04ints\x18\x05 \x03(\x03\x12\x0e\n\x06\x66loats\x18\x06 \x03(\x01\x12\x0f\n\x07strings\x18\x07 \x03(\t\x12\r\n\x05times\x18\x08 \x03(\x03\x12\r\n\x05\x62ools\x18\t \x03(\x08\"\x1c\n\x04Kind\x12\t\n\x05SLICE\x10\x00\x12\t\n\x05LABEL\x10\x01\"`\n\x05Value\x12\x0e\n\x04ival\x18\x01 \x01(\x03H\x00\x12\x0e\n\x04\x66val\x18\x02 \x01(\x01H\x00\x12\x0e\n\x04sval\x18\x03 \x01(\tH\x00\x12\x0e\n\x04tval\x18\x04 \x01(\x03H\x00\x12\x0e\n\x04\x62val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\rNullValuesMap\x12\x37\n\x0bnullColumns\x18\x01 \x03(\x0b\x32\".pb.NullValuesMap.NullColumnsEntry\x1a\x32\n\x10NullColumnsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xd9\x01\n\x05\x46rame\x12\x1b\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\n.pb.Column\x12\x1b\n\x07indices\x18\x02 \x03(\x0b\x32\n.pb.Column\x12%\n\x06labels\x18\x03 \x03(\x0b\x32\x15.pb.Frame.LabelsEntry\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12&\n\x0bnull_values\x18\x05 \x03(\x0b\x32\x11.pb.NullValuesMap\x1a\x38\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\xc5\x01\n\x0bSchemaField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64oc\x18\x02 \x01(\t\x12\x1a\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x0b\x32\t.pb.Value\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x33\n\nproperties\x18\x05 \x03(\x0b\x32\x1f.pb.SchemaField.PropertiesEntry\x1a<\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"6\n\tSchemaKey\x12\x14\n\x0csharding_key\x18\x01 \x03(\t\x12\x13\n\x0bsorting_key\x18\x02 \x03(\t\"\x97\x01\n\x0bTableSchema\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0b\n\x03\x64oc\x18\x04 \x01(\t\x12\x0f\n\x07\x61liases\x18\x05 \x03(\t\x12\x1f\n\x06\x66ields\x18\x06 \x03(\x0b\x32\x0f.pb.SchemaField\x12\x1a\n\x03key\x18\x07 \x01(\x0b\x32\r.pb.SchemaKey\"\x0c\n\nJoinStruct\"r\n\x07Session\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\x12\r\n\x05token\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\"\xdd\x04\n\x0bReadRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\x1f\n\x06schema\x18\x03 \x01(\x0b\x32\x0f.pb.TableSchema\x12\x13\n\x0b\x64\x61ta_format\x18\x04 \x01(\t\x12\x12\n\nrow_layout\x18\x05 \x01(\x08\x12\x13\n\x0bmulti_index\x18\x06 \x01(\x08\x12\r\n\x05query\x18\x07 \x01(\t\x12\r\n\x05table\x18\x08 \x01(\t\x12\x0f\n\x07\x63olumns\x18\t \x03(\t\x12\x0e\n\x06\x66ilter\x18\n \x01(\t\x12\x10\n\x08group_by\x18\x0b \x01(\t\x12\x1c\n\x04join\x18\x0c \x03(\x0b\x32\x0e.pb.JoinStruct\x12\r\n\x05limit\x18\r \x01(\x03\x12\x15\n\rmessage_limit\x18\x0e \x01(\x03\x12\x0e\n\x06marker\x18\x0f \x01(\t\x12\x13\n\x0breset_index\x18\x1d \x01(\x08\x12\x10\n\x08segments\x18\x10 \x03(\x03\x12\x16\n\x0etotal_segments\x18\x11 \x01(\x03\x12\x15\n\rsharding_keys\x18\x12 \x03(\t\x12\x1c\n\x14sort_key_range_start\x18\x13 \x01(\t\x12\x1a\n\x12sort_key_range_end\x18\x14 \x01(\t\x12\r\n\x05start\x18\x15 \x01(\t\x12\x0b\n\x03\x65nd\x18\x16 \x01(\t\x12\x0c\n\x04step\x18\x17 \x01(\t\x12\x13\n\x0b\x61ggregators\x18\x18 \x01(\t\x12\x1a\n\x12\x61ggregation_window\x18\x1c \x01(\t\x12\x0c\n\x04seek\x18\x19 \x01(\t\x12\x10\n\x08shard_id\x18\x1a \x01(\t\x12\x10\n\x08sequence\x18\x1b \x01(\x03\"\xd4\x01\n\x13InitialWriteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x0cinitial_data\x18\x04 \x01(\x0b\x32\t.pb.Frame\x12\x12\n\nexpression\x18\x05 \x01(\t\x12\x0c\n\x04more\x18\x06 \x01(\x08\x12\x16\n\x0epartition_keys\x18\x07 \x03(\t\x12\x11\n\tcondition\x18\x08 \x01(\t\x12\x11\n\tsave_mode\x18\t \x01(\t\"^\n\x0cWriteRequest\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x17.pb.InitialWriteRequestH\x00\x12\x1a\n\x05\x66rame\x18\x02 \x01(\x0b\x32\t.pb.FrameH\x00\x42\x06\n\x04type\",\n\x0cWriteRespose\x12\x0e\n\x06\x66rames\x18\x01 \x01(\x03\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xff\x01\n\rCreateRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x06schema\x18\x04 \x01(\x0b\x32\x0f.pb.TableSchema\x12#\n\tif_exists\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\x0c\n\x04rate\x18\x06 \x01(\t\x12\x12\n\naggregates\x18\x07 \x01(\t\x12\x1f\n\x17\x61ggregation_granularity\x18\x08 \x01(\t\x12\x0e\n\x06shards\x18\t \x01(\x03\x12\x17\n\x0fretention_hours\x18\n \x01(\x03\"\x10\n\x0e\x43reateResponse\"\xb0\x01\n\rDeleteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12$\n\nif_missing\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\r\n\x05start\x18\x06 \x01(\t\x12\x0b\n\x03\x65nd\x18\x07 \x01(\t\x12\x0f\n\x07metrics\x18\x08 \x03(\t\"\x10\n\x0e\x44\x65leteResponse\"\x10\n\x0eVersionRequest\"6\n\x0c\x45xecResponse\x12\x18\n\x05\x66rame\x18\x01 \x01(\x0b\x32\t.pb.Frame\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xd1\x01\n\x0b\x45xecRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\'\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x19.pb.ExecRequest.ArgsEntry\x12\x12\n\nexpression\x18\x06 \x01(\t\x1a\x36\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\"\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xdb\x01\n\x0eHistoryRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\x12\x16\n\x0emin_start_time\x18\x06 \x01(\t\x12\x16\n\x0emax_start_time\x18\x07 \x01(\t\x12\x11\n\tcontainer\x18\x08 \x01(\t\x12\x14\n\x0cmin_duration\x18\t \x01(\x03\x12\x14\n\x0cmax_duration\x18\n \x01(\x03*V\n\x05\x44Type\x12\x08\n\x04NONE\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\t\n\x05\x46LOAT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\x08\n\x04TIME\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x08\n\x04NULL\x10\x06*$\n\x0c\x45rrorOptions\x12\x08\n\x04\x46\x41IL\x10\x00\x12\n\n\x06IGNORE\x10\x01\x32\xd8\x02\n\x06\x46rames\x12&\n\x04Read\x12\x0f.pb.ReadRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12/\n\x05Write\x12\x10.pb.WriteRequest\x1a\x10.pb.WriteRespose\"\x00(\x01\x12\x31\n\x06\x43reate\x12\x11.pb.CreateRequest\x1a\x12.pb.CreateResponse\"\x00\x12\x31\n\x06\x44\x65lete\x12\x11.pb.DeleteRequest\x1a\x12.pb.DeleteResponse\"\x00\x12+\n\x04\x45xec\x12\x0f.pb.ExecRequest\x1a\x10.pb.ExecResponse\"\x00\x12,\n\x07History\x12\x12.pb.HistoryRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12\x34\n\x07Version\x12\x12.pb.VersionRequest\x1a\x13.pb.VersionResponse\"\x00\x42\x06Z\x04.;pbb\x06proto3' ) _DTYPE = _descriptor.EnumDescriptor( @@ -29,35 +28,43 @@ full_name='pb.DType', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='NONE', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='INTEGER', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='FLOAT', index=2, number=2, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='STRING', index=3, number=3, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='TIME', index=4, number=4, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='BOOLEAN', index=5, number=5, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='NULL', index=6, number=6, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -72,15 +79,18 @@ full_name='pb.ErrorOptions', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='FAIL', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='IGNORE', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -106,15 +116,18 @@ full_name='pb.Column.Kind', filename=None, file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='SLICE', index=0, number=0, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='LABEL', index=1, number=1, serialized_options=None, - type=None), + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, @@ -130,6 +143,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='kind', full_name='pb.Column.kind', index=0, @@ -137,63 +151,63 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='name', full_name='pb.Column.name', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='dtype', full_name='pb.Column.dtype', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='size', full_name='pb.Column.size', index=3, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='ints', full_name='pb.Column.ints', index=4, number=5, type=3, cpp_type=2, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='floats', full_name='pb.Column.floats', index=5, number=6, type=1, cpp_type=5, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='strings', full_name='pb.Column.strings', index=6, number=7, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='times', full_name='pb.Column.times', index=7, number=8, type=3, cpp_type=2, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bools', full_name='pb.Column.bools', index=8, number=9, type=8, cpp_type=7, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -218,6 +232,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ival', full_name='pb.Value.ival', index=0, @@ -225,35 +240,35 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='fval', full_name='pb.Value.fval', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sval', full_name='pb.Value.sval', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='tval', full_name='pb.Value.tval', index=3, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bval', full_name='pb.Value.bval', index=4, number=5, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -267,7 +282,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='pb.Value.value', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=223, serialized_end=319, @@ -280,28 +297,29 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='pb.NullValuesMap.NullColumnsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='pb.NullValuesMap.NullColumnsEntry.value', index=1, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=_b('8\001'), + serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], @@ -317,6 +335,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='nullColumns', full_name='pb.NullValuesMap.nullColumns', index=0, @@ -324,7 +343,7 @@ has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -348,28 +367,29 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='pb.Frame.LabelsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='pb.Frame.LabelsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=_b('8\001'), + serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], @@ -385,6 +405,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='columns', full_name='pb.Frame.columns', index=0, @@ -392,35 +413,35 @@ has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='indices', full_name='pb.Frame.indices', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='labels', full_name='pb.Frame.labels', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='error', full_name='pb.Frame.error', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='null_values', full_name='pb.Frame.null_values', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -444,28 +465,29 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='pb.SchemaField.PropertiesEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='pb.SchemaField.PropertiesEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=_b('8\001'), + serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], @@ -481,42 +503,43 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='pb.SchemaField.name', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='doc', full_name='pb.SchemaField.doc', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='default', full_name='pb.SchemaField.default', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='pb.SchemaField.type', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='properties', full_name='pb.SchemaField.properties', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -540,6 +563,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='sharding_key', full_name='pb.SchemaKey.sharding_key', index=0, @@ -547,14 +571,14 @@ has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sorting_key', full_name='pb.SchemaKey.sorting_key', index=1, number=2, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -578,56 +602,57 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='type', full_name='pb.TableSchema.type', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='namespace', full_name='pb.TableSchema.namespace', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='name', full_name='pb.TableSchema.name', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='doc', full_name='pb.TableSchema.doc', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='aliases', full_name='pb.TableSchema.aliases', index=4, number=5, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='fields', full_name='pb.TableSchema.fields', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='key', full_name='pb.TableSchema.key', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -651,6 +676,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ @@ -675,56 +701,57 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='url', full_name='pb.Session.url', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='container', full_name='pb.Session.container', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='path', full_name='pb.Session.path', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='user', full_name='pb.Session.user', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='password', full_name='pb.Session.password', index=4, number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='token', full_name='pb.Session.token', index=5, number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id', full_name='pb.Session.id', index=6, number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -748,6 +775,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.ReadRequest.session', index=0, @@ -755,203 +783,203 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.ReadRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='schema', full_name='pb.ReadRequest.schema', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='data_format', full_name='pb.ReadRequest.data_format', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='row_layout', full_name='pb.ReadRequest.row_layout', index=4, number=5, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='multi_index', full_name='pb.ReadRequest.multi_index', index=5, number=6, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='query', full_name='pb.ReadRequest.query', index=6, number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.ReadRequest.table', index=7, number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='columns', full_name='pb.ReadRequest.columns', index=8, number=9, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='filter', full_name='pb.ReadRequest.filter', index=9, number=10, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='group_by', full_name='pb.ReadRequest.group_by', index=10, number=11, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='join', full_name='pb.ReadRequest.join', index=11, number=12, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='limit', full_name='pb.ReadRequest.limit', index=12, number=13, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='message_limit', full_name='pb.ReadRequest.message_limit', index=13, number=14, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='marker', full_name='pb.ReadRequest.marker', index=14, number=15, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='reset_index', full_name='pb.ReadRequest.reset_index', index=15, number=29, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='segments', full_name='pb.ReadRequest.segments', index=16, number=16, type=3, cpp_type=2, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='total_segments', full_name='pb.ReadRequest.total_segments', index=17, number=17, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sharding_keys', full_name='pb.ReadRequest.sharding_keys', index=18, number=18, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_key_range_start', full_name='pb.ReadRequest.sort_key_range_start', index=19, number=19, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sort_key_range_end', full_name='pb.ReadRequest.sort_key_range_end', index=20, number=20, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='pb.ReadRequest.start', index=21, number=21, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='pb.ReadRequest.end', index=22, number=22, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='step', full_name='pb.ReadRequest.step', index=23, number=23, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='aggregators', full_name='pb.ReadRequest.aggregators', index=24, number=24, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='aggregation_window', full_name='pb.ReadRequest.aggregation_window', index=25, number=28, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='seek', full_name='pb.ReadRequest.seek', index=26, number=25, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='shard_id', full_name='pb.ReadRequest.shard_id', index=27, number=26, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sequence', full_name='pb.ReadRequest.sequence', index=28, number=27, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -975,6 +1003,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.InitialWriteRequest.session', index=0, @@ -982,63 +1011,63 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.InitialWriteRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.InitialWriteRequest.table', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='initial_data', full_name='pb.InitialWriteRequest.initial_data', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='expression', full_name='pb.InitialWriteRequest.expression', index=4, number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='more', full_name='pb.InitialWriteRequest.more', index=5, number=6, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='partition_keys', full_name='pb.InitialWriteRequest.partition_keys', index=6, number=7, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='condition', full_name='pb.InitialWriteRequest.condition', index=7, number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='save_mode', full_name='pb.InitialWriteRequest.save_mode', index=8, number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1062,6 +1091,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='request', full_name='pb.WriteRequest.request', index=0, @@ -1069,14 +1099,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='frame', full_name='pb.WriteRequest.frame', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1090,7 +1120,9 @@ oneofs=[ _descriptor.OneofDescriptor( name='type', full_name='pb.WriteRequest.type', - index=0, containing_type=None, fields=[]), + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), ], serialized_start=2030, serialized_end=2124, @@ -1103,6 +1135,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='frames', full_name='pb.WriteRespose.frames', index=0, @@ -1110,14 +1143,14 @@ has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='rows', full_name='pb.WriteRespose.rows', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1141,6 +1174,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.CreateRequest.session', index=0, @@ -1148,70 +1182,70 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.CreateRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.CreateRequest.table', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='schema', full_name='pb.CreateRequest.schema', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='if_exists', full_name='pb.CreateRequest.if_exists', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='rate', full_name='pb.CreateRequest.rate', index=5, number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='aggregates', full_name='pb.CreateRequest.aggregates', index=6, number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='aggregation_granularity', full_name='pb.CreateRequest.aggregation_granularity', index=7, number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='shards', full_name='pb.CreateRequest.shards', index=8, number=9, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='retention_hours', full_name='pb.CreateRequest.retention_hours', index=9, number=10, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1235,6 +1269,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ @@ -1259,6 +1294,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.DeleteRequest.session', index=0, @@ -1266,56 +1302,56 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.DeleteRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.DeleteRequest.table', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='filter', full_name='pb.DeleteRequest.filter', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='if_missing', full_name='pb.DeleteRequest.if_missing', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start', full_name='pb.DeleteRequest.start', index=5, number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end', full_name='pb.DeleteRequest.end', index=6, number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='metrics', full_name='pb.DeleteRequest.metrics', index=7, number=8, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1339,6 +1375,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ @@ -1363,6 +1400,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ ], extensions=[ @@ -1387,6 +1425,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='frame', full_name='pb.ExecResponse.frame', index=0, @@ -1394,14 +1433,14 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='rows', full_name='pb.ExecResponse.rows', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1425,28 +1464,29 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='pb.ExecRequest.ArgsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='pb.ExecRequest.ArgsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=_b('8\001'), + serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], @@ -1462,6 +1502,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.ExecRequest.session', index=0, @@ -1469,42 +1510,42 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.ExecRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.ExecRequest.table', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='command', full_name='pb.ExecRequest.command', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='args', full_name='pb.ExecRequest.args', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='expression', full_name='pb.ExecRequest.expression', index=5, number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1528,14 +1569,15 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='version', full_name='pb.VersionResponse.version', index=0, number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1559,6 +1601,7 @@ filename=None, file=DESCRIPTOR, containing_type=None, + create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='session', full_name='pb.HistoryRequest.session', index=0, @@ -1566,70 +1609,70 @@ has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='backend', full_name='pb.HistoryRequest.backend', index=1, number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='table', full_name='pb.HistoryRequest.table', index=2, number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='user', full_name='pb.HistoryRequest.user', index=3, number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='action', full_name='pb.HistoryRequest.action', index=4, number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='min_start_time', full_name='pb.HistoryRequest.min_start_time', index=5, number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_start_time', full_name='pb.HistoryRequest.max_start_time', index=6, number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='container', full_name='pb.HistoryRequest.container', index=7, number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + has_default_value=False, default_value=b"".decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='min_duration', full_name='pb.HistoryRequest.min_duration', index=8, number=9, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_duration', full_name='pb.HistoryRequest.max_duration', index=9, number=10, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -1915,6 +1958,7 @@ _sym_db.RegisterMessage(HistoryRequest) +DESCRIPTOR._options = None _NULLVALUESMAP_NULLCOLUMNSENTRY._options = None _FRAME_LABELSENTRY._options = None _SCHEMAFIELD_PROPERTIESENTRY._options = None @@ -1926,6 +1970,7 @@ file=DESCRIPTOR, index=0, serialized_options=None, + create_key=_descriptor._internal_create_key, serialized_start=3316, serialized_end=3660, methods=[ @@ -1937,6 +1982,7 @@ input_type=_READREQUEST, output_type=_FRAME, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Write', @@ -1946,6 +1992,7 @@ input_type=_WRITEREQUEST, output_type=_WRITERESPOSE, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Create', @@ -1955,6 +2002,7 @@ input_type=_CREATEREQUEST, output_type=_CREATERESPONSE, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Delete', @@ -1964,6 +2012,7 @@ input_type=_DELETEREQUEST, output_type=_DELETERESPONSE, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Exec', @@ -1973,6 +2022,7 @@ input_type=_EXECREQUEST, output_type=_EXECRESPONSE, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='History', @@ -1982,6 +2032,7 @@ input_type=_HISTORYREQUEST, output_type=_FRAME, serialized_options=None, + create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='Version', @@ -1991,6 +2042,7 @@ input_type=_VERSIONREQUEST, output_type=_VERSIONRESPONSE, serialized_options=None, + create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_FRAMES) diff --git a/clients/py/v3io_frames/frames_pb2_grpc.py b/clients/py/v3io_frames/frames_pb2_grpc.py index 220351d0..c1470d88 100644 --- a/clients/py/v3io_frames/frames_pb2_grpc.py +++ b/clients/py/v3io_frames/frames_pb2_grpc.py @@ -1,148 +1,264 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import frames_pb2 as frames__pb2 class FramesStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Read = channel.unary_stream( - '/pb.Frames/Read', - request_serializer=frames__pb2.ReadRequest.SerializeToString, - response_deserializer=frames__pb2.Frame.FromString, - ) - self.Write = channel.stream_unary( - '/pb.Frames/Write', - request_serializer=frames__pb2.WriteRequest.SerializeToString, - response_deserializer=frames__pb2.WriteRespose.FromString, - ) - self.Create = channel.unary_unary( - '/pb.Frames/Create', - request_serializer=frames__pb2.CreateRequest.SerializeToString, - response_deserializer=frames__pb2.CreateResponse.FromString, - ) - self.Delete = channel.unary_unary( - '/pb.Frames/Delete', - request_serializer=frames__pb2.DeleteRequest.SerializeToString, - response_deserializer=frames__pb2.DeleteResponse.FromString, - ) - self.Exec = channel.unary_unary( - '/pb.Frames/Exec', - request_serializer=frames__pb2.ExecRequest.SerializeToString, - response_deserializer=frames__pb2.ExecResponse.FromString, - ) - self.History = channel.unary_stream( - '/pb.Frames/History', - request_serializer=frames__pb2.HistoryRequest.SerializeToString, - response_deserializer=frames__pb2.Frame.FromString, - ) - self.Version = channel.unary_unary( - '/pb.Frames/Version', - request_serializer=frames__pb2.VersionRequest.SerializeToString, - response_deserializer=frames__pb2.VersionResponse.FromString, - ) + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Read = channel.unary_stream( + '/pb.Frames/Read', + request_serializer=frames__pb2.ReadRequest.SerializeToString, + response_deserializer=frames__pb2.Frame.FromString, + ) + self.Write = channel.stream_unary( + '/pb.Frames/Write', + request_serializer=frames__pb2.WriteRequest.SerializeToString, + response_deserializer=frames__pb2.WriteRespose.FromString, + ) + self.Create = channel.unary_unary( + '/pb.Frames/Create', + request_serializer=frames__pb2.CreateRequest.SerializeToString, + response_deserializer=frames__pb2.CreateResponse.FromString, + ) + self.Delete = channel.unary_unary( + '/pb.Frames/Delete', + request_serializer=frames__pb2.DeleteRequest.SerializeToString, + response_deserializer=frames__pb2.DeleteResponse.FromString, + ) + self.Exec = channel.unary_unary( + '/pb.Frames/Exec', + request_serializer=frames__pb2.ExecRequest.SerializeToString, + response_deserializer=frames__pb2.ExecResponse.FromString, + ) + self.History = channel.unary_stream( + '/pb.Frames/History', + request_serializer=frames__pb2.HistoryRequest.SerializeToString, + response_deserializer=frames__pb2.Frame.FromString, + ) + self.Version = channel.unary_unary( + '/pb.Frames/Version', + request_serializer=frames__pb2.VersionRequest.SerializeToString, + response_deserializer=frames__pb2.VersionResponse.FromString, + ) class FramesServicer(object): - # missing associated documentation comment in .proto file - pass - - def Read(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Write(self, request_iterator, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Create(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delete(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Exec(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def History(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Version(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + """Missing associated documentation comment in .proto file.""" + + def Read(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Write(self, request_iterator, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Create(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delete(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Exec(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def History(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Version(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_FramesServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Read': grpc.unary_stream_rpc_method_handler( - servicer.Read, - request_deserializer=frames__pb2.ReadRequest.FromString, - response_serializer=frames__pb2.Frame.SerializeToString, - ), - 'Write': grpc.stream_unary_rpc_method_handler( - servicer.Write, - request_deserializer=frames__pb2.WriteRequest.FromString, - response_serializer=frames__pb2.WriteRespose.SerializeToString, - ), - 'Create': grpc.unary_unary_rpc_method_handler( - servicer.Create, - request_deserializer=frames__pb2.CreateRequest.FromString, - response_serializer=frames__pb2.CreateResponse.SerializeToString, - ), - 'Delete': grpc.unary_unary_rpc_method_handler( - servicer.Delete, - request_deserializer=frames__pb2.DeleteRequest.FromString, - response_serializer=frames__pb2.DeleteResponse.SerializeToString, - ), - 'Exec': grpc.unary_unary_rpc_method_handler( - servicer.Exec, - request_deserializer=frames__pb2.ExecRequest.FromString, - response_serializer=frames__pb2.ExecResponse.SerializeToString, - ), - 'History': grpc.unary_stream_rpc_method_handler( - servicer.History, - request_deserializer=frames__pb2.HistoryRequest.FromString, - response_serializer=frames__pb2.Frame.SerializeToString, - ), - 'Version': grpc.unary_unary_rpc_method_handler( - servicer.Version, - request_deserializer=frames__pb2.VersionRequest.FromString, - response_serializer=frames__pb2.VersionResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'pb.Frames', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) + rpc_method_handlers = { + 'Read': grpc.unary_stream_rpc_method_handler( + servicer.Read, + request_deserializer=frames__pb2.ReadRequest.FromString, + response_serializer=frames__pb2.Frame.SerializeToString, + ), + 'Write': grpc.stream_unary_rpc_method_handler( + servicer.Write, + request_deserializer=frames__pb2.WriteRequest.FromString, + response_serializer=frames__pb2.WriteRespose.SerializeToString, + ), + 'Create': grpc.unary_unary_rpc_method_handler( + servicer.Create, + request_deserializer=frames__pb2.CreateRequest.FromString, + response_serializer=frames__pb2.CreateResponse.SerializeToString, + ), + 'Delete': grpc.unary_unary_rpc_method_handler( + servicer.Delete, + request_deserializer=frames__pb2.DeleteRequest.FromString, + response_serializer=frames__pb2.DeleteResponse.SerializeToString, + ), + 'Exec': grpc.unary_unary_rpc_method_handler( + servicer.Exec, + request_deserializer=frames__pb2.ExecRequest.FromString, + response_serializer=frames__pb2.ExecResponse.SerializeToString, + ), + 'History': grpc.unary_stream_rpc_method_handler( + servicer.History, + request_deserializer=frames__pb2.HistoryRequest.FromString, + response_serializer=frames__pb2.Frame.SerializeToString, + ), + 'Version': grpc.unary_unary_rpc_method_handler( + servicer.Version, + request_deserializer=frames__pb2.VersionRequest.FromString, + response_serializer=frames__pb2.VersionResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'pb.Frames', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Frames(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Read(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/pb.Frames/Read', + frames__pb2.ReadRequest.SerializeToString, + frames__pb2.Frame.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Write(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_unary(request_iterator, target, '/pb.Frames/Write', + frames__pb2.WriteRequest.SerializeToString, + frames__pb2.WriteRespose.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Create(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/pb.Frames/Create', + frames__pb2.CreateRequest.SerializeToString, + frames__pb2.CreateResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Delete(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/pb.Frames/Delete', + frames__pb2.DeleteRequest.SerializeToString, + frames__pb2.DeleteResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Exec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/pb.Frames/Exec', + frames__pb2.ExecRequest.SerializeToString, + frames__pb2.ExecResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def History(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream(request, target, '/pb.Frames/History', + frames__pb2.HistoryRequest.SerializeToString, + frames__pb2.Frame.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Version(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/pb.Frames/Version', + frames__pb2.VersionRequest.SerializeToString, + frames__pb2.VersionResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/frames.proto b/frames.proto index d65f5126..232bedad 100644 --- a/frames.proto +++ b/frames.proto @@ -21,6 +21,8 @@ such restriction. syntax = "proto3"; package pb; +option go_package = ".;pb"; + enum DType { NONE = 0; INTEGER = 1; diff --git a/go.mod b/go.mod index 1056cbae..c0246c09 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/v3io/frames -go 1.19 +go 1.23 require ( github.com/ghodss/yaml v1.0.0 @@ -15,9 +15,9 @@ require ( github.com/v3io/v3io-tsdb v0.14.1 github.com/valyala/fasthttp v1.44.0 github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 - golang.org/x/net v0.17.0 - golang.org/x/text v0.13.0 - google.golang.org/grpc v1.56.3 + golang.org/x/text v0.17.0 + google.golang.org/grpc v1.67.1 + google.golang.org/protobuf v1.34.2 ) require ( @@ -33,10 +33,10 @@ require ( github.com/valyala/bytebufferpool v1.0.0 // indirect go.uber.org/atomic v1.7.0 // indirect go.uber.org/multierr v1.6.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.13.0 // indirect + golang.org/x/net v0.28.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.24.0 // indirect google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect - google.golang.org/protobuf v1.30.0 // indirect gopkg.in/yaml.v2 v2.2.8 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect zombiezen.com/go/capnproto2 v2.17.0+incompatible // indirect diff --git a/go.sum b/go.sum index fe7d69e1..56f24340 100644 --- a/go.sum +++ b/go.sum @@ -17,7 +17,8 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/imdario/mergo v0.3.7 h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI= github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY= @@ -38,6 +39,7 @@ github.com/nuclio/logger v0.0.1/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY github.com/nuclio/zap v0.1.2 h1:0xD5+IHEhbMmxp3T6hN7nRcukuo9+QuB5/zd/XHTqrU= github.com/nuclio/zap v0.1.2/go.mod h1:n1BZF3JcFiQdap88qHX6IOPBKDjvV/bPcvVe6MFdxUg= github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ= +github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -56,6 +58,7 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/tinylib/msgp v1.1.1 h1:TnCZ3FIuKeaIy+F45+Cnp+caqdXGy4z74HvwXN+570Y= +github.com/tinylib/msgp v1.1.1/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871 h1:myF4tU/HdFWU1UzMdf16cHRbownzsyvL7VKIHqkrSvo= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871/go.mod h1:QD2Bo64oyTWzeV8RFehXS0hZEDFgOK99/h2a6ErRu6E= github.com/v3io/v3io-go v0.3.0 h1:w25p6/ZpNN64g1S3wm3TD6WXe4aoYlPfNBApmAngXNo= @@ -85,12 +88,12 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220906165146-f3363e06e74c/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= +golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -99,16 +102,16 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= +golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -119,12 +122,12 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= -google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= +google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/pb/frames.pb.go b/pb/frames.pb.go index 3d200477..1aded442 100644 --- a/pb/frames.pb.go +++ b/pb/frames.pb.go @@ -1,27 +1,43 @@ +// +//Copyright 2018 Iguazio Systems Ltd. +// +//Licensed under the Apache License, Version 2.0 (the "License") with +//an addition restriction as set forth herein. You may not use this +//file except in compliance with the License. You may obtain a copy of +//the License at http://www.apache.org/licenses/LICENSE-2.0. +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +//implied. See the License for the specific language governing +//permissions and limitations under the License. +// +//In addition, you may not use the software for any purposes that are +//illegal under applicable law, and the grant of the foregoing license +//under the Apache 2.0 license is conditioned upon your compliance with +//such restriction. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.1 +// protoc v3.20.3 // source: frames.proto package pb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" - import ( - context "golang.org/x/net/context" - grpc "google.golang.org/grpc" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type DType int32 @@ -35,53 +51,99 @@ const ( DType_NULL DType = 6 ) -var DType_name = map[int32]string{ - 0: "NONE", - 1: "INTEGER", - 2: "FLOAT", - 3: "STRING", - 4: "TIME", - 5: "BOOLEAN", - 6: "NULL", -} -var DType_value = map[string]int32{ - "NONE": 0, - "INTEGER": 1, - "FLOAT": 2, - "STRING": 3, - "TIME": 4, - "BOOLEAN": 5, - "NULL": 6, +// Enum value maps for DType. +var ( + DType_name = map[int32]string{ + 0: "NONE", + 1: "INTEGER", + 2: "FLOAT", + 3: "STRING", + 4: "TIME", + 5: "BOOLEAN", + 6: "NULL", + } + DType_value = map[string]int32{ + "NONE": 0, + "INTEGER": 1, + "FLOAT": 2, + "STRING": 3, + "TIME": 4, + "BOOLEAN": 5, + "NULL": 6, + } +) + +func (x DType) Enum() *DType { + p := new(DType) + *p = x + return p } func (x DType) String() string { - return proto.EnumName(DType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DType) Descriptor() protoreflect.EnumDescriptor { + return file_frames_proto_enumTypes[0].Descriptor() +} + +func (DType) Type() protoreflect.EnumType { + return &file_frames_proto_enumTypes[0] } + +func (x DType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DType.Descriptor instead. func (DType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{0} + return file_frames_proto_rawDescGZIP(), []int{0} } type ErrorOptions int32 const ( - ErrorOptions_FAIL ErrorOptions = 0 + ErrorOptions_FAIL ErrorOptions = 0 // Default to fail on error ErrorOptions_IGNORE ErrorOptions = 1 ) -var ErrorOptions_name = map[int32]string{ - 0: "FAIL", - 1: "IGNORE", -} -var ErrorOptions_value = map[string]int32{ - "FAIL": 0, - "IGNORE": 1, +// Enum value maps for ErrorOptions. +var ( + ErrorOptions_name = map[int32]string{ + 0: "FAIL", + 1: "IGNORE", + } + ErrorOptions_value = map[string]int32{ + "FAIL": 0, + "IGNORE": 1, + } +) + +func (x ErrorOptions) Enum() *ErrorOptions { + p := new(ErrorOptions) + *p = x + return p } func (x ErrorOptions) String() string { - return proto.EnumName(ErrorOptions_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } + +func (ErrorOptions) Descriptor() protoreflect.EnumDescriptor { + return file_frames_proto_enumTypes[1].Descriptor() +} + +func (ErrorOptions) Type() protoreflect.EnumType { + return &file_frames_proto_enumTypes[1] +} + +func (x ErrorOptions) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ErrorOptions.Descriptor instead. func (ErrorOptions) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{1} + return file_frames_proto_rawDescGZIP(), []int{1} } type Column_Kind int32 @@ -91,162 +153,242 @@ const ( Column_LABEL Column_Kind = 1 ) -var Column_Kind_name = map[int32]string{ - 0: "SLICE", - 1: "LABEL", -} -var Column_Kind_value = map[string]int32{ - "SLICE": 0, - "LABEL": 1, +// Enum value maps for Column_Kind. +var ( + Column_Kind_name = map[int32]string{ + 0: "SLICE", + 1: "LABEL", + } + Column_Kind_value = map[string]int32{ + "SLICE": 0, + "LABEL": 1, + } +) + +func (x Column_Kind) Enum() *Column_Kind { + p := new(Column_Kind) + *p = x + return p } func (x Column_Kind) String() string { - return proto.EnumName(Column_Kind_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Column_Kind) Descriptor() protoreflect.EnumDescriptor { + return file_frames_proto_enumTypes[2].Descriptor() +} + +func (Column_Kind) Type() protoreflect.EnumType { + return &file_frames_proto_enumTypes[2] } + +func (x Column_Kind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Column_Kind.Descriptor instead. func (Column_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{0, 0} + return file_frames_proto_rawDescGZIP(), []int{0, 0} } type Column struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Kind Column_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pb.Column_Kind" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Dtype DType `protobuf:"varint,3,opt,name=dtype,proto3,enum=pb.DType" json:"dtype,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // used only in LABEL // In slice columns these arrays will be of length 1 - Ints []int64 `protobuf:"varint,5,rep,packed,name=ints,proto3" json:"ints,omitempty"` - Floats []float64 `protobuf:"fixed64,6,rep,packed,name=floats,proto3" json:"floats,omitempty"` - Strings []string `protobuf:"bytes,7,rep,name=strings,proto3" json:"strings,omitempty"` - Times []int64 `protobuf:"varint,8,rep,packed,name=times,proto3" json:"times,omitempty"` - Bools []bool `protobuf:"varint,9,rep,packed,name=bools,proto3" json:"bools,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Column) Reset() { *m = Column{} } -func (m *Column) String() string { return proto.CompactTextString(m) } -func (*Column) ProtoMessage() {} -func (*Column) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{0} -} -func (m *Column) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Column.Unmarshal(m, b) + Ints []int64 `protobuf:"varint,5,rep,packed,name=ints,proto3" json:"ints,omitempty"` + Floats []float64 `protobuf:"fixed64,6,rep,packed,name=floats,proto3" json:"floats,omitempty"` + Strings []string `protobuf:"bytes,7,rep,name=strings,proto3" json:"strings,omitempty"` + Times []int64 `protobuf:"varint,8,rep,packed,name=times,proto3" json:"times,omitempty"` // epoch nano + Bools []bool `protobuf:"varint,9,rep,packed,name=bools,proto3" json:"bools,omitempty"` } -func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Column.Marshal(b, m, deterministic) -} -func (dst *Column) XXX_Merge(src proto.Message) { - xxx_messageInfo_Column.Merge(dst, src) + +func (x *Column) Reset() { + *x = Column{} + mi := &file_frames_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Column) XXX_Size() int { - return xxx_messageInfo_Column.Size(m) + +func (x *Column) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Column) XXX_DiscardUnknown() { - xxx_messageInfo_Column.DiscardUnknown(m) + +func (*Column) ProtoMessage() {} + +func (x *Column) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Column proto.InternalMessageInfo +// Deprecated: Use Column.ProtoReflect.Descriptor instead. +func (*Column) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{0} +} -func (m *Column) GetKind() Column_Kind { - if m != nil { - return m.Kind +func (x *Column) GetKind() Column_Kind { + if x != nil { + return x.Kind } return Column_SLICE } -func (m *Column) GetName() string { - if m != nil { - return m.Name +func (x *Column) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Column) GetDtype() DType { - if m != nil { - return m.Dtype +func (x *Column) GetDtype() DType { + if x != nil { + return x.Dtype } return DType_NONE } -func (m *Column) GetSize() int64 { - if m != nil { - return m.Size +func (x *Column) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *Column) GetInts() []int64 { - if m != nil { - return m.Ints +func (x *Column) GetInts() []int64 { + if x != nil { + return x.Ints } return nil } -func (m *Column) GetFloats() []float64 { - if m != nil { - return m.Floats +func (x *Column) GetFloats() []float64 { + if x != nil { + return x.Floats } return nil } -func (m *Column) GetStrings() []string { - if m != nil { - return m.Strings +func (x *Column) GetStrings() []string { + if x != nil { + return x.Strings } return nil } -func (m *Column) GetTimes() []int64 { - if m != nil { - return m.Times +func (x *Column) GetTimes() []int64 { + if x != nil { + return x.Times } return nil } -func (m *Column) GetBools() []bool { - if m != nil { - return m.Bools +func (x *Column) GetBools() []bool { + if x != nil { + return x.Bools } return nil } // Union of values type Value struct { - // Types that are valid to be assigned to Value: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // // *Value_Ival // *Value_Fval // *Value_Sval // *Value_Tval // *Value_Bval - Value isValue_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value isValue_Value `protobuf_oneof:"value"` +} + +func (x *Value) Reset() { + *x = Value{} + mi := &file_frames_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Value) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Value) ProtoMessage() {} + +func (x *Value) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Value) Reset() { *m = Value{} } -func (m *Value) String() string { return proto.CompactTextString(m) } -func (*Value) ProtoMessage() {} +// Deprecated: Use Value.ProtoReflect.Descriptor instead. func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{1} + return file_frames_proto_rawDescGZIP(), []int{1} } -func (m *Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Value.Unmarshal(m, b) + +func (m *Value) GetValue() isValue_Value { + if m != nil { + return m.Value + } + return nil } -func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Value.Marshal(b, m, deterministic) + +func (x *Value) GetIval() int64 { + if x, ok := x.GetValue().(*Value_Ival); ok { + return x.Ival + } + return 0 } -func (dst *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(dst, src) + +func (x *Value) GetFval() float64 { + if x, ok := x.GetValue().(*Value_Fval); ok { + return x.Fval + } + return 0 } -func (m *Value) XXX_Size() int { - return xxx_messageInfo_Value.Size(m) + +func (x *Value) GetSval() string { + if x, ok := x.GetValue().(*Value_Sval); ok { + return x.Sval + } + return "" } -func (m *Value) XXX_DiscardUnknown() { - xxx_messageInfo_Value.DiscardUnknown(m) + +func (x *Value) GetTval() int64 { + if x, ok := x.GetValue().(*Value_Tval); ok { + return x.Tval + } + return 0 } -var xxx_messageInfo_Value proto.InternalMessageInfo +func (x *Value) GetBval() bool { + if x, ok := x.GetValue().(*Value_Bval); ok { + return x.Bval + } + return false +} type isValue_Value interface { isValue_Value() @@ -265,7 +407,7 @@ type Value_Sval struct { } type Value_Tval struct { - Tval int64 `protobuf:"varint,4,opt,name=tval,proto3,oneof"` + Tval int64 `protobuf:"varint,4,opt,name=tval,proto3,oneof"` // epoch nano } type Value_Bval struct { @@ -282,599 +424,498 @@ func (*Value_Tval) isValue_Value() {} func (*Value_Bval) isValue_Value() {} -func (m *Value) GetValue() isValue_Value { - if m != nil { - return m.Value - } - return nil -} +type NullValuesMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Value) GetIval() int64 { - if x, ok := m.GetValue().(*Value_Ival); ok { - return x.Ival - } - return 0 + NullColumns map[string]bool `protobuf:"bytes,1,rep,name=nullColumns,proto3" json:"nullColumns,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *Value) GetFval() float64 { - if x, ok := m.GetValue().(*Value_Fval); ok { - return x.Fval - } - return 0 +func (x *NullValuesMap) Reset() { + *x = NullValuesMap{} + mi := &file_frames_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Value) GetSval() string { - if x, ok := m.GetValue().(*Value_Sval); ok { - return x.Sval - } - return "" +func (x *NullValuesMap) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Value) GetTval() int64 { - if x, ok := m.GetValue().(*Value_Tval); ok { - return x.Tval - } - return 0 -} +func (*NullValuesMap) ProtoMessage() {} -func (m *Value) GetBval() bool { - if x, ok := m.GetValue().(*Value_Bval); ok { - return x.Bval +func (x *NullValuesMap) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{ - (*Value_Ival)(nil), - (*Value_Fval)(nil), - (*Value_Sval)(nil), - (*Value_Tval)(nil), - (*Value_Bval)(nil), - } +// Deprecated: Use NullValuesMap.ProtoReflect.Descriptor instead. +func (*NullValuesMap) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{2} } -func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Value) - // value - switch x := m.Value.(type) { - case *Value_Ival: - b.EncodeVarint(1<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Ival)) - case *Value_Fval: - b.EncodeVarint(2<<3 | proto.WireFixed64) - b.EncodeFixed64(math.Float64bits(x.Fval)) - case *Value_Sval: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Sval) - case *Value_Tval: - b.EncodeVarint(4<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.Tval)) - case *Value_Bval: - t := uint64(0) - if x.Bval { - t = 1 - } - b.EncodeVarint(5<<3 | proto.WireVarint) - b.EncodeVarint(t) - case nil: - default: - return fmt.Errorf("Value.Value has unexpected type %T", x) +func (x *NullValuesMap) GetNullColumns() map[string]bool { + if x != nil { + return x.NullColumns } return nil } -func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Value) - switch tag { - case 1: // value.ival - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &Value_Ival{int64(x)} - return true, err - case 2: // value.fval - if wire != proto.WireFixed64 { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeFixed64() - m.Value = &Value_Fval{math.Float64frombits(x)} - return true, err - case 3: // value.sval - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Value = &Value_Sval{x} - return true, err - case 4: // value.tval - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &Value_Tval{int64(x)} - return true, err - case 5: // value.bval - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Value = &Value_Bval{x != 0} - return true, err - default: - return false, nil - } -} - -func _Value_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Value) - // value - switch x := m.Value.(type) { - case *Value_Ival: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.Ival)) - case *Value_Fval: - n += 1 // tag and wire - n += 8 - case *Value_Sval: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Sval))) - n += len(x.Sval) - case *Value_Tval: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.Tval)) - case *Value_Bval: - n += 1 // tag and wire - n += 1 - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} +type Frame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type NullValuesMap struct { - NullColumns map[string]bool `protobuf:"bytes,1,rep,name=nullColumns,proto3" json:"nullColumns,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` + Indices []*Column `protobuf:"bytes,2,rep,name=indices,proto3" json:"indices,omitempty"` + Labels map[string]*Value `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Used in errors when reading over HTTP + NullValues []*NullValuesMap `protobuf:"bytes,5,rep,name=null_values,json=nullValues,proto3" json:"null_values,omitempty"` } -func (m *NullValuesMap) Reset() { *m = NullValuesMap{} } -func (m *NullValuesMap) String() string { return proto.CompactTextString(m) } -func (*NullValuesMap) ProtoMessage() {} -func (*NullValuesMap) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{2} -} -func (m *NullValuesMap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NullValuesMap.Unmarshal(m, b) -} -func (m *NullValuesMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NullValuesMap.Marshal(b, m, deterministic) -} -func (dst *NullValuesMap) XXX_Merge(src proto.Message) { - xxx_messageInfo_NullValuesMap.Merge(dst, src) -} -func (m *NullValuesMap) XXX_Size() int { - return xxx_messageInfo_NullValuesMap.Size(m) +func (x *Frame) Reset() { + *x = Frame{} + mi := &file_frames_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *NullValuesMap) XXX_DiscardUnknown() { - xxx_messageInfo_NullValuesMap.DiscardUnknown(m) + +func (x *Frame) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_NullValuesMap proto.InternalMessageInfo +func (*Frame) ProtoMessage() {} -func (m *NullValuesMap) GetNullColumns() map[string]bool { - if m != nil { - return m.NullColumns +func (x *Frame) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type Frame struct { - Columns []*Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` - Indices []*Column `protobuf:"bytes,2,rep,name=indices,proto3" json:"indices,omitempty"` - Labels map[string]*Value `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` - NullValues []*NullValuesMap `protobuf:"bytes,5,rep,name=null_values,json=nullValues,proto3" json:"null_values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Frame) Reset() { *m = Frame{} } -func (m *Frame) String() string { return proto.CompactTextString(m) } -func (*Frame) ProtoMessage() {} +// Deprecated: Use Frame.ProtoReflect.Descriptor instead. func (*Frame) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{3} -} -func (m *Frame) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Frame.Unmarshal(m, b) -} -func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Frame.Marshal(b, m, deterministic) -} -func (dst *Frame) XXX_Merge(src proto.Message) { - xxx_messageInfo_Frame.Merge(dst, src) -} -func (m *Frame) XXX_Size() int { - return xxx_messageInfo_Frame.Size(m) -} -func (m *Frame) XXX_DiscardUnknown() { - xxx_messageInfo_Frame.DiscardUnknown(m) + return file_frames_proto_rawDescGZIP(), []int{3} } -var xxx_messageInfo_Frame proto.InternalMessageInfo - -func (m *Frame) GetColumns() []*Column { - if m != nil { - return m.Columns +func (x *Frame) GetColumns() []*Column { + if x != nil { + return x.Columns } return nil } -func (m *Frame) GetIndices() []*Column { - if m != nil { - return m.Indices +func (x *Frame) GetIndices() []*Column { + if x != nil { + return x.Indices } return nil } -func (m *Frame) GetLabels() map[string]*Value { - if m != nil { - return m.Labels +func (x *Frame) GetLabels() map[string]*Value { + if x != nil { + return x.Labels } return nil } -func (m *Frame) GetError() string { - if m != nil { - return m.Error +func (x *Frame) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *Frame) GetNullValues() []*NullValuesMap { - if m != nil { - return m.NullValues +func (x *Frame) GetNullValues() []*NullValuesMap { + if x != nil { + return x.NullValues } return nil } // TODO: Place these under TableSchema type SchemaField struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` - Default *Value `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` - Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` - Properties map[string]*Value `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SchemaField) Reset() { *m = SchemaField{} } -func (m *SchemaField) String() string { return proto.CompactTextString(m) } -func (*SchemaField) ProtoMessage() {} -func (*SchemaField) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{4} -} -func (m *SchemaField) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SchemaField.Unmarshal(m, b) -} -func (m *SchemaField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SchemaField.Marshal(b, m, deterministic) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` + Default *Value `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` + Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` + Properties map[string]*Value `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (dst *SchemaField) XXX_Merge(src proto.Message) { - xxx_messageInfo_SchemaField.Merge(dst, src) + +func (x *SchemaField) Reset() { + *x = SchemaField{} + mi := &file_frames_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SchemaField) XXX_Size() int { - return xxx_messageInfo_SchemaField.Size(m) + +func (x *SchemaField) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SchemaField) XXX_DiscardUnknown() { - xxx_messageInfo_SchemaField.DiscardUnknown(m) + +func (*SchemaField) ProtoMessage() {} + +func (x *SchemaField) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SchemaField proto.InternalMessageInfo +// Deprecated: Use SchemaField.ProtoReflect.Descriptor instead. +func (*SchemaField) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{4} +} -func (m *SchemaField) GetName() string { - if m != nil { - return m.Name +func (x *SchemaField) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SchemaField) GetDoc() string { - if m != nil { - return m.Doc +func (x *SchemaField) GetDoc() string { + if x != nil { + return x.Doc } return "" } -func (m *SchemaField) GetDefault() *Value { - if m != nil { - return m.Default +func (x *SchemaField) GetDefault() *Value { + if x != nil { + return x.Default } return nil } -func (m *SchemaField) GetType() string { - if m != nil { - return m.Type +func (x *SchemaField) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *SchemaField) GetProperties() map[string]*Value { - if m != nil { - return m.Properties +func (x *SchemaField) GetProperties() map[string]*Value { + if x != nil { + return x.Properties } return nil } type SchemaKey struct { - ShardingKey []string `protobuf:"bytes,1,rep,name=sharding_key,json=shardingKey,proto3" json:"sharding_key,omitempty"` - SortingKey []string `protobuf:"bytes,2,rep,name=sorting_key,json=sortingKey,proto3" json:"sorting_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SchemaKey) Reset() { *m = SchemaKey{} } -func (m *SchemaKey) String() string { return proto.CompactTextString(m) } -func (*SchemaKey) ProtoMessage() {} -func (*SchemaKey) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{5} + ShardingKey []string `protobuf:"bytes,1,rep,name=sharding_key,json=shardingKey,proto3" json:"sharding_key,omitempty"` + SortingKey []string `protobuf:"bytes,2,rep,name=sorting_key,json=sortingKey,proto3" json:"sorting_key,omitempty"` } -func (m *SchemaKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SchemaKey.Unmarshal(m, b) -} -func (m *SchemaKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SchemaKey.Marshal(b, m, deterministic) -} -func (dst *SchemaKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_SchemaKey.Merge(dst, src) + +func (x *SchemaKey) Reset() { + *x = SchemaKey{} + mi := &file_frames_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *SchemaKey) XXX_Size() int { - return xxx_messageInfo_SchemaKey.Size(m) + +func (x *SchemaKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SchemaKey) XXX_DiscardUnknown() { - xxx_messageInfo_SchemaKey.DiscardUnknown(m) + +func (*SchemaKey) ProtoMessage() {} + +func (x *SchemaKey) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SchemaKey proto.InternalMessageInfo +// Deprecated: Use SchemaKey.ProtoReflect.Descriptor instead. +func (*SchemaKey) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{5} +} -func (m *SchemaKey) GetShardingKey() []string { - if m != nil { - return m.ShardingKey +func (x *SchemaKey) GetShardingKey() []string { + if x != nil { + return x.ShardingKey } return nil } -func (m *SchemaKey) GetSortingKey() []string { - if m != nil { - return m.SortingKey +func (x *SchemaKey) GetSortingKey() []string { + if x != nil { + return x.SortingKey } return nil } // TODO: Rename to Schema? type TableSchema struct { - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Doc string `protobuf:"bytes,4,opt,name=doc,proto3" json:"doc,omitempty"` - Aliases []string `protobuf:"bytes,5,rep,name=aliases,proto3" json:"aliases,omitempty"` - Fields []*SchemaField `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"` - Key *SchemaKey `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TableSchema) Reset() { *m = TableSchema{} } -func (m *TableSchema) String() string { return proto.CompactTextString(m) } -func (*TableSchema) ProtoMessage() {} -func (*TableSchema) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{6} -} -func (m *TableSchema) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TableSchema.Unmarshal(m, b) -} -func (m *TableSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TableSchema.Marshal(b, m, deterministic) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Doc string `protobuf:"bytes,4,opt,name=doc,proto3" json:"doc,omitempty"` + Aliases []string `protobuf:"bytes,5,rep,name=aliases,proto3" json:"aliases,omitempty"` + Fields []*SchemaField `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"` + Key *SchemaKey `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"` } -func (dst *TableSchema) XXX_Merge(src proto.Message) { - xxx_messageInfo_TableSchema.Merge(dst, src) + +func (x *TableSchema) Reset() { + *x = TableSchema{} + mi := &file_frames_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TableSchema) XXX_Size() int { - return xxx_messageInfo_TableSchema.Size(m) + +func (x *TableSchema) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TableSchema) XXX_DiscardUnknown() { - xxx_messageInfo_TableSchema.DiscardUnknown(m) + +func (*TableSchema) ProtoMessage() {} + +func (x *TableSchema) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TableSchema proto.InternalMessageInfo +// Deprecated: Use TableSchema.ProtoReflect.Descriptor instead. +func (*TableSchema) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{6} +} -func (m *TableSchema) GetType() string { - if m != nil { - return m.Type +func (x *TableSchema) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *TableSchema) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *TableSchema) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *TableSchema) GetName() string { - if m != nil { - return m.Name +func (x *TableSchema) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *TableSchema) GetDoc() string { - if m != nil { - return m.Doc +func (x *TableSchema) GetDoc() string { + if x != nil { + return x.Doc } return "" } -func (m *TableSchema) GetAliases() []string { - if m != nil { - return m.Aliases +func (x *TableSchema) GetAliases() []string { + if x != nil { + return x.Aliases } return nil } -func (m *TableSchema) GetFields() []*SchemaField { - if m != nil { - return m.Fields +func (x *TableSchema) GetFields() []*SchemaField { + if x != nil { + return x.Fields } return nil } -func (m *TableSchema) GetKey() *SchemaKey { - if m != nil { - return m.Key +func (x *TableSchema) GetKey() *SchemaKey { + if x != nil { + return x.Key } return nil } type JoinStruct struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *JoinStruct) Reset() { *m = JoinStruct{} } -func (m *JoinStruct) String() string { return proto.CompactTextString(m) } -func (*JoinStruct) ProtoMessage() {} -func (*JoinStruct) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{7} -} -func (m *JoinStruct) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_JoinStruct.Unmarshal(m, b) -} -func (m *JoinStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_JoinStruct.Marshal(b, m, deterministic) -} -func (dst *JoinStruct) XXX_Merge(src proto.Message) { - xxx_messageInfo_JoinStruct.Merge(dst, src) +func (x *JoinStruct) Reset() { + *x = JoinStruct{} + mi := &file_frames_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *JoinStruct) XXX_Size() int { - return xxx_messageInfo_JoinStruct.Size(m) -} -func (m *JoinStruct) XXX_DiscardUnknown() { - xxx_messageInfo_JoinStruct.DiscardUnknown(m) + +func (x *JoinStruct) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_JoinStruct proto.InternalMessageInfo +func (*JoinStruct) ProtoMessage() {} -type Session struct { - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` - Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` - Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` - Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` - Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Session) Reset() { *m = Session{} } -func (m *Session) String() string { return proto.CompactTextString(m) } -func (*Session) ProtoMessage() {} -func (*Session) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{8} +func (x *JoinStruct) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *Session) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Session.Unmarshal(m, b) + +// Deprecated: Use JoinStruct.ProtoReflect.Descriptor instead. +func (*JoinStruct) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{7} } -func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Session.Marshal(b, m, deterministic) + +type Session struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` + Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` + Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` + Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` + Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` } -func (dst *Session) XXX_Merge(src proto.Message) { - xxx_messageInfo_Session.Merge(dst, src) + +func (x *Session) Reset() { + *x = Session{} + mi := &file_frames_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Session) XXX_Size() int { - return xxx_messageInfo_Session.Size(m) + +func (x *Session) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Session) XXX_DiscardUnknown() { - xxx_messageInfo_Session.DiscardUnknown(m) + +func (*Session) ProtoMessage() {} + +func (x *Session) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Session proto.InternalMessageInfo +// Deprecated: Use Session.ProtoReflect.Descriptor instead. +func (*Session) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{8} +} -func (m *Session) GetUrl() string { - if m != nil { - return m.Url +func (x *Session) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *Session) GetContainer() string { - if m != nil { - return m.Container +func (x *Session) GetContainer() string { + if x != nil { + return x.Container } return "" } -func (m *Session) GetPath() string { - if m != nil { - return m.Path +func (x *Session) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *Session) GetUser() string { - if m != nil { - return m.User +func (x *Session) GetUser() string { + if x != nil { + return x.User } return "" } -func (m *Session) GetPassword() string { - if m != nil { - return m.Password +func (x *Session) GetPassword() string { + if x != nil { + return x.Password } return "" } -func (m *Session) GetToken() string { - if m != nil { - return m.Token +func (x *Session) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *Session) GetId() string { - if m != nil { - return m.Id +func (x *Session) GetId() string { + if x != nil { + return x.Id } return "" } type ReadRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` Schema *TableSchema `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` DataFormat string `protobuf:"bytes,4,opt,name=data_format,json=dataFormat,proto3" json:"data_format,omitempty"` RowLayout bool `protobuf:"varint,5,opt,name=row_layout,json=rowLayout,proto3" json:"row_layout,omitempty"` - MultiIndex bool `protobuf:"varint,6,opt,name=multi_index,json=multiIndex,proto3" json:"multi_index,omitempty"` - Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` - Table string `protobuf:"bytes,8,opt,name=table,proto3" json:"table,omitempty"` + MultiIndex bool `protobuf:"varint,6,opt,name=multi_index,json=multiIndex,proto3" json:"multi_index,omitempty"` // TSDB + Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` // TSDB - SQL Query + Table string `protobuf:"bytes,8,opt,name=table,proto3" json:"table,omitempty"` // Table name Columns []string `protobuf:"bytes,9,rep,name=columns,proto3" json:"columns,omitempty"` Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"` - GroupBy string `protobuf:"bytes,11,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + GroupBy string `protobuf:"bytes,11,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` // TSDB Join []*JoinStruct `protobuf:"bytes,12,rep,name=join,proto3" json:"join,omitempty"` Limit int64 `protobuf:"varint,13,opt,name=limit,proto3" json:"limit,omitempty"` MessageLimit int64 `protobuf:"varint,14,opt,name=message_limit,json=messageLimit,proto3" json:"message_limit,omitempty"` @@ -893,392 +934,394 @@ type ReadRequest struct { Aggregators string `protobuf:"bytes,24,opt,name=aggregators,proto3" json:"aggregators,omitempty"` AggregationWindow string `protobuf:"bytes,28,opt,name=aggregation_window,json=aggregationWindow,proto3" json:"aggregation_window,omitempty"` // Stream - Seek string `protobuf:"bytes,25,opt,name=seek,proto3" json:"seek,omitempty"` - ShardId string `protobuf:"bytes,26,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` - Sequence int64 `protobuf:"varint,27,opt,name=sequence,proto3" json:"sequence,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Seek string `protobuf:"bytes,25,opt,name=seek,proto3" json:"seek,omitempty"` + ShardId string `protobuf:"bytes,26,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` + Sequence int64 `protobuf:"varint,27,opt,name=sequence,proto3" json:"sequence,omitempty"` } -func (m *ReadRequest) Reset() { *m = ReadRequest{} } -func (m *ReadRequest) String() string { return proto.CompactTextString(m) } -func (*ReadRequest) ProtoMessage() {} -func (*ReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{9} +func (x *ReadRequest) Reset() { + *x = ReadRequest{} + mi := &file_frames_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ReadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRequest.Unmarshal(m, b) -} -func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic) -} -func (dst *ReadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRequest.Merge(dst, src) -} -func (m *ReadRequest) XXX_Size() int { - return xxx_messageInfo_ReadRequest.Size(m) + +func (x *ReadRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRequest.DiscardUnknown(m) + +func (*ReadRequest) ProtoMessage() {} + +func (x *ReadRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReadRequest proto.InternalMessageInfo +// Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. +func (*ReadRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{9} +} -func (m *ReadRequest) GetSession() *Session { - if m != nil { - return m.Session +func (x *ReadRequest) GetSession() *Session { + if x != nil { + return x.Session } return nil } -func (m *ReadRequest) GetBackend() string { - if m != nil { - return m.Backend +func (x *ReadRequest) GetBackend() string { + if x != nil { + return x.Backend } return "" } -func (m *ReadRequest) GetSchema() *TableSchema { - if m != nil { - return m.Schema +func (x *ReadRequest) GetSchema() *TableSchema { + if x != nil { + return x.Schema } return nil } -func (m *ReadRequest) GetDataFormat() string { - if m != nil { - return m.DataFormat +func (x *ReadRequest) GetDataFormat() string { + if x != nil { + return x.DataFormat } return "" } -func (m *ReadRequest) GetRowLayout() bool { - if m != nil { - return m.RowLayout +func (x *ReadRequest) GetRowLayout() bool { + if x != nil { + return x.RowLayout } return false } -func (m *ReadRequest) GetMultiIndex() bool { - if m != nil { - return m.MultiIndex +func (x *ReadRequest) GetMultiIndex() bool { + if x != nil { + return x.MultiIndex } return false } -func (m *ReadRequest) GetQuery() string { - if m != nil { - return m.Query +func (x *ReadRequest) GetQuery() string { + if x != nil { + return x.Query } return "" } -func (m *ReadRequest) GetTable() string { - if m != nil { - return m.Table +func (x *ReadRequest) GetTable() string { + if x != nil { + return x.Table } return "" } -func (m *ReadRequest) GetColumns() []string { - if m != nil { - return m.Columns +func (x *ReadRequest) GetColumns() []string { + if x != nil { + return x.Columns } return nil } -func (m *ReadRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *ReadRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } -func (m *ReadRequest) GetGroupBy() string { - if m != nil { - return m.GroupBy +func (x *ReadRequest) GetGroupBy() string { + if x != nil { + return x.GroupBy } return "" } -func (m *ReadRequest) GetJoin() []*JoinStruct { - if m != nil { - return m.Join +func (x *ReadRequest) GetJoin() []*JoinStruct { + if x != nil { + return x.Join } return nil } -func (m *ReadRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *ReadRequest) GetLimit() int64 { + if x != nil { + return x.Limit } return 0 } -func (m *ReadRequest) GetMessageLimit() int64 { - if m != nil { - return m.MessageLimit +func (x *ReadRequest) GetMessageLimit() int64 { + if x != nil { + return x.MessageLimit } return 0 } -func (m *ReadRequest) GetMarker() string { - if m != nil { - return m.Marker +func (x *ReadRequest) GetMarker() string { + if x != nil { + return x.Marker } return "" } -func (m *ReadRequest) GetResetIndex() bool { - if m != nil { - return m.ResetIndex +func (x *ReadRequest) GetResetIndex() bool { + if x != nil { + return x.ResetIndex } return false } -func (m *ReadRequest) GetSegments() []int64 { - if m != nil { - return m.Segments +func (x *ReadRequest) GetSegments() []int64 { + if x != nil { + return x.Segments } return nil } -func (m *ReadRequest) GetTotalSegments() int64 { - if m != nil { - return m.TotalSegments +func (x *ReadRequest) GetTotalSegments() int64 { + if x != nil { + return x.TotalSegments } return 0 } -func (m *ReadRequest) GetShardingKeys() []string { - if m != nil { - return m.ShardingKeys +func (x *ReadRequest) GetShardingKeys() []string { + if x != nil { + return x.ShardingKeys } return nil } -func (m *ReadRequest) GetSortKeyRangeStart() string { - if m != nil { - return m.SortKeyRangeStart +func (x *ReadRequest) GetSortKeyRangeStart() string { + if x != nil { + return x.SortKeyRangeStart } return "" } -func (m *ReadRequest) GetSortKeyRangeEnd() string { - if m != nil { - return m.SortKeyRangeEnd +func (x *ReadRequest) GetSortKeyRangeEnd() string { + if x != nil { + return x.SortKeyRangeEnd } return "" } -func (m *ReadRequest) GetStart() string { - if m != nil { - return m.Start +func (x *ReadRequest) GetStart() string { + if x != nil { + return x.Start } return "" } -func (m *ReadRequest) GetEnd() string { - if m != nil { - return m.End +func (x *ReadRequest) GetEnd() string { + if x != nil { + return x.End } return "" } -func (m *ReadRequest) GetStep() string { - if m != nil { - return m.Step +func (x *ReadRequest) GetStep() string { + if x != nil { + return x.Step } return "" } -func (m *ReadRequest) GetAggregators() string { - if m != nil { - return m.Aggregators +func (x *ReadRequest) GetAggregators() string { + if x != nil { + return x.Aggregators } return "" } -func (m *ReadRequest) GetAggregationWindow() string { - if m != nil { - return m.AggregationWindow +func (x *ReadRequest) GetAggregationWindow() string { + if x != nil { + return x.AggregationWindow } return "" } -func (m *ReadRequest) GetSeek() string { - if m != nil { - return m.Seek +func (x *ReadRequest) GetSeek() string { + if x != nil { + return x.Seek } return "" } -func (m *ReadRequest) GetShardId() string { - if m != nil { - return m.ShardId +func (x *ReadRequest) GetShardId() string { + if x != nil { + return x.ShardId } return "" } -func (m *ReadRequest) GetSequence() int64 { - if m != nil { - return m.Sequence +func (x *ReadRequest) GetSequence() int64 { + if x != nil { + return x.Sequence } return 0 } type InitialWriteRequest struct { - Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - InitialData *Frame `protobuf:"bytes,4,opt,name=initial_data,json=initialData,proto3" json:"initial_data,omitempty"` - Expression string `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` - More bool `protobuf:"varint,6,opt,name=more,proto3" json:"more,omitempty"` - PartitionKeys []string `protobuf:"bytes,7,rep,name=partition_keys,json=partitionKeys,proto3" json:"partition_keys,omitempty"` - Condition string `protobuf:"bytes,8,opt,name=condition,proto3" json:"condition,omitempty"` - SaveMode string `protobuf:"bytes,9,opt,name=save_mode,json=saveMode,proto3" json:"save_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *InitialWriteRequest) Reset() { *m = InitialWriteRequest{} } -func (m *InitialWriteRequest) String() string { return proto.CompactTextString(m) } -func (*InitialWriteRequest) ProtoMessage() {} -func (*InitialWriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{10} -} -func (m *InitialWriteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitialWriteRequest.Unmarshal(m, b) -} -func (m *InitialWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitialWriteRequest.Marshal(b, m, deterministic) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` + InitialData *Frame `protobuf:"bytes,4,opt,name=initial_data,json=initialData,proto3" json:"initial_data,omitempty"` + Expression string `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` // NoSQL + More bool `protobuf:"varint,6,opt,name=more,proto3" json:"more,omitempty"` // Stream + PartitionKeys []string `protobuf:"bytes,7,rep,name=partition_keys,json=partitionKeys,proto3" json:"partition_keys,omitempty"` // NoSQL + Condition string `protobuf:"bytes,8,opt,name=condition,proto3" json:"condition,omitempty"` // NoSQL + SaveMode string `protobuf:"bytes,9,opt,name=save_mode,json=saveMode,proto3" json:"save_mode,omitempty"` // NoSQL } -func (dst *InitialWriteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitialWriteRequest.Merge(dst, src) + +func (x *InitialWriteRequest) Reset() { + *x = InitialWriteRequest{} + mi := &file_frames_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *InitialWriteRequest) XXX_Size() int { - return xxx_messageInfo_InitialWriteRequest.Size(m) + +func (x *InitialWriteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitialWriteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitialWriteRequest.DiscardUnknown(m) + +func (*InitialWriteRequest) ProtoMessage() {} + +func (x *InitialWriteRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_InitialWriteRequest proto.InternalMessageInfo +// Deprecated: Use InitialWriteRequest.ProtoReflect.Descriptor instead. +func (*InitialWriteRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{10} +} -func (m *InitialWriteRequest) GetSession() *Session { - if m != nil { - return m.Session +func (x *InitialWriteRequest) GetSession() *Session { + if x != nil { + return x.Session } return nil } -func (m *InitialWriteRequest) GetBackend() string { - if m != nil { - return m.Backend +func (x *InitialWriteRequest) GetBackend() string { + if x != nil { + return x.Backend } return "" } -func (m *InitialWriteRequest) GetTable() string { - if m != nil { - return m.Table +func (x *InitialWriteRequest) GetTable() string { + if x != nil { + return x.Table } return "" } -func (m *InitialWriteRequest) GetInitialData() *Frame { - if m != nil { - return m.InitialData +func (x *InitialWriteRequest) GetInitialData() *Frame { + if x != nil { + return x.InitialData } return nil } -func (m *InitialWriteRequest) GetExpression() string { - if m != nil { - return m.Expression +func (x *InitialWriteRequest) GetExpression() string { + if x != nil { + return x.Expression } return "" } -func (m *InitialWriteRequest) GetMore() bool { - if m != nil { - return m.More +func (x *InitialWriteRequest) GetMore() bool { + if x != nil { + return x.More } return false } -func (m *InitialWriteRequest) GetPartitionKeys() []string { - if m != nil { - return m.PartitionKeys +func (x *InitialWriteRequest) GetPartitionKeys() []string { + if x != nil { + return x.PartitionKeys } return nil } -func (m *InitialWriteRequest) GetCondition() string { - if m != nil { - return m.Condition +func (x *InitialWriteRequest) GetCondition() string { + if x != nil { + return x.Condition } return "" } -func (m *InitialWriteRequest) GetSaveMode() string { - if m != nil { - return m.SaveMode +func (x *InitialWriteRequest) GetSaveMode() string { + if x != nil { + return x.SaveMode } return "" } type WriteRequest struct { - // Types that are valid to be assigned to Type: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Type: + // // *WriteRequest_Request // *WriteRequest_Frame - Type isWriteRequest_Type `protobuf_oneof:"type"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type isWriteRequest_Type `protobuf_oneof:"type"` } -func (m *WriteRequest) Reset() { *m = WriteRequest{} } -func (m *WriteRequest) String() string { return proto.CompactTextString(m) } -func (*WriteRequest) ProtoMessage() {} -func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{11} -} -func (m *WriteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRequest.Unmarshal(m, b) -} -func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRequest.Marshal(b, m, deterministic) -} -func (dst *WriteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRequest.Merge(dst, src) -} -func (m *WriteRequest) XXX_Size() int { - return xxx_messageInfo_WriteRequest.Size(m) -} -func (m *WriteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRequest.DiscardUnknown(m) +func (x *WriteRequest) Reset() { + *x = WriteRequest{} + mi := &file_frames_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -var xxx_messageInfo_WriteRequest proto.InternalMessageInfo - -type isWriteRequest_Type interface { - isWriteRequest_Type() +func (x *WriteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type WriteRequest_Request struct { - Request *InitialWriteRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"` -} +func (*WriteRequest) ProtoMessage() {} -type WriteRequest_Frame struct { - Frame *Frame `protobuf:"bytes,2,opt,name=frame,proto3,oneof"` +func (x *WriteRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (*WriteRequest_Request) isWriteRequest_Type() {} - -func (*WriteRequest_Frame) isWriteRequest_Type() {} +// Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead. +func (*WriteRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{11} +} func (m *WriteRequest) GetType() isWriteRequest_Type { if m != nil { @@ -1287,1228 +1330,1156 @@ func (m *WriteRequest) GetType() isWriteRequest_Type { return nil } -func (m *WriteRequest) GetRequest() *InitialWriteRequest { - if x, ok := m.GetType().(*WriteRequest_Request); ok { +func (x *WriteRequest) GetRequest() *InitialWriteRequest { + if x, ok := x.GetType().(*WriteRequest_Request); ok { return x.Request } return nil } -func (m *WriteRequest) GetFrame() *Frame { - if x, ok := m.GetType().(*WriteRequest_Frame); ok { +func (x *WriteRequest) GetFrame() *Frame { + if x, ok := x.GetType().(*WriteRequest_Frame); ok { return x.Frame } return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*WriteRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _WriteRequest_OneofMarshaler, _WriteRequest_OneofUnmarshaler, _WriteRequest_OneofSizer, []interface{}{ - (*WriteRequest_Request)(nil), - (*WriteRequest_Frame)(nil), - } +type isWriteRequest_Type interface { + isWriteRequest_Type() } -func _WriteRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*WriteRequest) - // type - switch x := m.Type.(type) { - case *WriteRequest_Request: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Request); err != nil { - return err - } - case *WriteRequest_Frame: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Frame); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("WriteRequest.Type has unexpected type %T", x) - } - return nil +type WriteRequest_Request struct { + Request *InitialWriteRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"` } -func _WriteRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*WriteRequest) - switch tag { - case 1: // type.request - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(InitialWriteRequest) - err := b.DecodeMessage(msg) - m.Type = &WriteRequest_Request{msg} - return true, err - case 2: // type.frame - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Frame) - err := b.DecodeMessage(msg) - m.Type = &WriteRequest_Frame{msg} - return true, err - default: - return false, nil - } -} - -func _WriteRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*WriteRequest) - // type - switch x := m.Type.(type) { - case *WriteRequest_Request: - s := proto.Size(x.Request) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *WriteRequest_Frame: - s := proto.Size(x.Frame) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n +type WriteRequest_Frame struct { + Frame *Frame `protobuf:"bytes,2,opt,name=frame,proto3,oneof"` } +func (*WriteRequest_Request) isWriteRequest_Type() {} + +func (*WriteRequest_Frame) isWriteRequest_Type() {} + type WriteRespose struct { - Frames int64 `protobuf:"varint,1,opt,name=frames,proto3" json:"frames,omitempty"` - Rows int64 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WriteRespose) Reset() { *m = WriteRespose{} } -func (m *WriteRespose) String() string { return proto.CompactTextString(m) } -func (*WriteRespose) ProtoMessage() {} -func (*WriteRespose) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{12} -} -func (m *WriteRespose) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRespose.Unmarshal(m, b) -} -func (m *WriteRespose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRespose.Marshal(b, m, deterministic) + Frames int64 `protobuf:"varint,1,opt,name=frames,proto3" json:"frames,omitempty"` + Rows int64 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"` } -func (dst *WriteRespose) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRespose.Merge(dst, src) + +func (x *WriteRespose) Reset() { + *x = WriteRespose{} + mi := &file_frames_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *WriteRespose) XXX_Size() int { - return xxx_messageInfo_WriteRespose.Size(m) + +func (x *WriteRespose) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteRespose) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRespose.DiscardUnknown(m) + +func (*WriteRespose) ProtoMessage() {} + +func (x *WriteRespose) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WriteRespose proto.InternalMessageInfo +// Deprecated: Use WriteRespose.ProtoReflect.Descriptor instead. +func (*WriteRespose) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{12} +} -func (m *WriteRespose) GetFrames() int64 { - if m != nil { - return m.Frames +func (x *WriteRespose) GetFrames() int64 { + if x != nil { + return x.Frames } return 0 } -func (m *WriteRespose) GetRows() int64 { - if m != nil { - return m.Rows +func (x *WriteRespose) GetRows() int64 { + if x != nil { + return x.Rows } return 0 } // CreateRequest is a table creation request type CreateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - Schema *TableSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` // name of the backend + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Table name (path) + Schema *TableSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"` // Schema (for describing unstructured/schemaless data) IfExists ErrorOptions `protobuf:"varint,5,opt,name=if_exists,json=ifExists,proto3,enum=pb.ErrorOptions" json:"if_exists,omitempty"` // TSDB - Rate string `protobuf:"bytes,6,opt,name=rate,proto3" json:"rate,omitempty"` + Rate string `protobuf:"bytes,6,opt,name=rate,proto3" json:"rate,omitempty"` //Sample rate Aggregates string `protobuf:"bytes,7,opt,name=aggregates,proto3" json:"aggregates,omitempty"` AggregationGranularity string `protobuf:"bytes,8,opt,name=aggregation_granularity,json=aggregationGranularity,proto3" json:"aggregation_granularity,omitempty"` // Stream - Shards int64 `protobuf:"varint,9,opt,name=shards,proto3" json:"shards,omitempty"` - RetentionHours int64 `protobuf:"varint,10,opt,name=retention_hours,json=retentionHours,proto3" json:"retention_hours,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Shards int64 `protobuf:"varint,9,opt,name=shards,proto3" json:"shards,omitempty"` + RetentionHours int64 `protobuf:"varint,10,opt,name=retention_hours,json=retentionHours,proto3" json:"retention_hours,omitempty"` } -func (m *CreateRequest) Reset() { *m = CreateRequest{} } -func (m *CreateRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRequest) ProtoMessage() {} -func (*CreateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{13} -} -func (m *CreateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRequest.Unmarshal(m, b) -} -func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRequest.Marshal(b, m, deterministic) +func (x *CreateRequest) Reset() { + *x = CreateRequest{} + mi := &file_frames_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (dst *CreateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRequest.Merge(dst, src) -} -func (m *CreateRequest) XXX_Size() int { - return xxx_messageInfo_CreateRequest.Size(m) + +func (x *CreateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRequest.DiscardUnknown(m) + +func (*CreateRequest) ProtoMessage() {} + +func (x *CreateRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateRequest proto.InternalMessageInfo +// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead. +func (*CreateRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{13} +} -func (m *CreateRequest) GetSession() *Session { - if m != nil { - return m.Session +func (x *CreateRequest) GetSession() *Session { + if x != nil { + return x.Session } return nil } -func (m *CreateRequest) GetBackend() string { - if m != nil { - return m.Backend +func (x *CreateRequest) GetBackend() string { + if x != nil { + return x.Backend } return "" } -func (m *CreateRequest) GetTable() string { - if m != nil { - return m.Table +func (x *CreateRequest) GetTable() string { + if x != nil { + return x.Table } return "" } -func (m *CreateRequest) GetSchema() *TableSchema { - if m != nil { - return m.Schema +func (x *CreateRequest) GetSchema() *TableSchema { + if x != nil { + return x.Schema } return nil } -func (m *CreateRequest) GetIfExists() ErrorOptions { - if m != nil { - return m.IfExists +func (x *CreateRequest) GetIfExists() ErrorOptions { + if x != nil { + return x.IfExists } return ErrorOptions_FAIL } -func (m *CreateRequest) GetRate() string { - if m != nil { - return m.Rate +func (x *CreateRequest) GetRate() string { + if x != nil { + return x.Rate } return "" } -func (m *CreateRequest) GetAggregates() string { - if m != nil { - return m.Aggregates +func (x *CreateRequest) GetAggregates() string { + if x != nil { + return x.Aggregates } return "" } -func (m *CreateRequest) GetAggregationGranularity() string { - if m != nil { - return m.AggregationGranularity +func (x *CreateRequest) GetAggregationGranularity() string { + if x != nil { + return x.AggregationGranularity } return "" } -func (m *CreateRequest) GetShards() int64 { - if m != nil { - return m.Shards +func (x *CreateRequest) GetShards() int64 { + if x != nil { + return x.Shards } return 0 } -func (m *CreateRequest) GetRetentionHours() int64 { - if m != nil { - return m.RetentionHours +func (x *CreateRequest) GetRetentionHours() int64 { + if x != nil { + return x.RetentionHours } return 0 } type CreateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateResponse) Reset() { *m = CreateResponse{} } -func (m *CreateResponse) String() string { return proto.CompactTextString(m) } -func (*CreateResponse) ProtoMessage() {} -func (*CreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{14} -} -func (m *CreateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateResponse.Unmarshal(m, b) -} -func (m *CreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateResponse.Marshal(b, m, deterministic) +func (x *CreateResponse) Reset() { + *x = CreateResponse{} + mi := &file_frames_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (dst *CreateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateResponse.Merge(dst, src) -} -func (m *CreateResponse) XXX_Size() int { - return xxx_messageInfo_CreateResponse.Size(m) + +func (x *CreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateResponse.DiscardUnknown(m) + +func (*CreateResponse) ProtoMessage() {} + +func (x *CreateResponse) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateResponse proto.InternalMessageInfo +// Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead. +func (*CreateResponse) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{14} +} // DeleteRequest is a deletion request type DeleteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - IfMissing ErrorOptions `protobuf:"varint,5,opt,name=if_missing,json=ifMissing,proto3,enum=pb.ErrorOptions" json:"if_missing,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` // Name of the backend + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Table name (path) + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Filter string for selective delete + IfMissing ErrorOptions `protobuf:"varint,5,opt,name=if_missing,json=ifMissing,proto3,enum=pb.ErrorOptions" json:"if_missing,omitempty"` // Ignore error on missing table // TSDB and Stream specific fields - Start string `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"` - End string `protobuf:"bytes,7,opt,name=end,proto3" json:"end,omitempty"` - Metrics []string `protobuf:"bytes,8,rep,name=metrics,proto3" json:"metrics,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Start string `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"` + End string `protobuf:"bytes,7,opt,name=end,proto3" json:"end,omitempty"` + Metrics []string `protobuf:"bytes,8,rep,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } -func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRequest) ProtoMessage() {} -func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{15} -} -func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRequest.Unmarshal(m, b) -} -func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic) -} -func (dst *DeleteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRequest.Merge(dst, src) +func (x *DeleteRequest) Reset() { + *x = DeleteRequest{} + mi := &file_frames_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *DeleteRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRequest.Size(m) + +func (x *DeleteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRequest.DiscardUnknown(m) + +func (*DeleteRequest) ProtoMessage() {} + +func (x *DeleteRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo +// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead. +func (*DeleteRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{15} +} -func (m *DeleteRequest) GetSession() *Session { - if m != nil { - return m.Session +func (x *DeleteRequest) GetSession() *Session { + if x != nil { + return x.Session } return nil } -func (m *DeleteRequest) GetBackend() string { - if m != nil { - return m.Backend +func (x *DeleteRequest) GetBackend() string { + if x != nil { + return x.Backend } return "" } -func (m *DeleteRequest) GetTable() string { - if m != nil { - return m.Table +func (x *DeleteRequest) GetTable() string { + if x != nil { + return x.Table } return "" } -func (m *DeleteRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *DeleteRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } -func (m *DeleteRequest) GetIfMissing() ErrorOptions { - if m != nil { - return m.IfMissing +func (x *DeleteRequest) GetIfMissing() ErrorOptions { + if x != nil { + return x.IfMissing } return ErrorOptions_FAIL } -func (m *DeleteRequest) GetStart() string { - if m != nil { - return m.Start +func (x *DeleteRequest) GetStart() string { + if x != nil { + return x.Start } return "" } -func (m *DeleteRequest) GetEnd() string { - if m != nil { - return m.End +func (x *DeleteRequest) GetEnd() string { + if x != nil { + return x.End } return "" } -func (m *DeleteRequest) GetMetrics() []string { - if m != nil { - return m.Metrics +func (x *DeleteRequest) GetMetrics() []string { + if x != nil { + return x.Metrics } return nil } type DeleteResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } -func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteResponse) ProtoMessage() {} -func (*DeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{16} -} -func (m *DeleteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteResponse.Unmarshal(m, b) +func (x *DeleteResponse) Reset() { + *x = DeleteResponse{} + mi := &file_frames_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic) -} -func (dst *DeleteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteResponse.Merge(dst, src) -} -func (m *DeleteResponse) XXX_Size() int { - return xxx_messageInfo_DeleteResponse.Size(m) -} -func (m *DeleteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteResponse.DiscardUnknown(m) + +func (x *DeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo +func (*DeleteResponse) ProtoMessage() {} -type VersionRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DeleteResponse) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *VersionRequest) Reset() { *m = VersionRequest{} } -func (m *VersionRequest) String() string { return proto.CompactTextString(m) } -func (*VersionRequest) ProtoMessage() {} -func (*VersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{17} -} -func (m *VersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionRequest.Unmarshal(m, b) -} -func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic) -} -func (dst *VersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionRequest.Merge(dst, src) -} -func (m *VersionRequest) XXX_Size() int { - return xxx_messageInfo_VersionRequest.Size(m) -} -func (m *VersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VersionRequest.DiscardUnknown(m) +// Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead. +func (*DeleteResponse) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{16} } -var xxx_messageInfo_VersionRequest proto.InternalMessageInfo - -type ExecResponse struct { - Frame *Frame `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"` - Rows int64 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type VersionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ExecResponse) Reset() { *m = ExecResponse{} } -func (m *ExecResponse) String() string { return proto.CompactTextString(m) } -func (*ExecResponse) ProtoMessage() {} -func (*ExecResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{18} -} -func (m *ExecResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecResponse.Unmarshal(m, b) -} -func (m *ExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecResponse.Marshal(b, m, deterministic) -} -func (dst *ExecResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecResponse.Merge(dst, src) +func (x *VersionRequest) Reset() { + *x = VersionRequest{} + mi := &file_frames_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecResponse) XXX_Size() int { - return xxx_messageInfo_ExecResponse.Size(m) -} -func (m *ExecResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExecResponse.DiscardUnknown(m) + +func (x *VersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ExecResponse proto.InternalMessageInfo +func (*VersionRequest) ProtoMessage() {} -func (m *ExecResponse) GetFrame() *Frame { - if m != nil { - return m.Frame +func (x *VersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[17] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ExecResponse) GetRows() int64 { - if m != nil { - return m.Rows - } - return 0 +// Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead. +func (*VersionRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{17} } -type ExecRequest struct { - Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - Args map[string]*Value `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Expression string `protobuf:"bytes,6,opt,name=expression,proto3" json:"expression,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExecRequest) Reset() { *m = ExecRequest{} } -func (m *ExecRequest) String() string { return proto.CompactTextString(m) } -func (*ExecRequest) ProtoMessage() {} -func (*ExecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{19} -} -func (m *ExecRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExecRequest.Unmarshal(m, b) -} -func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExecRequest.Marshal(b, m, deterministic) -} -func (dst *ExecRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecRequest.Merge(dst, src) -} -func (m *ExecRequest) XXX_Size() int { - return xxx_messageInfo_ExecRequest.Size(m) -} -func (m *ExecRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExecRequest.DiscardUnknown(m) -} +type ExecResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -var xxx_messageInfo_ExecRequest proto.InternalMessageInfo + Frame *Frame `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"` + Rows int64 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"` +} -func (m *ExecRequest) GetSession() *Session { - if m != nil { - return m.Session - } - return nil +func (x *ExecResponse) Reset() { + *x = ExecResponse{} + mi := &file_frames_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *ExecRequest) GetBackend() string { - if m != nil { - return m.Backend - } - return "" +func (x *ExecResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExecRequest) GetTable() string { - if m != nil { - return m.Table +func (*ExecResponse) ProtoMessage() {} + +func (x *ExecResponse) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[18] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *ExecRequest) GetCommand() string { - if m != nil { - return m.Command - } - return "" +// Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead. +func (*ExecResponse) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{18} } -func (m *ExecRequest) GetArgs() map[string]*Value { - if m != nil { - return m.Args +func (x *ExecResponse) GetFrame() *Frame { + if x != nil { + return x.Frame } return nil } -func (m *ExecRequest) GetExpression() string { - if m != nil { - return m.Expression +func (x *ExecResponse) GetRows() int64 { + if x != nil { + return x.Rows } - return "" + return 0 } -type VersionResponse struct { - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type ExecRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VersionResponse) Reset() { *m = VersionResponse{} } -func (m *VersionResponse) String() string { return proto.CompactTextString(m) } -func (*VersionResponse) ProtoMessage() {} -func (*VersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{20} -} -func (m *VersionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionResponse.Unmarshal(m, b) -} -func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic) -} -func (dst *VersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionResponse.Merge(dst, src) -} -func (m *VersionResponse) XXX_Size() int { - return xxx_messageInfo_VersionResponse.Size(m) -} -func (m *VersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VersionResponse.DiscardUnknown(m) + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` // Name of the backend + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Table name (path) + Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` // Command to execute + Args map[string]*Value `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Command arguments + Expression string `protobuf:"bytes,6,opt,name=expression,proto3" json:"expression,omitempty"` } -var xxx_messageInfo_VersionResponse proto.InternalMessageInfo - -func (m *VersionResponse) GetVersion() string { - if m != nil { - return m.Version - } - return "" +func (x *ExecRequest) Reset() { + *x = ExecRequest{} + mi := &file_frames_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -type HistoryRequest struct { - Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` - Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` - Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` - Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"` - MinStartTime string `protobuf:"bytes,6,opt,name=min_start_time,json=minStartTime,proto3" json:"min_start_time,omitempty"` - MaxStartTime string `protobuf:"bytes,7,opt,name=max_start_time,json=maxStartTime,proto3" json:"max_start_time,omitempty"` - Container string `protobuf:"bytes,8,opt,name=container,proto3" json:"container,omitempty"` - MinDuration int64 `protobuf:"varint,9,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` - MaxDuration int64 `protobuf:"varint,10,opt,name=max_duration,json=maxDuration,proto3" json:"max_duration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *HistoryRequest) Reset() { *m = HistoryRequest{} } -func (m *HistoryRequest) String() string { return proto.CompactTextString(m) } -func (*HistoryRequest) ProtoMessage() {} -func (*HistoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_frames_e3d1b436579e21b2, []int{21} -} -func (m *HistoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HistoryRequest.Unmarshal(m, b) -} -func (m *HistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HistoryRequest.Marshal(b, m, deterministic) -} -func (dst *HistoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HistoryRequest.Merge(dst, src) -} -func (m *HistoryRequest) XXX_Size() int { - return xxx_messageInfo_HistoryRequest.Size(m) -} -func (m *HistoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HistoryRequest.DiscardUnknown(m) +func (x *ExecRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_HistoryRequest proto.InternalMessageInfo +func (*ExecRequest) ProtoMessage() {} -func (m *HistoryRequest) GetSession() *Session { - if m != nil { - return m.Session +func (x *ExecRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *HistoryRequest) GetBackend() string { - if m != nil { - return m.Backend - } - return "" +// Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead. +func (*ExecRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{19} } -func (m *HistoryRequest) GetTable() string { - if m != nil { - return m.Table +func (x *ExecRequest) GetSession() *Session { + if x != nil { + return x.Session } - return "" + return nil } -func (m *HistoryRequest) GetUser() string { - if m != nil { - return m.User +func (x *ExecRequest) GetBackend() string { + if x != nil { + return x.Backend } return "" } -func (m *HistoryRequest) GetAction() string { - if m != nil { - return m.Action +func (x *ExecRequest) GetTable() string { + if x != nil { + return x.Table } return "" } -func (m *HistoryRequest) GetMinStartTime() string { - if m != nil { - return m.MinStartTime +func (x *ExecRequest) GetCommand() string { + if x != nil { + return x.Command } return "" } -func (m *HistoryRequest) GetMaxStartTime() string { - if m != nil { - return m.MaxStartTime +func (x *ExecRequest) GetArgs() map[string]*Value { + if x != nil { + return x.Args } - return "" + return nil } -func (m *HistoryRequest) GetContainer() string { - if m != nil { - return m.Container +func (x *ExecRequest) GetExpression() string { + if x != nil { + return x.Expression } return "" } -func (m *HistoryRequest) GetMinDuration() int64 { - if m != nil { - return m.MinDuration - } - return 0 -} +type VersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HistoryRequest) GetMaxDuration() int64 { - if m != nil { - return m.MaxDuration - } - return 0 + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` } -func init() { - proto.RegisterType((*Column)(nil), "pb.Column") - proto.RegisterType((*Value)(nil), "pb.Value") - proto.RegisterType((*NullValuesMap)(nil), "pb.NullValuesMap") - proto.RegisterMapType((map[string]bool)(nil), "pb.NullValuesMap.NullColumnsEntry") - proto.RegisterType((*Frame)(nil), "pb.Frame") - proto.RegisterMapType((map[string]*Value)(nil), "pb.Frame.LabelsEntry") - proto.RegisterType((*SchemaField)(nil), "pb.SchemaField") - proto.RegisterMapType((map[string]*Value)(nil), "pb.SchemaField.PropertiesEntry") - proto.RegisterType((*SchemaKey)(nil), "pb.SchemaKey") - proto.RegisterType((*TableSchema)(nil), "pb.TableSchema") - proto.RegisterType((*JoinStruct)(nil), "pb.JoinStruct") - proto.RegisterType((*Session)(nil), "pb.Session") - proto.RegisterType((*ReadRequest)(nil), "pb.ReadRequest") - proto.RegisterType((*InitialWriteRequest)(nil), "pb.InitialWriteRequest") - proto.RegisterType((*WriteRequest)(nil), "pb.WriteRequest") - proto.RegisterType((*WriteRespose)(nil), "pb.WriteRespose") - proto.RegisterType((*CreateRequest)(nil), "pb.CreateRequest") - proto.RegisterType((*CreateResponse)(nil), "pb.CreateResponse") - proto.RegisterType((*DeleteRequest)(nil), "pb.DeleteRequest") - proto.RegisterType((*DeleteResponse)(nil), "pb.DeleteResponse") - proto.RegisterType((*VersionRequest)(nil), "pb.VersionRequest") - proto.RegisterType((*ExecResponse)(nil), "pb.ExecResponse") - proto.RegisterType((*ExecRequest)(nil), "pb.ExecRequest") - proto.RegisterMapType((map[string]*Value)(nil), "pb.ExecRequest.ArgsEntry") - proto.RegisterType((*VersionResponse)(nil), "pb.VersionResponse") - proto.RegisterType((*HistoryRequest)(nil), "pb.HistoryRequest") - proto.RegisterEnum("pb.DType", DType_name, DType_value) - proto.RegisterEnum("pb.ErrorOptions", ErrorOptions_name, ErrorOptions_value) - proto.RegisterEnum("pb.Column_Kind", Column_Kind_name, Column_Kind_value) -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// FramesClient is the client API for Frames service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type FramesClient interface { - Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Frames_ReadClient, error) - Write(ctx context.Context, opts ...grpc.CallOption) (Frames_WriteClient, error) - Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) - Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) - Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) - History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (Frames_HistoryClient, error) - Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) +func (x *VersionResponse) Reset() { + *x = VersionResponse{} + mi := &file_frames_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -type framesClient struct { - cc *grpc.ClientConn +func (x *VersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func NewFramesClient(cc *grpc.ClientConn) FramesClient { - return &framesClient{cc} -} +func (*VersionResponse) ProtoMessage() {} -func (c *framesClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (Frames_ReadClient, error) { - stream, err := c.cc.NewStream(ctx, &_Frames_serviceDesc.Streams[0], "/pb.Frames/Read", opts...) - if err != nil { - return nil, err - } - x := &framesReadClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (x *VersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[20] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return x, nil -} - -type Frames_ReadClient interface { - Recv() (*Frame, error) - grpc.ClientStream + return mi.MessageOf(x) } -type framesReadClient struct { - grpc.ClientStream +// Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead. +func (*VersionResponse) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{20} } -func (x *framesReadClient) Recv() (*Frame, error) { - m := new(Frame) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *VersionResponse) GetVersion() string { + if x != nil { + return x.Version } - return m, nil + return "" } -func (c *framesClient) Write(ctx context.Context, opts ...grpc.CallOption) (Frames_WriteClient, error) { - stream, err := c.cc.NewStream(ctx, &_Frames_serviceDesc.Streams[1], "/pb.Frames/Write", opts...) - if err != nil { - return nil, err - } - x := &framesWriteClient{stream} - return x, nil -} +type HistoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type Frames_WriteClient interface { - Send(*WriteRequest) error - CloseAndRecv() (*WriteRespose, error) - grpc.ClientStream + Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` + Backend string `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` // Filter by backend type + Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` // Filter by Table name + User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // Filter by the user executed the command + Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"` // Filter by Action type + MinStartTime string `protobuf:"bytes,6,opt,name=min_start_time,json=minStartTime,proto3" json:"min_start_time,omitempty"` // Filter time range + MaxStartTime string `protobuf:"bytes,7,opt,name=max_start_time,json=maxStartTime,proto3" json:"max_start_time,omitempty"` // Filter time range + Container string `protobuf:"bytes,8,opt,name=container,proto3" json:"container,omitempty"` // Filter time range + MinDuration int64 `protobuf:"varint,9,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` // Filter time range + MaxDuration int64 `protobuf:"varint,10,opt,name=max_duration,json=maxDuration,proto3" json:"max_duration,omitempty"` // Filter time range } -type framesWriteClient struct { - grpc.ClientStream +func (x *HistoryRequest) Reset() { + *x = HistoryRequest{} + mi := &file_frames_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (x *framesWriteClient) Send(m *WriteRequest) error { - return x.ClientStream.SendMsg(m) +func (x *HistoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *framesWriteClient) CloseAndRecv() (*WriteRespose, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(WriteRespose) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +func (*HistoryRequest) ProtoMessage() {} -func (c *framesClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) { - out := new(CreateResponse) - err := c.cc.Invoke(ctx, "/pb.Frames/Create", in, out, opts...) - if err != nil { - return nil, err +func (x *HistoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_frames_proto_msgTypes[21] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *framesClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { - out := new(DeleteResponse) - err := c.cc.Invoke(ctx, "/pb.Frames/Delete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use HistoryRequest.ProtoReflect.Descriptor instead. +func (*HistoryRequest) Descriptor() ([]byte, []int) { + return file_frames_proto_rawDescGZIP(), []int{21} } -func (c *framesClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) { - out := new(ExecResponse) - err := c.cc.Invoke(ctx, "/pb.Frames/Exec", in, out, opts...) - if err != nil { - return nil, err +func (x *HistoryRequest) GetSession() *Session { + if x != nil { + return x.Session } - return out, nil + return nil } -func (c *framesClient) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (Frames_HistoryClient, error) { - stream, err := c.cc.NewStream(ctx, &_Frames_serviceDesc.Streams[2], "/pb.Frames/History", opts...) - if err != nil { - return nil, err - } - x := &framesHistoryClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err +func (x *HistoryRequest) GetBackend() string { + if x != nil { + return x.Backend } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type Frames_HistoryClient interface { - Recv() (*Frame, error) - grpc.ClientStream -} - -type framesHistoryClient struct { - grpc.ClientStream + return "" } -func (x *framesHistoryClient) Recv() (*Frame, error) { - m := new(Frame) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (x *HistoryRequest) GetTable() string { + if x != nil { + return x.Table } - return m, nil + return "" } -func (c *framesClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) { - out := new(VersionResponse) - err := c.cc.Invoke(ctx, "/pb.Frames/Version", in, out, opts...) - if err != nil { - return nil, err +func (x *HistoryRequest) GetUser() string { + if x != nil { + return x.User } - return out, nil -} - -// FramesServer is the server API for Frames service. -type FramesServer interface { - Read(*ReadRequest, Frames_ReadServer) error - Write(Frames_WriteServer) error - Create(context.Context, *CreateRequest) (*CreateResponse, error) - Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) - Exec(context.Context, *ExecRequest) (*ExecResponse, error) - History(*HistoryRequest, Frames_HistoryServer) error - Version(context.Context, *VersionRequest) (*VersionResponse, error) -} - -func RegisterFramesServer(s *grpc.Server, srv FramesServer) { - s.RegisterService(&_Frames_serviceDesc, srv) + return "" } -func _Frames_Read_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ReadRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *HistoryRequest) GetAction() string { + if x != nil { + return x.Action } - return srv.(FramesServer).Read(m, &framesReadServer{stream}) -} - -type Frames_ReadServer interface { - Send(*Frame) error - grpc.ServerStream -} - -type framesReadServer struct { - grpc.ServerStream -} - -func (x *framesReadServer) Send(m *Frame) error { - return x.ServerStream.SendMsg(m) -} - -func _Frames_Write_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(FramesServer).Write(&framesWriteServer{stream}) -} - -type Frames_WriteServer interface { - SendAndClose(*WriteRespose) error - Recv() (*WriteRequest, error) - grpc.ServerStream -} - -type framesWriteServer struct { - grpc.ServerStream -} - -func (x *framesWriteServer) SendAndClose(m *WriteRespose) error { - return x.ServerStream.SendMsg(m) + return "" } -func (x *framesWriteServer) Recv() (*WriteRequest, error) { - m := new(WriteRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err +func (x *HistoryRequest) GetMinStartTime() string { + if x != nil { + return x.MinStartTime } - return m, nil + return "" } -func _Frames_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FramesServer).Create(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.Frames/Create", +func (x *HistoryRequest) GetMaxStartTime() string { + if x != nil { + return x.MaxStartTime } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FramesServer).Create(ctx, req.(*CreateRequest)) - } - return interceptor(ctx, in, info, handler) + return "" } -func _Frames_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRequest) - if err := dec(in); err != nil { - return nil, err +func (x *HistoryRequest) GetContainer() string { + if x != nil { + return x.Container } - if interceptor == nil { - return srv.(FramesServer).Delete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.Frames/Delete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FramesServer).Delete(ctx, req.(*DeleteRequest)) - } - return interceptor(ctx, in, info, handler) + return "" } -func _Frames_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FramesServer).Exec(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.Frames/Exec", +func (x *HistoryRequest) GetMinDuration() int64 { + if x != nil { + return x.MinDuration } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FramesServer).Exec(ctx, req.(*ExecRequest)) - } - return interceptor(ctx, in, info, handler) + return 0 } -func _Frames_History_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(HistoryRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *HistoryRequest) GetMaxDuration() int64 { + if x != nil { + return x.MaxDuration } - return srv.(FramesServer).History(m, &framesHistoryServer{stream}) -} - -type Frames_HistoryServer interface { - Send(*Frame) error - grpc.ServerStream -} - -type framesHistoryServer struct { - grpc.ServerStream + return 0 } -func (x *framesHistoryServer) Send(m *Frame) error { - return x.ServerStream.SendMsg(m) -} +var File_frames_proto protoreflect.FileDescriptor + +var file_frames_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, + 0x70, 0x62, 0x22, 0x86, 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x23, 0x0a, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x70, 0x62, + 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x64, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x05, 0x64, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, + 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x69, 0x6e, 0x74, 0x73, 0x12, + 0x16, 0x0a, 0x06, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x01, 0x52, + 0x06, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x03, + 0x52, 0x05, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x6c, 0x73, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6c, 0x73, 0x22, 0x1c, 0x0a, + 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x4c, 0x49, 0x43, 0x45, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x01, 0x22, 0x7e, 0x0a, 0x05, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x69, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x48, 0x00, 0x52, 0x04, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x04, 0x66, 0x76, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x04, 0x66, 0x76, 0x61, 0x6c, + 0x12, 0x14, 0x0a, 0x04, 0x73, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x04, 0x73, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x76, 0x61, 0x6c, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x04, 0x74, 0x76, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x04, + 0x62, 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x62, 0x76, + 0x61, 0x6c, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, + 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4d, 0x61, 0x70, 0x12, 0x44, 0x0a, + 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x4d, 0x61, 0x70, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x4e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x92, 0x02, 0x0a, 0x05, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, + 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x52, 0x07, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x32, + 0x0a, 0x0b, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x4d, 0x61, 0x70, 0x52, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x1a, 0x44, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf7, 0x01, 0x0a, 0x0b, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x64, 0x6f, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x6f, 0x63, 0x12, 0x23, + 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x62, + 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x48, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, + 0x62, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x09, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, + 0x4b, 0x65, 0x79, 0x22, 0xc9, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6f, 0x63, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x6f, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1f, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, + 0x0c, 0x0a, 0x0a, 0x4a, 0x6f, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x22, 0xa3, 0x01, + 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x87, 0x07, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, + 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, + 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x62, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x12, 0x22, 0x0a, 0x04, 0x6a, 0x6f, 0x69, 0x6e, 0x18, + 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4a, 0x6f, 0x69, 0x6e, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6a, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x1f, + 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x1d, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, + 0x03, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x64, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x6f, 0x72, 0x74, 0x5f, + 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x73, 0x6f, 0x72, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x45, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x15, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, + 0x6e, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x73, 0x74, 0x65, 0x70, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x65, + 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x11, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x6b, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x73, 0x65, 0x65, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, + 0x69, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x1b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xb0, 0x02, + 0x0a, 0x13, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, + 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x0c, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x0b, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, + 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, + 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6d, 0x6f, 0x72, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x61, 0x76, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x61, 0x76, 0x65, 0x4d, 0x6f, 0x64, 0x65, + 0x22, 0x6e, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x57, 0x72, + 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, + 0x00, 0x52, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0x3a, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x73, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0xec, 0x02, 0x0a, + 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, + 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x2d, + 0x0a, 0x09, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x08, 0x69, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x74, + 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x73, 0x12, 0x37, 0x0a, 0x17, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x16, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, + 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf1, 0x01, + 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x25, 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2f, + 0x0a, 0x0a, 0x69, 0x66, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x09, 0x69, 0x66, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, + 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x0b, 0x45, + 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, + 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, + 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x42, 0x0a, 0x09, 0x41, 0x72, + 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2b, + 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xc3, 0x02, 0x0a, 0x0e, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, + 0x0a, 0x07, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x6d, 0x61, 0x78, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, + 0x69, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, + 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2a, 0x56, 0x0a, 0x05, 0x44, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, + 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, + 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x05, 0x12, + 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x06, 0x2a, 0x24, 0x0a, 0x0c, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, + 0x4c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x10, 0x01, 0x32, + 0xd8, 0x02, 0x0a, 0x06, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x04, 0x52, 0x65, + 0x61, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x22, 0x00, + 0x30, 0x01, 0x12, 0x2f, 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x70, 0x62, + 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, + 0x70, 0x62, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x73, 0x65, 0x22, + 0x00, 0x28, 0x01, 0x12, 0x31, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x11, 0x2e, + 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2b, 0x0a, 0x04, 0x45, 0x78, 0x65, + 0x63, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x2c, 0x0a, 0x07, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x34, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_frames_proto_rawDescOnce sync.Once + file_frames_proto_rawDescData = file_frames_proto_rawDesc +) -func _Frames_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VersionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(FramesServer).Version(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.Frames/Version", +func file_frames_proto_rawDescGZIP() []byte { + file_frames_proto_rawDescOnce.Do(func() { + file_frames_proto_rawDescData = protoimpl.X.CompressGZIP(file_frames_proto_rawDescData) + }) + return file_frames_proto_rawDescData +} + +var file_frames_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_frames_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_frames_proto_goTypes = []any{ + (DType)(0), // 0: pb.DType + (ErrorOptions)(0), // 1: pb.ErrorOptions + (Column_Kind)(0), // 2: pb.Column.Kind + (*Column)(nil), // 3: pb.Column + (*Value)(nil), // 4: pb.Value + (*NullValuesMap)(nil), // 5: pb.NullValuesMap + (*Frame)(nil), // 6: pb.Frame + (*SchemaField)(nil), // 7: pb.SchemaField + (*SchemaKey)(nil), // 8: pb.SchemaKey + (*TableSchema)(nil), // 9: pb.TableSchema + (*JoinStruct)(nil), // 10: pb.JoinStruct + (*Session)(nil), // 11: pb.Session + (*ReadRequest)(nil), // 12: pb.ReadRequest + (*InitialWriteRequest)(nil), // 13: pb.InitialWriteRequest + (*WriteRequest)(nil), // 14: pb.WriteRequest + (*WriteRespose)(nil), // 15: pb.WriteRespose + (*CreateRequest)(nil), // 16: pb.CreateRequest + (*CreateResponse)(nil), // 17: pb.CreateResponse + (*DeleteRequest)(nil), // 18: pb.DeleteRequest + (*DeleteResponse)(nil), // 19: pb.DeleteResponse + (*VersionRequest)(nil), // 20: pb.VersionRequest + (*ExecResponse)(nil), // 21: pb.ExecResponse + (*ExecRequest)(nil), // 22: pb.ExecRequest + (*VersionResponse)(nil), // 23: pb.VersionResponse + (*HistoryRequest)(nil), // 24: pb.HistoryRequest + nil, // 25: pb.NullValuesMap.NullColumnsEntry + nil, // 26: pb.Frame.LabelsEntry + nil, // 27: pb.SchemaField.PropertiesEntry + nil, // 28: pb.ExecRequest.ArgsEntry +} +var file_frames_proto_depIdxs = []int32{ + 2, // 0: pb.Column.kind:type_name -> pb.Column.Kind + 0, // 1: pb.Column.dtype:type_name -> pb.DType + 25, // 2: pb.NullValuesMap.nullColumns:type_name -> pb.NullValuesMap.NullColumnsEntry + 3, // 3: pb.Frame.columns:type_name -> pb.Column + 3, // 4: pb.Frame.indices:type_name -> pb.Column + 26, // 5: pb.Frame.labels:type_name -> pb.Frame.LabelsEntry + 5, // 6: pb.Frame.null_values:type_name -> pb.NullValuesMap + 4, // 7: pb.SchemaField.default:type_name -> pb.Value + 27, // 8: pb.SchemaField.properties:type_name -> pb.SchemaField.PropertiesEntry + 7, // 9: pb.TableSchema.fields:type_name -> pb.SchemaField + 8, // 10: pb.TableSchema.key:type_name -> pb.SchemaKey + 11, // 11: pb.ReadRequest.session:type_name -> pb.Session + 9, // 12: pb.ReadRequest.schema:type_name -> pb.TableSchema + 10, // 13: pb.ReadRequest.join:type_name -> pb.JoinStruct + 11, // 14: pb.InitialWriteRequest.session:type_name -> pb.Session + 6, // 15: pb.InitialWriteRequest.initial_data:type_name -> pb.Frame + 13, // 16: pb.WriteRequest.request:type_name -> pb.InitialWriteRequest + 6, // 17: pb.WriteRequest.frame:type_name -> pb.Frame + 11, // 18: pb.CreateRequest.session:type_name -> pb.Session + 9, // 19: pb.CreateRequest.schema:type_name -> pb.TableSchema + 1, // 20: pb.CreateRequest.if_exists:type_name -> pb.ErrorOptions + 11, // 21: pb.DeleteRequest.session:type_name -> pb.Session + 1, // 22: pb.DeleteRequest.if_missing:type_name -> pb.ErrorOptions + 6, // 23: pb.ExecResponse.frame:type_name -> pb.Frame + 11, // 24: pb.ExecRequest.session:type_name -> pb.Session + 28, // 25: pb.ExecRequest.args:type_name -> pb.ExecRequest.ArgsEntry + 11, // 26: pb.HistoryRequest.session:type_name -> pb.Session + 4, // 27: pb.Frame.LabelsEntry.value:type_name -> pb.Value + 4, // 28: pb.SchemaField.PropertiesEntry.value:type_name -> pb.Value + 4, // 29: pb.ExecRequest.ArgsEntry.value:type_name -> pb.Value + 12, // 30: pb.Frames.Read:input_type -> pb.ReadRequest + 14, // 31: pb.Frames.Write:input_type -> pb.WriteRequest + 16, // 32: pb.Frames.Create:input_type -> pb.CreateRequest + 18, // 33: pb.Frames.Delete:input_type -> pb.DeleteRequest + 22, // 34: pb.Frames.Exec:input_type -> pb.ExecRequest + 24, // 35: pb.Frames.History:input_type -> pb.HistoryRequest + 20, // 36: pb.Frames.Version:input_type -> pb.VersionRequest + 6, // 37: pb.Frames.Read:output_type -> pb.Frame + 15, // 38: pb.Frames.Write:output_type -> pb.WriteRespose + 17, // 39: pb.Frames.Create:output_type -> pb.CreateResponse + 19, // 40: pb.Frames.Delete:output_type -> pb.DeleteResponse + 21, // 41: pb.Frames.Exec:output_type -> pb.ExecResponse + 6, // 42: pb.Frames.History:output_type -> pb.Frame + 23, // 43: pb.Frames.Version:output_type -> pb.VersionResponse + 37, // [37:44] is the sub-list for method output_type + 30, // [30:37] is the sub-list for method input_type + 30, // [30:30] is the sub-list for extension type_name + 30, // [30:30] is the sub-list for extension extendee + 0, // [0:30] is the sub-list for field type_name +} + +func init() { file_frames_proto_init() } +func file_frames_proto_init() { + if File_frames_proto != nil { + return + } + file_frames_proto_msgTypes[1].OneofWrappers = []any{ + (*Value_Ival)(nil), + (*Value_Fval)(nil), + (*Value_Sval)(nil), + (*Value_Tval)(nil), + (*Value_Bval)(nil), } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(FramesServer).Version(ctx, req.(*VersionRequest)) + file_frames_proto_msgTypes[11].OneofWrappers = []any{ + (*WriteRequest_Request)(nil), + (*WriteRequest_Frame)(nil), } - return interceptor(ctx, in, info, handler) -} - -var _Frames_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pb.Frames", - HandlerType: (*FramesServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Create", - Handler: _Frames_Create_Handler, - }, - { - MethodName: "Delete", - Handler: _Frames_Delete_Handler, - }, - { - MethodName: "Exec", - Handler: _Frames_Exec_Handler, - }, - { - MethodName: "Version", - Handler: _Frames_Version_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "Read", - Handler: _Frames_Read_Handler, - ServerStreams: true, - }, - { - StreamName: "Write", - Handler: _Frames_Write_Handler, - ClientStreams: true, - }, - { - StreamName: "History", - Handler: _Frames_History_Handler, - ServerStreams: true, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_frames_proto_rawDesc, + NumEnums: 3, + NumMessages: 26, + NumExtensions: 0, + NumServices: 1, }, - }, - Metadata: "frames.proto", -} - -func init() { proto.RegisterFile("frames.proto", fileDescriptor_frames_e3d1b436579e21b2) } - -var fileDescriptor_frames_e3d1b436579e21b2 = []byte{ - // 1969 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x72, 0x1b, 0xc7, - 0x11, 0xe6, 0xe2, 0x7f, 0x1b, 0x20, 0x08, 0x8f, 0x65, 0x79, 0x05, 0xcb, 0x11, 0xb5, 0x92, 0x63, - 0x96, 0x65, 0x51, 0x09, 0x9d, 0xaa, 0xa4, 0x7c, 0x48, 0x4a, 0x14, 0x41, 0x91, 0x11, 0x44, 0xa6, - 0x96, 0x8c, 0x7c, 0x44, 0x0d, 0xb1, 0x03, 0x68, 0xc2, 0xfd, 0x81, 0x66, 0x06, 0x22, 0x91, 0x43, - 0x8e, 0xc9, 0x39, 0xa9, 0xca, 0x13, 0xe4, 0x05, 0xf2, 0x0e, 0x39, 0xe5, 0x0d, 0xf2, 0x10, 0xb9, - 0xe4, 0x94, 0x6b, 0xaa, 0x7b, 0x66, 0x81, 0x05, 0xa5, 0xe4, 0xe0, 0x8a, 0x6e, 0xd3, 0x5f, 0xf7, - 0xcc, 0x74, 0x7f, 0xdb, 0xdd, 0xd3, 0x00, 0x74, 0x26, 0x8a, 0xa7, 0x42, 0xef, 0xce, 0x54, 0x6e, - 0x72, 0x56, 0x99, 0x5d, 0x84, 0xbf, 0xaf, 0x40, 0xe3, 0x59, 0x9e, 0xcc, 0xd3, 0x8c, 0x3d, 0x80, - 0xda, 0xa5, 0xcc, 0xe2, 0xc0, 0xdb, 0xf6, 0x76, 0xba, 0x7b, 0x5b, 0xbb, 0xb3, 0x8b, 0x5d, 0xab, - 0xd9, 0x7d, 0x21, 0xb3, 0x38, 0x22, 0x25, 0x63, 0x50, 0xcb, 0x78, 0x2a, 0x82, 0xca, 0xb6, 0xb7, - 0xe3, 0x47, 0xb4, 0x66, 0xf7, 0xa0, 0x1e, 0x9b, 0xc5, 0x4c, 0x04, 0x55, 0xda, 0xe9, 0xe3, 0xce, - 0x83, 0xf3, 0xc5, 0x4c, 0x44, 0x16, 0xc7, 0x4d, 0x5a, 0xfe, 0x56, 0x04, 0xb5, 0x6d, 0x6f, 0xa7, - 0x1a, 0xd1, 0x1a, 0x31, 0x99, 0x19, 0x1d, 0xd4, 0xb7, 0xab, 0x88, 0xe1, 0x9a, 0xdd, 0x86, 0xc6, - 0x24, 0xc9, 0xb9, 0xd1, 0x41, 0x63, 0xbb, 0xba, 0xe3, 0x45, 0x4e, 0x62, 0x01, 0x34, 0xb5, 0x51, - 0x32, 0x9b, 0xea, 0xa0, 0xb9, 0x5d, 0xdd, 0xf1, 0xa3, 0x42, 0x64, 0xb7, 0xa0, 0x6e, 0x64, 0x2a, - 0x74, 0xd0, 0xa2, 0x63, 0xac, 0x80, 0xe8, 0x45, 0x9e, 0x27, 0x3a, 0xf0, 0xb7, 0xab, 0x3b, 0xad, - 0xc8, 0x0a, 0xe1, 0x5d, 0xa8, 0x61, 0x20, 0xcc, 0x87, 0xfa, 0xd9, 0xf0, 0xf8, 0xd9, 0xa0, 0xb7, - 0x81, 0xcb, 0xe1, 0xd3, 0xfd, 0xc1, 0xb0, 0xe7, 0x85, 0xbf, 0x83, 0xfa, 0x2b, 0x9e, 0xcc, 0x05, - 0xbb, 0x05, 0x35, 0xf9, 0x96, 0x27, 0x44, 0x43, 0xf5, 0x68, 0x23, 0x22, 0x09, 0xd1, 0x09, 0xa2, - 0x18, 0xb7, 0x87, 0xe8, 0xc4, 0xa1, 0x1a, 0x51, 0x0c, 0xdc, 0x47, 0x54, 0x3b, 0xd4, 0x20, 0x5a, - 0x2b, 0x4e, 0x30, 0x0e, 0xbd, 0x40, 0xb4, 0xbe, 0xed, 0xed, 0xb4, 0x10, 0x45, 0x69, 0xbf, 0x09, - 0xf5, 0xb7, 0x78, 0x6d, 0xf8, 0x67, 0x0f, 0x36, 0x4f, 0xe6, 0x49, 0x42, 0x4e, 0xe8, 0x97, 0x7c, - 0xc6, 0x0e, 0xa0, 0x9d, 0xcd, 0x93, 0xc4, 0x7e, 0x03, 0x1d, 0x78, 0xdb, 0xd5, 0x9d, 0xf6, 0x5e, - 0x88, 0xe4, 0xae, 0xd9, 0x91, 0xe4, 0x8c, 0x06, 0x99, 0x51, 0x8b, 0xa8, 0xbc, 0xad, 0xff, 0x73, - 0xe8, 0xdd, 0x34, 0x60, 0x3d, 0xa8, 0x5e, 0x8a, 0x05, 0x45, 0xe8, 0x47, 0xb8, 0x44, 0xc6, 0xc8, - 0x0d, 0x8a, 0xaf, 0x15, 0x59, 0xe1, 0xdb, 0xca, 0xcf, 0xbc, 0xf0, 0x4f, 0x15, 0xa8, 0x1f, 0x62, - 0xd6, 0xb0, 0x87, 0xd0, 0x1c, 0xaf, 0xf9, 0x02, 0xab, 0x14, 0x89, 0x0a, 0x15, 0x5a, 0xc9, 0x2c, - 0x96, 0x63, 0xa1, 0x83, 0xca, 0xbb, 0x56, 0x4e, 0xc5, 0x1e, 0x43, 0x23, 0xe1, 0x17, 0x22, 0xd1, - 0x41, 0x95, 0x8c, 0x3e, 0x41, 0x23, 0xba, 0x66, 0x77, 0x48, 0xb8, 0x8d, 0xc4, 0x19, 0xa1, 0x7b, - 0x42, 0xa9, 0x5c, 0x11, 0xa5, 0x7e, 0x64, 0x05, 0xb6, 0x67, 0x09, 0x1a, 0x91, 0xb3, 0x36, 0x93, - 0xda, 0x7b, 0x1f, 0xbd, 0x43, 0x50, 0x04, 0xd9, 0x52, 0xec, 0x1f, 0x40, 0xbb, 0x74, 0xc1, 0x7b, - 0x98, 0xb8, 0x57, 0x66, 0xa2, 0x6d, 0x93, 0x99, 0xf6, 0x96, 0x49, 0xf9, 0xb7, 0x07, 0xed, 0xb3, - 0xf1, 0x6b, 0x91, 0xf2, 0x43, 0x29, 0x92, 0x55, 0x55, 0x78, 0xa5, 0xaa, 0xe8, 0x41, 0x35, 0xce, - 0xc7, 0xae, 0x50, 0x70, 0xc9, 0x1e, 0x40, 0x33, 0x16, 0x13, 0x3e, 0x4f, 0x0c, 0x25, 0xcc, 0xda, - 0xe1, 0x85, 0x06, 0x8f, 0xa2, 0x5a, 0xb2, 0x91, 0xd2, 0x9a, 0xfd, 0x02, 0x60, 0xa6, 0xf2, 0x99, - 0x50, 0x46, 0x2e, 0xe3, 0xbc, 0x87, 0x7b, 0x4b, 0x3e, 0xec, 0xfe, 0x6a, 0x69, 0x61, 0xb9, 0x2b, - 0x6d, 0xe9, 0x1f, 0xc1, 0xd6, 0x0d, 0xf5, 0xf7, 0x8d, 0xfc, 0x14, 0x7c, 0x7b, 0xe9, 0x0b, 0xb1, - 0x60, 0xf7, 0xa1, 0xa3, 0x5f, 0x73, 0x15, 0xcb, 0x6c, 0x3a, 0xb2, 0x87, 0x61, 0x71, 0xb6, 0x0b, - 0xec, 0x05, 0x1d, 0xda, 0xd6, 0xb9, 0x32, 0x85, 0x45, 0x85, 0x2c, 0xc0, 0x41, 0x2f, 0xc4, 0x22, - 0xfc, 0xbb, 0x07, 0xed, 0x73, 0x7e, 0x91, 0x08, 0x7b, 0xec, 0x32, 0x7e, 0xaf, 0x14, 0xff, 0x5d, - 0xf0, 0x91, 0x52, 0x3d, 0xe3, 0xe3, 0xa2, 0xf3, 0xac, 0x80, 0x25, 0xf9, 0xd5, 0x77, 0xc9, 0xaf, - 0xad, 0xc8, 0x0f, 0xa0, 0xc9, 0x13, 0xc9, 0xb5, 0x23, 0xd0, 0x8f, 0x0a, 0x91, 0x7d, 0x09, 0x8d, - 0x09, 0x32, 0x68, 0xbb, 0x4e, 0xdb, 0x76, 0xbe, 0x12, 0xb3, 0x91, 0x53, 0xb3, 0x7b, 0x96, 0xb2, - 0x26, 0xd1, 0xb3, 0xb9, 0xb2, 0x7a, 0x21, 0x16, 0xc4, 0x60, 0xd8, 0x01, 0xf8, 0x65, 0x2e, 0xb3, - 0x33, 0xa3, 0xe6, 0x63, 0x13, 0xfe, 0xc5, 0x83, 0xe6, 0x99, 0xd0, 0x5a, 0xe6, 0x19, 0xfa, 0x33, - 0x57, 0x49, 0xc1, 0xf6, 0x5c, 0x25, 0x18, 0xd3, 0x38, 0xcf, 0x0c, 0x97, 0x99, 0x50, 0x45, 0x4c, - 0x4b, 0x00, 0x63, 0x9a, 0x71, 0xf3, 0xba, 0x88, 0x09, 0xd7, 0x88, 0xcd, 0xb5, 0x28, 0x6a, 0x80, - 0xd6, 0xac, 0x0f, 0xad, 0x19, 0xd7, 0xfa, 0x2a, 0x57, 0x31, 0x35, 0x16, 0x3f, 0x5a, 0xca, 0xd4, - 0x1b, 0xf3, 0x4b, 0x91, 0x05, 0x0d, 0x5b, 0x34, 0x24, 0xb0, 0x2e, 0x54, 0x64, 0x4c, 0x31, 0xf8, - 0x51, 0x45, 0xc6, 0xe1, 0x1f, 0x9a, 0xd0, 0x8e, 0x04, 0x8f, 0x23, 0xf1, 0x66, 0x2e, 0xb4, 0x61, - 0x5f, 0x40, 0x53, 0x5b, 0xa7, 0xc9, 0xdb, 0xf6, 0x5e, 0x9b, 0x02, 0xb5, 0x50, 0x54, 0xe8, 0x90, - 0xce, 0x0b, 0x3e, 0xbe, 0x14, 0x59, 0xec, 0x9c, 0x2f, 0x44, 0xa4, 0x53, 0x13, 0x2d, 0x2e, 0xc9, - 0x89, 0xce, 0xd2, 0x17, 0x8e, 0x9c, 0x1a, 0x53, 0x23, 0xe6, 0x86, 0x8f, 0x26, 0xb9, 0x4a, 0xb9, - 0x71, 0x61, 0x01, 0x42, 0x87, 0x84, 0xb0, 0xcf, 0x01, 0x54, 0x7e, 0x35, 0x4a, 0xf8, 0x22, 0x9f, - 0x1b, 0xdb, 0x37, 0x23, 0x5f, 0xe5, 0x57, 0x43, 0x02, 0x70, 0x7f, 0x3a, 0x4f, 0x8c, 0x1c, 0xc9, - 0x2c, 0x16, 0xd7, 0x14, 0x65, 0x2b, 0x02, 0x82, 0x8e, 0x11, 0x41, 0x02, 0xde, 0xcc, 0x85, 0x5a, - 0xb8, 0x68, 0xad, 0x40, 0xb4, 0xa0, 0x37, 0x41, 0xcb, 0xd1, 0x82, 0x02, 0xc6, 0x53, 0x34, 0x37, - 0xdf, 0xa6, 0x47, 0xd1, 0xd0, 0xf0, 0x51, 0x92, 0x89, 0x11, 0x2a, 0x00, 0xda, 0xe0, 0x24, 0x76, - 0x07, 0x5a, 0x53, 0x95, 0xcf, 0x67, 0xa3, 0x8b, 0x45, 0xd0, 0xb6, 0x14, 0x90, 0xbc, 0xbf, 0x60, - 0x21, 0xd4, 0x7e, 0x93, 0xcb, 0x2c, 0xe8, 0x50, 0x3e, 0x75, 0x91, 0x80, 0x55, 0x5e, 0x44, 0xa4, - 0x43, 0x37, 0x12, 0x99, 0x4a, 0x13, 0x6c, 0xd2, 0xa3, 0x68, 0x05, 0xf6, 0x00, 0x36, 0x53, 0xa1, - 0x35, 0x9f, 0x8a, 0x91, 0xd5, 0x76, 0x49, 0xdb, 0x71, 0xe0, 0x90, 0x8c, 0x6e, 0x43, 0x23, 0xe5, - 0xea, 0x52, 0xa8, 0x60, 0xcb, 0x7a, 0x64, 0x25, 0x24, 0x44, 0x09, 0x2d, 0x8c, 0x23, 0xe4, 0x73, - 0x4b, 0x08, 0x41, 0x96, 0x90, 0x3e, 0xb4, 0xb4, 0x98, 0xa6, 0x02, 0xdf, 0xdd, 0x1e, 0x3d, 0x98, - 0x4b, 0x99, 0x7d, 0x01, 0x5d, 0x93, 0x1b, 0x9e, 0x8c, 0x96, 0x16, 0x1f, 0xd1, 0xd5, 0x9b, 0x84, - 0x9e, 0x15, 0x66, 0x0f, 0x60, 0xb3, 0x5c, 0xf2, 0x3a, 0x60, 0xc4, 0x56, 0xa7, 0x54, 0xf3, 0x9a, - 0x3d, 0x81, 0x5b, 0x58, 0xe1, 0x68, 0x30, 0x52, 0x3c, 0x9b, 0x8a, 0x91, 0x36, 0x5c, 0x99, 0xe0, - 0x63, 0x72, 0xf7, 0x23, 0xd4, 0x61, 0xcd, 0xa0, 0xe6, 0x0c, 0x15, 0xec, 0x11, 0xb0, 0x1b, 0x1b, - 0x30, 0xb1, 0x6e, 0x91, 0xf9, 0x56, 0xd9, 0x7c, 0x90, 0x51, 0x5e, 0xdb, 0xe3, 0x3e, 0xb1, 0x1f, - 0x90, 0x04, 0xac, 0x30, 0xdc, 0x73, 0xdb, 0x56, 0x98, 0xb0, 0xa3, 0x8a, 0x36, 0x62, 0x16, 0x7c, - 0x6a, 0xeb, 0x05, 0xd7, 0x6c, 0x1b, 0xda, 0x7c, 0x3a, 0x55, 0x62, 0xca, 0x4d, 0xae, 0x74, 0x10, - 0x90, 0xaa, 0x0c, 0xb1, 0xc7, 0xc0, 0x0a, 0x51, 0xe6, 0xd9, 0xe8, 0x4a, 0x66, 0x71, 0x7e, 0x15, - 0xdc, 0xb5, 0x9e, 0x97, 0x34, 0xdf, 0x91, 0x82, 0x2e, 0x11, 0xe2, 0x32, 0xb8, 0xe3, 0x2e, 0x11, - 0xe2, 0x12, 0x33, 0x83, 0xe8, 0x18, 0xc9, 0x38, 0xe8, 0xdb, 0xcc, 0x20, 0xf9, 0x38, 0xb6, 0x5f, - 0xe0, 0xcd, 0x5c, 0x64, 0x63, 0x11, 0x7c, 0x46, 0xfc, 0x2e, 0xe5, 0xf0, 0xaf, 0x15, 0xf8, 0xf8, - 0x38, 0x93, 0x46, 0xf2, 0xe4, 0x3b, 0x25, 0x8d, 0xf8, 0xbf, 0x55, 0xe4, 0x32, 0xe3, 0xab, 0xe5, - 0x8c, 0xff, 0x1a, 0x3a, 0xd2, 0xde, 0x36, 0xc2, 0x9a, 0xa3, 0xfa, 0x73, 0x5d, 0x9f, 0x1e, 0xe2, - 0xa8, 0xed, 0xd4, 0x07, 0xdc, 0x70, 0xf6, 0x03, 0x00, 0x71, 0x3d, 0x53, 0xce, 0x0f, 0xdb, 0x6a, - 0x4a, 0x08, 0xf2, 0x90, 0xe6, 0x4a, 0xb8, 0x2a, 0xa4, 0x35, 0xa6, 0xd4, 0x8c, 0x2b, 0x23, 0x89, - 0x48, 0x4a, 0x16, 0x3b, 0xbd, 0x6d, 0x2e, 0x51, 0xca, 0x16, 0xdb, 0x09, 0x63, 0x02, 0x5c, 0x51, - 0xae, 0x00, 0xf6, 0x19, 0xf8, 0x9a, 0xbf, 0x15, 0xa3, 0x34, 0x8f, 0x45, 0xe0, 0xdb, 0x16, 0x87, - 0xc0, 0xcb, 0x3c, 0x16, 0x61, 0x06, 0x9d, 0x35, 0xaa, 0xbe, 0x81, 0xa6, 0xb2, 0x4b, 0x47, 0xd5, - 0xa7, 0x18, 0xce, 0x7b, 0x48, 0x3d, 0xda, 0x88, 0x0a, 0x4b, 0x76, 0x1f, 0xea, 0x34, 0x16, 0x97, - 0xdf, 0x3d, 0x62, 0xe0, 0x68, 0x23, 0xb2, 0x9a, 0xfd, 0x86, 0x7d, 0x94, 0xc2, 0x6f, 0x97, 0xf7, - 0xe9, 0x59, 0xae, 0x05, 0xf5, 0x06, 0x9a, 0xa8, 0xed, 0xb4, 0x18, 0x39, 0x09, 0xd9, 0x50, 0xf9, - 0x95, 0xa6, 0x13, 0xab, 0x11, 0xad, 0xc3, 0x7f, 0x56, 0x60, 0xf3, 0x99, 0x12, 0xfc, 0x83, 0x7f, - 0xd8, 0x55, 0x03, 0xae, 0xfd, 0xef, 0x06, 0xfc, 0x18, 0x7c, 0x39, 0x19, 0x89, 0x6b, 0xa9, 0x69, - 0x0e, 0xc7, 0xd9, 0xbd, 0x87, 0xb6, 0x03, 0x9c, 0xae, 0x4e, 0x67, 0x48, 0xbf, 0x8e, 0x5a, 0x72, - 0x32, 0x20, 0x0b, 0x0a, 0x8a, 0x1b, 0xe1, 0x9e, 0x13, 0x5a, 0x63, 0x5a, 0x14, 0x35, 0x21, 0xb4, - 0xeb, 0xb3, 0x25, 0x84, 0xfd, 0x14, 0x3e, 0x2d, 0x57, 0xd3, 0x54, 0xf1, 0x6c, 0x9e, 0x70, 0x25, - 0xcd, 0xc2, 0x7d, 0xe9, 0xdb, 0x25, 0xf5, 0xf3, 0x95, 0x16, 0x99, 0xa5, 0x9a, 0xd1, 0xf4, 0xcd, - 0xab, 0x91, 0x93, 0xd8, 0x97, 0xb0, 0xa5, 0x84, 0x11, 0x19, 0x1d, 0xf7, 0x3a, 0x9f, 0x2b, 0x4d, - 0x6d, 0xb9, 0x1a, 0x75, 0x97, 0xf0, 0x11, 0xa2, 0x61, 0x0f, 0xba, 0x05, 0xdb, 0x7a, 0x96, 0x67, - 0x5a, 0x84, 0xff, 0xf2, 0x60, 0xf3, 0x40, 0x24, 0xe2, 0x83, 0x7f, 0x80, 0xd5, 0x8b, 0x51, 0x5b, - 0x7b, 0x31, 0x9e, 0x00, 0xc8, 0xc9, 0x28, 0x95, 0x5a, 0xcb, 0x6c, 0xfa, 0x5f, 0x09, 0xf7, 0xe5, - 0xe4, 0xa5, 0x35, 0x59, 0x75, 0xba, 0xc6, 0x7b, 0x3a, 0x5d, 0x73, 0xd5, 0xe9, 0x02, 0x68, 0xa6, - 0xc2, 0x28, 0x39, 0xb6, 0xbf, 0x83, 0xfc, 0xa8, 0x10, 0x91, 0x85, 0x22, 0x64, 0xc7, 0x42, 0x0f, - 0xba, 0xaf, 0x84, 0xa2, 0x00, 0x2d, 0x0b, 0xe1, 0x33, 0xe8, 0x0c, 0xae, 0xc5, 0xb8, 0xb0, 0xc0, - 0x39, 0xd0, 0xd6, 0x83, 0x77, 0xb3, 0x23, 0x58, 0xfc, 0xbd, 0xd9, 0xfd, 0xc7, 0x0a, 0xb4, 0xed, - 0x29, 0x1f, 0x94, 0x5a, 0x7a, 0xa6, 0xd3, 0x94, 0x67, 0xb1, 0xe3, 0xb6, 0x10, 0xd9, 0x63, 0xa8, - 0x71, 0x35, 0x2d, 0xa6, 0xe3, 0x3b, 0x44, 0xeb, 0xca, 0x9f, 0xdd, 0xa7, 0x6a, 0xea, 0xe6, 0x62, - 0x32, 0xbb, 0xd1, 0xcf, 0x1a, 0x37, 0xfb, 0x59, 0x7f, 0x1f, 0xfc, 0xe5, 0x96, 0xef, 0x3b, 0x2b, - 0x3f, 0x82, 0xad, 0x25, 0xd5, 0x8e, 0xdb, 0x00, 0x9a, 0x6f, 0x2d, 0xe4, 0x4e, 0x2b, 0xc4, 0xf0, - 0x6f, 0x15, 0xe8, 0x1e, 0x49, 0x6d, 0x72, 0xb5, 0xf8, 0xc0, 0x1c, 0xbe, 0x6f, 0x8e, 0xbc, 0x0d, - 0x0d, 0x3e, 0x36, 0xab, 0xd6, 0xee, 0x24, 0xf6, 0x10, 0xba, 0xa9, 0xcc, 0xec, 0xf3, 0x3d, 0xc2, - 0x1f, 0xd7, 0x8e, 0xaa, 0x4e, 0x8a, 0xe3, 0x0c, 0x57, 0xe6, 0x5c, 0xd2, 0x2f, 0xc3, 0x6e, 0xca, - 0xaf, 0xcb, 0x56, 0x4d, 0x67, 0xc5, 0xaf, 0x57, 0x56, 0x6b, 0x13, 0x6f, 0xeb, 0xe6, 0xc4, 0x7b, - 0x1f, 0xf0, 0xcc, 0x51, 0x3c, 0x57, 0xd4, 0x0b, 0x5c, 0xd9, 0xb7, 0x53, 0x99, 0x1d, 0x38, 0x88, - 0x4c, 0xf8, 0xf5, 0xca, 0x04, 0x9c, 0x09, 0xbf, 0x2e, 0x4c, 0xbe, 0x7a, 0x05, 0x75, 0xfa, 0xe7, - 0x81, 0xb5, 0xa0, 0x76, 0x72, 0x7a, 0x82, 0xbf, 0xf1, 0xdb, 0xd0, 0x3c, 0x3e, 0x39, 0x1f, 0x3c, - 0x1f, 0x44, 0x3d, 0x0f, 0x7f, 0xf0, 0x1f, 0x0e, 0x4f, 0x9f, 0x9e, 0xf7, 0x2a, 0x0c, 0xa0, 0x71, - 0x76, 0x1e, 0x1d, 0x9f, 0x3c, 0xef, 0x55, 0xd1, 0xfa, 0xfc, 0xf8, 0xe5, 0xa0, 0x57, 0x43, 0xeb, - 0xfd, 0xd3, 0xd3, 0xe1, 0xe0, 0xe9, 0x49, 0xaf, 0x4e, 0x87, 0xfc, 0x7a, 0x38, 0xec, 0x35, 0xbe, - 0x7a, 0x08, 0x9d, 0x72, 0x91, 0xa2, 0xe6, 0xf0, 0xe9, 0xf1, 0xb0, 0xb7, 0x81, 0xc7, 0x1c, 0x3f, - 0x3f, 0x39, 0x8d, 0x06, 0x3d, 0x6f, 0xef, 0x1f, 0x15, 0x68, 0x1c, 0xda, 0x17, 0xe0, 0x87, 0x50, - 0xc3, 0xa9, 0x9a, 0x51, 0xf3, 0x2d, 0xcd, 0xd7, 0xfd, 0x55, 0x39, 0x85, 0x1b, 0x3f, 0xf2, 0xd8, - 0x13, 0xa8, 0xd3, 0x8b, 0xc2, 0xa8, 0x11, 0x94, 0x9f, 0xa8, 0x7e, 0x19, 0xa1, 0xe7, 0x26, 0xdc, - 0xd8, 0xf1, 0xd8, 0x8f, 0xa1, 0x61, 0xfb, 0x1a, 0xa3, 0x5f, 0xba, 0x6b, 0x2f, 0x4a, 0x9f, 0x95, - 0x21, 0x57, 0xf0, 0x1b, 0xb8, 0xc5, 0x36, 0x01, 0xbb, 0x65, 0xad, 0x07, 0xda, 0x2d, 0x37, 0x7a, - 0xc4, 0x06, 0x7b, 0x04, 0x35, 0xac, 0x1e, 0xeb, 0x7e, 0xa9, 0x8e, 0xac, 0x53, 0xe5, 0x76, 0x11, - 0x6e, 0xb0, 0xaf, 0xa1, 0xe9, 0x32, 0x97, 0xd1, 0x69, 0xeb, 0x69, 0x7c, 0x33, 0xe2, 0x9f, 0x40, - 0xd3, 0x55, 0x85, 0xb5, 0x5e, 0xef, 0x46, 0xfd, 0x8f, 0xd7, 0xb0, 0xe2, 0x8e, 0x8b, 0x06, 0xfd, - 0x65, 0xf5, 0xcd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x12, 0xa6, 0xdd, 0xce, 0xc2, 0x12, 0x00, - 0x00, + GoTypes: file_frames_proto_goTypes, + DependencyIndexes: file_frames_proto_depIdxs, + EnumInfos: file_frames_proto_enumTypes, + MessageInfos: file_frames_proto_msgTypes, + }.Build() + File_frames_proto = out.File + file_frames_proto_rawDesc = nil + file_frames_proto_goTypes = nil + file_frames_proto_depIdxs = nil } From 76252b49f0abad2232a5b069de3c559f1006a02c Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Tue, 29 Oct 2024 19:03:33 +0800 Subject: [PATCH 02/11] Revert to Go 1.19 --- go.mod | 2 +- go.sum | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/go.mod b/go.mod index c0246c09..1cb3387c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/v3io/frames -go 1.23 +go 1.19 require ( github.com/ghodss/yaml v1.0.0 diff --git a/go.sum b/go.sum index 56f24340..14969e71 100644 --- a/go.sum +++ b/go.sum @@ -18,7 +18,6 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/imdario/mergo v0.3.7 h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI= github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY= @@ -39,7 +38,6 @@ github.com/nuclio/logger v0.0.1/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY github.com/nuclio/zap v0.1.2 h1:0xD5+IHEhbMmxp3T6hN7nRcukuo9+QuB5/zd/XHTqrU= github.com/nuclio/zap v0.1.2/go.mod h1:n1BZF3JcFiQdap88qHX6IOPBKDjvV/bPcvVe6MFdxUg= github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ= -github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -58,7 +56,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/tinylib/msgp v1.1.1 h1:TnCZ3FIuKeaIy+F45+Cnp+caqdXGy4z74HvwXN+570Y= -github.com/tinylib/msgp v1.1.1/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871 h1:myF4tU/HdFWU1UzMdf16cHRbownzsyvL7VKIHqkrSvo= github.com/v3io/sqlparser v0.0.0-20190306105200-4d7273501871/go.mod h1:QD2Bo64oyTWzeV8RFehXS0hZEDFgOK99/h2a6ErRu6E= github.com/v3io/v3io-go v0.3.0 h1:w25p6/ZpNN64g1S3wm3TD6WXe4aoYlPfNBApmAngXNo= From db40a61c0b535a5f9679a22cc3416e6bc0c2a655 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Tue, 29 Oct 2024 19:39:55 +0800 Subject: [PATCH 03/11] Get it working --- go.mod | 3 +- go.sum | 11 +- grpc/client.go | 2 +- marshal.go | 2 +- pb/frames_grpc.pb.go | 366 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 371 insertions(+), 13 deletions(-) create mode 100644 pb/frames_grpc.pb.go diff --git a/go.mod b/go.mod index 1cb3387c..65032576 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,6 @@ go 1.19 require ( github.com/ghodss/yaml v1.0.0 github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 - github.com/golang/protobuf v1.5.3 github.com/nuclio/errors v0.0.4 github.com/nuclio/logger v0.0.1 github.com/nuclio/zap v0.1.2 @@ -16,7 +15,7 @@ require ( github.com/valyala/fasthttp v1.44.0 github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 golang.org/x/text v0.17.0 - google.golang.org/grpc v1.67.1 + google.golang.org/grpc v1.64.1 google.golang.org/protobuf v1.34.2 ) diff --git a/go.sum b/go.sum index 14969e71..8448bf95 100644 --- a/go.sum +++ b/go.sum @@ -13,10 +13,6 @@ github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 h1:uHTyIjqVhYRhLbJ8nIiOJHkEZZ+5YoOsAbD3sk82NiE= github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/imdario/mergo v0.3.7 h1:Y+UAYTZ7gDEuOfhxKWy+dvb5dRQ6rJjFSdX2HZY1/gI= github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= @@ -115,14 +111,11 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= -google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA= +google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0= google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/grpc/client.go b/grpc/client.go index 953bd979..a5c273a0 100644 --- a/grpc/client.go +++ b/grpc/client.go @@ -56,7 +56,7 @@ func NewClient(address string, session *frames.Session, logger logger.Logger) (* return nil, fmt.Errorf("empty address") } - conn, err := grpc.Dial( + conn, err := grpc.NewClient( address, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(grpcMsgSize)), diff --git a/marshal.go b/marshal.go index af18d271..acad0370 100644 --- a/marshal.go +++ b/marshal.go @@ -28,9 +28,9 @@ import ( "fmt" "io" - "github.com/golang/protobuf/proto" "github.com/pkg/errors" "github.com/v3io/frames/pb" + "google.golang.org/protobuf/proto" ) var ( diff --git a/pb/frames_grpc.pb.go b/pb/frames_grpc.pb.go new file mode 100644 index 00000000..cf62323f --- /dev/null +++ b/pb/frames_grpc.pb.go @@ -0,0 +1,366 @@ +// +//Copyright 2018 Iguazio Systems Ltd. +// +//Licensed under the Apache License, Version 2.0 (the "License") with +//an addition restriction as set forth herein. You may not use this +//file except in compliance with the License. You may obtain a copy of +//the License at http://www.apache.org/licenses/LICENSE-2.0. +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +//implied. See the License for the specific language governing +//permissions and limitations under the License. +// +//In addition, you may not use the software for any purposes that are +//illegal under applicable law, and the grant of the foregoing license +//under the Apache 2.0 license is conditioned upon your compliance with +//such restriction. + +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.5.1 +// - protoc v3.20.3 +// source: frames.proto + +package pb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + Frames_Read_FullMethodName = "/pb.Frames/Read" + Frames_Write_FullMethodName = "/pb.Frames/Write" + Frames_Create_FullMethodName = "/pb.Frames/Create" + Frames_Delete_FullMethodName = "/pb.Frames/Delete" + Frames_Exec_FullMethodName = "/pb.Frames/Exec" + Frames_History_FullMethodName = "/pb.Frames/History" + Frames_Version_FullMethodName = "/pb.Frames/Version" +) + +// FramesClient is the client API for Frames service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type FramesClient interface { + Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Frame], error) + Write(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[WriteRequest, WriteRespose], error) + Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) + Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) + History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Frame], error) + Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) +} + +type framesClient struct { + cc grpc.ClientConnInterface +} + +func NewFramesClient(cc grpc.ClientConnInterface) FramesClient { + return &framesClient{cc} +} + +func (c *framesClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Frame], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Frames_ServiceDesc.Streams[0], Frames_Read_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[ReadRequest, Frame]{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_ReadClient = grpc.ServerStreamingClient[Frame] + +func (c *framesClient) Write(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[WriteRequest, WriteRespose], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Frames_ServiceDesc.Streams[1], Frames_Write_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[WriteRequest, WriteRespose]{ClientStream: stream} + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_WriteClient = grpc.ClientStreamingClient[WriteRequest, WriteRespose] + +func (c *framesClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CreateResponse) + err := c.cc.Invoke(ctx, Frames_Create_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *framesClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(DeleteResponse) + err := c.cc.Invoke(ctx, Frames_Delete_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *framesClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ExecResponse) + err := c.cc.Invoke(ctx, Frames_Exec_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *framesClient) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Frame], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Frames_ServiceDesc.Streams[2], Frames_History_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[HistoryRequest, Frame]{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_HistoryClient = grpc.ServerStreamingClient[Frame] + +func (c *framesClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(VersionResponse) + err := c.cc.Invoke(ctx, Frames_Version_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FramesServer is the server API for Frames service. +// All implementations should embed UnimplementedFramesServer +// for forward compatibility. +type FramesServer interface { + Read(*ReadRequest, grpc.ServerStreamingServer[Frame]) error + Write(grpc.ClientStreamingServer[WriteRequest, WriteRespose]) error + Create(context.Context, *CreateRequest) (*CreateResponse, error) + Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + Exec(context.Context, *ExecRequest) (*ExecResponse, error) + History(*HistoryRequest, grpc.ServerStreamingServer[Frame]) error + Version(context.Context, *VersionRequest) (*VersionResponse, error) +} + +// UnimplementedFramesServer should be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedFramesServer struct{} + +func (UnimplementedFramesServer) Read(*ReadRequest, grpc.ServerStreamingServer[Frame]) error { + return status.Errorf(codes.Unimplemented, "method Read not implemented") +} +func (UnimplementedFramesServer) Write(grpc.ClientStreamingServer[WriteRequest, WriteRespose]) error { + return status.Errorf(codes.Unimplemented, "method Write not implemented") +} +func (UnimplementedFramesServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (UnimplementedFramesServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (UnimplementedFramesServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented") +} +func (UnimplementedFramesServer) History(*HistoryRequest, grpc.ServerStreamingServer[Frame]) error { + return status.Errorf(codes.Unimplemented, "method History not implemented") +} +func (UnimplementedFramesServer) Version(context.Context, *VersionRequest) (*VersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") +} +func (UnimplementedFramesServer) testEmbeddedByValue() {} + +// UnsafeFramesServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to FramesServer will +// result in compilation errors. +type UnsafeFramesServer interface { + mustEmbedUnimplementedFramesServer() +} + +func RegisterFramesServer(s grpc.ServiceRegistrar, srv FramesServer) { + // If the following call pancis, it indicates UnimplementedFramesServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } + s.RegisterService(&Frames_ServiceDesc, srv) +} + +func _Frames_Read_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ReadRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(FramesServer).Read(m, &grpc.GenericServerStream[ReadRequest, Frame]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_ReadServer = grpc.ServerStreamingServer[Frame] + +func _Frames_Write_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(FramesServer).Write(&grpc.GenericServerStream[WriteRequest, WriteRespose]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_WriteServer = grpc.ClientStreamingServer[WriteRequest, WriteRespose] + +func _Frames_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FramesServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Frames_Create_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FramesServer).Create(ctx, req.(*CreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Frames_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FramesServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Frames_Delete_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FramesServer).Delete(ctx, req.(*DeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Frames_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExecRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FramesServer).Exec(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Frames_Exec_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FramesServer).Exec(ctx, req.(*ExecRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Frames_History_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(HistoryRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(FramesServer).History(m, &grpc.GenericServerStream[HistoryRequest, Frame]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Frames_HistoryServer = grpc.ServerStreamingServer[Frame] + +func _Frames_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FramesServer).Version(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Frames_Version_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FramesServer).Version(ctx, req.(*VersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// Frames_ServiceDesc is the grpc.ServiceDesc for Frames service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Frames_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "pb.Frames", + HandlerType: (*FramesServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Create", + Handler: _Frames_Create_Handler, + }, + { + MethodName: "Delete", + Handler: _Frames_Delete_Handler, + }, + { + MethodName: "Exec", + Handler: _Frames_Exec_Handler, + }, + { + MethodName: "Version", + Handler: _Frames_Version_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "Read", + Handler: _Frames_Read_Handler, + ServerStreams: true, + }, + { + StreamName: "Write", + Handler: _Frames_Write_Handler, + ClientStreams: true, + }, + { + StreamName: "History", + Handler: _Frames_History_Handler, + ServerStreams: true, + }, + }, + Metadata: "frames.proto", +} From af5ad75b86f49d88b32699d6ce9d196e9e5d2a31 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 12:27:40 +0800 Subject: [PATCH 04/11] Fix --- backends/backends.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/backends.go b/backends/backends.go index 40670bea..d4187937 100644 --- a/backends/backends.go +++ b/backends/backends.go @@ -25,6 +25,7 @@ import ( "reflect" "strings" "sync" + "unicode" "github.com/nuclio/logger" "github.com/pkg/errors" @@ -107,6 +108,9 @@ func ValidateRequest(backend string, request interface{}, allowedFields map[stri for i := 0; i < reftype.NumField(); i++ { field := reftype.Field(i) fieldName := field.Name + if unicode.IsLower(rune(fieldName[0])) { + continue + } fieldValue := reflect.ValueOf(request).Elem().FieldByName(fieldName).Interface() zeroValue := reflect.Zero(field.Type).Interface() if !globalRequestFieldsByRequestType[reftype][fieldName] && !allowedFields[fieldName] && !reflect.DeepEqual(fieldValue, zeroValue) { From 9f457b96edcb2fe8ee10d788c1f57778629b46b0 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 12:39:40 +0800 Subject: [PATCH 05/11] Regenerate python gRPC code --- clients/py/v3io_frames/frames_pb2.py | 2117 +------------------------- 1 file changed, 79 insertions(+), 2038 deletions(-) diff --git a/clients/py/v3io_frames/frames_pb2.py b/clients/py/v3io_frames/frames_pb2.py index 8cd554b2..630c47c2 100644 --- a/clients/py/v3io_frames/frames_pb2.py +++ b/clients/py/v3io_frames/frames_pb2.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: frames.proto +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,2039 +14,80 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='frames.proto', - package='pb', - syntax='proto3', - serialized_options=b'Z\004.;pb', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0c\x66rames.proto\x12\x02pb\"\xc8\x01\n\x06\x43olumn\x12\x1d\n\x04kind\x18\x01 \x01(\x0e\x32\x0f.pb.Column.Kind\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x05\x64type\x18\x03 \x01(\x0e\x32\t.pb.DType\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x0c\n\x04ints\x18\x05 \x03(\x03\x12\x0e\n\x06\x66loats\x18\x06 \x03(\x01\x12\x0f\n\x07strings\x18\x07 \x03(\t\x12\r\n\x05times\x18\x08 \x03(\x03\x12\r\n\x05\x62ools\x18\t \x03(\x08\"\x1c\n\x04Kind\x12\t\n\x05SLICE\x10\x00\x12\t\n\x05LABEL\x10\x01\"`\n\x05Value\x12\x0e\n\x04ival\x18\x01 \x01(\x03H\x00\x12\x0e\n\x04\x66val\x18\x02 \x01(\x01H\x00\x12\x0e\n\x04sval\x18\x03 \x01(\tH\x00\x12\x0e\n\x04tval\x18\x04 \x01(\x03H\x00\x12\x0e\n\x04\x62val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\rNullValuesMap\x12\x37\n\x0bnullColumns\x18\x01 \x03(\x0b\x32\".pb.NullValuesMap.NullColumnsEntry\x1a\x32\n\x10NullColumnsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xd9\x01\n\x05\x46rame\x12\x1b\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\n.pb.Column\x12\x1b\n\x07indices\x18\x02 \x03(\x0b\x32\n.pb.Column\x12%\n\x06labels\x18\x03 \x03(\x0b\x32\x15.pb.Frame.LabelsEntry\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12&\n\x0bnull_values\x18\x05 \x03(\x0b\x32\x11.pb.NullValuesMap\x1a\x38\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\xc5\x01\n\x0bSchemaField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64oc\x18\x02 \x01(\t\x12\x1a\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x0b\x32\t.pb.Value\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x33\n\nproperties\x18\x05 \x03(\x0b\x32\x1f.pb.SchemaField.PropertiesEntry\x1a<\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"6\n\tSchemaKey\x12\x14\n\x0csharding_key\x18\x01 \x03(\t\x12\x13\n\x0bsorting_key\x18\x02 \x03(\t\"\x97\x01\n\x0bTableSchema\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0b\n\x03\x64oc\x18\x04 \x01(\t\x12\x0f\n\x07\x61liases\x18\x05 \x03(\t\x12\x1f\n\x06\x66ields\x18\x06 \x03(\x0b\x32\x0f.pb.SchemaField\x12\x1a\n\x03key\x18\x07 \x01(\x0b\x32\r.pb.SchemaKey\"\x0c\n\nJoinStruct\"r\n\x07Session\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\x12\r\n\x05token\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\"\xdd\x04\n\x0bReadRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\x1f\n\x06schema\x18\x03 \x01(\x0b\x32\x0f.pb.TableSchema\x12\x13\n\x0b\x64\x61ta_format\x18\x04 \x01(\t\x12\x12\n\nrow_layout\x18\x05 \x01(\x08\x12\x13\n\x0bmulti_index\x18\x06 \x01(\x08\x12\r\n\x05query\x18\x07 \x01(\t\x12\r\n\x05table\x18\x08 \x01(\t\x12\x0f\n\x07\x63olumns\x18\t \x03(\t\x12\x0e\n\x06\x66ilter\x18\n \x01(\t\x12\x10\n\x08group_by\x18\x0b \x01(\t\x12\x1c\n\x04join\x18\x0c \x03(\x0b\x32\x0e.pb.JoinStruct\x12\r\n\x05limit\x18\r \x01(\x03\x12\x15\n\rmessage_limit\x18\x0e \x01(\x03\x12\x0e\n\x06marker\x18\x0f \x01(\t\x12\x13\n\x0breset_index\x18\x1d \x01(\x08\x12\x10\n\x08segments\x18\x10 \x03(\x03\x12\x16\n\x0etotal_segments\x18\x11 \x01(\x03\x12\x15\n\rsharding_keys\x18\x12 \x03(\t\x12\x1c\n\x14sort_key_range_start\x18\x13 \x01(\t\x12\x1a\n\x12sort_key_range_end\x18\x14 \x01(\t\x12\r\n\x05start\x18\x15 \x01(\t\x12\x0b\n\x03\x65nd\x18\x16 \x01(\t\x12\x0c\n\x04step\x18\x17 \x01(\t\x12\x13\n\x0b\x61ggregators\x18\x18 \x01(\t\x12\x1a\n\x12\x61ggregation_window\x18\x1c \x01(\t\x12\x0c\n\x04seek\x18\x19 \x01(\t\x12\x10\n\x08shard_id\x18\x1a \x01(\t\x12\x10\n\x08sequence\x18\x1b \x01(\x03\"\xd4\x01\n\x13InitialWriteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x0cinitial_data\x18\x04 \x01(\x0b\x32\t.pb.Frame\x12\x12\n\nexpression\x18\x05 \x01(\t\x12\x0c\n\x04more\x18\x06 \x01(\x08\x12\x16\n\x0epartition_keys\x18\x07 \x03(\t\x12\x11\n\tcondition\x18\x08 \x01(\t\x12\x11\n\tsave_mode\x18\t \x01(\t\"^\n\x0cWriteRequest\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x17.pb.InitialWriteRequestH\x00\x12\x1a\n\x05\x66rame\x18\x02 \x01(\x0b\x32\t.pb.FrameH\x00\x42\x06\n\x04type\",\n\x0cWriteRespose\x12\x0e\n\x06\x66rames\x18\x01 \x01(\x03\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xff\x01\n\rCreateRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x06schema\x18\x04 \x01(\x0b\x32\x0f.pb.TableSchema\x12#\n\tif_exists\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\x0c\n\x04rate\x18\x06 \x01(\t\x12\x12\n\naggregates\x18\x07 \x01(\t\x12\x1f\n\x17\x61ggregation_granularity\x18\x08 \x01(\t\x12\x0e\n\x06shards\x18\t \x01(\x03\x12\x17\n\x0fretention_hours\x18\n \x01(\x03\"\x10\n\x0e\x43reateResponse\"\xb0\x01\n\rDeleteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12$\n\nif_missing\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\r\n\x05start\x18\x06 \x01(\t\x12\x0b\n\x03\x65nd\x18\x07 \x01(\t\x12\x0f\n\x07metrics\x18\x08 \x03(\t\"\x10\n\x0e\x44\x65leteResponse\"\x10\n\x0eVersionRequest\"6\n\x0c\x45xecResponse\x12\x18\n\x05\x66rame\x18\x01 \x01(\x0b\x32\t.pb.Frame\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xd1\x01\n\x0b\x45xecRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\'\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x19.pb.ExecRequest.ArgsEntry\x12\x12\n\nexpression\x18\x06 \x01(\t\x1a\x36\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\"\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xdb\x01\n\x0eHistoryRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\x12\x16\n\x0emin_start_time\x18\x06 \x01(\t\x12\x16\n\x0emax_start_time\x18\x07 \x01(\t\x12\x11\n\tcontainer\x18\x08 \x01(\t\x12\x14\n\x0cmin_duration\x18\t \x01(\x03\x12\x14\n\x0cmax_duration\x18\n \x01(\x03*V\n\x05\x44Type\x12\x08\n\x04NONE\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\t\n\x05\x46LOAT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\x08\n\x04TIME\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x08\n\x04NULL\x10\x06*$\n\x0c\x45rrorOptions\x12\x08\n\x04\x46\x41IL\x10\x00\x12\n\n\x06IGNORE\x10\x01\x32\xd8\x02\n\x06\x46rames\x12&\n\x04Read\x12\x0f.pb.ReadRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12/\n\x05Write\x12\x10.pb.WriteRequest\x1a\x10.pb.WriteRespose\"\x00(\x01\x12\x31\n\x06\x43reate\x12\x11.pb.CreateRequest\x1a\x12.pb.CreateResponse\"\x00\x12\x31\n\x06\x44\x65lete\x12\x11.pb.DeleteRequest\x1a\x12.pb.DeleteResponse\"\x00\x12+\n\x04\x45xec\x12\x0f.pb.ExecRequest\x1a\x10.pb.ExecResponse\"\x00\x12,\n\x07History\x12\x12.pb.HistoryRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12\x34\n\x07Version\x12\x12.pb.VersionRequest\x1a\x13.pb.VersionResponse\"\x00\x42\x06Z\x04.;pbb\x06proto3' -) - -_DTYPE = _descriptor.EnumDescriptor( - name='DType', - full_name='pb.DType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='NONE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INTEGER', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FLOAT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STRING', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TIME', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='BOOLEAN', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NULL', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3189, - serialized_end=3275, -) -_sym_db.RegisterEnumDescriptor(_DTYPE) - -DType = enum_type_wrapper.EnumTypeWrapper(_DTYPE) -_ERROROPTIONS = _descriptor.EnumDescriptor( - name='ErrorOptions', - full_name='pb.ErrorOptions', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FAIL', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='IGNORE', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3277, - serialized_end=3313, -) -_sym_db.RegisterEnumDescriptor(_ERROROPTIONS) - -ErrorOptions = enum_type_wrapper.EnumTypeWrapper(_ERROROPTIONS) -NONE = 0 -INTEGER = 1 -FLOAT = 2 -STRING = 3 -TIME = 4 -BOOLEAN = 5 -NULL = 6 -FAIL = 0 -IGNORE = 1 - - -_COLUMN_KIND = _descriptor.EnumDescriptor( - name='Kind', - full_name='pb.Column.Kind', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='SLICE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LABEL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=193, - serialized_end=221, -) -_sym_db.RegisterEnumDescriptor(_COLUMN_KIND) - - -_COLUMN = _descriptor.Descriptor( - name='Column', - full_name='pb.Column', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='kind', full_name='pb.Column.kind', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='name', full_name='pb.Column.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dtype', full_name='pb.Column.dtype', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='size', full_name='pb.Column.size', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ints', full_name='pb.Column.ints', index=4, - number=5, type=3, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='floats', full_name='pb.Column.floats', index=5, - number=6, type=1, cpp_type=5, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='strings', full_name='pb.Column.strings', index=6, - number=7, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='times', full_name='pb.Column.times', index=7, - number=8, type=3, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bools', full_name='pb.Column.bools', index=8, - number=9, type=8, cpp_type=7, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _COLUMN_KIND, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21, - serialized_end=221, -) - - -_VALUE = _descriptor.Descriptor( - name='Value', - full_name='pb.Value', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='ival', full_name='pb.Value.ival', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fval', full_name='pb.Value.fval', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sval', full_name='pb.Value.sval', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='tval', full_name='pb.Value.tval', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bval', full_name='pb.Value.bval', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='value', full_name='pb.Value.value', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=223, - serialized_end=319, -) - - -_NULLVALUESMAP_NULLCOLUMNSENTRY = _descriptor.Descriptor( - name='NullColumnsEntry', - full_name='pb.NullValuesMap.NullColumnsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='pb.NullValuesMap.NullColumnsEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='pb.NullValuesMap.NullColumnsEntry.value', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=395, - serialized_end=445, -) - -_NULLVALUESMAP = _descriptor.Descriptor( - name='NullValuesMap', - full_name='pb.NullValuesMap', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='nullColumns', full_name='pb.NullValuesMap.nullColumns', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_NULLVALUESMAP_NULLCOLUMNSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=321, - serialized_end=445, -) - - -_FRAME_LABELSENTRY = _descriptor.Descriptor( - name='LabelsEntry', - full_name='pb.Frame.LabelsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='pb.Frame.LabelsEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='pb.Frame.LabelsEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=609, - serialized_end=665, -) - -_FRAME = _descriptor.Descriptor( - name='Frame', - full_name='pb.Frame', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='columns', full_name='pb.Frame.columns', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='indices', full_name='pb.Frame.indices', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='labels', full_name='pb.Frame.labels', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='error', full_name='pb.Frame.error', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='null_values', full_name='pb.Frame.null_values', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_FRAME_LABELSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=448, - serialized_end=665, -) - - -_SCHEMAFIELD_PROPERTIESENTRY = _descriptor.Descriptor( - name='PropertiesEntry', - full_name='pb.SchemaField.PropertiesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='pb.SchemaField.PropertiesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='pb.SchemaField.PropertiesEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=805, - serialized_end=865, -) - -_SCHEMAFIELD = _descriptor.Descriptor( - name='SchemaField', - full_name='pb.SchemaField', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='pb.SchemaField.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='doc', full_name='pb.SchemaField.doc', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='default', full_name='pb.SchemaField.default', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='type', full_name='pb.SchemaField.type', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='properties', full_name='pb.SchemaField.properties', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SCHEMAFIELD_PROPERTIESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=668, - serialized_end=865, -) - - -_SCHEMAKEY = _descriptor.Descriptor( - name='SchemaKey', - full_name='pb.SchemaKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='sharding_key', full_name='pb.SchemaKey.sharding_key', index=0, - number=1, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sorting_key', full_name='pb.SchemaKey.sorting_key', index=1, - number=2, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=867, - serialized_end=921, -) - - -_TABLESCHEMA = _descriptor.Descriptor( - name='TableSchema', - full_name='pb.TableSchema', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='pb.TableSchema.type', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='namespace', full_name='pb.TableSchema.namespace', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='name', full_name='pb.TableSchema.name', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='doc', full_name='pb.TableSchema.doc', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='aliases', full_name='pb.TableSchema.aliases', index=4, - number=5, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fields', full_name='pb.TableSchema.fields', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='pb.TableSchema.key', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=924, - serialized_end=1075, -) - - -_JOINSTRUCT = _descriptor.Descriptor( - name='JoinStruct', - full_name='pb.JoinStruct', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1077, - serialized_end=1089, -) - - -_SESSION = _descriptor.Descriptor( - name='Session', - full_name='pb.Session', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='url', full_name='pb.Session.url', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='container', full_name='pb.Session.container', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='path', full_name='pb.Session.path', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='user', full_name='pb.Session.user', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='password', full_name='pb.Session.password', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='token', full_name='pb.Session.token', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='id', full_name='pb.Session.id', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1091, - serialized_end=1205, -) - - -_READREQUEST = _descriptor.Descriptor( - name='ReadRequest', - full_name='pb.ReadRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.ReadRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.ReadRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='schema', full_name='pb.ReadRequest.schema', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='data_format', full_name='pb.ReadRequest.data_format', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='row_layout', full_name='pb.ReadRequest.row_layout', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='multi_index', full_name='pb.ReadRequest.multi_index', index=5, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='query', full_name='pb.ReadRequest.query', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.ReadRequest.table', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='columns', full_name='pb.ReadRequest.columns', index=8, - number=9, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='filter', full_name='pb.ReadRequest.filter', index=9, - number=10, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='group_by', full_name='pb.ReadRequest.group_by', index=10, - number=11, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='join', full_name='pb.ReadRequest.join', index=11, - number=12, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='limit', full_name='pb.ReadRequest.limit', index=12, - number=13, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='message_limit', full_name='pb.ReadRequest.message_limit', index=13, - number=14, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='marker', full_name='pb.ReadRequest.marker', index=14, - number=15, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reset_index', full_name='pb.ReadRequest.reset_index', index=15, - number=29, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='segments', full_name='pb.ReadRequest.segments', index=16, - number=16, type=3, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_segments', full_name='pb.ReadRequest.total_segments', index=17, - number=17, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sharding_keys', full_name='pb.ReadRequest.sharding_keys', index=18, - number=18, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sort_key_range_start', full_name='pb.ReadRequest.sort_key_range_start', index=19, - number=19, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sort_key_range_end', full_name='pb.ReadRequest.sort_key_range_end', index=20, - number=20, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='start', full_name='pb.ReadRequest.start', index=21, - number=21, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='end', full_name='pb.ReadRequest.end', index=22, - number=22, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='step', full_name='pb.ReadRequest.step', index=23, - number=23, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='aggregators', full_name='pb.ReadRequest.aggregators', index=24, - number=24, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='aggregation_window', full_name='pb.ReadRequest.aggregation_window', index=25, - number=28, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='seek', full_name='pb.ReadRequest.seek', index=26, - number=25, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='shard_id', full_name='pb.ReadRequest.shard_id', index=27, - number=26, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sequence', full_name='pb.ReadRequest.sequence', index=28, - number=27, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1208, - serialized_end=1813, -) - - -_INITIALWRITEREQUEST = _descriptor.Descriptor( - name='InitialWriteRequest', - full_name='pb.InitialWriteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.InitialWriteRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.InitialWriteRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.InitialWriteRequest.table', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='initial_data', full_name='pb.InitialWriteRequest.initial_data', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expression', full_name='pb.InitialWriteRequest.expression', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='more', full_name='pb.InitialWriteRequest.more', index=5, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='partition_keys', full_name='pb.InitialWriteRequest.partition_keys', index=6, - number=7, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='condition', full_name='pb.InitialWriteRequest.condition', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='save_mode', full_name='pb.InitialWriteRequest.save_mode', index=8, - number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1816, - serialized_end=2028, -) - - -_WRITEREQUEST = _descriptor.Descriptor( - name='WriteRequest', - full_name='pb.WriteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='request', full_name='pb.WriteRequest.request', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame', full_name='pb.WriteRequest.frame', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='type', full_name='pb.WriteRequest.type', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=2030, - serialized_end=2124, -) - - -_WRITERESPOSE = _descriptor.Descriptor( - name='WriteRespose', - full_name='pb.WriteRespose', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='frames', full_name='pb.WriteRespose.frames', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rows', full_name='pb.WriteRespose.rows', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2126, - serialized_end=2170, -) - - -_CREATEREQUEST = _descriptor.Descriptor( - name='CreateRequest', - full_name='pb.CreateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.CreateRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.CreateRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.CreateRequest.table', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='schema', full_name='pb.CreateRequest.schema', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='if_exists', full_name='pb.CreateRequest.if_exists', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rate', full_name='pb.CreateRequest.rate', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='aggregates', full_name='pb.CreateRequest.aggregates', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='aggregation_granularity', full_name='pb.CreateRequest.aggregation_granularity', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='shards', full_name='pb.CreateRequest.shards', index=8, - number=9, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='retention_hours', full_name='pb.CreateRequest.retention_hours', index=9, - number=10, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2173, - serialized_end=2428, -) - - -_CREATERESPONSE = _descriptor.Descriptor( - name='CreateResponse', - full_name='pb.CreateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2430, - serialized_end=2446, -) - - -_DELETEREQUEST = _descriptor.Descriptor( - name='DeleteRequest', - full_name='pb.DeleteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.DeleteRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.DeleteRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.DeleteRequest.table', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='filter', full_name='pb.DeleteRequest.filter', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='if_missing', full_name='pb.DeleteRequest.if_missing', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='start', full_name='pb.DeleteRequest.start', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='end', full_name='pb.DeleteRequest.end', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metrics', full_name='pb.DeleteRequest.metrics', index=7, - number=8, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2449, - serialized_end=2625, -) - - -_DELETERESPONSE = _descriptor.Descriptor( - name='DeleteResponse', - full_name='pb.DeleteResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2627, - serialized_end=2643, -) - - -_VERSIONREQUEST = _descriptor.Descriptor( - name='VersionRequest', - full_name='pb.VersionRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2645, - serialized_end=2661, -) - - -_EXECRESPONSE = _descriptor.Descriptor( - name='ExecResponse', - full_name='pb.ExecResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='frame', full_name='pb.ExecResponse.frame', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rows', full_name='pb.ExecResponse.rows', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2663, - serialized_end=2717, -) - - -_EXECREQUEST_ARGSENTRY = _descriptor.Descriptor( - name='ArgsEntry', - full_name='pb.ExecRequest.ArgsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='pb.ExecRequest.ArgsEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='pb.ExecRequest.ArgsEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2875, - serialized_end=2929, -) - -_EXECREQUEST = _descriptor.Descriptor( - name='ExecRequest', - full_name='pb.ExecRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.ExecRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.ExecRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.ExecRequest.table', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='command', full_name='pb.ExecRequest.command', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='args', full_name='pb.ExecRequest.args', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expression', full_name='pb.ExecRequest.expression', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_EXECREQUEST_ARGSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2720, - serialized_end=2929, -) - - -_VERSIONRESPONSE = _descriptor.Descriptor( - name='VersionResponse', - full_name='pb.VersionResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='version', full_name='pb.VersionResponse.version', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2931, - serialized_end=2965, -) - - -_HISTORYREQUEST = _descriptor.Descriptor( - name='HistoryRequest', - full_name='pb.HistoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='session', full_name='pb.HistoryRequest.session', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='backend', full_name='pb.HistoryRequest.backend', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='table', full_name='pb.HistoryRequest.table', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='user', full_name='pb.HistoryRequest.user', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='action', full_name='pb.HistoryRequest.action', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_start_time', full_name='pb.HistoryRequest.min_start_time', index=5, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_start_time', full_name='pb.HistoryRequest.max_start_time', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='container', full_name='pb.HistoryRequest.container', index=7, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_duration', full_name='pb.HistoryRequest.min_duration', index=8, - number=9, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_duration', full_name='pb.HistoryRequest.max_duration', index=9, - number=10, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2968, - serialized_end=3187, -) - -_COLUMN.fields_by_name['kind'].enum_type = _COLUMN_KIND -_COLUMN.fields_by_name['dtype'].enum_type = _DTYPE -_COLUMN_KIND.containing_type = _COLUMN -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['ival']) -_VALUE.fields_by_name['ival'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['fval']) -_VALUE.fields_by_name['fval'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['sval']) -_VALUE.fields_by_name['sval'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['tval']) -_VALUE.fields_by_name['tval'].containing_oneof = _VALUE.oneofs_by_name['value'] -_VALUE.oneofs_by_name['value'].fields.append( - _VALUE.fields_by_name['bval']) -_VALUE.fields_by_name['bval'].containing_oneof = _VALUE.oneofs_by_name['value'] -_NULLVALUESMAP_NULLCOLUMNSENTRY.containing_type = _NULLVALUESMAP -_NULLVALUESMAP.fields_by_name['nullColumns'].message_type = _NULLVALUESMAP_NULLCOLUMNSENTRY -_FRAME_LABELSENTRY.fields_by_name['value'].message_type = _VALUE -_FRAME_LABELSENTRY.containing_type = _FRAME -_FRAME.fields_by_name['columns'].message_type = _COLUMN -_FRAME.fields_by_name['indices'].message_type = _COLUMN -_FRAME.fields_by_name['labels'].message_type = _FRAME_LABELSENTRY -_FRAME.fields_by_name['null_values'].message_type = _NULLVALUESMAP -_SCHEMAFIELD_PROPERTIESENTRY.fields_by_name['value'].message_type = _VALUE -_SCHEMAFIELD_PROPERTIESENTRY.containing_type = _SCHEMAFIELD -_SCHEMAFIELD.fields_by_name['default'].message_type = _VALUE -_SCHEMAFIELD.fields_by_name['properties'].message_type = _SCHEMAFIELD_PROPERTIESENTRY -_TABLESCHEMA.fields_by_name['fields'].message_type = _SCHEMAFIELD -_TABLESCHEMA.fields_by_name['key'].message_type = _SCHEMAKEY -_READREQUEST.fields_by_name['session'].message_type = _SESSION -_READREQUEST.fields_by_name['schema'].message_type = _TABLESCHEMA -_READREQUEST.fields_by_name['join'].message_type = _JOINSTRUCT -_INITIALWRITEREQUEST.fields_by_name['session'].message_type = _SESSION -_INITIALWRITEREQUEST.fields_by_name['initial_data'].message_type = _FRAME -_WRITEREQUEST.fields_by_name['request'].message_type = _INITIALWRITEREQUEST -_WRITEREQUEST.fields_by_name['frame'].message_type = _FRAME -_WRITEREQUEST.oneofs_by_name['type'].fields.append( - _WRITEREQUEST.fields_by_name['request']) -_WRITEREQUEST.fields_by_name['request'].containing_oneof = _WRITEREQUEST.oneofs_by_name['type'] -_WRITEREQUEST.oneofs_by_name['type'].fields.append( - _WRITEREQUEST.fields_by_name['frame']) -_WRITEREQUEST.fields_by_name['frame'].containing_oneof = _WRITEREQUEST.oneofs_by_name['type'] -_CREATEREQUEST.fields_by_name['session'].message_type = _SESSION -_CREATEREQUEST.fields_by_name['schema'].message_type = _TABLESCHEMA -_CREATEREQUEST.fields_by_name['if_exists'].enum_type = _ERROROPTIONS -_DELETEREQUEST.fields_by_name['session'].message_type = _SESSION -_DELETEREQUEST.fields_by_name['if_missing'].enum_type = _ERROROPTIONS -_EXECRESPONSE.fields_by_name['frame'].message_type = _FRAME -_EXECREQUEST_ARGSENTRY.fields_by_name['value'].message_type = _VALUE -_EXECREQUEST_ARGSENTRY.containing_type = _EXECREQUEST -_EXECREQUEST.fields_by_name['session'].message_type = _SESSION -_EXECREQUEST.fields_by_name['args'].message_type = _EXECREQUEST_ARGSENTRY -_HISTORYREQUEST.fields_by_name['session'].message_type = _SESSION -DESCRIPTOR.message_types_by_name['Column'] = _COLUMN -DESCRIPTOR.message_types_by_name['Value'] = _VALUE -DESCRIPTOR.message_types_by_name['NullValuesMap'] = _NULLVALUESMAP -DESCRIPTOR.message_types_by_name['Frame'] = _FRAME -DESCRIPTOR.message_types_by_name['SchemaField'] = _SCHEMAFIELD -DESCRIPTOR.message_types_by_name['SchemaKey'] = _SCHEMAKEY -DESCRIPTOR.message_types_by_name['TableSchema'] = _TABLESCHEMA -DESCRIPTOR.message_types_by_name['JoinStruct'] = _JOINSTRUCT -DESCRIPTOR.message_types_by_name['Session'] = _SESSION -DESCRIPTOR.message_types_by_name['ReadRequest'] = _READREQUEST -DESCRIPTOR.message_types_by_name['InitialWriteRequest'] = _INITIALWRITEREQUEST -DESCRIPTOR.message_types_by_name['WriteRequest'] = _WRITEREQUEST -DESCRIPTOR.message_types_by_name['WriteRespose'] = _WRITERESPOSE -DESCRIPTOR.message_types_by_name['CreateRequest'] = _CREATEREQUEST -DESCRIPTOR.message_types_by_name['CreateResponse'] = _CREATERESPONSE -DESCRIPTOR.message_types_by_name['DeleteRequest'] = _DELETEREQUEST -DESCRIPTOR.message_types_by_name['DeleteResponse'] = _DELETERESPONSE -DESCRIPTOR.message_types_by_name['VersionRequest'] = _VERSIONREQUEST -DESCRIPTOR.message_types_by_name['ExecResponse'] = _EXECRESPONSE -DESCRIPTOR.message_types_by_name['ExecRequest'] = _EXECREQUEST -DESCRIPTOR.message_types_by_name['VersionResponse'] = _VERSIONRESPONSE -DESCRIPTOR.message_types_by_name['HistoryRequest'] = _HISTORYREQUEST -DESCRIPTOR.enum_types_by_name['DType'] = _DTYPE -DESCRIPTOR.enum_types_by_name['ErrorOptions'] = _ERROROPTIONS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Column = _reflection.GeneratedProtocolMessageType('Column', (_message.Message,), { - 'DESCRIPTOR' : _COLUMN, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.Column) - }) -_sym_db.RegisterMessage(Column) - -Value = _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), { - 'DESCRIPTOR' : _VALUE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.Value) - }) -_sym_db.RegisterMessage(Value) - -NullValuesMap = _reflection.GeneratedProtocolMessageType('NullValuesMap', (_message.Message,), { - - 'NullColumnsEntry' : _reflection.GeneratedProtocolMessageType('NullColumnsEntry', (_message.Message,), { - 'DESCRIPTOR' : _NULLVALUESMAP_NULLCOLUMNSENTRY, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.NullValuesMap.NullColumnsEntry) - }) - , - 'DESCRIPTOR' : _NULLVALUESMAP, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.NullValuesMap) - }) -_sym_db.RegisterMessage(NullValuesMap) -_sym_db.RegisterMessage(NullValuesMap.NullColumnsEntry) - -Frame = _reflection.GeneratedProtocolMessageType('Frame', (_message.Message,), { - - 'LabelsEntry' : _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FRAME_LABELSENTRY, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.Frame.LabelsEntry) - }) - , - 'DESCRIPTOR' : _FRAME, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.Frame) - }) -_sym_db.RegisterMessage(Frame) -_sym_db.RegisterMessage(Frame.LabelsEntry) - -SchemaField = _reflection.GeneratedProtocolMessageType('SchemaField', (_message.Message,), { - - 'PropertiesEntry' : _reflection.GeneratedProtocolMessageType('PropertiesEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCHEMAFIELD_PROPERTIESENTRY, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.SchemaField.PropertiesEntry) - }) - , - 'DESCRIPTOR' : _SCHEMAFIELD, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.SchemaField) - }) -_sym_db.RegisterMessage(SchemaField) -_sym_db.RegisterMessage(SchemaField.PropertiesEntry) - -SchemaKey = _reflection.GeneratedProtocolMessageType('SchemaKey', (_message.Message,), { - 'DESCRIPTOR' : _SCHEMAKEY, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.SchemaKey) - }) -_sym_db.RegisterMessage(SchemaKey) - -TableSchema = _reflection.GeneratedProtocolMessageType('TableSchema', (_message.Message,), { - 'DESCRIPTOR' : _TABLESCHEMA, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.TableSchema) - }) -_sym_db.RegisterMessage(TableSchema) - -JoinStruct = _reflection.GeneratedProtocolMessageType('JoinStruct', (_message.Message,), { - 'DESCRIPTOR' : _JOINSTRUCT, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.JoinStruct) - }) -_sym_db.RegisterMessage(JoinStruct) - -Session = _reflection.GeneratedProtocolMessageType('Session', (_message.Message,), { - 'DESCRIPTOR' : _SESSION, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.Session) - }) -_sym_db.RegisterMessage(Session) - -ReadRequest = _reflection.GeneratedProtocolMessageType('ReadRequest', (_message.Message,), { - 'DESCRIPTOR' : _READREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.ReadRequest) - }) -_sym_db.RegisterMessage(ReadRequest) - -InitialWriteRequest = _reflection.GeneratedProtocolMessageType('InitialWriteRequest', (_message.Message,), { - 'DESCRIPTOR' : _INITIALWRITEREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.InitialWriteRequest) - }) -_sym_db.RegisterMessage(InitialWriteRequest) - -WriteRequest = _reflection.GeneratedProtocolMessageType('WriteRequest', (_message.Message,), { - 'DESCRIPTOR' : _WRITEREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.WriteRequest) - }) -_sym_db.RegisterMessage(WriteRequest) - -WriteRespose = _reflection.GeneratedProtocolMessageType('WriteRespose', (_message.Message,), { - 'DESCRIPTOR' : _WRITERESPOSE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.WriteRespose) - }) -_sym_db.RegisterMessage(WriteRespose) - -CreateRequest = _reflection.GeneratedProtocolMessageType('CreateRequest', (_message.Message,), { - 'DESCRIPTOR' : _CREATEREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.CreateRequest) - }) -_sym_db.RegisterMessage(CreateRequest) - -CreateResponse = _reflection.GeneratedProtocolMessageType('CreateResponse', (_message.Message,), { - 'DESCRIPTOR' : _CREATERESPONSE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.CreateResponse) - }) -_sym_db.RegisterMessage(CreateResponse) - -DeleteRequest = _reflection.GeneratedProtocolMessageType('DeleteRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.DeleteRequest) - }) -_sym_db.RegisterMessage(DeleteRequest) - -DeleteResponse = _reflection.GeneratedProtocolMessageType('DeleteResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETERESPONSE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.DeleteResponse) - }) -_sym_db.RegisterMessage(DeleteResponse) - -VersionRequest = _reflection.GeneratedProtocolMessageType('VersionRequest', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.VersionRequest) - }) -_sym_db.RegisterMessage(VersionRequest) - -ExecResponse = _reflection.GeneratedProtocolMessageType('ExecResponse', (_message.Message,), { - 'DESCRIPTOR' : _EXECRESPONSE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.ExecResponse) - }) -_sym_db.RegisterMessage(ExecResponse) - -ExecRequest = _reflection.GeneratedProtocolMessageType('ExecRequest', (_message.Message,), { - - 'ArgsEntry' : _reflection.GeneratedProtocolMessageType('ArgsEntry', (_message.Message,), { - 'DESCRIPTOR' : _EXECREQUEST_ARGSENTRY, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.ExecRequest.ArgsEntry) - }) - , - 'DESCRIPTOR' : _EXECREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.ExecRequest) - }) -_sym_db.RegisterMessage(ExecRequest) -_sym_db.RegisterMessage(ExecRequest.ArgsEntry) - -VersionResponse = _reflection.GeneratedProtocolMessageType('VersionResponse', (_message.Message,), { - 'DESCRIPTOR' : _VERSIONRESPONSE, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.VersionResponse) - }) -_sym_db.RegisterMessage(VersionResponse) - -HistoryRequest = _reflection.GeneratedProtocolMessageType('HistoryRequest', (_message.Message,), { - 'DESCRIPTOR' : _HISTORYREQUEST, - '__module__' : 'frames_pb2' - # @@protoc_insertion_point(class_scope:pb.HistoryRequest) - }) -_sym_db.RegisterMessage(HistoryRequest) - - -DESCRIPTOR._options = None -_NULLVALUESMAP_NULLCOLUMNSENTRY._options = None -_FRAME_LABELSENTRY._options = None -_SCHEMAFIELD_PROPERTIESENTRY._options = None -_EXECREQUEST_ARGSENTRY._options = None - -_FRAMES = _descriptor.ServiceDescriptor( - name='Frames', - full_name='pb.Frames', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=3316, - serialized_end=3660, - methods=[ - _descriptor.MethodDescriptor( - name='Read', - full_name='pb.Frames.Read', - index=0, - containing_service=None, - input_type=_READREQUEST, - output_type=_FRAME, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='pb.Frames.Write', - index=1, - containing_service=None, - input_type=_WRITEREQUEST, - output_type=_WRITERESPOSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Create', - full_name='pb.Frames.Create', - index=2, - containing_service=None, - input_type=_CREATEREQUEST, - output_type=_CREATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Delete', - full_name='pb.Frames.Delete', - index=3, - containing_service=None, - input_type=_DELETEREQUEST, - output_type=_DELETERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Exec', - full_name='pb.Frames.Exec', - index=4, - containing_service=None, - input_type=_EXECREQUEST, - output_type=_EXECRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='History', - full_name='pb.Frames.History', - index=5, - containing_service=None, - input_type=_HISTORYREQUEST, - output_type=_FRAME, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='Version', - full_name='pb.Frames.Version', - index=6, - containing_service=None, - input_type=_VERSIONREQUEST, - output_type=_VERSIONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_FRAMES) - -DESCRIPTOR.services_by_name['Frames'] = _FRAMES - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x66rames.proto\x12\x02pb\"\xc8\x01\n\x06\x43olumn\x12\x1d\n\x04kind\x18\x01 \x01(\x0e\x32\x0f.pb.Column.Kind\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x18\n\x05\x64type\x18\x03 \x01(\x0e\x32\t.pb.DType\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x0c\n\x04ints\x18\x05 \x03(\x03\x12\x0e\n\x06\x66loats\x18\x06 \x03(\x01\x12\x0f\n\x07strings\x18\x07 \x03(\t\x12\r\n\x05times\x18\x08 \x03(\x03\x12\r\n\x05\x62ools\x18\t \x03(\x08\"\x1c\n\x04Kind\x12\t\n\x05SLICE\x10\x00\x12\t\n\x05LABEL\x10\x01\"`\n\x05Value\x12\x0e\n\x04ival\x18\x01 \x01(\x03H\x00\x12\x0e\n\x04\x66val\x18\x02 \x01(\x01H\x00\x12\x0e\n\x04sval\x18\x03 \x01(\tH\x00\x12\x0e\n\x04tval\x18\x04 \x01(\x03H\x00\x12\x0e\n\x04\x62val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\rNullValuesMap\x12\x37\n\x0bnullColumns\x18\x01 \x03(\x0b\x32\".pb.NullValuesMap.NullColumnsEntry\x1a\x32\n\x10NullColumnsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xd9\x01\n\x05\x46rame\x12\x1b\n\x07\x63olumns\x18\x01 \x03(\x0b\x32\n.pb.Column\x12\x1b\n\x07indices\x18\x02 \x03(\x0b\x32\n.pb.Column\x12%\n\x06labels\x18\x03 \x03(\x0b\x32\x15.pb.Frame.LabelsEntry\x12\r\n\x05\x65rror\x18\x04 \x01(\t\x12&\n\x0bnull_values\x18\x05 \x03(\x0b\x32\x11.pb.NullValuesMap\x1a\x38\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\xc5\x01\n\x0bSchemaField\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03\x64oc\x18\x02 \x01(\t\x12\x1a\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x0b\x32\t.pb.Value\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\x33\n\nproperties\x18\x05 \x03(\x0b\x32\x1f.pb.SchemaField.PropertiesEntry\x1a<\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"6\n\tSchemaKey\x12\x14\n\x0csharding_key\x18\x01 \x03(\t\x12\x13\n\x0bsorting_key\x18\x02 \x03(\t\"\x97\x01\n\x0bTableSchema\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0b\n\x03\x64oc\x18\x04 \x01(\t\x12\x0f\n\x07\x61liases\x18\x05 \x03(\t\x12\x1f\n\x06\x66ields\x18\x06 \x03(\x0b\x32\x0f.pb.SchemaField\x12\x1a\n\x03key\x18\x07 \x01(\x0b\x32\r.pb.SchemaKey\"\x0c\n\nJoinStruct\"r\n\x07Session\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\x12\r\n\x05token\x18\x06 \x01(\t\x12\n\n\x02id\x18\x07 \x01(\t\"\xdd\x04\n\x0bReadRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\x1f\n\x06schema\x18\x03 \x01(\x0b\x32\x0f.pb.TableSchema\x12\x13\n\x0b\x64\x61ta_format\x18\x04 \x01(\t\x12\x12\n\nrow_layout\x18\x05 \x01(\x08\x12\x13\n\x0bmulti_index\x18\x06 \x01(\x08\x12\r\n\x05query\x18\x07 \x01(\t\x12\r\n\x05table\x18\x08 \x01(\t\x12\x0f\n\x07\x63olumns\x18\t \x03(\t\x12\x0e\n\x06\x66ilter\x18\n \x01(\t\x12\x10\n\x08group_by\x18\x0b \x01(\t\x12\x1c\n\x04join\x18\x0c \x03(\x0b\x32\x0e.pb.JoinStruct\x12\r\n\x05limit\x18\r \x01(\x03\x12\x15\n\rmessage_limit\x18\x0e \x01(\x03\x12\x0e\n\x06marker\x18\x0f \x01(\t\x12\x13\n\x0breset_index\x18\x1d \x01(\x08\x12\x10\n\x08segments\x18\x10 \x03(\x03\x12\x16\n\x0etotal_segments\x18\x11 \x01(\x03\x12\x15\n\rsharding_keys\x18\x12 \x03(\t\x12\x1c\n\x14sort_key_range_start\x18\x13 \x01(\t\x12\x1a\n\x12sort_key_range_end\x18\x14 \x01(\t\x12\r\n\x05start\x18\x15 \x01(\t\x12\x0b\n\x03\x65nd\x18\x16 \x01(\t\x12\x0c\n\x04step\x18\x17 \x01(\t\x12\x13\n\x0b\x61ggregators\x18\x18 \x01(\t\x12\x1a\n\x12\x61ggregation_window\x18\x1c \x01(\t\x12\x0c\n\x04seek\x18\x19 \x01(\t\x12\x10\n\x08shard_id\x18\x1a \x01(\t\x12\x10\n\x08sequence\x18\x1b \x01(\x03\"\xd4\x01\n\x13InitialWriteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x0cinitial_data\x18\x04 \x01(\x0b\x32\t.pb.Frame\x12\x12\n\nexpression\x18\x05 \x01(\t\x12\x0c\n\x04more\x18\x06 \x01(\x08\x12\x16\n\x0epartition_keys\x18\x07 \x03(\t\x12\x11\n\tcondition\x18\x08 \x01(\t\x12\x11\n\tsave_mode\x18\t \x01(\t\"^\n\x0cWriteRequest\x12*\n\x07request\x18\x01 \x01(\x0b\x32\x17.pb.InitialWriteRequestH\x00\x12\x1a\n\x05\x66rame\x18\x02 \x01(\x0b\x32\t.pb.FrameH\x00\x42\x06\n\x04type\",\n\x0cWriteRespose\x12\x0e\n\x06\x66rames\x18\x01 \x01(\x03\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xff\x01\n\rCreateRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x1f\n\x06schema\x18\x04 \x01(\x0b\x32\x0f.pb.TableSchema\x12#\n\tif_exists\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\x0c\n\x04rate\x18\x06 \x01(\t\x12\x12\n\naggregates\x18\x07 \x01(\t\x12\x1f\n\x17\x61ggregation_granularity\x18\x08 \x01(\t\x12\x0e\n\x06shards\x18\t \x01(\x03\x12\x17\n\x0fretention_hours\x18\n \x01(\x03\"\x10\n\x0e\x43reateResponse\"\xb0\x01\n\rDeleteRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12$\n\nif_missing\x18\x05 \x01(\x0e\x32\x10.pb.ErrorOptions\x12\r\n\x05start\x18\x06 \x01(\t\x12\x0b\n\x03\x65nd\x18\x07 \x01(\t\x12\x0f\n\x07metrics\x18\x08 \x03(\t\"\x10\n\x0e\x44\x65leteResponse\"\x10\n\x0eVersionRequest\"6\n\x0c\x45xecResponse\x12\x18\n\x05\x66rame\x18\x01 \x01(\x0b\x32\t.pb.Frame\x12\x0c\n\x04rows\x18\x02 \x01(\x03\"\xd1\x01\n\x0b\x45xecRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\'\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x19.pb.ExecRequest.ArgsEntry\x12\x12\n\nexpression\x18\x06 \x01(\t\x1a\x36\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x18\n\x05value\x18\x02 \x01(\x0b\x32\t.pb.Value:\x02\x38\x01\"\"\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xdb\x01\n\x0eHistoryRequest\x12\x1c\n\x07session\x18\x01 \x01(\x0b\x32\x0b.pb.Session\x12\x0f\n\x07\x62\x61\x63kend\x18\x02 \x01(\t\x12\r\n\x05table\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x05 \x01(\t\x12\x16\n\x0emin_start_time\x18\x06 \x01(\t\x12\x16\n\x0emax_start_time\x18\x07 \x01(\t\x12\x11\n\tcontainer\x18\x08 \x01(\t\x12\x14\n\x0cmin_duration\x18\t \x01(\x03\x12\x14\n\x0cmax_duration\x18\n \x01(\x03*V\n\x05\x44Type\x12\x08\n\x04NONE\x10\x00\x12\x0b\n\x07INTEGER\x10\x01\x12\t\n\x05\x46LOAT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\x08\n\x04TIME\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x08\n\x04NULL\x10\x06*$\n\x0c\x45rrorOptions\x12\x08\n\x04\x46\x41IL\x10\x00\x12\n\n\x06IGNORE\x10\x01\x32\xd8\x02\n\x06\x46rames\x12&\n\x04Read\x12\x0f.pb.ReadRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12/\n\x05Write\x12\x10.pb.WriteRequest\x1a\x10.pb.WriteRespose\"\x00(\x01\x12\x31\n\x06\x43reate\x12\x11.pb.CreateRequest\x1a\x12.pb.CreateResponse\"\x00\x12\x31\n\x06\x44\x65lete\x12\x11.pb.DeleteRequest\x1a\x12.pb.DeleteResponse\"\x00\x12+\n\x04\x45xec\x12\x0f.pb.ExecRequest\x1a\x10.pb.ExecResponse\"\x00\x12,\n\x07History\x12\x12.pb.HistoryRequest\x1a\t.pb.Frame\"\x00\x30\x01\x12\x34\n\x07Version\x12\x12.pb.VersionRequest\x1a\x13.pb.VersionResponse\"\x00\x42\x06Z\x04.;pbb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frames_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + _globals['DESCRIPTOR']._options = None + _globals['DESCRIPTOR']._serialized_options = b'Z\004.;pb' + _globals['_NULLVALUESMAP_NULLCOLUMNSENTRY']._options = None + _globals['_NULLVALUESMAP_NULLCOLUMNSENTRY']._serialized_options = b'8\001' + _globals['_FRAME_LABELSENTRY']._options = None + _globals['_FRAME_LABELSENTRY']._serialized_options = b'8\001' + _globals['_SCHEMAFIELD_PROPERTIESENTRY']._options = None + _globals['_SCHEMAFIELD_PROPERTIESENTRY']._serialized_options = b'8\001' + _globals['_EXECREQUEST_ARGSENTRY']._options = None + _globals['_EXECREQUEST_ARGSENTRY']._serialized_options = b'8\001' + _globals['_DTYPE']._serialized_start=3189 + _globals['_DTYPE']._serialized_end=3275 + _globals['_ERROROPTIONS']._serialized_start=3277 + _globals['_ERROROPTIONS']._serialized_end=3313 + _globals['_COLUMN']._serialized_start=21 + _globals['_COLUMN']._serialized_end=221 + _globals['_COLUMN_KIND']._serialized_start=193 + _globals['_COLUMN_KIND']._serialized_end=221 + _globals['_VALUE']._serialized_start=223 + _globals['_VALUE']._serialized_end=319 + _globals['_NULLVALUESMAP']._serialized_start=321 + _globals['_NULLVALUESMAP']._serialized_end=445 + _globals['_NULLVALUESMAP_NULLCOLUMNSENTRY']._serialized_start=395 + _globals['_NULLVALUESMAP_NULLCOLUMNSENTRY']._serialized_end=445 + _globals['_FRAME']._serialized_start=448 + _globals['_FRAME']._serialized_end=665 + _globals['_FRAME_LABELSENTRY']._serialized_start=609 + _globals['_FRAME_LABELSENTRY']._serialized_end=665 + _globals['_SCHEMAFIELD']._serialized_start=668 + _globals['_SCHEMAFIELD']._serialized_end=865 + _globals['_SCHEMAFIELD_PROPERTIESENTRY']._serialized_start=805 + _globals['_SCHEMAFIELD_PROPERTIESENTRY']._serialized_end=865 + _globals['_SCHEMAKEY']._serialized_start=867 + _globals['_SCHEMAKEY']._serialized_end=921 + _globals['_TABLESCHEMA']._serialized_start=924 + _globals['_TABLESCHEMA']._serialized_end=1075 + _globals['_JOINSTRUCT']._serialized_start=1077 + _globals['_JOINSTRUCT']._serialized_end=1089 + _globals['_SESSION']._serialized_start=1091 + _globals['_SESSION']._serialized_end=1205 + _globals['_READREQUEST']._serialized_start=1208 + _globals['_READREQUEST']._serialized_end=1813 + _globals['_INITIALWRITEREQUEST']._serialized_start=1816 + _globals['_INITIALWRITEREQUEST']._serialized_end=2028 + _globals['_WRITEREQUEST']._serialized_start=2030 + _globals['_WRITEREQUEST']._serialized_end=2124 + _globals['_WRITERESPOSE']._serialized_start=2126 + _globals['_WRITERESPOSE']._serialized_end=2170 + _globals['_CREATEREQUEST']._serialized_start=2173 + _globals['_CREATEREQUEST']._serialized_end=2428 + _globals['_CREATERESPONSE']._serialized_start=2430 + _globals['_CREATERESPONSE']._serialized_end=2446 + _globals['_DELETEREQUEST']._serialized_start=2449 + _globals['_DELETEREQUEST']._serialized_end=2625 + _globals['_DELETERESPONSE']._serialized_start=2627 + _globals['_DELETERESPONSE']._serialized_end=2643 + _globals['_VERSIONREQUEST']._serialized_start=2645 + _globals['_VERSIONREQUEST']._serialized_end=2661 + _globals['_EXECRESPONSE']._serialized_start=2663 + _globals['_EXECRESPONSE']._serialized_end=2717 + _globals['_EXECREQUEST']._serialized_start=2720 + _globals['_EXECREQUEST']._serialized_end=2929 + _globals['_EXECREQUEST_ARGSENTRY']._serialized_start=2875 + _globals['_EXECREQUEST_ARGSENTRY']._serialized_end=2929 + _globals['_VERSIONRESPONSE']._serialized_start=2931 + _globals['_VERSIONRESPONSE']._serialized_end=2965 + _globals['_HISTORYREQUEST']._serialized_start=2968 + _globals['_HISTORYREQUEST']._serialized_end=3187 + _globals['_FRAMES']._serialized_start=3316 + _globals['_FRAMES']._serialized_end=3660 # @@protoc_insertion_point(module_scope) From a8b834487f329043d0aacd2914e1310eaf0903a0 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 13:00:13 +0800 Subject: [PATCH 06/11] Update python access to protobuf message to work with protobuf 4 --- clients/py/v3io_frames/pbutils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/py/v3io_frames/pbutils.py b/clients/py/v3io_frames/pbutils.py index 6ddaf10a..1e8043f3 100644 --- a/clients/py/v3io_frames/pbutils.py +++ b/clients/py/v3io_frames/pbutils.py @@ -15,7 +15,7 @@ import warnings from datetime import datetime -import google.protobuf.pyext._message as message +from google.protobuf.pyext import cpp_message import numpy as np import pandas as pd import pytz @@ -32,8 +32,8 @@ from .errors import MessageError, WriteError pb_list_types = ( - message.RepeatedCompositeContainer, - message.RepeatedScalarContainer, + cpp_message._message.RepeatedCompositeContainer, + cpp_message._message.RepeatedScalarContainer, ) @@ -77,7 +77,7 @@ def pb2py(obj): if isinstance(obj, pb_list_types): return [pb2py(v) for v in obj] - if isinstance(obj, message.MessageMapContainer): + if isinstance(obj, cpp_message._message.MessageMapContainer): return { key: pb2py(value) for key, value in obj.items() } From 55250e34ba16af7f47ad30e5e1c0480304e79ef8 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 13:03:20 +0800 Subject: [PATCH 07/11] Specify protobuf requirement explicitly --- clients/py/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/py/requirements.txt b/clients/py/requirements.txt index 0bb530b7..ae2cd2c9 100644 --- a/clients/py/requirements.txt +++ b/clients/py/requirements.txt @@ -1,4 +1,5 @@ googleapis-common-protos>=1.5.3 grpcio-tools>=1.49 +protobuf~=4.0 pandas>=0.23.4 requests>=2.19.1 From be40d67b4d027db9653809e36ff899153353823b Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 13:10:46 +0800 Subject: [PATCH 08/11] Remove reference to MessageMapContainer --- clients/py/v3io_frames/pbutils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clients/py/v3io_frames/pbutils.py b/clients/py/v3io_frames/pbutils.py index 1e8043f3..95bfe8ff 100644 --- a/clients/py/v3io_frames/pbutils.py +++ b/clients/py/v3io_frames/pbutils.py @@ -77,11 +77,6 @@ def pb2py(obj): if isinstance(obj, pb_list_types): return [pb2py(v) for v in obj] - if isinstance(obj, cpp_message._message.MessageMapContainer): - return { - key: pb2py(value) for key, value in obj.items() - } - return obj From 312121d2ebee0921c6967e34b3e283a0fc611539 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 13:33:03 +0800 Subject: [PATCH 09/11] Fix test message --- clients/py/tests/test_pbutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/py/tests/test_pbutils.py b/clients/py/tests/test_pbutils.py index d36416e1..b130628a 100644 --- a/clients/py/tests/test_pbutils.py +++ b/clients/py/tests/test_pbutils.py @@ -34,7 +34,7 @@ def test_encode_df(): names = [col.name for col in msg.columns] assert set(names) == set(df.columns), 'columns mismatch' assert not msg.indices, 'has index' - assert pbutils.pb2py(msg.labels) == labels, 'lables mismatch' + assert pbutils.pb2py(msg.labels) == labels, 'labels mismatch' # Now with index index_name = 'DATE' From 3633c0b4f7b7be3f81f605ba3f0fc2db6a3c3fee Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 13:35:06 +0800 Subject: [PATCH 10/11] Revert "Remove reference to MessageMapContainer" --- clients/py/v3io_frames/pbutils.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clients/py/v3io_frames/pbutils.py b/clients/py/v3io_frames/pbutils.py index 95bfe8ff..1e8043f3 100644 --- a/clients/py/v3io_frames/pbutils.py +++ b/clients/py/v3io_frames/pbutils.py @@ -77,6 +77,11 @@ def pb2py(obj): if isinstance(obj, pb_list_types): return [pb2py(v) for v in obj] + if isinstance(obj, cpp_message._message.MessageMapContainer): + return { + key: pb2py(value) for key, value in obj.items() + } + return obj From ca80e46157e057f4d704140662e6695a8cdee223 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Wed, 30 Oct 2024 14:58:49 +0800 Subject: [PATCH 11/11] Fix Dockerfile to always build for linux and amd64 --- cmd/framesd/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/framesd/Dockerfile b/cmd/framesd/Dockerfile index 62791d02..b50eb659 100644 --- a/cmd/framesd/Dockerfile +++ b/cmd/framesd/Dockerfile @@ -19,15 +19,15 @@ # (don't forget to update the -p accordingly) -FROM golang:1.19-bullseye as build +FROM --platform=linux/amd64 golang:1.19-bullseye as build WORKDIR /frames COPY . . ARG FRAMES_VERSION=unknown -RUN go build -ldflags="-X main.Version=${FRAMES_VERSION}" ./cmd/framesd +RUN GOOS=linux GOARCH=amd64 go build -ldflags="-X main.Version=${FRAMES_VERSION}" ./cmd/framesd RUN cp framesd /usr/local/bin -FROM debian:jessie-slim +FROM --platform=linux/amd64 debian:jessie-slim COPY --from=build /usr/local/bin/framesd /usr/local/bin VOLUME /etc/framesd