You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2022/03/23 04:29:08 UTC
[calcite-avatica-go] branch master updated (fa87f84 -> 9861e36)
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git.
from fa87f84 [CALCITE-4299] Test against Go 1.14 and 1.15
new b5d64b0 [CALCITE-5055] Test against Go 1.17 and 1.18
new 9e69b48 [CALCITE-5057] Switch from github.com/golang/protobuf to google.golang.org/protobuf
new 8492d56 [CALCITE-5056] Test against avatica 1.18 - 1.20
new 9861e36 [CALCITE-5058] Upgrade dependencies and tidy go.mod
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/tests.yaml | 7 +-
class_mappings.go | 2 +-
docker-compose.yml | 19 +-
docker.sh | 17 +-
go.mod | 34 +-
go.sum | 55 +-
http_client.go | 2 +-
message/common.pb.go | 2850 ++++++++++++++++++++++++++----------------
message/requests.pb.go | 2393 +++++++++++++++++++++++------------
message/responses.pb.go | 1811 +++++++++++++++++----------
10 files changed, 4558 insertions(+), 2632 deletions(-)
[calcite-avatica-go] 03/04: [CALCITE-5056] Test against avatica 1.18 - 1.20
Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit 8492d564628caa145940762051d27c159b7422b3
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Mar 23 15:23:39 2022 +1100
[CALCITE-5056] Test against avatica 1.18 - 1.20
---
.github/workflows/tests.yaml | 5 +++--
docker-compose.yml | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 534bec6..745e8ea 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -10,12 +10,13 @@ jobs:
- boostport/hbase-phoenix-all-in-one:1.3-4.13
- boostport/hbase-phoenix-all-in-one:1.4-4.14
- boostport/hbase-phoenix-all-in-one:2.0-5.0
- - f21global/calcite-avatica:1.11.0-hypersql
- - f21global/calcite-avatica:1.12.0-hypersql
- apache/calcite-avatica-hypersql:1.13.0
- apache/calcite-avatica-hypersql:1.14.0
- apache/calcite-avatica-hypersql:1.15.0
- apache/calcite-avatica-hypersql:1.17.0
+ - apache/calcite-avatica-hypersql:1.18.0
+ - apache/calcite-avatica-hypersql:1.19.0
+ - apache/calcite-avatica-hypersql:1.20.0
runs-on: ubuntu-latest
diff --git a/docker-compose.yml b/docker-compose.yml
index fcd41f0..f787e65 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -19,7 +19,7 @@ services:
image: boostport/hbase-phoenix-all-in-one:2.0-5.0
hsqldb:
- image: apache/calcite-avatica-hypersql:1.17.0
+ image: apache/calcite-avatica-hypersql:1.12.0
command: -u jdbc:hsqldb:mem:public
test:
[calcite-avatica-go] 04/04: [CALCITE-5058] Upgrade dependencies and tidy go.mod
Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit 9861e36e08c942e0b4965dd4194c090b12587b5d
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Mar 23 15:28:27 2022 +1100
[CALCITE-5058] Upgrade dependencies and tidy go.mod
---
go.mod | 29 ++++++++++++++++++++++-------
go.sum | 42 +++++++++++++++++-------------------------
2 files changed, 39 insertions(+), 32 deletions(-)
diff --git a/go.mod b/go.mod
index ea15a26..156bcdf 100644
--- a/go.mod
+++ b/go.mod
@@ -1,17 +1,32 @@
module github.com/apache/calcite-avatica-go/v5
-go 1.12
+go 1.17
require (
- github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/hashicorp/go-uuid v1.0.2
- github.com/jcmturner/gokrb5/v8 v8.4.0
- github.com/mattn/go-colorable v0.1.6 // indirect
+ github.com/jcmturner/gokrb5/v8 v8.4.2
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f
github.com/xinsnake/go-http-digest-auth-client v0.6.0
- golang.org/x/crypto v0.0.0-20200406173513-056763e48d71 // indirect
- golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
- golang.org/x/sys v0.0.0-20200620081246-981b61492c35 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
google.golang.org/protobuf v1.28.0
)
+
+require (
+ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
+ github.com/creack/pty v1.1.11 // indirect
+ github.com/fatih/color v1.9.0 // indirect
+ github.com/jcmturner/aescts/v2 v2.0.0 // indirect
+ github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
+ github.com/jcmturner/gofork v1.0.0 // indirect
+ github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
+ github.com/jcmturner/rpc/v2 v2.0.3 // indirect
+ github.com/mattn/go-colorable v0.1.4 // indirect
+ github.com/mattn/go-isatty v0.0.11 // indirect
+ github.com/pkg/errors v0.9.1 // indirect
+ github.com/russross/blackfriday/v2 v2.0.1 // indirect
+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
+ github.com/urfave/cli v1.22.4 // indirect
+ golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect
+ golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa // indirect
+ golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
+)
diff --git a/go.sum b/go.sum
index 1081034..8a11df1 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,6 @@
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
+github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
-github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=
-github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
@@ -13,8 +12,8 @@ github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
-github.com/gorilla/sessions v1.2.0 h1:S7P+1Hm5V/AT9cjEcUD5uDaQSX0OE577aCXgoaKpYbQ=
-github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
+github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7FsgI=
+github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE=
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=
@@ -25,17 +24,15 @@ github.com/jcmturner/gofork v1.0.0 h1:J7uCkflzTEhUZ64xqKnkDxq3kzc96ajM1Gli5ktUem
github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o=
github.com/jcmturner/goidentity/v6 v6.0.1 h1:VKnZd2oEIMorCTsFBnJWbExfNN7yZr3EhJAxwOkZg6o=
github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg=
-github.com/jcmturner/gokrb5/v8 v8.4.0 h1:YhIMzzOSd/9kE5+SahL3m8ygGWE6cB1lKKYYEqpo1hc=
-github.com/jcmturner/gokrb5/v8 v8.4.0/go.mod h1:T1hnNppQsBtxW0tCHMHTkAt8n/sABdzZgZdoFrZaZNM=
-github.com/jcmturner/rpc/v2 v2.0.2 h1:gMB4IwRXYsWw4Bc6o/az2HJgFUA1ffSh90i26ZJ6Xl0=
-github.com/jcmturner/rpc/v2 v2.0.2/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc=
+github.com/jcmturner/gokrb5/v8 v8.4.2 h1:6ZIM6b/JJN0X8UM43ZOM6Z4SJzla+a/u7scXFJzodkA=
+github.com/jcmturner/gokrb5/v8 v8.4.2/go.mod h1:sb+Xq/fTY5yktf/VxLsE3wlfPqQjp0aWNYyvBVK62bc=
+github.com/jcmturner/rpc/v2 v2.0.3 h1:7FXXj8Ti1IaVFpSAziCZWNzbNuZmnvw/i6CqLNdWfZY=
+github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc=
+github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
-github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
-github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
+github.com/mattn/go-isatty v0.0.11 h1:FxPOTFNqGkuDUGi3H/qkUbQO4ZiBa2brKq5r0l8TGeM=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
-github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
-github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -45,8 +42,9 @@ github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
+github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f h1:CfRRJzp88GWCAR3+GrJ/slqrbhCqesDRY/FmT6s4uF8=
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f/go.mod h1:xN7cr17jYCNJzZO78A4c0BcspGPbSAdFNq1NfDEE2do=
github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=
@@ -54,29 +52,23 @@ github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX
github.com/xinsnake/go-http-digest-auth-client v0.6.0 h1:nrYFWDrB2F7VwYlNravXZS0nOtg9axlATH3Jns55/F0=
github.com/xinsnake/go-http-digest-auth-client v0.6.0/go.mod h1:QK1t1v7ylyGb363vGWu+6Irh7gyFj+N7+UZzM0L6g8I=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20200117160349-530e935923ad/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20200406173513-056763e48d71 h1:DOmugCavvUtnUD114C1Wh+UgTgQZ4pMLzXxi1pSt+/Y=
-golang.org/x/crypto v0.0.0-20200406173513-056763e48d71/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 h1:umElSU9WZirRdgu2yFHY0ayQkEnKiOC1TtM3fWXFnoU=
+golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa h1:F+8P+gmewFQYRk6JoLQLwjBCTu3mcIURZfNkVweuRKA=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
-golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/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-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200620081246-981b61492c35 h1:wb/9mP8eUAmHfkM8RmpeLq6nUA7c2i5+bQOtcDftjaE=
-golang.org/x/sys v0.0.0-20200620081246-981b61492c35/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
[calcite-avatica-go] 02/04: [CALCITE-5057] Switch from github.com/golang/protobuf to google.golang.org/protobuf
Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit 9e69b48a6d7d16fe1edf1ce071e79cc0b4590713
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Mar 23 15:20:33 2022 +1100
[CALCITE-5057] Switch from github.com/golang/protobuf to google.golang.org/protobuf
---
class_mappings.go | 2 +-
docker-compose.yml | 7 +-
docker.sh | 17 +-
go.mod | 5 +-
go.sum | 23 +-
http_client.go | 2 +-
message/common.pb.go | 2850 +++++++++++++++++++++++++++++------------------
message/requests.pb.go | 2393 +++++++++++++++++++++++++--------------
message/responses.pb.go | 1811 +++++++++++++++++++-----------
9 files changed, 4514 insertions(+), 2596 deletions(-)
diff --git a/class_mappings.go b/class_mappings.go
index b2331c1..95fa153 100644
--- a/class_mappings.go
+++ b/class_mappings.go
@@ -21,8 +21,8 @@ import (
"strings"
avaticaMessage "github.com/apache/calcite-avatica-go/v5/message"
- "github.com/golang/protobuf/proto"
"golang.org/x/xerrors"
+ "google.golang.org/protobuf/proto"
)
const (
diff --git a/docker-compose.yml b/docker-compose.yml
index 4203fcf..fcd41f0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -88,13 +88,12 @@ services:
- .:/source
compile-protobuf:
- image: golang:1.18-alpine
+ image: golang:1.18
working_dir: /source
- command: sh -c "apk --no-cache --no-progress add bash; ./docker.sh compile-protobuf"
+ command: sh -c "./docker.sh compile-protobuf"
environment:
AVATICA_VERSION: 1.20.0
- PROTOBUF_VERSION: 3.12.3
- GLIBC_VERSION: 2.35-r0
+ PROTOBUF_VERSION: 3.19.4
volumes:
- .:/source
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
\ No newline at end of file
diff --git a/docker.sh b/docker.sh
index 4cad782..175d7dc 100755
--- a/docker.sh
+++ b/docker.sh
@@ -562,20 +562,10 @@ compile_protobuf(){
echo "The PROTOBUF_VERSION environment variable must be set to a valid protobuf version"
fi
- if [ -z "$GLIBC_VERSION" ]; then
- echo "The GLIBC_VERSION environment variable must be set to a valid protobuf version"
- fi
-
- apk --no-cache add ca-certificates git wget
-
- # Install glibc
- wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
- wget -q -O /tmp/glibc.apk https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk
- apk add /tmp/glibc.apk
-
+ apt update && apt install unzip
# Install go protobuf compiler
- go install github.com/golang/protobuf/protoc-gen-go
+ go install google.golang.org/protobuf/cmd/protoc-gen-go
# Install protoc
mkdir -p /tmp/protoc
@@ -597,7 +587,8 @@ compile_protobuf(){
git checkout FETCH_HEAD
# Compile the protobuf
- protoc --proto_path=/tmp/avatica/core/src/main/protobuf --go_out=import_path=message:/source/message/ /tmp/avatica/core/src/main/protobuf/*.proto
+ GITHUB_PACKAGE=github.com/apache/calcite-avatica-go
+ protoc --proto_path=/tmp/avatica/core/src/main/protobuf --go_out=/source --go_opt=module=$GITHUB_PACKAGE --go_opt=Mcommon.proto=$GITHUB_PACKAGE/message --go_opt=Mrequests.proto=$GITHUB_PACKAGE/message --go_opt=Mresponses.proto=$GITHUB_PACKAGE/message /tmp/avatica/core/src/main/protobuf/*.proto
echo "Protobuf compiled successfully"
}
diff --git a/go.mod b/go.mod
index 5fc76e0..ea15a26 100644
--- a/go.mod
+++ b/go.mod
@@ -4,17 +4,14 @@ go 1.12
require (
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
- github.com/fatih/color v1.9.0 // indirect
- github.com/golang/protobuf v1.3.5
github.com/hashicorp/go-uuid v1.0.2
github.com/jcmturner/gokrb5/v8 v8.4.0
github.com/mattn/go-colorable v0.1.6 // indirect
- github.com/pkg/errors v0.9.1 // indirect
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f
- github.com/urfave/cli v1.22.4 // indirect
github.com/xinsnake/go-http-digest-auth-client v0.6.0
golang.org/x/crypto v0.0.0-20200406173513-056763e48d71 // indirect
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/sys v0.0.0-20200620081246-981b61492c35 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
+ google.golang.org/protobuf v1.28.0
)
diff --git a/go.sum b/go.sum
index cd7b60b..1081034 100644
--- a/go.sum
+++ b/go.sum
@@ -1,18 +1,16 @@
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
-github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w=
-github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
-github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls=
-github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
+github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
+github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
github.com/gorilla/sessions v1.2.0 h1:S7P+1Hm5V/AT9cjEcUD5uDaQSX0OE577aCXgoaKpYbQ=
@@ -27,18 +25,14 @@ github.com/jcmturner/gofork v1.0.0 h1:J7uCkflzTEhUZ64xqKnkDxq3kzc96ajM1Gli5ktUem
github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o=
github.com/jcmturner/goidentity/v6 v6.0.1 h1:VKnZd2oEIMorCTsFBnJWbExfNN7yZr3EhJAxwOkZg6o=
github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg=
-github.com/jcmturner/gokrb5/v8 v8.3.0 h1:+a/zAxqOO5Ljb5UGIUMOnxf5u6kMh9gWqOG67KBICK8=
-github.com/jcmturner/gokrb5/v8 v8.3.0/go.mod h1:T1hnNppQsBtxW0tCHMHTkAt8n/sABdzZgZdoFrZaZNM=
github.com/jcmturner/gokrb5/v8 v8.4.0 h1:YhIMzzOSd/9kE5+SahL3m8ygGWE6cB1lKKYYEqpo1hc=
github.com/jcmturner/gokrb5/v8 v8.4.0/go.mod h1:T1hnNppQsBtxW0tCHMHTkAt8n/sABdzZgZdoFrZaZNM=
github.com/jcmturner/rpc/v2 v2.0.2 h1:gMB4IwRXYsWw4Bc6o/az2HJgFUA1ffSh90i26ZJ6Xl0=
github.com/jcmturner/rpc/v2 v2.0.2/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc=
-github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
-github.com/mattn/go-isatty v0.0.11 h1:FxPOTFNqGkuDUGi3H/qkUbQO4ZiBa2brKq5r0l8TGeM=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
@@ -53,14 +47,10 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
-github.com/unchartedsoftware/witch v0.0.0-20200123142624-1dcdd0f1305a h1:zW6oVPPtjFj6XVwvLAhVoqempFyU6LydU44Aq9Axd5o=
-github.com/unchartedsoftware/witch v0.0.0-20200123142624-1dcdd0f1305a/go.mod h1:5bV99NgmPAuHXEZRWM2S4q57lRcuVQUrXRRA3FY19Tg=
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f h1:CfRRJzp88GWCAR3+GrJ/slqrbhCqesDRY/FmT6s4uF8=
github.com/unchartedsoftware/witch v0.0.0-20200617171400-4f405404126f/go.mod h1:xN7cr17jYCNJzZO78A4c0BcspGPbSAdFNq1NfDEE2do=
github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
-github.com/xinsnake/go-http-digest-auth-client v0.4.0 h1:tTaEBUSDiMi7RDIuj0fy/pszIub8g2DmLjTelB3/3Tk=
-github.com/xinsnake/go-http-digest-auth-client v0.4.0/go.mod h1:QK1t1v7ylyGb363vGWu+6Irh7gyFj+N7+UZzM0L6g8I=
github.com/xinsnake/go-http-digest-auth-client v0.6.0 h1:nrYFWDrB2F7VwYlNravXZS0nOtg9axlATH3Jns55/F0=
github.com/xinsnake/go-http-digest-auth-client v0.6.0/go.mod h1:QK1t1v7ylyGb363vGWu+6Irh7gyFj+N7+UZzM0L6g8I=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
@@ -68,25 +58,24 @@ golang.org/x/crypto v0.0.0-20200117160349-530e935923ad/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20200406173513-056763e48d71 h1:DOmugCavvUtnUD114C1Wh+UgTgQZ4pMLzXxi1pSt+/Y=
golang.org/x/crypto v0.0.0-20200406173513-056763e48d71/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa h1:F+8P+gmewFQYRk6JoLQLwjBCTu3mcIURZfNkVweuRKA=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/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-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200408040146-ea54a3c99b9b h1:h03Ur1RlPrGTjua4koYdpGl8W0eYo8p1uI9w7RPlkdk=
-golang.org/x/sys v0.0.0-20200408040146-ea54a3c99b9b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200620081246-981b61492c35 h1:wb/9mP8eUAmHfkM8RmpeLq6nUA7c2i5+bQOtcDftjaE=
golang.org/x/sys v0.0.0-20200620081246-981b61492c35/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
+google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
+google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
diff --git a/http_client.go b/http_client.go
index 8894f81..97da4df 100644
--- a/http_client.go
+++ b/http_client.go
@@ -30,8 +30,8 @@ import (
"time"
avaticaMessage "github.com/apache/calcite-avatica-go/v5/message"
- "github.com/golang/protobuf/proto"
"golang.org/x/xerrors"
+ "google.golang.org/protobuf/proto"
)
var (
diff --git a/message/common.pb.go b/message/common.pb.go
index 76b69c2..c59ef5b 100644
--- a/message/common.pb.go
+++ b/message/common.pb.go
@@ -1,24 +1,40 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to you under the Apache License, Version 2.0
+// (the "License"); 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.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.28.0
+// protoc v3.19.4
// source: common.proto
package message
import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
+ 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.ProtoPackageIsVersion3 // 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)
+)
// Has to be consistent with Meta.StatementType
type StatementType int32
@@ -38,42 +54,63 @@ const (
StatementType_CALL StatementType = 11
)
-var StatementType_name = map[int32]string{
- 0: "SELECT",
- 1: "INSERT",
- 2: "UPDATE",
- 3: "DELETE",
- 4: "UPSERT",
- 5: "MERGE",
- 6: "OTHER_DML",
- 7: "CREATE",
- 8: "DROP",
- 9: "ALTER",
- 10: "OTHER_DDL",
- 11: "CALL",
-}
-
-var StatementType_value = map[string]int32{
- "SELECT": 0,
- "INSERT": 1,
- "UPDATE": 2,
- "DELETE": 3,
- "UPSERT": 4,
- "MERGE": 5,
- "OTHER_DML": 6,
- "CREATE": 7,
- "DROP": 8,
- "ALTER": 9,
- "OTHER_DDL": 10,
- "CALL": 11,
+// Enum value maps for StatementType.
+var (
+ StatementType_name = map[int32]string{
+ 0: "SELECT",
+ 1: "INSERT",
+ 2: "UPDATE",
+ 3: "DELETE",
+ 4: "UPSERT",
+ 5: "MERGE",
+ 6: "OTHER_DML",
+ 7: "CREATE",
+ 8: "DROP",
+ 9: "ALTER",
+ 10: "OTHER_DDL",
+ 11: "CALL",
+ }
+ StatementType_value = map[string]int32{
+ "SELECT": 0,
+ "INSERT": 1,
+ "UPDATE": 2,
+ "DELETE": 3,
+ "UPSERT": 4,
+ "MERGE": 5,
+ "OTHER_DML": 6,
+ "CREATE": 7,
+ "DROP": 8,
+ "ALTER": 9,
+ "OTHER_DDL": 10,
+ "CALL": 11,
+ }
+)
+
+func (x StatementType) Enum() *StatementType {
+ p := new(StatementType)
+ *p = x
+ return p
}
func (x StatementType) String() string {
- return proto.EnumName(StatementType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
+func (StatementType) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[0].Descriptor()
+}
+
+func (StatementType) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[0]
+}
+
+func (x StatementType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use StatementType.Descriptor instead.
func (StatementType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{0}
+ return file_common_proto_rawDescGZIP(), []int{0}
}
type Rep int32
@@ -111,78 +148,99 @@ const (
Rep_MULTISET Rep = 29
)
-var Rep_name = map[int32]string{
- 0: "PRIMITIVE_BOOLEAN",
- 1: "PRIMITIVE_BYTE",
- 2: "PRIMITIVE_CHAR",
- 3: "PRIMITIVE_SHORT",
- 4: "PRIMITIVE_INT",
- 5: "PRIMITIVE_LONG",
- 6: "PRIMITIVE_FLOAT",
- 7: "PRIMITIVE_DOUBLE",
- 8: "BOOLEAN",
- 9: "BYTE",
- 10: "CHARACTER",
- 11: "SHORT",
- 12: "INTEGER",
- 13: "LONG",
- 14: "FLOAT",
- 15: "DOUBLE",
- 25: "BIG_INTEGER",
- 26: "BIG_DECIMAL",
- 16: "JAVA_SQL_TIME",
- 17: "JAVA_SQL_TIMESTAMP",
- 18: "JAVA_SQL_DATE",
- 19: "JAVA_UTIL_DATE",
- 20: "BYTE_STRING",
- 21: "STRING",
- 22: "NUMBER",
- 23: "OBJECT",
- 24: "NULL",
- 27: "ARRAY",
- 28: "STRUCT",
- 29: "MULTISET",
-}
-
-var Rep_value = map[string]int32{
- "PRIMITIVE_BOOLEAN": 0,
- "PRIMITIVE_BYTE": 1,
- "PRIMITIVE_CHAR": 2,
- "PRIMITIVE_SHORT": 3,
- "PRIMITIVE_INT": 4,
- "PRIMITIVE_LONG": 5,
- "PRIMITIVE_FLOAT": 6,
- "PRIMITIVE_DOUBLE": 7,
- "BOOLEAN": 8,
- "BYTE": 9,
- "CHARACTER": 10,
- "SHORT": 11,
- "INTEGER": 12,
- "LONG": 13,
- "FLOAT": 14,
- "DOUBLE": 15,
- "BIG_INTEGER": 25,
- "BIG_DECIMAL": 26,
- "JAVA_SQL_TIME": 16,
- "JAVA_SQL_TIMESTAMP": 17,
- "JAVA_SQL_DATE": 18,
- "JAVA_UTIL_DATE": 19,
- "BYTE_STRING": 20,
- "STRING": 21,
- "NUMBER": 22,
- "OBJECT": 23,
- "NULL": 24,
- "ARRAY": 27,
- "STRUCT": 28,
- "MULTISET": 29,
+// Enum value maps for Rep.
+var (
+ Rep_name = map[int32]string{
+ 0: "PRIMITIVE_BOOLEAN",
+ 1: "PRIMITIVE_BYTE",
+ 2: "PRIMITIVE_CHAR",
+ 3: "PRIMITIVE_SHORT",
+ 4: "PRIMITIVE_INT",
+ 5: "PRIMITIVE_LONG",
+ 6: "PRIMITIVE_FLOAT",
+ 7: "PRIMITIVE_DOUBLE",
+ 8: "BOOLEAN",
+ 9: "BYTE",
+ 10: "CHARACTER",
+ 11: "SHORT",
+ 12: "INTEGER",
+ 13: "LONG",
+ 14: "FLOAT",
+ 15: "DOUBLE",
+ 25: "BIG_INTEGER",
+ 26: "BIG_DECIMAL",
+ 16: "JAVA_SQL_TIME",
+ 17: "JAVA_SQL_TIMESTAMP",
+ 18: "JAVA_SQL_DATE",
+ 19: "JAVA_UTIL_DATE",
+ 20: "BYTE_STRING",
+ 21: "STRING",
+ 22: "NUMBER",
+ 23: "OBJECT",
+ 24: "NULL",
+ 27: "ARRAY",
+ 28: "STRUCT",
+ 29: "MULTISET",
+ }
+ Rep_value = map[string]int32{
+ "PRIMITIVE_BOOLEAN": 0,
+ "PRIMITIVE_BYTE": 1,
+ "PRIMITIVE_CHAR": 2,
+ "PRIMITIVE_SHORT": 3,
+ "PRIMITIVE_INT": 4,
+ "PRIMITIVE_LONG": 5,
+ "PRIMITIVE_FLOAT": 6,
+ "PRIMITIVE_DOUBLE": 7,
+ "BOOLEAN": 8,
+ "BYTE": 9,
+ "CHARACTER": 10,
+ "SHORT": 11,
+ "INTEGER": 12,
+ "LONG": 13,
+ "FLOAT": 14,
+ "DOUBLE": 15,
+ "BIG_INTEGER": 25,
+ "BIG_DECIMAL": 26,
+ "JAVA_SQL_TIME": 16,
+ "JAVA_SQL_TIMESTAMP": 17,
+ "JAVA_SQL_DATE": 18,
+ "JAVA_UTIL_DATE": 19,
+ "BYTE_STRING": 20,
+ "STRING": 21,
+ "NUMBER": 22,
+ "OBJECT": 23,
+ "NULL": 24,
+ "ARRAY": 27,
+ "STRUCT": 28,
+ "MULTISET": 29,
+ }
+)
+
+func (x Rep) Enum() *Rep {
+ p := new(Rep)
+ *p = x
+ return p
}
func (x Rep) String() string {
- return proto.EnumName(Rep_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (Rep) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[1].Descriptor()
+}
+
+func (Rep) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[1]
+}
+
+func (x Rep) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
+// Deprecated: Use Rep.Descriptor instead.
func (Rep) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{1}
+ return file_common_proto_rawDescGZIP(), []int{1}
}
// The severity of some unexpected outcome to an operation.
@@ -196,26 +254,47 @@ const (
Severity_WARNING_SEVERITY Severity = 3
)
-var Severity_name = map[int32]string{
- 0: "UNKNOWN_SEVERITY",
- 1: "FATAL_SEVERITY",
- 2: "ERROR_SEVERITY",
- 3: "WARNING_SEVERITY",
-}
+// Enum value maps for Severity.
+var (
+ Severity_name = map[int32]string{
+ 0: "UNKNOWN_SEVERITY",
+ 1: "FATAL_SEVERITY",
+ 2: "ERROR_SEVERITY",
+ 3: "WARNING_SEVERITY",
+ }
+ Severity_value = map[string]int32{
+ "UNKNOWN_SEVERITY": 0,
+ "FATAL_SEVERITY": 1,
+ "ERROR_SEVERITY": 2,
+ "WARNING_SEVERITY": 3,
+ }
+)
-var Severity_value = map[string]int32{
- "UNKNOWN_SEVERITY": 0,
- "FATAL_SEVERITY": 1,
- "ERROR_SEVERITY": 2,
- "WARNING_SEVERITY": 3,
+func (x Severity) Enum() *Severity {
+ p := new(Severity)
+ *p = x
+ return p
}
func (x Severity) String() string {
- return proto.EnumName(Severity_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (Severity) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[2].Descriptor()
+}
+
+func (Severity) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[2]
+}
+
+func (x Severity) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
+// Deprecated: Use Severity.Descriptor instead.
func (Severity) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{2}
+ return file_common_proto_rawDescGZIP(), []int{2}
}
// Enumeration corresponding to DatabaseMetaData operations
@@ -250,70 +329,91 @@ const (
MetaDataOperation_GET_VERSION_COLUMNS MetaDataOperation = 25
)
-var MetaDataOperation_name = map[int32]string{
- 0: "GET_ATTRIBUTES",
- 1: "GET_BEST_ROW_IDENTIFIER",
- 2: "GET_CATALOGS",
- 3: "GET_CLIENT_INFO_PROPERTIES",
- 4: "GET_COLUMN_PRIVILEGES",
- 5: "GET_COLUMNS",
- 6: "GET_CROSS_REFERENCE",
- 7: "GET_EXPORTED_KEYS",
- 8: "GET_FUNCTION_COLUMNS",
- 9: "GET_FUNCTIONS",
- 10: "GET_IMPORTED_KEYS",
- 11: "GET_INDEX_INFO",
- 12: "GET_PRIMARY_KEYS",
- 13: "GET_PROCEDURE_COLUMNS",
- 14: "GET_PROCEDURES",
- 15: "GET_PSEUDO_COLUMNS",
- 16: "GET_SCHEMAS",
- 17: "GET_SCHEMAS_WITH_ARGS",
- 18: "GET_SUPER_TABLES",
- 19: "GET_SUPER_TYPES",
- 20: "GET_TABLE_PRIVILEGES",
- 21: "GET_TABLES",
- 22: "GET_TABLE_TYPES",
- 23: "GET_TYPE_INFO",
- 24: "GET_UDTS",
- 25: "GET_VERSION_COLUMNS",
-}
-
-var MetaDataOperation_value = map[string]int32{
- "GET_ATTRIBUTES": 0,
- "GET_BEST_ROW_IDENTIFIER": 1,
- "GET_CATALOGS": 2,
- "GET_CLIENT_INFO_PROPERTIES": 3,
- "GET_COLUMN_PRIVILEGES": 4,
- "GET_COLUMNS": 5,
- "GET_CROSS_REFERENCE": 6,
- "GET_EXPORTED_KEYS": 7,
- "GET_FUNCTION_COLUMNS": 8,
- "GET_FUNCTIONS": 9,
- "GET_IMPORTED_KEYS": 10,
- "GET_INDEX_INFO": 11,
- "GET_PRIMARY_KEYS": 12,
- "GET_PROCEDURE_COLUMNS": 13,
- "GET_PROCEDURES": 14,
- "GET_PSEUDO_COLUMNS": 15,
- "GET_SCHEMAS": 16,
- "GET_SCHEMAS_WITH_ARGS": 17,
- "GET_SUPER_TABLES": 18,
- "GET_SUPER_TYPES": 19,
- "GET_TABLE_PRIVILEGES": 20,
- "GET_TABLES": 21,
- "GET_TABLE_TYPES": 22,
- "GET_TYPE_INFO": 23,
- "GET_UDTS": 24,
- "GET_VERSION_COLUMNS": 25,
+// Enum value maps for MetaDataOperation.
+var (
+ MetaDataOperation_name = map[int32]string{
+ 0: "GET_ATTRIBUTES",
+ 1: "GET_BEST_ROW_IDENTIFIER",
+ 2: "GET_CATALOGS",
+ 3: "GET_CLIENT_INFO_PROPERTIES",
+ 4: "GET_COLUMN_PRIVILEGES",
+ 5: "GET_COLUMNS",
+ 6: "GET_CROSS_REFERENCE",
+ 7: "GET_EXPORTED_KEYS",
+ 8: "GET_FUNCTION_COLUMNS",
+ 9: "GET_FUNCTIONS",
+ 10: "GET_IMPORTED_KEYS",
+ 11: "GET_INDEX_INFO",
+ 12: "GET_PRIMARY_KEYS",
+ 13: "GET_PROCEDURE_COLUMNS",
+ 14: "GET_PROCEDURES",
+ 15: "GET_PSEUDO_COLUMNS",
+ 16: "GET_SCHEMAS",
+ 17: "GET_SCHEMAS_WITH_ARGS",
+ 18: "GET_SUPER_TABLES",
+ 19: "GET_SUPER_TYPES",
+ 20: "GET_TABLE_PRIVILEGES",
+ 21: "GET_TABLES",
+ 22: "GET_TABLE_TYPES",
+ 23: "GET_TYPE_INFO",
+ 24: "GET_UDTS",
+ 25: "GET_VERSION_COLUMNS",
+ }
+ MetaDataOperation_value = map[string]int32{
+ "GET_ATTRIBUTES": 0,
+ "GET_BEST_ROW_IDENTIFIER": 1,
+ "GET_CATALOGS": 2,
+ "GET_CLIENT_INFO_PROPERTIES": 3,
+ "GET_COLUMN_PRIVILEGES": 4,
+ "GET_COLUMNS": 5,
+ "GET_CROSS_REFERENCE": 6,
+ "GET_EXPORTED_KEYS": 7,
+ "GET_FUNCTION_COLUMNS": 8,
+ "GET_FUNCTIONS": 9,
+ "GET_IMPORTED_KEYS": 10,
+ "GET_INDEX_INFO": 11,
+ "GET_PRIMARY_KEYS": 12,
+ "GET_PROCEDURE_COLUMNS": 13,
+ "GET_PROCEDURES": 14,
+ "GET_PSEUDO_COLUMNS": 15,
+ "GET_SCHEMAS": 16,
+ "GET_SCHEMAS_WITH_ARGS": 17,
+ "GET_SUPER_TABLES": 18,
+ "GET_SUPER_TYPES": 19,
+ "GET_TABLE_PRIVILEGES": 20,
+ "GET_TABLES": 21,
+ "GET_TABLE_TYPES": 22,
+ "GET_TYPE_INFO": 23,
+ "GET_UDTS": 24,
+ "GET_VERSION_COLUMNS": 25,
+ }
+)
+
+func (x MetaDataOperation) Enum() *MetaDataOperation {
+ p := new(MetaDataOperation)
+ *p = x
+ return p
}
func (x MetaDataOperation) String() string {
- return proto.EnumName(MetaDataOperation_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (MetaDataOperation) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[3].Descriptor()
}
+func (MetaDataOperation) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[3]
+}
+
+func (x MetaDataOperation) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use MetaDataOperation.Descriptor instead.
func (MetaDataOperation) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{3}
+ return file_common_proto_rawDescGZIP(), []int{3}
}
type StateType int32
@@ -323,22 +423,43 @@ const (
StateType_METADATA StateType = 1
)
-var StateType_name = map[int32]string{
- 0: "SQL",
- 1: "METADATA",
-}
+// Enum value maps for StateType.
+var (
+ StateType_name = map[int32]string{
+ 0: "SQL",
+ 1: "METADATA",
+ }
+ StateType_value = map[string]int32{
+ "SQL": 0,
+ "METADATA": 1,
+ }
+)
-var StateType_value = map[string]int32{
- "SQL": 0,
- "METADATA": 1,
+func (x StateType) Enum() *StateType {
+ p := new(StateType)
+ *p = x
+ return p
}
func (x StateType) String() string {
- return proto.EnumName(StateType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (StateType) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[4].Descriptor()
+}
+
+func (StateType) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[4]
+}
+
+func (x StateType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
}
+// Deprecated: Use StateType.Descriptor instead.
func (StateType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{4}
+ return file_common_proto_rawDescGZIP(), []int{4}
}
type CursorFactory_Style int32
@@ -352,30 +473,51 @@ const (
CursorFactory_MAP CursorFactory_Style = 5
)
-var CursorFactory_Style_name = map[int32]string{
- 0: "OBJECT",
- 1: "RECORD",
- 2: "RECORD_PROJECTION",
- 3: "ARRAY",
- 4: "LIST",
- 5: "MAP",
-}
+// Enum value maps for CursorFactory_Style.
+var (
+ CursorFactory_Style_name = map[int32]string{
+ 0: "OBJECT",
+ 1: "RECORD",
+ 2: "RECORD_PROJECTION",
+ 3: "ARRAY",
+ 4: "LIST",
+ 5: "MAP",
+ }
+ CursorFactory_Style_value = map[string]int32{
+ "OBJECT": 0,
+ "RECORD": 1,
+ "RECORD_PROJECTION": 2,
+ "ARRAY": 3,
+ "LIST": 4,
+ "MAP": 5,
+ }
+)
-var CursorFactory_Style_value = map[string]int32{
- "OBJECT": 0,
- "RECORD": 1,
- "RECORD_PROJECTION": 2,
- "ARRAY": 3,
- "LIST": 4,
- "MAP": 5,
+func (x CursorFactory_Style) Enum() *CursorFactory_Style {
+ p := new(CursorFactory_Style)
+ *p = x
+ return p
}
func (x CursorFactory_Style) String() string {
- return proto.EnumName(CursorFactory_Style_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (CursorFactory_Style) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[5].Descriptor()
+}
+
+func (CursorFactory_Style) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[5]
}
+func (x CursorFactory_Style) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use CursorFactory_Style.Descriptor instead.
func (CursorFactory_Style) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{6, 0}
+ return file_common_proto_rawDescGZIP(), []int{6, 0}
}
type MetaDataOperationArgument_ArgumentType int32
@@ -389,1368 +531,1914 @@ const (
MetaDataOperationArgument_NULL MetaDataOperationArgument_ArgumentType = 5
)
-var MetaDataOperationArgument_ArgumentType_name = map[int32]string{
- 0: "STRING",
- 1: "BOOL",
- 2: "INT",
- 3: "REPEATED_STRING",
- 4: "REPEATED_INT",
- 5: "NULL",
-}
+// Enum value maps for MetaDataOperationArgument_ArgumentType.
+var (
+ MetaDataOperationArgument_ArgumentType_name = map[int32]string{
+ 0: "STRING",
+ 1: "BOOL",
+ 2: "INT",
+ 3: "REPEATED_STRING",
+ 4: "REPEATED_INT",
+ 5: "NULL",
+ }
+ MetaDataOperationArgument_ArgumentType_value = map[string]int32{
+ "STRING": 0,
+ "BOOL": 1,
+ "INT": 2,
+ "REPEATED_STRING": 3,
+ "REPEATED_INT": 4,
+ "NULL": 5,
+ }
+)
-var MetaDataOperationArgument_ArgumentType_value = map[string]int32{
- "STRING": 0,
- "BOOL": 1,
- "INT": 2,
- "REPEATED_STRING": 3,
- "REPEATED_INT": 4,
- "NULL": 5,
+func (x MetaDataOperationArgument_ArgumentType) Enum() *MetaDataOperationArgument_ArgumentType {
+ p := new(MetaDataOperationArgument_ArgumentType)
+ *p = x
+ return p
}
func (x MetaDataOperationArgument_ArgumentType) String() string {
- return proto.EnumName(MetaDataOperationArgument_ArgumentType_name, int32(x))
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (MetaDataOperationArgument_ArgumentType) Descriptor() protoreflect.EnumDescriptor {
+ return file_common_proto_enumTypes[6].Descriptor()
}
+func (MetaDataOperationArgument_ArgumentType) Type() protoreflect.EnumType {
+ return &file_common_proto_enumTypes[6]
+}
+
+func (x MetaDataOperationArgument_ArgumentType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use MetaDataOperationArgument_ArgumentType.Descriptor instead.
func (MetaDataOperationArgument_ArgumentType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{13, 0}
+ return file_common_proto_rawDescGZIP(), []int{13, 0}
}
// Details about a connection
type ConnectionProperties struct {
- IsDirty bool `protobuf:"varint,1,opt,name=is_dirty,json=isDirty,proto3" json:"is_dirty,omitempty"`
- AutoCommit bool `protobuf:"varint,2,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
- HasAutoCommit bool `protobuf:"varint,7,opt,name=has_auto_commit,json=hasAutoCommit,proto3" json:"has_auto_commit,omitempty"`
- ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- HasReadOnly bool `protobuf:"varint,8,opt,name=has_read_only,json=hasReadOnly,proto3" json:"has_read_only,omitempty"`
- TransactionIsolation uint32 `protobuf:"varint,4,opt,name=transaction_isolation,json=transactionIsolation,proto3" json:"transaction_isolation,omitempty"`
- Catalog string `protobuf:"bytes,5,opt,name=catalog,proto3" json:"catalog,omitempty"`
- Schema string `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ConnectionProperties) Reset() { *m = ConnectionProperties{} }
-func (m *ConnectionProperties) String() string { return proto.CompactTextString(m) }
-func (*ConnectionProperties) ProtoMessage() {}
-func (*ConnectionProperties) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{0}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ConnectionProperties) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConnectionProperties.Unmarshal(m, b)
-}
-func (m *ConnectionProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConnectionProperties.Marshal(b, m, deterministic)
+ IsDirty bool `protobuf:"varint,1,opt,name=is_dirty,json=isDirty,proto3" json:"is_dirty,omitempty"`
+ AutoCommit bool `protobuf:"varint,2,opt,name=auto_commit,json=autoCommit,proto3" json:"auto_commit,omitempty"`
+ HasAutoCommit bool `protobuf:"varint,7,opt,name=has_auto_commit,json=hasAutoCommit,proto3" json:"has_auto_commit,omitempty"` // field is a Boolean, need to discern null and default value
+ ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
+ HasReadOnly bool `protobuf:"varint,8,opt,name=has_read_only,json=hasReadOnly,proto3" json:"has_read_only,omitempty"` // field is a Boolean, need to discern null and default value
+ TransactionIsolation uint32 `protobuf:"varint,4,opt,name=transaction_isolation,json=transactionIsolation,proto3" json:"transaction_isolation,omitempty"`
+ Catalog string `protobuf:"bytes,5,opt,name=catalog,proto3" json:"catalog,omitempty"`
+ Schema string `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
}
-func (m *ConnectionProperties) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConnectionProperties.Merge(m, src)
+
+func (x *ConnectionProperties) Reset() {
+ *x = ConnectionProperties{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ConnectionProperties) XXX_Size() int {
- return xxx_messageInfo_ConnectionProperties.Size(m)
+
+func (x *ConnectionProperties) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ConnectionProperties) XXX_DiscardUnknown() {
- xxx_messageInfo_ConnectionProperties.DiscardUnknown(m)
+
+func (*ConnectionProperties) ProtoMessage() {}
+
+func (x *ConnectionProperties) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && 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_ConnectionProperties proto.InternalMessageInfo
+// Deprecated: Use ConnectionProperties.ProtoReflect.Descriptor instead.
+func (*ConnectionProperties) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{0}
+}
-func (m *ConnectionProperties) GetIsDirty() bool {
- if m != nil {
- return m.IsDirty
+func (x *ConnectionProperties) GetIsDirty() bool {
+ if x != nil {
+ return x.IsDirty
}
return false
}
-func (m *ConnectionProperties) GetAutoCommit() bool {
- if m != nil {
- return m.AutoCommit
+func (x *ConnectionProperties) GetAutoCommit() bool {
+ if x != nil {
+ return x.AutoCommit
}
return false
}
-func (m *ConnectionProperties) GetHasAutoCommit() bool {
- if m != nil {
- return m.HasAutoCommit
+func (x *ConnectionProperties) GetHasAutoCommit() bool {
+ if x != nil {
+ return x.HasAutoCommit
}
return false
}
-func (m *ConnectionProperties) GetReadOnly() bool {
- if m != nil {
- return m.ReadOnly
+func (x *ConnectionProperties) GetReadOnly() bool {
+ if x != nil {
+ return x.ReadOnly
}
return false
}
-func (m *ConnectionProperties) GetHasReadOnly() bool {
- if m != nil {
- return m.HasReadOnly
+func (x *ConnectionProperties) GetHasReadOnly() bool {
+ if x != nil {
+ return x.HasReadOnly
}
return false
}
-func (m *ConnectionProperties) GetTransactionIsolation() uint32 {
- if m != nil {
- return m.TransactionIsolation
+func (x *ConnectionProperties) GetTransactionIsolation() uint32 {
+ if x != nil {
+ return x.TransactionIsolation
}
return 0
}
-func (m *ConnectionProperties) GetCatalog() string {
- if m != nil {
- return m.Catalog
+func (x *ConnectionProperties) GetCatalog() string {
+ if x != nil {
+ return x.Catalog
}
return ""
}
-func (m *ConnectionProperties) GetSchema() string {
- if m != nil {
- return m.Schema
+func (x *ConnectionProperties) GetSchema() string {
+ if x != nil {
+ return x.Schema
}
return ""
}
// Statement handle
type StatementHandle struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
- Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *StatementHandle) Reset() { *m = StatementHandle{} }
-func (m *StatementHandle) String() string { return proto.CompactTextString(m) }
-func (*StatementHandle) ProtoMessage() {}
-func (*StatementHandle) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{1}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
+ Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
-func (m *StatementHandle) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StatementHandle.Unmarshal(m, b)
-}
-func (m *StatementHandle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StatementHandle.Marshal(b, m, deterministic)
-}
-func (m *StatementHandle) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StatementHandle.Merge(m, src)
+func (x *StatementHandle) Reset() {
+ *x = StatementHandle{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *StatementHandle) XXX_Size() int {
- return xxx_messageInfo_StatementHandle.Size(m)
+
+func (x *StatementHandle) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *StatementHandle) XXX_DiscardUnknown() {
- xxx_messageInfo_StatementHandle.DiscardUnknown(m)
+
+func (*StatementHandle) ProtoMessage() {}
+
+func (x *StatementHandle) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && 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_StatementHandle proto.InternalMessageInfo
+// Deprecated: Use StatementHandle.ProtoReflect.Descriptor instead.
+func (*StatementHandle) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{1}
+}
-func (m *StatementHandle) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *StatementHandle) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *StatementHandle) GetId() uint32 {
- if m != nil {
- return m.Id
+func (x *StatementHandle) GetId() uint32 {
+ if x != nil {
+ return x.Id
}
return 0
}
-func (m *StatementHandle) GetSignature() *Signature {
- if m != nil {
- return m.Signature
+func (x *StatementHandle) GetSignature() *Signature {
+ if x != nil {
+ return x.Signature
}
return nil
}
// Results of preparing a statement
type Signature struct {
- Columns []*ColumnMetaData `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
- Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
- Parameters []*AvaticaParameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
- CursorFactory *CursorFactory `protobuf:"bytes,4,opt,name=cursor_factory,json=cursorFactory,proto3" json:"cursor_factory,omitempty"`
- StatementType StatementType `protobuf:"varint,5,opt,name=statementType,proto3,enum=StatementType" json:"statementType,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Signature) Reset() { *m = Signature{} }
-func (m *Signature) String() string { return proto.CompactTextString(m) }
-func (*Signature) ProtoMessage() {}
-func (*Signature) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{2}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *Signature) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Signature.Unmarshal(m, b)
+ Columns []*ColumnMetaData `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
+ Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
+ Parameters []*AvaticaParameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
+ CursorFactory *CursorFactory `protobuf:"bytes,4,opt,name=cursor_factory,json=cursorFactory,proto3" json:"cursor_factory,omitempty"`
+ StatementType StatementType `protobuf:"varint,5,opt,name=statementType,proto3,enum=StatementType" json:"statementType,omitempty"`
}
-func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Signature.Marshal(b, m, deterministic)
-}
-func (m *Signature) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Signature.Merge(m, src)
+
+func (x *Signature) Reset() {
+ *x = Signature{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *Signature) XXX_Size() int {
- return xxx_messageInfo_Signature.Size(m)
+
+func (x *Signature) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *Signature) XXX_DiscardUnknown() {
- xxx_messageInfo_Signature.DiscardUnknown(m)
+
+func (*Signature) ProtoMessage() {}
+
+func (x *Signature) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && 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_Signature proto.InternalMessageInfo
+// Deprecated: Use Signature.ProtoReflect.Descriptor instead.
+func (*Signature) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{2}
+}
-func (m *Signature) GetColumns() []*ColumnMetaData {
- if m != nil {
- return m.Columns
+func (x *Signature) GetColumns() []*ColumnMetaData {
+ if x != nil {
+ return x.Columns
}
return nil
}
-func (m *Signature) GetSql() string {
- if m != nil {
- return m.Sql
+func (x *Signature) GetSql() string {
+ if x != nil {
+ return x.Sql
}
return ""
}
-func (m *Signature) GetParameters() []*AvaticaParameter {
- if m != nil {
- return m.Parameters
+func (x *Signature) GetParameters() []*AvaticaParameter {
+ if x != nil {
+ return x.Parameters
}
return nil
}
-func (m *Signature) GetCursorFactory() *CursorFactory {
- if m != nil {
- return m.CursorFactory
+func (x *Signature) GetCursorFactory() *CursorFactory {
+ if x != nil {
+ return x.CursorFactory
}
return nil
}
-func (m *Signature) GetStatementType() StatementType {
- if m != nil {
- return m.StatementType
+func (x *Signature) GetStatementType() StatementType {
+ if x != nil {
+ return x.StatementType
}
return StatementType_SELECT
}
type ColumnMetaData struct {
- Ordinal uint32 `protobuf:"varint,1,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
- AutoIncrement bool `protobuf:"varint,2,opt,name=auto_increment,json=autoIncrement,proto3" json:"auto_increment,omitempty"`
- CaseSensitive bool `protobuf:"varint,3,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
- Searchable bool `protobuf:"varint,4,opt,name=searchable,proto3" json:"searchable,omitempty"`
- Currency bool `protobuf:"varint,5,opt,name=currency,proto3" json:"currency,omitempty"`
- Nullable uint32 `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
- Signed bool `protobuf:"varint,7,opt,name=signed,proto3" json:"signed,omitempty"`
- DisplaySize uint32 `protobuf:"varint,8,opt,name=display_size,json=displaySize,proto3" json:"display_size,omitempty"`
- Label string `protobuf:"bytes,9,opt,name=label,proto3" json:"label,omitempty"`
- ColumnName string `protobuf:"bytes,10,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
- SchemaName string `protobuf:"bytes,11,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
- Precision uint32 `protobuf:"varint,12,opt,name=precision,proto3" json:"precision,omitempty"`
- Scale uint32 `protobuf:"varint,13,opt,name=scale,proto3" json:"scale,omitempty"`
- TableName string `protobuf:"bytes,14,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
- CatalogName string `protobuf:"bytes,15,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"`
- ReadOnly bool `protobuf:"varint,16,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
- Writable bool `protobuf:"varint,17,opt,name=writable,proto3" json:"writable,omitempty"`
- DefinitelyWritable bool `protobuf:"varint,18,opt,name=definitely_writable,json=definitelyWritable,proto3" json:"definitely_writable,omitempty"`
- ColumnClassName string `protobuf:"bytes,19,opt,name=column_class_name,json=columnClassName,proto3" json:"column_class_name,omitempty"`
- Type *AvaticaType `protobuf:"bytes,20,opt,name=type,proto3" json:"type,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ColumnMetaData) Reset() { *m = ColumnMetaData{} }
-func (m *ColumnMetaData) String() string { return proto.CompactTextString(m) }
-func (*ColumnMetaData) ProtoMessage() {}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Ordinal uint32 `protobuf:"varint,1,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
+ AutoIncrement bool `protobuf:"varint,2,opt,name=auto_increment,json=autoIncrement,proto3" json:"auto_increment,omitempty"`
+ CaseSensitive bool `protobuf:"varint,3,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
+ Searchable bool `protobuf:"varint,4,opt,name=searchable,proto3" json:"searchable,omitempty"`
+ Currency bool `protobuf:"varint,5,opt,name=currency,proto3" json:"currency,omitempty"`
+ Nullable uint32 `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
+ Signed bool `protobuf:"varint,7,opt,name=signed,proto3" json:"signed,omitempty"`
+ DisplaySize uint32 `protobuf:"varint,8,opt,name=display_size,json=displaySize,proto3" json:"display_size,omitempty"`
+ Label string `protobuf:"bytes,9,opt,name=label,proto3" json:"label,omitempty"`
+ ColumnName string `protobuf:"bytes,10,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
+ SchemaName string `protobuf:"bytes,11,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
+ Precision uint32 `protobuf:"varint,12,opt,name=precision,proto3" json:"precision,omitempty"`
+ Scale uint32 `protobuf:"varint,13,opt,name=scale,proto3" json:"scale,omitempty"`
+ TableName string `protobuf:"bytes,14,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
+ CatalogName string `protobuf:"bytes,15,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"`
+ ReadOnly bool `protobuf:"varint,16,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
+ Writable bool `protobuf:"varint,17,opt,name=writable,proto3" json:"writable,omitempty"`
+ DefinitelyWritable bool `protobuf:"varint,18,opt,name=definitely_writable,json=definitelyWritable,proto3" json:"definitely_writable,omitempty"`
+ ColumnClassName string `protobuf:"bytes,19,opt,name=column_class_name,json=columnClassName,proto3" json:"column_class_name,omitempty"`
+ Type *AvaticaType `protobuf:"bytes,20,opt,name=type,proto3" json:"type,omitempty"`
+}
+
+func (x *ColumnMetaData) Reset() {
+ *x = ColumnMetaData{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ColumnMetaData) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ColumnMetaData) ProtoMessage() {}
+
+func (x *ColumnMetaData) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use ColumnMetaData.ProtoReflect.Descriptor instead.
func (*ColumnMetaData) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{3}
+ return file_common_proto_rawDescGZIP(), []int{3}
}
-func (m *ColumnMetaData) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ColumnMetaData.Unmarshal(m, b)
-}
-func (m *ColumnMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ColumnMetaData.Marshal(b, m, deterministic)
-}
-func (m *ColumnMetaData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ColumnMetaData.Merge(m, src)
-}
-func (m *ColumnMetaData) XXX_Size() int {
- return xxx_messageInfo_ColumnMetaData.Size(m)
-}
-func (m *ColumnMetaData) XXX_DiscardUnknown() {
- xxx_messageInfo_ColumnMetaData.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ColumnMetaData proto.InternalMessageInfo
-
-func (m *ColumnMetaData) GetOrdinal() uint32 {
- if m != nil {
- return m.Ordinal
+func (x *ColumnMetaData) GetOrdinal() uint32 {
+ if x != nil {
+ return x.Ordinal
}
return 0
}
-func (m *ColumnMetaData) GetAutoIncrement() bool {
- if m != nil {
- return m.AutoIncrement
+func (x *ColumnMetaData) GetAutoIncrement() bool {
+ if x != nil {
+ return x.AutoIncrement
}
return false
}
-func (m *ColumnMetaData) GetCaseSensitive() bool {
- if m != nil {
- return m.CaseSensitive
+func (x *ColumnMetaData) GetCaseSensitive() bool {
+ if x != nil {
+ return x.CaseSensitive
}
return false
}
-func (m *ColumnMetaData) GetSearchable() bool {
- if m != nil {
- return m.Searchable
+func (x *ColumnMetaData) GetSearchable() bool {
+ if x != nil {
+ return x.Searchable
}
return false
}
-func (m *ColumnMetaData) GetCurrency() bool {
- if m != nil {
- return m.Currency
+func (x *ColumnMetaData) GetCurrency() bool {
+ if x != nil {
+ return x.Currency
}
return false
}
-func (m *ColumnMetaData) GetNullable() uint32 {
- if m != nil {
- return m.Nullable
+func (x *ColumnMetaData) GetNullable() uint32 {
+ if x != nil {
+ return x.Nullable
}
return 0
}
-func (m *ColumnMetaData) GetSigned() bool {
- if m != nil {
- return m.Signed
+func (x *ColumnMetaData) GetSigned() bool {
+ if x != nil {
+ return x.Signed
}
return false
}
-func (m *ColumnMetaData) GetDisplaySize() uint32 {
- if m != nil {
- return m.DisplaySize
+func (x *ColumnMetaData) GetDisplaySize() uint32 {
+ if x != nil {
+ return x.DisplaySize
}
return 0
}
-func (m *ColumnMetaData) GetLabel() string {
- if m != nil {
- return m.Label
+func (x *ColumnMetaData) GetLabel() string {
+ if x != nil {
+ return x.Label
}
return ""
}
-func (m *ColumnMetaData) GetColumnName() string {
- if m != nil {
- return m.ColumnName
+func (x *ColumnMetaData) GetColumnName() string {
+ if x != nil {
+ return x.ColumnName
}
return ""
}
-func (m *ColumnMetaData) GetSchemaName() string {
- if m != nil {
- return m.SchemaName
+func (x *ColumnMetaData) GetSchemaName() string {
+ if x != nil {
+ return x.SchemaName
}
return ""
}
-func (m *ColumnMetaData) GetPrecision() uint32 {
- if m != nil {
- return m.Precision
+func (x *ColumnMetaData) GetPrecision() uint32 {
+ if x != nil {
+ return x.Precision
}
return 0
}
-func (m *ColumnMetaData) GetScale() uint32 {
- if m != nil {
- return m.Scale
+func (x *ColumnMetaData) GetScale() uint32 {
+ if x != nil {
+ return x.Scale
}
return 0
}
-func (m *ColumnMetaData) GetTableName() string {
- if m != nil {
- return m.TableName
+func (x *ColumnMetaData) GetTableName() string {
+ if x != nil {
+ return x.TableName
}
return ""
}
-func (m *ColumnMetaData) GetCatalogName() string {
- if m != nil {
- return m.CatalogName
+func (x *ColumnMetaData) GetCatalogName() string {
+ if x != nil {
+ return x.CatalogName
}
return ""
}
-func (m *ColumnMetaData) GetReadOnly() bool {
- if m != nil {
- return m.ReadOnly
+func (x *ColumnMetaData) GetReadOnly() bool {
+ if x != nil {
+ return x.ReadOnly
}
return false
}
-func (m *ColumnMetaData) GetWritable() bool {
- if m != nil {
- return m.Writable
+func (x *ColumnMetaData) GetWritable() bool {
+ if x != nil {
+ return x.Writable
}
return false
}
-func (m *ColumnMetaData) GetDefinitelyWritable() bool {
- if m != nil {
- return m.DefinitelyWritable
+func (x *ColumnMetaData) GetDefinitelyWritable() bool {
+ if x != nil {
+ return x.DefinitelyWritable
}
return false
}
-func (m *ColumnMetaData) GetColumnClassName() string {
- if m != nil {
- return m.ColumnClassName
+func (x *ColumnMetaData) GetColumnClassName() string {
+ if x != nil {
+ return x.ColumnClassName
}
return ""
}
-func (m *ColumnMetaData) GetType() *AvaticaType {
- if m != nil {
- return m.Type
+func (x *ColumnMetaData) GetType() *AvaticaType {
+ if x != nil {
+ return x.Type
}
return nil
}
// Base class for a column type
type AvaticaType struct {
- Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Rep Rep `protobuf:"varint,3,opt,name=rep,proto3,enum=Rep" json:"rep,omitempty"`
- Columns []*ColumnMetaData `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
- Component *AvaticaType `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AvaticaType) Reset() { *m = AvaticaType{} }
-func (m *AvaticaType) String() string { return proto.CompactTextString(m) }
-func (*AvaticaType) ProtoMessage() {}
-func (*AvaticaType) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{4}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *AvaticaType) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AvaticaType.Unmarshal(m, b)
+ Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+ Rep Rep `protobuf:"varint,3,opt,name=rep,proto3,enum=Rep" json:"rep,omitempty"`
+ Columns []*ColumnMetaData `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"` // Only present when name = STRUCT
+ Component *AvaticaType `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` // Only present when name = ARRAY
}
-func (m *AvaticaType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AvaticaType.Marshal(b, m, deterministic)
-}
-func (m *AvaticaType) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AvaticaType.Merge(m, src)
+
+func (x *AvaticaType) Reset() {
+ *x = AvaticaType{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *AvaticaType) XXX_Size() int {
- return xxx_messageInfo_AvaticaType.Size(m)
+
+func (x *AvaticaType) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AvaticaType) XXX_DiscardUnknown() {
- xxx_messageInfo_AvaticaType.DiscardUnknown(m)
+
+func (*AvaticaType) ProtoMessage() {}
+
+func (x *AvaticaType) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && 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_AvaticaType proto.InternalMessageInfo
+// Deprecated: Use AvaticaType.ProtoReflect.Descriptor instead.
+func (*AvaticaType) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{4}
+}
-func (m *AvaticaType) GetId() uint32 {
- if m != nil {
- return m.Id
+func (x *AvaticaType) GetId() uint32 {
+ if x != nil {
+ return x.Id
}
return 0
}
-func (m *AvaticaType) GetName() string {
- if m != nil {
- return m.Name
+func (x *AvaticaType) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
-func (m *AvaticaType) GetRep() Rep {
- if m != nil {
- return m.Rep
+func (x *AvaticaType) GetRep() Rep {
+ if x != nil {
+ return x.Rep
}
return Rep_PRIMITIVE_BOOLEAN
}
-func (m *AvaticaType) GetColumns() []*ColumnMetaData {
- if m != nil {
- return m.Columns
+func (x *AvaticaType) GetColumns() []*ColumnMetaData {
+ if x != nil {
+ return x.Columns
}
return nil
}
-func (m *AvaticaType) GetComponent() *AvaticaType {
- if m != nil {
- return m.Component
+func (x *AvaticaType) GetComponent() *AvaticaType {
+ if x != nil {
+ return x.Component
}
return nil
}
// Metadata for a parameter
type AvaticaParameter struct {
- Signed bool `protobuf:"varint,1,opt,name=signed,proto3" json:"signed,omitempty"`
- Precision uint32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"`
- Scale uint32 `protobuf:"varint,3,opt,name=scale,proto3" json:"scale,omitempty"`
- ParameterType uint32 `protobuf:"varint,4,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"`
- TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
- ClassName string `protobuf:"bytes,6,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
- Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AvaticaParameter) Reset() { *m = AvaticaParameter{} }
-func (m *AvaticaParameter) String() string { return proto.CompactTextString(m) }
-func (*AvaticaParameter) ProtoMessage() {}
-func (*AvaticaParameter) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{5}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *AvaticaParameter) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AvaticaParameter.Unmarshal(m, b)
+ Signed bool `protobuf:"varint,1,opt,name=signed,proto3" json:"signed,omitempty"`
+ Precision uint32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"`
+ Scale uint32 `protobuf:"varint,3,opt,name=scale,proto3" json:"scale,omitempty"`
+ ParameterType uint32 `protobuf:"varint,4,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"`
+ TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
+ ClassName string `protobuf:"bytes,6,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
+ Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
}
-func (m *AvaticaParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AvaticaParameter.Marshal(b, m, deterministic)
-}
-func (m *AvaticaParameter) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AvaticaParameter.Merge(m, src)
+
+func (x *AvaticaParameter) Reset() {
+ *x = AvaticaParameter{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *AvaticaParameter) XXX_Size() int {
- return xxx_messageInfo_AvaticaParameter.Size(m)
+
+func (x *AvaticaParameter) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AvaticaParameter) XXX_DiscardUnknown() {
- xxx_messageInfo_AvaticaParameter.DiscardUnknown(m)
+
+func (*AvaticaParameter) ProtoMessage() {}
+
+func (x *AvaticaParameter) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && 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_AvaticaParameter proto.InternalMessageInfo
+// Deprecated: Use AvaticaParameter.ProtoReflect.Descriptor instead.
+func (*AvaticaParameter) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{5}
+}
-func (m *AvaticaParameter) GetSigned() bool {
- if m != nil {
- return m.Signed
+func (x *AvaticaParameter) GetSigned() bool {
+ if x != nil {
+ return x.Signed
}
return false
}
-func (m *AvaticaParameter) GetPrecision() uint32 {
- if m != nil {
- return m.Precision
+func (x *AvaticaParameter) GetPrecision() uint32 {
+ if x != nil {
+ return x.Precision
}
return 0
}
-func (m *AvaticaParameter) GetScale() uint32 {
- if m != nil {
- return m.Scale
+func (x *AvaticaParameter) GetScale() uint32 {
+ if x != nil {
+ return x.Scale
}
return 0
}
-func (m *AvaticaParameter) GetParameterType() uint32 {
- if m != nil {
- return m.ParameterType
+func (x *AvaticaParameter) GetParameterType() uint32 {
+ if x != nil {
+ return x.ParameterType
}
return 0
}
-func (m *AvaticaParameter) GetTypeName() string {
- if m != nil {
- return m.TypeName
+func (x *AvaticaParameter) GetTypeName() string {
+ if x != nil {
+ return x.TypeName
}
return ""
}
-func (m *AvaticaParameter) GetClassName() string {
- if m != nil {
- return m.ClassName
+func (x *AvaticaParameter) GetClassName() string {
+ if x != nil {
+ return x.ClassName
}
return ""
}
-func (m *AvaticaParameter) GetName() string {
- if m != nil {
- return m.Name
+func (x *AvaticaParameter) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
// Information necessary to convert an Iterable into a Calcite Cursor
type CursorFactory struct {
- Style CursorFactory_Style `protobuf:"varint,1,opt,name=style,proto3,enum=CursorFactory_Style" json:"style,omitempty"`
- ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
- FieldNames []string `protobuf:"bytes,3,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CursorFactory) Reset() { *m = CursorFactory{} }
-func (m *CursorFactory) String() string { return proto.CompactTextString(m) }
-func (*CursorFactory) ProtoMessage() {}
-func (*CursorFactory) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{6}
+ Style CursorFactory_Style `protobuf:"varint,1,opt,name=style,proto3,enum=CursorFactory_Style" json:"style,omitempty"`
+ ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
+ FieldNames []string `protobuf:"bytes,3,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
}
-func (m *CursorFactory) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CursorFactory.Unmarshal(m, b)
-}
-func (m *CursorFactory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CursorFactory.Marshal(b, m, deterministic)
-}
-func (m *CursorFactory) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CursorFactory.Merge(m, src)
+func (x *CursorFactory) Reset() {
+ *x = CursorFactory{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CursorFactory) XXX_Size() int {
- return xxx_messageInfo_CursorFactory.Size(m)
+
+func (x *CursorFactory) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CursorFactory) XXX_DiscardUnknown() {
- xxx_messageInfo_CursorFactory.DiscardUnknown(m)
+
+func (*CursorFactory) ProtoMessage() {}
+
+func (x *CursorFactory) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && 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_CursorFactory proto.InternalMessageInfo
+// Deprecated: Use CursorFactory.ProtoReflect.Descriptor instead.
+func (*CursorFactory) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{6}
+}
-func (m *CursorFactory) GetStyle() CursorFactory_Style {
- if m != nil {
- return m.Style
+func (x *CursorFactory) GetStyle() CursorFactory_Style {
+ if x != nil {
+ return x.Style
}
return CursorFactory_OBJECT
}
-func (m *CursorFactory) GetClassName() string {
- if m != nil {
- return m.ClassName
+func (x *CursorFactory) GetClassName() string {
+ if x != nil {
+ return x.ClassName
}
return ""
}
-func (m *CursorFactory) GetFieldNames() []string {
- if m != nil {
- return m.FieldNames
+func (x *CursorFactory) GetFieldNames() []string {
+ if x != nil {
+ return x.FieldNames
}
return nil
}
// A collection of rows
type Frame struct {
- Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
- Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"`
- Rows []*Row `protobuf:"bytes,3,rep,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 *Frame) Reset() { *m = Frame{} }
-func (m *Frame) String() string { return proto.CompactTextString(m) }
-func (*Frame) ProtoMessage() {}
-func (*Frame) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{7}
+ Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
+ Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"`
+ Rows []*Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
}
-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 (m *Frame) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Frame.Merge(m, src)
+func (x *Frame) Reset() {
+ *x = Frame{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *Frame) XXX_Size() int {
- return xxx_messageInfo_Frame.Size(m)
+
+func (x *Frame) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *Frame) XXX_DiscardUnknown() {
- xxx_messageInfo_Frame.DiscardUnknown(m)
+
+func (*Frame) ProtoMessage() {}
+
+func (x *Frame) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && 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_Frame proto.InternalMessageInfo
+// Deprecated: Use Frame.ProtoReflect.Descriptor instead.
+func (*Frame) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{7}
+}
-func (m *Frame) GetOffset() uint64 {
- if m != nil {
- return m.Offset
+func (x *Frame) GetOffset() uint64 {
+ if x != nil {
+ return x.Offset
}
return 0
}
-func (m *Frame) GetDone() bool {
- if m != nil {
- return m.Done
+func (x *Frame) GetDone() bool {
+ if x != nil {
+ return x.Done
}
return false
}
-func (m *Frame) GetRows() []*Row {
- if m != nil {
- return m.Rows
+func (x *Frame) GetRows() []*Row {
+ if x != nil {
+ return x.Rows
}
return nil
}
// A row is a collection of values
type Row struct {
- Value []*ColumnValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *Row) Reset() { *m = Row{} }
-func (m *Row) String() string { return proto.CompactTextString(m) }
-func (*Row) ProtoMessage() {}
-func (*Row) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{8}
+ Value []*ColumnValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
-func (m *Row) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Row.Unmarshal(m, b)
-}
-func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Row.Marshal(b, m, deterministic)
-}
-func (m *Row) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Row.Merge(m, src)
+func (x *Row) Reset() {
+ *x = Row{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *Row) XXX_Size() int {
- return xxx_messageInfo_Row.Size(m)
+
+func (x *Row) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *Row) XXX_DiscardUnknown() {
- xxx_messageInfo_Row.DiscardUnknown(m)
+
+func (*Row) ProtoMessage() {}
+
+func (x *Row) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && 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_Row proto.InternalMessageInfo
+// Deprecated: Use Row.ProtoReflect.Descriptor instead.
+func (*Row) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{8}
+}
-func (m *Row) GetValue() []*ColumnValue {
- if m != nil {
- return m.Value
+func (x *Row) GetValue() []*ColumnValue {
+ if x != nil {
+ return x.Value
}
return nil
}
// Database property, list of functions the database provides for a certain operation
type DatabaseProperty struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Functions []string `protobuf:"bytes,2,rep,name=functions,proto3" json:"functions,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *DatabaseProperty) Reset() { *m = DatabaseProperty{} }
-func (m *DatabaseProperty) String() string { return proto.CompactTextString(m) }
-func (*DatabaseProperty) ProtoMessage() {}
-func (*DatabaseProperty) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{9}
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ Functions []string `protobuf:"bytes,2,rep,name=functions,proto3" json:"functions,omitempty"`
}
-func (m *DatabaseProperty) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DatabaseProperty.Unmarshal(m, b)
-}
-func (m *DatabaseProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DatabaseProperty.Marshal(b, m, deterministic)
-}
-func (m *DatabaseProperty) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DatabaseProperty.Merge(m, src)
+func (x *DatabaseProperty) Reset() {
+ *x = DatabaseProperty{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DatabaseProperty) XXX_Size() int {
- return xxx_messageInfo_DatabaseProperty.Size(m)
+
+func (x *DatabaseProperty) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatabaseProperty) XXX_DiscardUnknown() {
- xxx_messageInfo_DatabaseProperty.DiscardUnknown(m)
+
+func (*DatabaseProperty) ProtoMessage() {}
+
+func (x *DatabaseProperty) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && 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_DatabaseProperty proto.InternalMessageInfo
+// Deprecated: Use DatabaseProperty.ProtoReflect.Descriptor instead.
+func (*DatabaseProperty) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{9}
+}
-func (m *DatabaseProperty) GetName() string {
- if m != nil {
- return m.Name
+func (x *DatabaseProperty) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
-func (m *DatabaseProperty) GetFunctions() []string {
- if m != nil {
- return m.Functions
+func (x *DatabaseProperty) GetFunctions() []string {
+ if x != nil {
+ return x.Functions
}
return nil
}
// Message which encapsulates another message to support a single RPC endpoint
type WireMessage struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- WrappedMessage []byte `protobuf:"bytes,2,opt,name=wrapped_message,json=wrappedMessage,proto3" json:"wrapped_message,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *WireMessage) Reset() { *m = WireMessage{} }
-func (m *WireMessage) String() string { return proto.CompactTextString(m) }
-func (*WireMessage) ProtoMessage() {}
-func (*WireMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{10}
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ WrappedMessage []byte `protobuf:"bytes,2,opt,name=wrapped_message,json=wrappedMessage,proto3" json:"wrapped_message,omitempty"`
}
-func (m *WireMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_WireMessage.Unmarshal(m, b)
-}
-func (m *WireMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_WireMessage.Marshal(b, m, deterministic)
-}
-func (m *WireMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_WireMessage.Merge(m, src)
+func (x *WireMessage) Reset() {
+ *x = WireMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *WireMessage) XXX_Size() int {
- return xxx_messageInfo_WireMessage.Size(m)
+
+func (x *WireMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *WireMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_WireMessage.DiscardUnknown(m)
+
+func (*WireMessage) ProtoMessage() {}
+
+func (x *WireMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && 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_WireMessage proto.InternalMessageInfo
+// Deprecated: Use WireMessage.ProtoReflect.Descriptor instead.
+func (*WireMessage) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{10}
+}
-func (m *WireMessage) GetName() string {
- if m != nil {
- return m.Name
+func (x *WireMessage) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
-func (m *WireMessage) GetWrappedMessage() []byte {
- if m != nil {
- return m.WrappedMessage
+func (x *WireMessage) GetWrappedMessage() []byte {
+ if x != nil {
+ return x.WrappedMessage
}
return nil
}
// A value might be a TypedValue or an Array of TypedValue's
type ColumnValue struct {
- Value []*TypedValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
- ArrayValue []*TypedValue `protobuf:"bytes,2,rep,name=array_value,json=arrayValue,proto3" json:"array_value,omitempty"`
- HasArrayValue bool `protobuf:"varint,3,opt,name=has_array_value,json=hasArrayValue,proto3" json:"has_array_value,omitempty"`
- ScalarValue *TypedValue `protobuf:"bytes,4,opt,name=scalar_value,json=scalarValue,proto3" json:"scalar_value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ColumnValue) Reset() { *m = ColumnValue{} }
-func (m *ColumnValue) String() string { return proto.CompactTextString(m) }
-func (*ColumnValue) ProtoMessage() {}
-func (*ColumnValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{11}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ColumnValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ColumnValue.Unmarshal(m, b)
-}
-func (m *ColumnValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ColumnValue.Marshal(b, m, deterministic)
+ Value []*TypedValue `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // deprecated, use array_value or scalar_value
+ ArrayValue []*TypedValue `protobuf:"bytes,2,rep,name=array_value,json=arrayValue,proto3" json:"array_value,omitempty"`
+ HasArrayValue bool `protobuf:"varint,3,opt,name=has_array_value,json=hasArrayValue,proto3" json:"has_array_value,omitempty"` // Is an array value set?
+ ScalarValue *TypedValue `protobuf:"bytes,4,opt,name=scalar_value,json=scalarValue,proto3" json:"scalar_value,omitempty"`
}
-func (m *ColumnValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ColumnValue.Merge(m, src)
+
+func (x *ColumnValue) Reset() {
+ *x = ColumnValue{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ColumnValue) XXX_Size() int {
- return xxx_messageInfo_ColumnValue.Size(m)
+
+func (x *ColumnValue) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ColumnValue) XXX_DiscardUnknown() {
- xxx_messageInfo_ColumnValue.DiscardUnknown(m)
+
+func (*ColumnValue) ProtoMessage() {}
+
+func (x *ColumnValue) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && 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_ColumnValue proto.InternalMessageInfo
+// Deprecated: Use ColumnValue.ProtoReflect.Descriptor instead.
+func (*ColumnValue) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{11}
+}
-func (m *ColumnValue) GetValue() []*TypedValue {
- if m != nil {
- return m.Value
+func (x *ColumnValue) GetValue() []*TypedValue {
+ if x != nil {
+ return x.Value
}
return nil
}
-func (m *ColumnValue) GetArrayValue() []*TypedValue {
- if m != nil {
- return m.ArrayValue
+func (x *ColumnValue) GetArrayValue() []*TypedValue {
+ if x != nil {
+ return x.ArrayValue
}
return nil
}
-func (m *ColumnValue) GetHasArrayValue() bool {
- if m != nil {
- return m.HasArrayValue
+func (x *ColumnValue) GetHasArrayValue() bool {
+ if x != nil {
+ return x.HasArrayValue
}
return false
}
-func (m *ColumnValue) GetScalarValue() *TypedValue {
- if m != nil {
- return m.ScalarValue
+func (x *ColumnValue) GetScalarValue() *TypedValue {
+ if x != nil {
+ return x.ScalarValue
}
return nil
}
// Generic wrapper to support any SQL type. Struct-like to work around no polymorphism construct.
type TypedValue struct {
- Type Rep `protobuf:"varint,1,opt,name=type,proto3,enum=Rep" json:"type,omitempty"`
- BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
- StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
- NumberValue int64 `protobuf:"zigzag64,4,opt,name=number_value,json=numberValue,proto3" json:"number_value,omitempty"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type Rep `protobuf:"varint,1,opt,name=type,proto3,enum=Rep" json:"type,omitempty"` // The actual type that was serialized in the general attribute below
+ BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` // boolean
+ StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` // char/varchar
+ NumberValue int64 `protobuf:"zigzag64,4,opt,name=number_value,json=numberValue,proto3" json:"number_value,omitempty"` // var-len encoding lets us shove anything from byte to long
// includes numeric types and date/time types.
- BytesValue []byte `protobuf:"bytes,5,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"`
- DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
- Null bool `protobuf:"varint,7,opt,name=null,proto3" json:"null,omitempty"`
- ArrayValue []*TypedValue `protobuf:"bytes,8,rep,name=array_value,json=arrayValue,proto3" json:"array_value,omitempty"`
- ComponentType Rep `protobuf:"varint,9,opt,name=component_type,json=componentType,proto3,enum=Rep" json:"component_type,omitempty"`
- ImplicitlyNull bool `protobuf:"varint,10,opt,name=implicitly_null,json=implicitlyNull,proto3" json:"implicitly_null,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TypedValue) Reset() { *m = TypedValue{} }
-func (m *TypedValue) String() string { return proto.CompactTextString(m) }
-func (*TypedValue) ProtoMessage() {}
-func (*TypedValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{12}
+ BytesValue []byte `protobuf:"bytes,5,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` // binary/varbinary
+ DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` // big numbers
+ Null bool `protobuf:"varint,7,opt,name=null,proto3" json:"null,omitempty"` // a null object
+ ArrayValue []*TypedValue `protobuf:"bytes,8,rep,name=array_value,json=arrayValue,proto3" json:"array_value,omitempty"` // The Array
+ ComponentType Rep `protobuf:"varint,9,opt,name=component_type,json=componentType,proto3,enum=Rep" json:"component_type,omitempty"` // If an Array, the representation for the array values
+ ImplicitlyNull bool `protobuf:"varint,10,opt,name=implicitly_null,json=implicitlyNull,proto3" json:"implicitly_null,omitempty"` // Differentiate between explicitly null (user-set) and implicitly null
}
-func (m *TypedValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TypedValue.Unmarshal(m, b)
-}
-func (m *TypedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TypedValue.Marshal(b, m, deterministic)
-}
-func (m *TypedValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TypedValue.Merge(m, src)
+func (x *TypedValue) Reset() {
+ *x = TypedValue{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TypedValue) XXX_Size() int {
- return xxx_messageInfo_TypedValue.Size(m)
+
+func (x *TypedValue) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *TypedValue) XXX_DiscardUnknown() {
- xxx_messageInfo_TypedValue.DiscardUnknown(m)
+
+func (*TypedValue) ProtoMessage() {}
+
+func (x *TypedValue) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && 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_TypedValue proto.InternalMessageInfo
+// Deprecated: Use TypedValue.ProtoReflect.Descriptor instead.
+func (*TypedValue) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{12}
+}
-func (m *TypedValue) GetType() Rep {
- if m != nil {
- return m.Type
+func (x *TypedValue) GetType() Rep {
+ if x != nil {
+ return x.Type
}
return Rep_PRIMITIVE_BOOLEAN
}
-func (m *TypedValue) GetBoolValue() bool {
- if m != nil {
- return m.BoolValue
+func (x *TypedValue) GetBoolValue() bool {
+ if x != nil {
+ return x.BoolValue
}
return false
}
-func (m *TypedValue) GetStringValue() string {
- if m != nil {
- return m.StringValue
+func (x *TypedValue) GetStringValue() string {
+ if x != nil {
+ return x.StringValue
}
return ""
}
-func (m *TypedValue) GetNumberValue() int64 {
- if m != nil {
- return m.NumberValue
+func (x *TypedValue) GetNumberValue() int64 {
+ if x != nil {
+ return x.NumberValue
}
return 0
}
-func (m *TypedValue) GetBytesValue() []byte {
- if m != nil {
- return m.BytesValue
+func (x *TypedValue) GetBytesValue() []byte {
+ if x != nil {
+ return x.BytesValue
}
return nil
}
-func (m *TypedValue) GetDoubleValue() float64 {
- if m != nil {
- return m.DoubleValue
+func (x *TypedValue) GetDoubleValue() float64 {
+ if x != nil {
+ return x.DoubleValue
}
return 0
}
-func (m *TypedValue) GetNull() bool {
- if m != nil {
- return m.Null
+func (x *TypedValue) GetNull() bool {
+ if x != nil {
+ return x.Null
}
return false
}
-func (m *TypedValue) GetArrayValue() []*TypedValue {
- if m != nil {
- return m.ArrayValue
+func (x *TypedValue) GetArrayValue() []*TypedValue {
+ if x != nil {
+ return x.ArrayValue
}
return nil
}
-func (m *TypedValue) GetComponentType() Rep {
- if m != nil {
- return m.ComponentType
+func (x *TypedValue) GetComponentType() Rep {
+ if x != nil {
+ return x.ComponentType
}
return Rep_PRIMITIVE_BOOLEAN
}
-func (m *TypedValue) GetImplicitlyNull() bool {
- if m != nil {
- return m.ImplicitlyNull
+func (x *TypedValue) GetImplicitlyNull() bool {
+ if x != nil {
+ return x.ImplicitlyNull
}
return false
}
// Represents the breadth of arguments to DatabaseMetaData functions
type MetaDataOperationArgument struct {
- StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
- BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
- IntValue int32 `protobuf:"zigzag32,3,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"`
- StringArrayValues []string `protobuf:"bytes,4,rep,name=string_array_values,json=stringArrayValues,proto3" json:"string_array_values,omitempty"`
- IntArrayValues []int32 `protobuf:"zigzag32,5,rep,packed,name=int_array_values,json=intArrayValues,proto3" json:"int_array_values,omitempty"`
- Type MetaDataOperationArgument_ArgumentType `protobuf:"varint,6,opt,name=type,proto3,enum=MetaDataOperationArgument_ArgumentType" json:"type,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *MetaDataOperationArgument) Reset() { *m = MetaDataOperationArgument{} }
-func (m *MetaDataOperationArgument) String() string { return proto.CompactTextString(m) }
-func (*MetaDataOperationArgument) ProtoMessage() {}
-func (*MetaDataOperationArgument) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{13}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *MetaDataOperationArgument) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_MetaDataOperationArgument.Unmarshal(m, b)
-}
-func (m *MetaDataOperationArgument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_MetaDataOperationArgument.Marshal(b, m, deterministic)
+ StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
+ BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
+ IntValue int32 `protobuf:"zigzag32,3,opt,name=int_value,json=intValue,proto3" json:"int_value,omitempty"`
+ StringArrayValues []string `protobuf:"bytes,4,rep,name=string_array_values,json=stringArrayValues,proto3" json:"string_array_values,omitempty"`
+ IntArrayValues []int32 `protobuf:"zigzag32,5,rep,packed,name=int_array_values,json=intArrayValues,proto3" json:"int_array_values,omitempty"`
+ Type MetaDataOperationArgument_ArgumentType `protobuf:"varint,6,opt,name=type,proto3,enum=MetaDataOperationArgument_ArgumentType" json:"type,omitempty"`
}
-func (m *MetaDataOperationArgument) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MetaDataOperationArgument.Merge(m, src)
+
+func (x *MetaDataOperationArgument) Reset() {
+ *x = MetaDataOperationArgument{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *MetaDataOperationArgument) XXX_Size() int {
- return xxx_messageInfo_MetaDataOperationArgument.Size(m)
+
+func (x *MetaDataOperationArgument) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *MetaDataOperationArgument) XXX_DiscardUnknown() {
- xxx_messageInfo_MetaDataOperationArgument.DiscardUnknown(m)
+
+func (*MetaDataOperationArgument) ProtoMessage() {}
+
+func (x *MetaDataOperationArgument) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && 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_MetaDataOperationArgument proto.InternalMessageInfo
+// Deprecated: Use MetaDataOperationArgument.ProtoReflect.Descriptor instead.
+func (*MetaDataOperationArgument) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{13}
+}
-func (m *MetaDataOperationArgument) GetStringValue() string {
- if m != nil {
- return m.StringValue
+func (x *MetaDataOperationArgument) GetStringValue() string {
+ if x != nil {
+ return x.StringValue
}
return ""
}
-func (m *MetaDataOperationArgument) GetBoolValue() bool {
- if m != nil {
- return m.BoolValue
+func (x *MetaDataOperationArgument) GetBoolValue() bool {
+ if x != nil {
+ return x.BoolValue
}
return false
}
-func (m *MetaDataOperationArgument) GetIntValue() int32 {
- if m != nil {
- return m.IntValue
+func (x *MetaDataOperationArgument) GetIntValue() int32 {
+ if x != nil {
+ return x.IntValue
}
return 0
}
-func (m *MetaDataOperationArgument) GetStringArrayValues() []string {
- if m != nil {
- return m.StringArrayValues
+func (x *MetaDataOperationArgument) GetStringArrayValues() []string {
+ if x != nil {
+ return x.StringArrayValues
}
return nil
}
-func (m *MetaDataOperationArgument) GetIntArrayValues() []int32 {
- if m != nil {
- return m.IntArrayValues
+func (x *MetaDataOperationArgument) GetIntArrayValues() []int32 {
+ if x != nil {
+ return x.IntArrayValues
}
return nil
}
-func (m *MetaDataOperationArgument) GetType() MetaDataOperationArgument_ArgumentType {
- if m != nil {
- return m.Type
+func (x *MetaDataOperationArgument) GetType() MetaDataOperationArgument_ArgumentType {
+ if x != nil {
+ return x.Type
}
return MetaDataOperationArgument_STRING
}
type QueryState struct {
- Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=StateType" json:"type,omitempty"`
- Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
- Op MetaDataOperation `protobuf:"varint,3,opt,name=op,proto3,enum=MetaDataOperation" json:"op,omitempty"`
- Args []*MetaDataOperationArgument `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
- HasArgs bool `protobuf:"varint,5,opt,name=has_args,json=hasArgs,proto3" json:"has_args,omitempty"`
- HasSql bool `protobuf:"varint,6,opt,name=has_sql,json=hasSql,proto3" json:"has_sql,omitempty"`
- HasOp bool `protobuf:"varint,7,opt,name=has_op,json=hasOp,proto3" json:"has_op,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *QueryState) Reset() { *m = QueryState{} }
-func (m *QueryState) String() string { return proto.CompactTextString(m) }
-func (*QueryState) ProtoMessage() {}
-func (*QueryState) Descriptor() ([]byte, []int) {
- return fileDescriptor_555bd8c177793206, []int{14}
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *QueryState) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_QueryState.Unmarshal(m, b)
-}
-func (m *QueryState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_QueryState.Marshal(b, m, deterministic)
+ Type StateType `protobuf:"varint,1,opt,name=type,proto3,enum=StateType" json:"type,omitempty"`
+ Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
+ Op MetaDataOperation `protobuf:"varint,3,opt,name=op,proto3,enum=MetaDataOperation" json:"op,omitempty"`
+ Args []*MetaDataOperationArgument `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
+ HasArgs bool `protobuf:"varint,5,opt,name=has_args,json=hasArgs,proto3" json:"has_args,omitempty"`
+ HasSql bool `protobuf:"varint,6,opt,name=has_sql,json=hasSql,proto3" json:"has_sql,omitempty"`
+ HasOp bool `protobuf:"varint,7,opt,name=has_op,json=hasOp,proto3" json:"has_op,omitempty"`
}
-func (m *QueryState) XXX_Merge(src proto.Message) {
- xxx_messageInfo_QueryState.Merge(m, src)
+
+func (x *QueryState) Reset() {
+ *x = QueryState{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_common_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *QueryState) XXX_Size() int {
- return xxx_messageInfo_QueryState.Size(m)
+
+func (x *QueryState) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *QueryState) XXX_DiscardUnknown() {
- xxx_messageInfo_QueryState.DiscardUnknown(m)
+
+func (*QueryState) ProtoMessage() {}
+
+func (x *QueryState) ProtoReflect() protoreflect.Message {
+ mi := &file_common_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && 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_QueryState proto.InternalMessageInfo
+// Deprecated: Use QueryState.ProtoReflect.Descriptor instead.
+func (*QueryState) Descriptor() ([]byte, []int) {
+ return file_common_proto_rawDescGZIP(), []int{14}
+}
-func (m *QueryState) GetType() StateType {
- if m != nil {
- return m.Type
+func (x *QueryState) GetType() StateType {
+ if x != nil {
+ return x.Type
}
return StateType_SQL
}
-func (m *QueryState) GetSql() string {
- if m != nil {
- return m.Sql
+func (x *QueryState) GetSql() string {
+ if x != nil {
+ return x.Sql
}
return ""
}
-func (m *QueryState) GetOp() MetaDataOperation {
- if m != nil {
- return m.Op
+func (x *QueryState) GetOp() MetaDataOperation {
+ if x != nil {
+ return x.Op
}
return MetaDataOperation_GET_ATTRIBUTES
}
-func (m *QueryState) GetArgs() []*MetaDataOperationArgument {
- if m != nil {
- return m.Args
+func (x *QueryState) GetArgs() []*MetaDataOperationArgument {
+ if x != nil {
+ return x.Args
}
return nil
}
-func (m *QueryState) GetHasArgs() bool {
- if m != nil {
- return m.HasArgs
+func (x *QueryState) GetHasArgs() bool {
+ if x != nil {
+ return x.HasArgs
}
return false
}
-func (m *QueryState) GetHasSql() bool {
- if m != nil {
- return m.HasSql
+func (x *QueryState) GetHasSql() bool {
+ if x != nil {
+ return x.HasSql
}
return false
}
-func (m *QueryState) GetHasOp() bool {
- if m != nil {
- return m.HasOp
+func (x *QueryState) GetHasOp() bool {
+ if x != nil {
+ return x.HasOp
}
return false
}
-func init() {
- proto.RegisterEnum("StatementType", StatementType_name, StatementType_value)
- proto.RegisterEnum("Rep", Rep_name, Rep_value)
- proto.RegisterEnum("Severity", Severity_name, Severity_value)
- proto.RegisterEnum("MetaDataOperation", MetaDataOperation_name, MetaDataOperation_value)
- proto.RegisterEnum("StateType", StateType_name, StateType_value)
- proto.RegisterEnum("CursorFactory_Style", CursorFactory_Style_name, CursorFactory_Style_value)
- proto.RegisterEnum("MetaDataOperationArgument_ArgumentType", MetaDataOperationArgument_ArgumentType_name, MetaDataOperationArgument_ArgumentType_value)
- proto.RegisterType((*ConnectionProperties)(nil), "ConnectionProperties")
- proto.RegisterType((*StatementHandle)(nil), "StatementHandle")
- proto.RegisterType((*Signature)(nil), "Signature")
- proto.RegisterType((*ColumnMetaData)(nil), "ColumnMetaData")
- proto.RegisterType((*AvaticaType)(nil), "AvaticaType")
- proto.RegisterType((*AvaticaParameter)(nil), "AvaticaParameter")
- proto.RegisterType((*CursorFactory)(nil), "CursorFactory")
- proto.RegisterType((*Frame)(nil), "Frame")
- proto.RegisterType((*Row)(nil), "Row")
- proto.RegisterType((*DatabaseProperty)(nil), "DatabaseProperty")
- proto.RegisterType((*WireMessage)(nil), "WireMessage")
- proto.RegisterType((*ColumnValue)(nil), "ColumnValue")
- proto.RegisterType((*TypedValue)(nil), "TypedValue")
- proto.RegisterType((*MetaDataOperationArgument)(nil), "MetaDataOperationArgument")
- proto.RegisterType((*QueryState)(nil), "QueryState")
-}
-
-func init() {
- proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206)
-}
-
-var fileDescriptor_555bd8c177793206 = []byte{
- // 2227 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0xcb, 0x72, 0xe3, 0xc6,
- 0x15, 0x1d, 0xf0, 0x21, 0x11, 0x17, 0x24, 0xd5, 0x6a, 0x49, 0x33, 0x9c, 0x19, 0x3f, 0x64, 0xa6,
- 0x1c, 0xcb, 0x4a, 0x8a, 0xa9, 0xc8, 0xc9, 0x2a, 0x2b, 0x88, 0x6c, 0x49, 0xb0, 0x49, 0x82, 0xd3,
- 0x00, 0x25, 0x6b, 0x63, 0x14, 0x04, 0xb6, 0x24, 0x54, 0x81, 0x00, 0x0d, 0x80, 0x33, 0x45, 0xff,
- 0x45, 0xbe, 0x20, 0xa9, 0x7c, 0x44, 0xfe, 0x23, 0x8b, 0x54, 0x56, 0xd9, 0x64, 0x93, 0x6c, 0xf3,
- 0x07, 0xa9, 0xee, 0xc6, 0x8b, 0x9a, 0x99, 0x78, 0xa5, 0xee, 0x73, 0x4f, 0x3f, 0xee, 0xb9, 0x8f,
- 0x06, 0x05, 0x6d, 0x2f, 0x5a, 0x2e, 0xa3, 0x70, 0xb0, 0x8a, 0xa3, 0x34, 0xea, 0xff, 0xa5, 0x06,
- 0x87, 0xc3, 0x28, 0x0c, 0x99, 0x97, 0xfa, 0x51, 0x38, 0x8b, 0xa3, 0x15, 0x8b, 0x53, 0x9f, 0x25,
- 0xf8, 0x25, 0xb4, 0xfc, 0xc4, 0x59, 0xf8, 0x71, 0xba, 0xe9, 0x29, 0xc7, 0xca, 0x49, 0x8b, 0xee,
- 0xfa, 0xc9, 0x88, 0x4f, 0xf1, 0xe7, 0xa0, 0xb9, 0xeb, 0x34, 0x72, 0xf8, 0x46, 0x7e, 0xda, 0xab,
- 0x09, 0x2b, 0x70, 0x68, 0x28, 0x10, 0xfc, 0x4b, 0xd8, 0x7b, 0x74, 0x13, 0xa7, 0x4a, 0xda, 0x15,
- 0xa4, 0xce, 0xa3, 0x9b, 0xe8, 0x25, 0xef, 0x35, 0xa8, 0x31, 0x73, 0x17, 0x4e, 0x14, 0x06, 0x9b,
- 0x5e, 0x5d, 0x30, 0x5a, 0x1c, 0x30, 0xc3, 0x60, 0x83, 0xfb, 0xc0, 0xd9, 0x4e, 0x49, 0x68, 0x09,
- 0x82, 0xf6, 0xe8, 0x26, 0x34, 0xe7, 0x7c, 0x03, 0x47, 0x69, 0xec, 0x86, 0x89, 0x2b, 0x6e, 0xef,
- 0xf8, 0x49, 0x14, 0xb8, 0x7c, 0xd4, 0x6b, 0x1c, 0x2b, 0x27, 0x1d, 0x7a, 0x58, 0x31, 0x1a, 0xb9,
- 0x0d, 0xf7, 0x60, 0xd7, 0x73, 0x53, 0x37, 0x88, 0x1e, 0x7a, 0xcd, 0x63, 0xe5, 0x44, 0xa5, 0xf9,
- 0x14, 0x3f, 0x87, 0x9d, 0xc4, 0x7b, 0x64, 0x4b, 0xb7, 0xb7, 0x23, 0x0c, 0xd9, 0xac, 0xbf, 0x82,
- 0x3d, 0x2b, 0x75, 0x53, 0xb6, 0x64, 0x61, 0x7a, 0xe5, 0x86, 0x8b, 0x80, 0xe1, 0x5f, 0x40, 0xc7,
- 0x2b, 0x64, 0x73, 0xfc, 0x85, 0xd0, 0x48, 0xa5, 0xed, 0x12, 0x34, 0x16, 0xb8, 0x0b, 0x35, 0x7f,
- 0x21, 0xf4, 0xe9, 0xd0, 0x9a, 0xbf, 0xc0, 0x27, 0xa0, 0x26, 0xfe, 0x43, 0xe8, 0xa6, 0xeb, 0x98,
- 0x09, 0x7f, 0xb5, 0x33, 0x18, 0x58, 0x39, 0x42, 0x4b, 0x63, 0xff, 0x3f, 0x0a, 0xa8, 0x85, 0x01,
- 0x7f, 0x0d, 0xbb, 0x5e, 0x14, 0xac, 0x97, 0x61, 0xd2, 0x53, 0x8e, 0xeb, 0x27, 0xda, 0xd9, 0xde,
- 0x60, 0x28, 0xe6, 0x13, 0x96, 0xba, 0x23, 0x37, 0x75, 0x69, 0x6e, 0xc7, 0x08, 0xea, 0xc9, 0x8f,
- 0x81, 0x38, 0x53, 0xa5, 0x7c, 0x88, 0x7f, 0x0b, 0xb0, 0x72, 0x63, 0x77, 0xc9, 0x52, 0x16, 0x27,
- 0xbd, 0xba, 0x58, 0xbf, 0x3f, 0xd0, 0xdf, 0xba, 0xa9, 0xef, 0xb9, 0xb3, 0xdc, 0x42, 0x2b, 0x24,
- 0xfc, 0x7b, 0xe8, 0x7a, 0xeb, 0x38, 0x89, 0x62, 0xe7, 0xde, 0xf5, 0xd2, 0x28, 0xde, 0x08, 0x3d,
- 0xb5, 0xb3, 0xee, 0x60, 0x28, 0xe0, 0x0b, 0x89, 0xd2, 0x8e, 0x57, 0x9d, 0xe2, 0xdf, 0x41, 0x27,
- 0xc9, 0x65, 0xb2, 0x37, 0x2b, 0x26, 0xe4, 0xed, 0x9e, 0x75, 0x07, 0x56, 0x15, 0xa5, 0xdb, 0xa4,
- 0xfe, 0x1f, 0x9b, 0xd0, 0xdd, 0xf6, 0x86, 0x47, 0x28, 0x8a, 0x17, 0x7e, 0xe8, 0x06, 0x42, 0xd6,
- 0x0e, 0xcd, 0xa7, 0xf8, 0x4b, 0xe8, 0x8a, 0xac, 0xf2, 0x43, 0x2f, 0x16, 0x5b, 0x64, 0xd9, 0xd7,
- 0xe1, 0xa8, 0x91, 0x83, 0x9c, 0xe6, 0xb9, 0x09, 0x73, 0x12, 0x16, 0x26, 0x7e, 0xea, 0xbf, 0x65,
- 0x59, 0x76, 0x75, 0x38, 0x6a, 0xe5, 0x20, 0xfe, 0x0c, 0x20, 0x61, 0x6e, 0xec, 0x3d, 0xba, 0x77,
- 0x01, 0x13, 0x3e, 0xb6, 0x68, 0x05, 0xc1, 0xaf, 0xa0, 0xe5, 0xad, 0xe3, 0x98, 0x85, 0xde, 0x46,
- 0xf8, 0xd2, 0xa2, 0xc5, 0x9c, 0xdb, 0xc2, 0x75, 0x10, 0x88, 0x95, 0x3b, 0xe2, 0x92, 0xc5, 0x5c,
- 0xe4, 0x91, 0xff, 0x10, 0xb2, 0x45, 0x96, 0xf6, 0xd9, 0x0c, 0x7f, 0x01, 0xed, 0x85, 0x9f, 0xac,
- 0x02, 0x77, 0xe3, 0x24, 0xfe, 0x4f, 0x4c, 0x64, 0x74, 0x87, 0x6a, 0x19, 0x66, 0xf9, 0x3f, 0x31,
- 0x7c, 0x08, 0xcd, 0xc0, 0xbd, 0x63, 0x41, 0x4f, 0x15, 0x11, 0x94, 0x13, 0x5e, 0x71, 0x32, 0xc0,
- 0x4e, 0xe8, 0x2e, 0x59, 0x0f, 0x84, 0x0d, 0x24, 0x34, 0x75, 0x97, 0x8c, 0x13, 0x64, 0xae, 0x4a,
- 0x82, 0x26, 0x09, 0x12, 0x12, 0x84, 0x4f, 0x40, 0x5d, 0xc5, 0xcc, 0xf3, 0x13, 0x5e, 0x1d, 0x6d,
- 0x71, 0x6e, 0x09, 0xf0, 0x53, 0x13, 0xcf, 0x0d, 0x58, 0xaf, 0x23, 0x2c, 0x72, 0x82, 0x3f, 0x05,
- 0x48, 0xb9, 0x3f, 0x72, 0xcf, 0xae, 0xd8, 0x53, 0x15, 0x88, 0xd8, 0xf2, 0x0b, 0x68, 0x67, 0x85,
- 0x23, 0x09, 0x7b, 0x82, 0xa0, 0x65, 0x98, 0xa0, 0x6c, 0x15, 0x38, 0x7a, 0x52, 0xe0, 0xaf, 0xa0,
- 0xf5, 0x2e, 0xf6, 0xc5, 0x7e, 0xbd, 0x7d, 0x69, 0xcb, 0xe7, 0xf8, 0x37, 0x70, 0xb0, 0x60, 0xf7,
- 0x7e, 0xe8, 0xa7, 0x2c, 0xd8, 0x38, 0x05, 0x0d, 0x0b, 0x1a, 0x2e, 0x4d, 0x37, 0xf9, 0x82, 0x53,
- 0xd8, 0xcf, 0x14, 0xf2, 0x02, 0x37, 0x49, 0xe4, 0x8d, 0x0e, 0xc4, 0x8d, 0xf6, 0xa4, 0x61, 0xc8,
- 0x71, 0x71, 0xab, 0x63, 0x68, 0xa4, 0x3c, 0x3d, 0x0f, 0x45, 0x52, 0xb7, 0xf3, 0x5a, 0x10, 0xc9,
- 0x29, 0x2c, 0xfd, 0x3f, 0x2b, 0xa0, 0x55, 0xd0, 0xac, 0x90, 0x95, 0xa2, 0x90, 0x31, 0x34, 0xc4,
- 0x01, 0xb2, 0xcc, 0xc4, 0x18, 0x3f, 0x87, 0x7a, 0xcc, 0x56, 0x22, 0xd1, 0xba, 0x67, 0x8d, 0x01,
- 0x65, 0x2b, 0xca, 0x81, 0x6a, 0xf1, 0x36, 0x7e, 0xa6, 0x78, 0x4f, 0x41, 0xf5, 0xa2, 0xe5, 0x2a,
- 0x0a, 0x79, 0x62, 0x37, 0x3f, 0x70, 0xbb, 0xd2, 0xdc, 0xff, 0xbb, 0x02, 0xe8, 0x69, 0x11, 0x57,
- 0x12, 0x4f, 0xd9, 0x4a, 0xbc, 0xad, 0xe8, 0xd7, 0x3e, 0x1a, 0xfd, 0x7a, 0x35, 0xfa, 0x5f, 0x42,
- 0xb7, 0x68, 0x09, 0x8e, 0xd0, 0x4b, 0x36, 0xd5, 0x4e, 0x81, 0x0a, 0x69, 0x5e, 0x83, 0xca, 0x8d,
- 0x52, 0x70, 0xd9, 0x4f, 0x5b, 0x1c, 0x10, 0x4a, 0x7f, 0x0a, 0x50, 0x09, 0x87, 0x6c, 0xaa, 0xaa,
- 0x57, 0x04, 0x22, 0x97, 0x71, 0xb7, 0x94, 0xb1, 0xff, 0x37, 0x05, 0x3a, 0x5b, 0x5d, 0x06, 0x9f,
- 0x42, 0x33, 0x49, 0x37, 0x01, 0x13, 0x3e, 0x75, 0xcf, 0x0e, 0xb7, 0x9b, 0xd0, 0xc0, 0xe2, 0x36,
- 0x2a, 0x29, 0x4f, 0x0e, 0xac, 0x3d, 0x3d, 0xf0, 0x73, 0xd0, 0xee, 0x7d, 0x16, 0x2c, 0x84, 0x59,
- 0x36, 0x43, 0x95, 0x82, 0x80, 0xb8, 0x3d, 0xe9, 0xdb, 0xd0, 0x14, 0xfb, 0x61, 0x80, 0x1d, 0xf3,
- 0xfc, 0x5b, 0x32, 0xb4, 0xd1, 0x33, 0x3e, 0xa6, 0x64, 0x68, 0xd2, 0x11, 0x52, 0xf0, 0x11, 0xec,
- 0xcb, 0xb1, 0x33, 0xa3, 0x26, 0xb7, 0x1b, 0xe6, 0x14, 0xd5, 0xb0, 0x0a, 0x4d, 0x9d, 0x52, 0xfd,
- 0x16, 0xd5, 0x71, 0x0b, 0x1a, 0x63, 0xc3, 0xb2, 0x51, 0x03, 0xef, 0x42, 0x7d, 0xa2, 0xcf, 0x50,
- 0xb3, 0x3f, 0x81, 0xe6, 0x45, 0x2c, 0x73, 0x64, 0x27, 0xba, 0xbf, 0x4f, 0x58, 0x2a, 0x7c, 0x69,
- 0xd0, 0x6c, 0xc6, 0x85, 0x58, 0x44, 0x21, 0xcb, 0x9a, 0x99, 0x18, 0xe3, 0x1e, 0x34, 0xe2, 0xe8,
- 0x5d, 0xde, 0xb1, 0x1b, 0x03, 0x1a, 0xbd, 0xa3, 0x02, 0xe9, 0x7f, 0x0d, 0x75, 0x1a, 0xbd, 0xc3,
- 0x7d, 0x68, 0xbe, 0x75, 0x83, 0x35, 0xcb, 0xde, 0x84, 0x76, 0x96, 0x56, 0xd7, 0x1c, 0xa3, 0xd2,
- 0xd4, 0x1f, 0x01, 0xe2, 0x29, 0x76, 0xe7, 0x26, 0x2c, 0x7b, 0xdb, 0x37, 0x85, 0xea, 0x4a, 0x25,
- 0x79, 0x3f, 0x01, 0xf5, 0x7e, 0x1d, 0x8a, 0x77, 0x2b, 0xe9, 0xd5, 0x84, 0x2c, 0x25, 0xd0, 0xff,
- 0x16, 0xb4, 0x1b, 0x3f, 0x66, 0x13, 0x96, 0x24, 0xee, 0x03, 0xfb, 0xe0, 0x06, 0x5f, 0xc1, 0xde,
- 0xbb, 0xd8, 0x5d, 0xad, 0xd8, 0xc2, 0x59, 0x4a, 0x9a, 0x70, 0xa6, 0x4d, 0xbb, 0x19, 0x9c, 0x2d,
- 0xee, 0xff, 0x55, 0x01, 0xad, 0x72, 0x51, 0xfc, 0xc5, 0xb6, 0x17, 0xda, 0x80, 0x67, 0xd5, 0xa2,
- 0xea, 0x04, 0xfe, 0x35, 0x68, 0x6e, 0x1c, 0xbb, 0x1b, 0x47, 0x12, 0x6b, 0xef, 0x13, 0x41, 0xd8,
- 0xe5, 0x86, 0xf9, 0xc7, 0x47, 0x65, 0x45, 0xbd, 0xfc, 0xf8, 0x28, 0x79, 0x03, 0x68, 0xf3, 0x44,
- 0x77, 0xe3, 0x8c, 0x24, 0x9f, 0xb8, 0xad, 0x6d, 0x35, 0x49, 0x10, 0x93, 0xfe, 0xbf, 0x6b, 0x00,
- 0xa5, 0x8d, 0x87, 0x47, 0x14, 0x85, 0x52, 0xa9, 0x77, 0x81, 0xf0, 0x1c, 0xbc, 0x8b, 0xa2, 0xa0,
- 0xb8, 0x2d, 0x3f, 0x5b, 0xe5, 0x48, 0xee, 0x70, 0x3b, 0x49, 0x63, 0x3f, 0x7c, 0xa8, 0x5c, 0x4e,
- 0xa5, 0x9a, 0xc4, 0x0a, 0x4a, 0xb8, 0x5e, 0xde, 0xb1, 0xea, 0xd5, 0x30, 0xd5, 0x24, 0x26, 0x29,
- 0x9f, 0x83, 0x76, 0xb7, 0x49, 0x59, 0x92, 0x31, 0x9a, 0x42, 0x6b, 0x10, 0x50, 0xb1, 0xc7, 0x22,
- 0x5a, 0xf3, 0xee, 0x2d, 0x19, 0xbc, 0xf8, 0x14, 0xaa, 0x49, 0x4c, 0x52, 0x78, 0x1c, 0xd7, 0x41,
- 0x90, 0x3d, 0x52, 0x62, 0xfc, 0x54, 0xeb, 0xd6, 0xff, 0xd7, 0xfa, 0x57, 0xd0, 0x2d, 0x3a, 0x92,
- 0xec, 0x11, 0x6a, 0x45, 0x8e, 0x4e, 0x61, 0x13, 0x9d, 0xe2, 0x2b, 0xd8, 0xf3, 0x97, 0xab, 0xc0,
- 0xf7, 0xfc, 0x34, 0xd8, 0x38, 0xe2, 0x64, 0x10, 0x27, 0x77, 0x4b, 0x78, 0xba, 0x0e, 0x82, 0xfe,
- 0x7f, 0x6b, 0xf0, 0x32, 0x6f, 0x8e, 0xe6, 0x8a, 0xc5, 0xe2, 0xb3, 0x4d, 0x8f, 0x1f, 0xd6, 0xe2,
- 0x6d, 0x7f, 0xaa, 0x9f, 0xf2, 0xbe, 0x7e, 0x3f, 0x13, 0x81, 0xd7, 0xa0, 0xfa, 0x61, 0x5a, 0x91,
- 0x7f, 0x9f, 0xb6, 0xfc, 0x30, 0xcd, 0xd3, 0xe2, 0x20, 0xdb, 0xbe, 0xa2, 0x83, 0x6c, 0xdd, 0x2a,
- 0xdd, 0x97, 0xa6, 0x32, 0x8b, 0x12, 0x7c, 0x02, 0x88, 0x6f, 0xb6, 0x45, 0x6e, 0x1e, 0xd7, 0x4f,
- 0xf6, 0x69, 0xd7, 0x0f, 0xd3, 0x2a, 0xf3, 0x0f, 0x59, 0xc6, 0xec, 0x08, 0x89, 0xbe, 0x1a, 0x7c,
- 0xd4, 0xc5, 0x41, 0x3e, 0xa8, 0xbc, 0x48, 0x3f, 0x40, 0xbb, 0x8a, 0xf2, 0x9e, 0x64, 0xd9, 0xd4,
- 0x98, 0x5e, 0xa2, 0x67, 0xbc, 0xe3, 0x9c, 0x9b, 0xe6, 0x18, 0x29, 0xbc, 0xe3, 0x18, 0x53, 0x1b,
- 0xd5, 0xf0, 0x01, 0xec, 0x51, 0x32, 0x23, 0xba, 0x4d, 0x46, 0x4e, 0xc6, 0xab, 0x63, 0x04, 0xed,
- 0x02, 0xe4, 0xb4, 0x06, 0x5f, 0x39, 0x9d, 0x8f, 0xc7, 0xa8, 0xd9, 0xff, 0xa7, 0x02, 0xf0, 0x66,
- 0xcd, 0xe2, 0x8d, 0xf8, 0x56, 0xc3, 0x9f, 0x6d, 0x65, 0x37, 0xc8, 0x2f, 0xb8, 0xf2, 0x3a, 0x1f,
- 0xf8, 0xcc, 0xec, 0x43, 0x2d, 0xca, 0x5f, 0x3f, 0xfc, 0xbe, 0x6f, 0xb4, 0x16, 0xad, 0xf0, 0x00,
- 0x1a, 0x6e, 0xfc, 0x90, 0xbf, 0x83, 0xaf, 0x3e, 0xae, 0x00, 0x15, 0x3c, 0xfe, 0x1b, 0x44, 0x96,
- 0xf2, 0x43, 0x92, 0x7d, 0x7f, 0xed, 0x8a, 0x1a, 0x7e, 0x48, 0xf0, 0x0b, 0xe0, 0x43, 0x87, 0x5f,
- 0x62, 0x47, 0x3e, 0x75, 0x8f, 0x6e, 0x62, 0xfd, 0x18, 0xe0, 0x23, 0xe0, 0x23, 0x27, 0x5a, 0x65,
- 0x69, 0xdd, 0x7c, 0x74, 0x13, 0x73, 0x75, 0xfa, 0x27, 0x05, 0x3a, 0x5b, 0x9f, 0xa1, 0x42, 0x41,
- 0x32, 0x2e, 0x3a, 0xbc, 0x31, 0xb5, 0x08, 0xb5, 0x91, 0xc2, 0xc7, 0xf3, 0xd9, 0x48, 0xb7, 0x09,
- 0xaa, 0xf1, 0xf1, 0x88, 0x8c, 0x89, 0x4d, 0x50, 0x5d, 0xe2, 0x82, 0xd3, 0xe0, 0xed, 0x7e, 0x42,
- 0xe8, 0x25, 0x41, 0x4d, 0xdc, 0x01, 0xd5, 0xb4, 0xaf, 0x08, 0x75, 0x46, 0x93, 0x31, 0xda, 0xe1,
- 0xac, 0x21, 0xe5, 0x12, 0xa3, 0x5d, 0xae, 0xee, 0x88, 0x9a, 0x33, 0xd4, 0x12, 0xcf, 0xc3, 0xd8,
- 0x26, 0x14, 0xa9, 0x15, 0xfe, 0x68, 0x8c, 0x80, 0x73, 0x86, 0xfa, 0x78, 0x8c, 0xb4, 0xd3, 0x7f,
- 0xd5, 0xa1, 0x4e, 0xd9, 0x8a, 0xbf, 0x30, 0x33, 0x6a, 0x4c, 0x0c, 0xdb, 0xb8, 0x26, 0x0e, 0x8f,
- 0x2b, 0xd1, 0xa7, 0xe8, 0x19, 0xc6, 0xd0, 0xad, 0xc0, 0xb7, 0x36, 0x41, 0xca, 0x36, 0x36, 0xbc,
- 0xd2, 0xa9, 0x8c, 0x7c, 0x89, 0x59, 0x57, 0x26, 0xb5, 0x51, 0x1d, 0xef, 0x43, 0xa7, 0x04, 0x65,
- 0xe8, 0xb7, 0xd6, 0x8e, 0xcd, 0xe9, 0x25, 0x6a, 0x6e, 0xaf, 0xbd, 0x18, 0x9b, 0xba, 0x8d, 0x76,
- 0xf0, 0x21, 0xa0, 0x12, 0x1c, 0x99, 0xf3, 0xf3, 0x31, 0xf7, 0x4d, 0x83, 0xdd, 0xfc, 0x6e, 0x2d,
- 0x91, 0x80, 0xfc, 0x46, 0xc2, 0x3b, 0x7e, 0x0f, 0x7d, 0xc8, 0x9d, 0x05, 0xee, 0xb7, 0xbc, 0x82,
- 0xc6, 0x17, 0x18, 0x53, 0x9b, 0x5c, 0x12, 0x8a, 0xda, 0xe2, 0x8d, 0xe4, 0x47, 0x76, 0x38, 0x43,
- 0x1e, 0xd4, 0x15, 0x62, 0xcb, 0xed, 0xf7, 0xf0, 0x1e, 0x68, 0xe7, 0xc6, 0xa5, 0x93, 0xaf, 0x78,
- 0x99, 0x03, 0x23, 0x32, 0x34, 0x26, 0xfa, 0x18, 0xbd, 0xe2, 0x2e, 0x7d, 0xab, 0x5f, 0xeb, 0x8e,
- 0xf5, 0x66, 0xec, 0xd8, 0xc6, 0x84, 0x20, 0x84, 0x9f, 0x03, 0xde, 0x82, 0x2c, 0x5b, 0x9f, 0xcc,
- 0xd0, 0xfe, 0x16, 0x55, 0x04, 0x16, 0x73, 0xef, 0x05, 0x34, 0xb7, 0x8d, 0x0c, 0x3b, 0x10, 0x47,
- 0xdc, 0xda, 0x24, 0xaf, 0x97, 0xc3, 0x4a, 0x8d, 0x1d, 0xf1, 0xf1, 0x74, 0x3e, 0x39, 0x27, 0x14,
- 0x3d, 0xaf, 0x7c, 0x1b, 0xbc, 0x28, 0x2a, 0xa8, 0x57, 0x7e, 0x02, 0xbc, 0xce, 0x16, 0xce, 0x87,
- 0x36, 0xfa, 0x04, 0xb7, 0xa1, 0x35, 0x99, 0x8f, 0x6d, 0xc3, 0x22, 0x36, 0xfa, 0xf4, 0xf4, 0x07,
- 0x68, 0x59, 0xec, 0x2d, 0x8b, 0xfd, 0x74, 0xc3, 0x85, 0x9d, 0x4f, 0xbf, 0x9b, 0x9a, 0x37, 0x53,
- 0xc7, 0x22, 0xd7, 0x84, 0x1a, 0xf6, 0xad, 0x8c, 0xf3, 0x85, 0x6e, 0xeb, 0xe3, 0x12, 0x13, 0x71,
- 0x26, 0x94, 0x9a, 0xb4, 0xc4, 0x6a, 0x7c, 0xf5, 0x8d, 0x4e, 0xa7, 0xc6, 0xf4, 0xb2, 0x44, 0xeb,
- 0xa7, 0xff, 0x68, 0xc0, 0xfe, 0x7b, 0x55, 0xc5, 0xd7, 0x5f, 0x12, 0xdb, 0xd1, 0x6d, 0x9b, 0x1a,
- 0xe7, 0x73, 0x9b, 0x58, 0xe8, 0x19, 0x7e, 0x0d, 0x2f, 0x38, 0x76, 0x4e, 0x2c, 0xdb, 0xa1, 0xe6,
- 0x8d, 0x63, 0x8c, 0xc8, 0xd4, 0x36, 0x2e, 0x0c, 0x42, 0x91, 0xc2, 0x3b, 0x05, 0x37, 0x0e, 0xf9,
- 0x45, 0xcc, 0x4b, 0x0b, 0xd5, 0xf0, 0x67, 0xf0, 0x4a, 0x20, 0x63, 0x83, 0x4c, 0x6d, 0xc7, 0x98,
- 0x5e, 0x98, 0xfc, 0x03, 0x68, 0x46, 0xa8, 0x6d, 0x10, 0x0b, 0xd5, 0xf1, 0x4b, 0x38, 0x12, 0x76,
- 0x73, 0x3c, 0x9f, 0x4c, 0x9d, 0x19, 0x35, 0xae, 0x8d, 0x31, 0xb9, 0x24, 0x16, 0x6a, 0x70, 0x5d,
- 0x4b, 0x93, 0x85, 0x9a, 0xf8, 0x05, 0x1c, 0x08, 0x80, 0x9a, 0x96, 0xe5, 0x50, 0x72, 0x41, 0x28,
- 0x99, 0x0e, 0x09, 0xda, 0xe1, 0xa9, 0xcf, 0x0d, 0xe4, 0xfb, 0x99, 0x49, 0x79, 0x93, 0xfa, 0x8e,
- 0xdc, 0x5a, 0x68, 0x17, 0xf7, 0xe0, 0x90, 0xc3, 0x17, 0xf3, 0xa9, 0xf8, 0xdc, 0x2a, 0x76, 0x6a,
- 0xf1, 0xc8, 0x56, 0x2d, 0x16, 0x52, 0xf3, 0x3d, 0x8c, 0x49, 0x75, 0x0f, 0xc8, 0x25, 0x30, 0xa6,
- 0x23, 0xf2, 0xbd, 0xb8, 0x3e, 0xd2, 0xb8, 0x84, 0x1c, 0xe3, 0xd9, 0xad, 0xd3, 0x5b, 0xc9, 0x6c,
- 0xe7, 0x9e, 0xcc, 0xa8, 0x39, 0x24, 0xa3, 0x39, 0x25, 0xc5, 0x71, 0x9d, 0x7c, 0x93, 0xc2, 0x64,
- 0xa1, 0x2e, 0x4f, 0x3a, 0x81, 0x59, 0x64, 0x3e, 0x32, 0x0b, 0xee, 0x5e, 0xee, 0xb5, 0x35, 0xbc,
- 0x22, 0x13, 0xdd, 0x42, 0x28, 0xdf, 0x37, 0x03, 0x9c, 0x1b, 0xc3, 0xbe, 0x72, 0x74, 0x7a, 0x69,
- 0xa1, 0xfd, 0xfc, 0x22, 0xd6, 0x7c, 0x46, 0xa8, 0x63, 0xeb, 0xe7, 0x63, 0x62, 0x21, 0xcc, 0xab,
- 0xb1, 0x82, 0xde, 0xce, 0x88, 0x85, 0x0e, 0x72, 0x2d, 0x04, 0xa9, 0x2a, 0xf3, 0x21, 0xee, 0x02,
- 0x14, 0x16, 0x0b, 0x1d, 0xe5, 0xcb, 0x25, 0x53, 0x2e, 0x7f, 0x9e, 0x0b, 0xc6, 0xa7, 0x52, 0x85,
- 0x17, 0x3c, 0x41, 0x39, 0x34, 0x1f, 0xd9, 0x16, 0xea, 0xe5, 0xb1, 0xb9, 0x26, 0xd4, 0xaa, 0x4a,
- 0xfd, 0xf2, 0xb4, 0x0f, 0x6a, 0xf1, 0x08, 0xf0, 0x77, 0xc6, 0x7a, 0x33, 0x46, 0xcf, 0x44, 0x76,
- 0x13, 0x5b, 0x1f, 0xe9, 0xb6, 0x8e, 0x94, 0xf3, 0x3e, 0x1c, 0x47, 0xf1, 0xc3, 0xc0, 0x5d, 0xb9,
- 0xde, 0x23, 0x1b, 0x78, 0x6e, 0xe0, 0xf9, 0x29, 0x1b, 0xb8, 0xf2, 0x57, 0x8a, 0xfc, 0x87, 0xd3,
- 0xdd, 0x8e, 0xf8, 0xf3, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x7a, 0x20, 0xe9, 0x87,
- 0x12, 0x00, 0x00,
+var File_common_proto protoreflect.FileDescriptor
+
+var file_common_proto_rawDesc = []byte{
+ 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2,
+ 0x02, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f,
+ 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x64, 0x69,
+ 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x44, 0x69, 0x72,
+ 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
+ 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x43, 0x6f, 0x6d,
+ 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x61,
+ 0x73, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
+ 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
+ 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f,
+ 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x0b, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x33, 0x0a, 0x15,
+ 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x73, 0x6f, 0x6c,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x74, 0x72, 0x61,
+ 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x73,
+ 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x22, 0x70, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,
+ 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
+ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x09, 0x73,
+ 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a,
+ 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74,
+ 0x61, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x10,
+ 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c,
+ 0x12, 0x31, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61, 0x50, 0x61,
+ 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
+ 0x65, 0x72, 0x73, 0x12, 0x35, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x66, 0x61,
+ 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x43, 0x75,
+ 0x72, 0x73, 0x6f, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x75, 0x72,
+ 0x73, 0x6f, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x0d, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x0e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
+ 0x65, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
+ 0x22, 0x91, 0x05, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x44,
+ 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x12, 0x25, 0x0a,
+ 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x63, 0x72, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e,
+ 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61,
+ 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73,
+ 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63,
+ 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63,
+ 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61,
+ 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61,
+ 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64,
+ 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
+ 0x0d, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14,
+ 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
+ 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
+ 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73,
+ 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x0d, 0x20,
+ 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61,
+ 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09,
+ 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x72, 0x69,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x77, 0x72, 0x69,
+ 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
+ 0x65, 0x6c, 0x79, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x65, 0x6c, 0x79, 0x57, 0x72,
+ 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
+ 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61,
+ 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x0c, 0x2e, 0x41, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0b, 0x41, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61,
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x72, 0x65, 0x70, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x04, 0x2e, 0x52, 0x65, 0x70, 0x52, 0x03, 0x72, 0x65, 0x70,
+ 0x12, 0x29, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x0f, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61,
+ 0x74, 0x61, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x09, 0x63,
+ 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
+ 0x2e, 0x41, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x6f,
+ 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x10, 0x41, 0x76, 0x61, 0x74,
+ 0x69, 0x63, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
+ 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x69,
+ 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f,
+ 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69,
+ 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0d, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61,
+ 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
+ 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
+ 0xd1, 0x01, 0x0a, 0x0d, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72,
+ 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x14, 0x2e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79,
+ 0x2e, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x52, 0x05, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x54, 0x0a,
+ 0x05, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54,
+ 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x15,
+ 0x0a, 0x11, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54,
+ 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x03,
+ 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41,
+ 0x50, 0x10, 0x05, 0x22, 0x4d, 0x0a, 0x05, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66,
+ 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73,
+ 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x52, 0x6f, 0x77, 0x52, 0x04, 0x72, 0x6f,
+ 0x77, 0x73, 0x22, 0x29, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
+ 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x44, 0x0a,
+ 0x10, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
+ 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x22, 0x4a, 0x0a, 0x0b, 0x57, 0x69, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
+ 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,
+ 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
+ 0x0e, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
+ 0xb6, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
+ 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56,
+ 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x12, 0x26, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x61, 0x73, 0x41, 0x72,
+ 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x0c, 0x73, 0x63, 0x61, 0x6c,
+ 0x61, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b,
+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x63, 0x61,
+ 0x6c, 0x61, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe7, 0x02, 0x0a, 0x0a, 0x54, 0x79, 0x70,
+ 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x04, 0x2e, 0x52, 0x65, 0x70, 0x52, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x79, 0x74,
+ 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c,
+ 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64,
+ 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x75,
+ 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x12, 0x2c,
+ 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2b, 0x0a, 0x0e,
+ 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x04, 0x2e, 0x52, 0x65, 0x70, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x70,
+ 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6d, 0x70,
+ 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x0a, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x0e, 0x69, 0x6d, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x6c, 0x79, 0x4e, 0x75,
+ 0x6c, 0x6c, 0x22, 0xf1, 0x02, 0x0a, 0x19, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74,
+ 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
+ 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
+ 0x2e, 0x0a, 0x13, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x73, 0x74,
+ 0x72, 0x69, 0x6e, 0x67, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
+ 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x11, 0x52, 0x0e, 0x69, 0x6e, 0x74, 0x41, 0x72,
+ 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61,
+ 0x74, 0x61, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x75, 0x6d,
+ 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
+ 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5e, 0x0a, 0x0c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65,
+ 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47,
+ 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03,
+ 0x49, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45,
+ 0x44, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45,
+ 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
+ 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x05, 0x22, 0xdd, 0x01, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79,
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x22, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4f, 0x70,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x2e, 0x0a, 0x04, 0x61,
+ 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x4d, 0x65, 0x74, 0x61,
+ 0x44, 0x61, 0x74, 0x61, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67,
+ 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x68,
+ 0x61, 0x73, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68,
+ 0x61, 0x73, 0x41, 0x72, 0x67, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x61, 0x73, 0x5f, 0x73, 0x71,
+ 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x53, 0x71, 0x6c, 0x12,
+ 0x15, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x5f, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x05, 0x68, 0x61, 0x73, 0x4f, 0x70, 0x2a, 0x9f, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x4c, 0x45,
+ 0x43, 0x54, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, 0x01,
+ 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,
+ 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x53, 0x45,
+ 0x52, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x10, 0x05, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x44, 0x4d, 0x4c, 0x10, 0x06, 0x12, 0x0a,
+ 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x52,
+ 0x4f, 0x50, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x09, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x4c, 0x10, 0x0a, 0x12, 0x08,
+ 0x0a, 0x04, 0x43, 0x41, 0x4c, 0x4c, 0x10, 0x0b, 0x2a, 0xe2, 0x03, 0x0a, 0x03, 0x52, 0x65, 0x70,
+ 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x42, 0x4f,
+ 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x49, 0x4d, 0x49,
+ 0x54, 0x49, 0x56, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x50,
+ 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x52, 0x10, 0x02, 0x12,
+ 0x13, 0x0a, 0x0f, 0x50, 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x48, 0x4f,
+ 0x52, 0x54, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56,
+ 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x49, 0x4d, 0x49,
+ 0x54, 0x49, 0x56, 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x50,
+ 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x06,
+ 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x49, 0x4d, 0x49, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x44, 0x4f,
+ 0x55, 0x42, 0x4c, 0x45, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41,
+ 0x4e, 0x10, 0x08, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x59, 0x54, 0x45, 0x10, 0x09, 0x12, 0x0d, 0x0a,
+ 0x09, 0x43, 0x48, 0x41, 0x52, 0x41, 0x43, 0x54, 0x45, 0x52, 0x10, 0x0a, 0x12, 0x09, 0x0a, 0x05,
+ 0x53, 0x48, 0x4f, 0x52, 0x54, 0x10, 0x0b, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47,
+ 0x45, 0x52, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x0d, 0x12, 0x09,
+ 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x0e, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55,
+ 0x42, 0x4c, 0x45, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x49, 0x47, 0x5f, 0x49, 0x4e, 0x54,
+ 0x45, 0x47, 0x45, 0x52, 0x10, 0x19, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x49, 0x47, 0x5f, 0x44, 0x45,
+ 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x10, 0x1a, 0x12, 0x11, 0x0a, 0x0d, 0x4a, 0x41, 0x56, 0x41, 0x5f,
+ 0x53, 0x51, 0x4c, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x10, 0x12, 0x16, 0x0a, 0x12, 0x4a, 0x41,
+ 0x56, 0x41, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50,
+ 0x10, 0x11, 0x12, 0x11, 0x0a, 0x0d, 0x4a, 0x41, 0x56, 0x41, 0x5f, 0x53, 0x51, 0x4c, 0x5f, 0x44,
+ 0x41, 0x54, 0x45, 0x10, 0x12, 0x12, 0x12, 0x0a, 0x0e, 0x4a, 0x41, 0x56, 0x41, 0x5f, 0x55, 0x54,
+ 0x49, 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x10, 0x13, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x59, 0x54,
+ 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x14, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54,
+ 0x52, 0x49, 0x4e, 0x47, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
+ 0x10, 0x16, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x17, 0x12, 0x08,
+ 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x18, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41,
+ 0x59, 0x10, 0x1b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x1c, 0x12,
+ 0x0c, 0x0a, 0x08, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x53, 0x45, 0x54, 0x10, 0x1d, 0x2a, 0x5e, 0x0a,
+ 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x4b,
+ 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x10, 0x00, 0x12,
+ 0x12, 0x0a, 0x0e, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54,
+ 0x59, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x45, 0x56,
+ 0x45, 0x52, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x57, 0x41, 0x52, 0x4e, 0x49,
+ 0x4e, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x10, 0x03, 0x2a, 0xd7, 0x04,
+ 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61, 0x74, 0x61, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x54, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49,
+ 0x42, 0x55, 0x54, 0x45, 0x53, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x45, 0x54, 0x5f, 0x42,
+ 0x45, 0x53, 0x54, 0x5f, 0x52, 0x4f, 0x57, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x46, 0x49,
+ 0x45, 0x52, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x41, 0x54, 0x41,
+ 0x4c, 0x4f, 0x47, 0x53, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x4c,
+ 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52,
+ 0x54, 0x49, 0x45, 0x53, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x4f,
+ 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x50, 0x52, 0x49, 0x56, 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x10,
+ 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53,
+ 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x47, 0x45, 0x54, 0x5f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f,
+ 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x47,
+ 0x45, 0x54, 0x5f, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x4b, 0x45, 0x59, 0x53,
+ 0x10, 0x07, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49,
+ 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d,
+ 0x47, 0x45, 0x54, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x09, 0x12,
+ 0x15, 0x0a, 0x11, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f,
+ 0x4b, 0x45, 0x59, 0x53, 0x10, 0x0a, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x45, 0x54, 0x5f, 0x49, 0x4e,
+ 0x44, 0x45, 0x58, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x0b, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x45,
+ 0x54, 0x5f, 0x50, 0x52, 0x49, 0x4d, 0x41, 0x52, 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x53, 0x10, 0x0c,
+ 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52,
+ 0x45, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x47,
+ 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x53, 0x10, 0x0e, 0x12,
+ 0x16, 0x0a, 0x12, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x53, 0x45, 0x55, 0x44, 0x4f, 0x5f, 0x43, 0x4f,
+ 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x45, 0x54, 0x5f, 0x53,
+ 0x43, 0x48, 0x45, 0x4d, 0x41, 0x53, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x54, 0x5f,
+ 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x52, 0x47,
+ 0x53, 0x10, 0x11, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x55, 0x50, 0x45, 0x52,
+ 0x5f, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x12, 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x45, 0x54,
+ 0x5f, 0x53, 0x55, 0x50, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x53, 0x10, 0x13, 0x12, 0x18,
+ 0x0a, 0x14, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x49, 0x56,
+ 0x49, 0x4c, 0x45, 0x47, 0x45, 0x53, 0x10, 0x14, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x45, 0x54, 0x5f,
+ 0x54, 0x41, 0x42, 0x4c, 0x45, 0x53, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x45, 0x54, 0x5f,
+ 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x53, 0x10, 0x16, 0x12, 0x11, 0x0a,
+ 0x0d, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x17,
+ 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x45, 0x54, 0x5f, 0x55, 0x44, 0x54, 0x53, 0x10, 0x18, 0x12, 0x17,
+ 0x0a, 0x13, 0x47, 0x45, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f,
+ 0x4c, 0x55, 0x4d, 0x4e, 0x53, 0x10, 0x19, 0x2a, 0x22, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65,
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x51, 0x4c, 0x10, 0x00, 0x12, 0x0c, 0x0a,
+ 0x08, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x10, 0x01, 0x42, 0x22, 0x0a, 0x20, 0x6f,
+ 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x63, 0x61, 0x6c, 0x63, 0x69, 0x74,
+ 0x65, 0x2e, 0x61, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_common_proto_rawDescOnce sync.Once
+ file_common_proto_rawDescData = file_common_proto_rawDesc
+)
+
+func file_common_proto_rawDescGZIP() []byte {
+ file_common_proto_rawDescOnce.Do(func() {
+ file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
+ })
+ return file_common_proto_rawDescData
+}
+
+var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
+var file_common_proto_goTypes = []interface{}{
+ (StatementType)(0), // 0: StatementType
+ (Rep)(0), // 1: Rep
+ (Severity)(0), // 2: Severity
+ (MetaDataOperation)(0), // 3: MetaDataOperation
+ (StateType)(0), // 4: StateType
+ (CursorFactory_Style)(0), // 5: CursorFactory.Style
+ (MetaDataOperationArgument_ArgumentType)(0), // 6: MetaDataOperationArgument.ArgumentType
+ (*ConnectionProperties)(nil), // 7: ConnectionProperties
+ (*StatementHandle)(nil), // 8: StatementHandle
+ (*Signature)(nil), // 9: Signature
+ (*ColumnMetaData)(nil), // 10: ColumnMetaData
+ (*AvaticaType)(nil), // 11: AvaticaType
+ (*AvaticaParameter)(nil), // 12: AvaticaParameter
+ (*CursorFactory)(nil), // 13: CursorFactory
+ (*Frame)(nil), // 14: Frame
+ (*Row)(nil), // 15: Row
+ (*DatabaseProperty)(nil), // 16: DatabaseProperty
+ (*WireMessage)(nil), // 17: WireMessage
+ (*ColumnValue)(nil), // 18: ColumnValue
+ (*TypedValue)(nil), // 19: TypedValue
+ (*MetaDataOperationArgument)(nil), // 20: MetaDataOperationArgument
+ (*QueryState)(nil), // 21: QueryState
+}
+var file_common_proto_depIdxs = []int32{
+ 9, // 0: StatementHandle.signature:type_name -> Signature
+ 10, // 1: Signature.columns:type_name -> ColumnMetaData
+ 12, // 2: Signature.parameters:type_name -> AvaticaParameter
+ 13, // 3: Signature.cursor_factory:type_name -> CursorFactory
+ 0, // 4: Signature.statementType:type_name -> StatementType
+ 11, // 5: ColumnMetaData.type:type_name -> AvaticaType
+ 1, // 6: AvaticaType.rep:type_name -> Rep
+ 10, // 7: AvaticaType.columns:type_name -> ColumnMetaData
+ 11, // 8: AvaticaType.component:type_name -> AvaticaType
+ 5, // 9: CursorFactory.style:type_name -> CursorFactory.Style
+ 15, // 10: Frame.rows:type_name -> Row
+ 18, // 11: Row.value:type_name -> ColumnValue
+ 19, // 12: ColumnValue.value:type_name -> TypedValue
+ 19, // 13: ColumnValue.array_value:type_name -> TypedValue
+ 19, // 14: ColumnValue.scalar_value:type_name -> TypedValue
+ 1, // 15: TypedValue.type:type_name -> Rep
+ 19, // 16: TypedValue.array_value:type_name -> TypedValue
+ 1, // 17: TypedValue.component_type:type_name -> Rep
+ 6, // 18: MetaDataOperationArgument.type:type_name -> MetaDataOperationArgument.ArgumentType
+ 4, // 19: QueryState.type:type_name -> StateType
+ 3, // 20: QueryState.op:type_name -> MetaDataOperation
+ 20, // 21: QueryState.args:type_name -> MetaDataOperationArgument
+ 22, // [22:22] is the sub-list for method output_type
+ 22, // [22:22] is the sub-list for method input_type
+ 22, // [22:22] is the sub-list for extension type_name
+ 22, // [22:22] is the sub-list for extension extendee
+ 0, // [0:22] is the sub-list for field type_name
+}
+
+func init() { file_common_proto_init() }
+func file_common_proto_init() {
+ if File_common_proto != nil {
+ return
+ }
+ if !protoimpl.UnsafeEnabled {
+ file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConnectionProperties); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StatementHandle); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Signature); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ColumnMetaData); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AvaticaType); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AvaticaParameter); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CursorFactory); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Frame); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Row); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatabaseProperty); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*WireMessage); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ColumnValue); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TypedValue); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*MetaDataOperationArgument); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*QueryState); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_common_proto_rawDesc,
+ NumEnums: 7,
+ NumMessages: 15,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_common_proto_goTypes,
+ DependencyIndexes: file_common_proto_depIdxs,
+ EnumInfos: file_common_proto_enumTypes,
+ MessageInfos: file_common_proto_msgTypes,
+ }.Build()
+ File_common_proto = out.File
+ file_common_proto_rawDesc = nil
+ file_common_proto_goTypes = nil
+ file_common_proto_depIdxs = nil
}
diff --git a/message/requests.pb.go b/message/requests.pb.go
index 3ee68ae..fe9c297 100644
--- a/message/requests.pb.go
+++ b/message/requests.pb.go
@@ -1,278 +1,374 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to you under the Apache License, Version 2.0
+// (the "License"); 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.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.28.0
+// protoc v3.19.4
// source: requests.proto
package message
import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
+ 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.ProtoPackageIsVersion3 // 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)
+)
// Request for Meta#getCatalogs()
type CatalogsRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CatalogsRequest) Reset() { *m = CatalogsRequest{} }
-func (m *CatalogsRequest) String() string { return proto.CompactTextString(m) }
-func (*CatalogsRequest) ProtoMessage() {}
-func (*CatalogsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{0}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *CatalogsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CatalogsRequest.Unmarshal(m, b)
-}
-func (m *CatalogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CatalogsRequest.Marshal(b, m, deterministic)
-}
-func (m *CatalogsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CatalogsRequest.Merge(m, src)
+func (x *CatalogsRequest) Reset() {
+ *x = CatalogsRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CatalogsRequest) XXX_Size() int {
- return xxx_messageInfo_CatalogsRequest.Size(m)
+
+func (x *CatalogsRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CatalogsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CatalogsRequest.DiscardUnknown(m)
+
+func (*CatalogsRequest) ProtoMessage() {}
+
+func (x *CatalogsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && 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_CatalogsRequest proto.InternalMessageInfo
+// Deprecated: Use CatalogsRequest.ProtoReflect.Descriptor instead.
+func (*CatalogsRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{0}
+}
-func (m *CatalogsRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CatalogsRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request for Meta#getDatabaseProperties()
type DatabasePropertyRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *DatabasePropertyRequest) Reset() { *m = DatabasePropertyRequest{} }
-func (m *DatabasePropertyRequest) String() string { return proto.CompactTextString(m) }
-func (*DatabasePropertyRequest) ProtoMessage() {}
-func (*DatabasePropertyRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{1}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *DatabasePropertyRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DatabasePropertyRequest.Unmarshal(m, b)
-}
-func (m *DatabasePropertyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DatabasePropertyRequest.Marshal(b, m, deterministic)
-}
-func (m *DatabasePropertyRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DatabasePropertyRequest.Merge(m, src)
+func (x *DatabasePropertyRequest) Reset() {
+ *x = DatabasePropertyRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DatabasePropertyRequest) XXX_Size() int {
- return xxx_messageInfo_DatabasePropertyRequest.Size(m)
+
+func (x *DatabasePropertyRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatabasePropertyRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DatabasePropertyRequest.DiscardUnknown(m)
+
+func (*DatabasePropertyRequest) ProtoMessage() {}
+
+func (x *DatabasePropertyRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && 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_DatabasePropertyRequest proto.InternalMessageInfo
+// Deprecated: Use DatabasePropertyRequest.ProtoReflect.Descriptor instead.
+func (*DatabasePropertyRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{1}
+}
-func (m *DatabasePropertyRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *DatabasePropertyRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request for Meta#getSchemas(String, org.apache.calcite.avatica.Meta.Pat)}
type SchemasRequest struct {
- Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
- SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
- ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
+ SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
+ ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ HasCatalog bool `protobuf:"varint,4,opt,name=has_catalog,json=hasCatalog,proto3" json:"has_catalog,omitempty"`
+ HasSchemaPattern bool `protobuf:"varint,5,opt,name=has_schema_pattern,json=hasSchemaPattern,proto3" json:"has_schema_pattern,omitempty"`
+}
+
+func (x *SchemasRequest) Reset() {
+ *x = SchemasRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SchemasRequest) Reset() { *m = SchemasRequest{} }
-func (m *SchemasRequest) String() string { return proto.CompactTextString(m) }
-func (*SchemasRequest) ProtoMessage() {}
-func (*SchemasRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{2}
+func (x *SchemasRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SchemasRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SchemasRequest.Unmarshal(m, b)
-}
-func (m *SchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SchemasRequest.Marshal(b, m, deterministic)
-}
-func (m *SchemasRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SchemasRequest.Merge(m, src)
-}
-func (m *SchemasRequest) XXX_Size() int {
- return xxx_messageInfo_SchemasRequest.Size(m)
-}
-func (m *SchemasRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SchemasRequest.DiscardUnknown(m)
+func (*SchemasRequest) ProtoMessage() {}
+
+func (x *SchemasRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && 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_SchemasRequest proto.InternalMessageInfo
+// Deprecated: Use SchemasRequest.ProtoReflect.Descriptor instead.
+func (*SchemasRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{2}
+}
-func (m *SchemasRequest) GetCatalog() string {
- if m != nil {
- return m.Catalog
+func (x *SchemasRequest) GetCatalog() string {
+ if x != nil {
+ return x.Catalog
}
return ""
}
-func (m *SchemasRequest) GetSchemaPattern() string {
- if m != nil {
- return m.SchemaPattern
+func (x *SchemasRequest) GetSchemaPattern() string {
+ if x != nil {
+ return x.SchemaPattern
}
return ""
}
-func (m *SchemasRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *SchemasRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
+func (x *SchemasRequest) GetHasCatalog() bool {
+ if x != nil {
+ return x.HasCatalog
+ }
+ return false
+}
+
+func (x *SchemasRequest) GetHasSchemaPattern() bool {
+ if x != nil {
+ return x.HasSchemaPattern
+ }
+ return false
+}
+
// Request for Request for Meta#getTables(String, org.apache.calcite.avatica.Meta.Pat,
// org.apache.calcite.avatica.Meta.Pat, java.util.List)
type TablesRequest struct {
- Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
- SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
- TableNamePattern string `protobuf:"bytes,3,opt,name=table_name_pattern,json=tableNamePattern,proto3" json:"table_name_pattern,omitempty"`
- TypeList []string `protobuf:"bytes,4,rep,name=type_list,json=typeList,proto3" json:"type_list,omitempty"`
- HasTypeList bool `protobuf:"varint,6,opt,name=has_type_list,json=hasTypeList,proto3" json:"has_type_list,omitempty"`
- ConnectionId string `protobuf:"bytes,7,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TablesRequest) Reset() { *m = TablesRequest{} }
-func (m *TablesRequest) String() string { return proto.CompactTextString(m) }
-func (*TablesRequest) ProtoMessage() {}
-func (*TablesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{3}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
+ SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
+ TableNamePattern string `protobuf:"bytes,3,opt,name=table_name_pattern,json=tableNamePattern,proto3" json:"table_name_pattern,omitempty"`
+ TypeList []string `protobuf:"bytes,4,rep,name=type_list,json=typeList,proto3" json:"type_list,omitempty"`
+ HasTypeList bool `protobuf:"varint,6,opt,name=has_type_list,json=hasTypeList,proto3" json:"has_type_list,omitempty"` // Having an empty type_list is distinct from a null type_list
+ ConnectionId string `protobuf:"bytes,7,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ HasCatalog bool `protobuf:"varint,8,opt,name=has_catalog,json=hasCatalog,proto3" json:"has_catalog,omitempty"`
+ HasSchemaPattern bool `protobuf:"varint,9,opt,name=has_schema_pattern,json=hasSchemaPattern,proto3" json:"has_schema_pattern,omitempty"`
+ HasTableNamePattern bool `protobuf:"varint,10,opt,name=has_table_name_pattern,json=hasTableNamePattern,proto3" json:"has_table_name_pattern,omitempty"`
+}
+
+func (x *TablesRequest) Reset() {
+ *x = TablesRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TablesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TablesRequest.Unmarshal(m, b)
-}
-func (m *TablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TablesRequest.Marshal(b, m, deterministic)
-}
-func (m *TablesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TablesRequest.Merge(m, src)
-}
-func (m *TablesRequest) XXX_Size() int {
- return xxx_messageInfo_TablesRequest.Size(m)
+func (x *TablesRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *TablesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_TablesRequest.DiscardUnknown(m)
+
+func (*TablesRequest) ProtoMessage() {}
+
+func (x *TablesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && 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_TablesRequest proto.InternalMessageInfo
+// Deprecated: Use TablesRequest.ProtoReflect.Descriptor instead.
+func (*TablesRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{3}
+}
-func (m *TablesRequest) GetCatalog() string {
- if m != nil {
- return m.Catalog
+func (x *TablesRequest) GetCatalog() string {
+ if x != nil {
+ return x.Catalog
}
return ""
}
-func (m *TablesRequest) GetSchemaPattern() string {
- if m != nil {
- return m.SchemaPattern
+func (x *TablesRequest) GetSchemaPattern() string {
+ if x != nil {
+ return x.SchemaPattern
}
return ""
}
-func (m *TablesRequest) GetTableNamePattern() string {
- if m != nil {
- return m.TableNamePattern
+func (x *TablesRequest) GetTableNamePattern() string {
+ if x != nil {
+ return x.TableNamePattern
}
return ""
}
-func (m *TablesRequest) GetTypeList() []string {
- if m != nil {
- return m.TypeList
+func (x *TablesRequest) GetTypeList() []string {
+ if x != nil {
+ return x.TypeList
}
return nil
}
-func (m *TablesRequest) GetHasTypeList() bool {
- if m != nil {
- return m.HasTypeList
+func (x *TablesRequest) GetHasTypeList() bool {
+ if x != nil {
+ return x.HasTypeList
}
return false
}
-func (m *TablesRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *TablesRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-// Request for Meta#getTableTypes()
-type TableTypesRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+func (x *TablesRequest) GetHasCatalog() bool {
+ if x != nil {
+ return x.HasCatalog
+ }
+ return false
}
-func (m *TableTypesRequest) Reset() { *m = TableTypesRequest{} }
-func (m *TableTypesRequest) String() string { return proto.CompactTextString(m) }
-func (*TableTypesRequest) ProtoMessage() {}
-func (*TableTypesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{4}
+func (x *TablesRequest) GetHasSchemaPattern() bool {
+ if x != nil {
+ return x.HasSchemaPattern
+ }
+ return false
}
-func (m *TableTypesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TableTypesRequest.Unmarshal(m, b)
+func (x *TablesRequest) GetHasTableNamePattern() bool {
+ if x != nil {
+ return x.HasTableNamePattern
+ }
+ return false
}
-func (m *TableTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TableTypesRequest.Marshal(b, m, deterministic)
+
+// Request for Meta#getTableTypes()
+type TableTypesRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *TableTypesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TableTypesRequest.Merge(m, src)
+
+func (x *TableTypesRequest) Reset() {
+ *x = TableTypesRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TableTypesRequest) XXX_Size() int {
- return xxx_messageInfo_TableTypesRequest.Size(m)
+
+func (x *TableTypesRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *TableTypesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_TableTypesRequest.DiscardUnknown(m)
+
+func (*TableTypesRequest) ProtoMessage() {}
+
+func (x *TableTypesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && 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_TableTypesRequest proto.InternalMessageInfo
+// Deprecated: Use TableTypesRequest.ProtoReflect.Descriptor instead.
+func (*TableTypesRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{4}
+}
-func (m *TableTypesRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *TableTypesRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
@@ -280,1008 +376,1645 @@ func (m *TableTypesRequest) GetConnectionId() string {
// Request for Meta#getColumns(String, org.apache.calcite.avatica.Meta.Pat,
// org.apache.calcite.avatica.Meta.Pat, org.apache.calcite.avatica.Meta.Pat).
type ColumnsRequest struct {
- Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
- SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
- TableNamePattern string `protobuf:"bytes,3,opt,name=table_name_pattern,json=tableNamePattern,proto3" json:"table_name_pattern,omitempty"`
- ColumnNamePattern string `protobuf:"bytes,4,opt,name=column_name_pattern,json=columnNamePattern,proto3" json:"column_name_pattern,omitempty"`
- ConnectionId string `protobuf:"bytes,5,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ColumnsRequest) Reset() { *m = ColumnsRequest{} }
-func (m *ColumnsRequest) String() string { return proto.CompactTextString(m) }
-func (*ColumnsRequest) ProtoMessage() {}
-func (*ColumnsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{5}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
+ SchemaPattern string `protobuf:"bytes,2,opt,name=schema_pattern,json=schemaPattern,proto3" json:"schema_pattern,omitempty"`
+ TableNamePattern string `protobuf:"bytes,3,opt,name=table_name_pattern,json=tableNamePattern,proto3" json:"table_name_pattern,omitempty"`
+ ColumnNamePattern string `protobuf:"bytes,4,opt,name=column_name_pattern,json=columnNamePattern,proto3" json:"column_name_pattern,omitempty"`
+ ConnectionId string `protobuf:"bytes,5,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ HasCatalog bool `protobuf:"varint,6,opt,name=has_catalog,json=hasCatalog,proto3" json:"has_catalog,omitempty"`
+ HasSchemaPattern bool `protobuf:"varint,7,opt,name=has_schema_pattern,json=hasSchemaPattern,proto3" json:"has_schema_pattern,omitempty"`
+ HasTableNamePattern bool `protobuf:"varint,8,opt,name=has_table_name_pattern,json=hasTableNamePattern,proto3" json:"has_table_name_pattern,omitempty"`
+ HasColumnNamePattern bool `protobuf:"varint,9,opt,name=has_column_name_pattern,json=hasColumnNamePattern,proto3" json:"has_column_name_pattern,omitempty"`
+}
+
+func (x *ColumnsRequest) Reset() {
+ *x = ColumnsRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ColumnsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ColumnsRequest.Unmarshal(m, b)
-}
-func (m *ColumnsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ColumnsRequest.Marshal(b, m, deterministic)
-}
-func (m *ColumnsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ColumnsRequest.Merge(m, src)
+func (x *ColumnsRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ColumnsRequest) XXX_Size() int {
- return xxx_messageInfo_ColumnsRequest.Size(m)
-}
-func (m *ColumnsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ColumnsRequest.DiscardUnknown(m)
+
+func (*ColumnsRequest) ProtoMessage() {}
+
+func (x *ColumnsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && 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_ColumnsRequest proto.InternalMessageInfo
+// Deprecated: Use ColumnsRequest.ProtoReflect.Descriptor instead.
+func (*ColumnsRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{5}
+}
-func (m *ColumnsRequest) GetCatalog() string {
- if m != nil {
- return m.Catalog
+func (x *ColumnsRequest) GetCatalog() string {
+ if x != nil {
+ return x.Catalog
}
return ""
}
-func (m *ColumnsRequest) GetSchemaPattern() string {
- if m != nil {
- return m.SchemaPattern
+func (x *ColumnsRequest) GetSchemaPattern() string {
+ if x != nil {
+ return x.SchemaPattern
}
return ""
}
-func (m *ColumnsRequest) GetTableNamePattern() string {
- if m != nil {
- return m.TableNamePattern
+func (x *ColumnsRequest) GetTableNamePattern() string {
+ if x != nil {
+ return x.TableNamePattern
}
return ""
}
-func (m *ColumnsRequest) GetColumnNamePattern() string {
- if m != nil {
- return m.ColumnNamePattern
+func (x *ColumnsRequest) GetColumnNamePattern() string {
+ if x != nil {
+ return x.ColumnNamePattern
}
return ""
}
-func (m *ColumnsRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *ColumnsRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-// Request for Meta#getTypeInfo()
-type TypeInfoRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+func (x *ColumnsRequest) GetHasCatalog() bool {
+ if x != nil {
+ return x.HasCatalog
+ }
+ return false
}
-func (m *TypeInfoRequest) Reset() { *m = TypeInfoRequest{} }
-func (m *TypeInfoRequest) String() string { return proto.CompactTextString(m) }
-func (*TypeInfoRequest) ProtoMessage() {}
-func (*TypeInfoRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{6}
+func (x *ColumnsRequest) GetHasSchemaPattern() bool {
+ if x != nil {
+ return x.HasSchemaPattern
+ }
+ return false
}
-func (m *TypeInfoRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TypeInfoRequest.Unmarshal(m, b)
+func (x *ColumnsRequest) GetHasTableNamePattern() bool {
+ if x != nil {
+ return x.HasTableNamePattern
+ }
+ return false
}
-func (m *TypeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TypeInfoRequest.Marshal(b, m, deterministic)
+
+func (x *ColumnsRequest) GetHasColumnNamePattern() bool {
+ if x != nil {
+ return x.HasColumnNamePattern
+ }
+ return false
+}
+
+// Request for Meta#getTypeInfo()
+type TypeInfoRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *TypeInfoRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TypeInfoRequest.Merge(m, src)
+
+func (x *TypeInfoRequest) Reset() {
+ *x = TypeInfoRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *TypeInfoRequest) XXX_Size() int {
- return xxx_messageInfo_TypeInfoRequest.Size(m)
+
+func (x *TypeInfoRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *TypeInfoRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_TypeInfoRequest.DiscardUnknown(m)
+
+func (*TypeInfoRequest) ProtoMessage() {}
+
+func (x *TypeInfoRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && 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_TypeInfoRequest proto.InternalMessageInfo
+// Deprecated: Use TypeInfoRequest.ProtoReflect.Descriptor instead.
+func (*TypeInfoRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{6}
+}
-func (m *TypeInfoRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *TypeInfoRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request for Meta#prepareAndExecute(Meta.StatementHandle, String, long, Meta.PrepareCallback)
type PrepareAndExecuteRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
- MaxRowCount uint64 `protobuf:"varint,3,opt,name=max_row_count,json=maxRowCount,proto3" json:"max_row_count,omitempty"`
- StatementId uint32 `protobuf:"varint,4,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- MaxRowsTotal int64 `protobuf:"varint,5,opt,name=max_rows_total,json=maxRowsTotal,proto3" json:"max_rows_total,omitempty"`
- FirstFrameMaxSize int32 `protobuf:"varint,6,opt,name=first_frame_max_size,json=firstFrameMaxSize,proto3" json:"first_frame_max_size,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PrepareAndExecuteRequest) Reset() { *m = PrepareAndExecuteRequest{} }
-func (m *PrepareAndExecuteRequest) String() string { return proto.CompactTextString(m) }
-func (*PrepareAndExecuteRequest) ProtoMessage() {}
-func (*PrepareAndExecuteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{7}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
+ MaxRowCount uint64 `protobuf:"varint,3,opt,name=max_row_count,json=maxRowCount,proto3" json:"max_row_count,omitempty"` // Deprecated
+ StatementId uint32 `protobuf:"varint,4,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ MaxRowsTotal int64 `protobuf:"varint,5,opt,name=max_rows_total,json=maxRowsTotal,proto3" json:"max_rows_total,omitempty"` // The maximum number of rows that will be allowed for this query
+ FirstFrameMaxSize int32 `protobuf:"varint,6,opt,name=first_frame_max_size,json=firstFrameMaxSize,proto3" json:"first_frame_max_size,omitempty"` // The maximum number of rows that will be returned in the
+}
+
+func (x *PrepareAndExecuteRequest) Reset() {
+ *x = PrepareAndExecuteRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *PrepareAndExecuteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PrepareAndExecuteRequest.Unmarshal(m, b)
-}
-func (m *PrepareAndExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PrepareAndExecuteRequest.Marshal(b, m, deterministic)
+func (x *PrepareAndExecuteRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *PrepareAndExecuteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PrepareAndExecuteRequest.Merge(m, src)
-}
-func (m *PrepareAndExecuteRequest) XXX_Size() int {
- return xxx_messageInfo_PrepareAndExecuteRequest.Size(m)
-}
-func (m *PrepareAndExecuteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PrepareAndExecuteRequest.DiscardUnknown(m)
+
+func (*PrepareAndExecuteRequest) ProtoMessage() {}
+
+func (x *PrepareAndExecuteRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && 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_PrepareAndExecuteRequest proto.InternalMessageInfo
+// Deprecated: Use PrepareAndExecuteRequest.ProtoReflect.Descriptor instead.
+func (*PrepareAndExecuteRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{7}
+}
-func (m *PrepareAndExecuteRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *PrepareAndExecuteRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *PrepareAndExecuteRequest) GetSql() string {
- if m != nil {
- return m.Sql
+func (x *PrepareAndExecuteRequest) GetSql() string {
+ if x != nil {
+ return x.Sql
}
return ""
}
-func (m *PrepareAndExecuteRequest) GetMaxRowCount() uint64 {
- if m != nil {
- return m.MaxRowCount
+func (x *PrepareAndExecuteRequest) GetMaxRowCount() uint64 {
+ if x != nil {
+ return x.MaxRowCount
}
return 0
}
-func (m *PrepareAndExecuteRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *PrepareAndExecuteRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *PrepareAndExecuteRequest) GetMaxRowsTotal() int64 {
- if m != nil {
- return m.MaxRowsTotal
+func (x *PrepareAndExecuteRequest) GetMaxRowsTotal() int64 {
+ if x != nil {
+ return x.MaxRowsTotal
}
return 0
}
-func (m *PrepareAndExecuteRequest) GetFirstFrameMaxSize() int32 {
- if m != nil {
- return m.FirstFrameMaxSize
+func (x *PrepareAndExecuteRequest) GetFirstFrameMaxSize() int32 {
+ if x != nil {
+ return x.FirstFrameMaxSize
}
return 0
}
// Request for Meta.prepare(Meta.ConnectionHandle, String, long)
type PrepareRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
- MaxRowCount uint64 `protobuf:"varint,3,opt,name=max_row_count,json=maxRowCount,proto3" json:"max_row_count,omitempty"`
- MaxRowsTotal int64 `protobuf:"varint,4,opt,name=max_rows_total,json=maxRowsTotal,proto3" json:"max_rows_total,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PrepareRequest) Reset() { *m = PrepareRequest{} }
-func (m *PrepareRequest) String() string { return proto.CompactTextString(m) }
-func (*PrepareRequest) ProtoMessage() {}
-func (*PrepareRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{8}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ Sql string `protobuf:"bytes,2,opt,name=sql,proto3" json:"sql,omitempty"`
+ MaxRowCount uint64 `protobuf:"varint,3,opt,name=max_row_count,json=maxRowCount,proto3" json:"max_row_count,omitempty"` // Deprecated
+ MaxRowsTotal int64 `protobuf:"varint,4,opt,name=max_rows_total,json=maxRowsTotal,proto3" json:"max_rows_total,omitempty"` // The maximum number of rows that will be allowed for this query
+}
+
+func (x *PrepareRequest) Reset() {
+ *x = PrepareRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *PrepareRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PrepareRequest.Unmarshal(m, b)
-}
-func (m *PrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PrepareRequest.Marshal(b, m, deterministic)
-}
-func (m *PrepareRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PrepareRequest.Merge(m, src)
+func (x *PrepareRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *PrepareRequest) XXX_Size() int {
- return xxx_messageInfo_PrepareRequest.Size(m)
-}
-func (m *PrepareRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PrepareRequest.DiscardUnknown(m)
+
+func (*PrepareRequest) ProtoMessage() {}
+
+func (x *PrepareRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && 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_PrepareRequest proto.InternalMessageInfo
+// Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
+func (*PrepareRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{8}
+}
-func (m *PrepareRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *PrepareRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *PrepareRequest) GetSql() string {
- if m != nil {
- return m.Sql
+func (x *PrepareRequest) GetSql() string {
+ if x != nil {
+ return x.Sql
}
return ""
}
-func (m *PrepareRequest) GetMaxRowCount() uint64 {
- if m != nil {
- return m.MaxRowCount
+func (x *PrepareRequest) GetMaxRowCount() uint64 {
+ if x != nil {
+ return x.MaxRowCount
}
return 0
}
-func (m *PrepareRequest) GetMaxRowsTotal() int64 {
- if m != nil {
- return m.MaxRowsTotal
+func (x *PrepareRequest) GetMaxRowsTotal() int64 {
+ if x != nil {
+ return x.MaxRowsTotal
}
return 0
}
// Request for Meta#fetch(Meta.StatementHandle, List, long, int)
type FetchRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
- FetchMaxRowCount uint32 `protobuf:"varint,4,opt,name=fetch_max_row_count,json=fetchMaxRowCount,proto3" json:"fetch_max_row_count,omitempty"`
- FrameMaxSize int32 `protobuf:"varint,5,opt,name=frame_max_size,json=frameMaxSize,proto3" json:"frame_max_size,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *FetchRequest) Reset() { *m = FetchRequest{} }
-func (m *FetchRequest) String() string { return proto.CompactTextString(m) }
-func (*FetchRequest) ProtoMessage() {}
-func (*FetchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{9}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
+ FetchMaxRowCount uint32 `protobuf:"varint,4,opt,name=fetch_max_row_count,json=fetchMaxRowCount,proto3" json:"fetch_max_row_count,omitempty"` // Maximum number of rows to be returned in the frame. Negative means no limit. Deprecated!
+ FrameMaxSize int32 `protobuf:"varint,5,opt,name=frame_max_size,json=frameMaxSize,proto3" json:"frame_max_size,omitempty"`
+}
+
+func (x *FetchRequest) Reset() {
+ *x = FetchRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FetchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FetchRequest.Unmarshal(m, b)
-}
-func (m *FetchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FetchRequest.Marshal(b, m, deterministic)
-}
-func (m *FetchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FetchRequest.Merge(m, src)
+func (x *FetchRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FetchRequest) XXX_Size() int {
- return xxx_messageInfo_FetchRequest.Size(m)
-}
-func (m *FetchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FetchRequest.DiscardUnknown(m)
+
+func (*FetchRequest) ProtoMessage() {}
+
+func (x *FetchRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && 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_FetchRequest proto.InternalMessageInfo
+// Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
+func (*FetchRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{9}
+}
-func (m *FetchRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *FetchRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *FetchRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *FetchRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *FetchRequest) GetOffset() uint64 {
- if m != nil {
- return m.Offset
+func (x *FetchRequest) GetOffset() uint64 {
+ if x != nil {
+ return x.Offset
}
return 0
}
-func (m *FetchRequest) GetFetchMaxRowCount() uint32 {
- if m != nil {
- return m.FetchMaxRowCount
+func (x *FetchRequest) GetFetchMaxRowCount() uint32 {
+ if x != nil {
+ return x.FetchMaxRowCount
}
return 0
}
-func (m *FetchRequest) GetFrameMaxSize() int32 {
- if m != nil {
- return m.FrameMaxSize
+func (x *FetchRequest) GetFrameMaxSize() int32 {
+ if x != nil {
+ return x.FrameMaxSize
}
return 0
}
// Request for Meta#createStatement(Meta.ConnectionHandle)
type CreateStatementRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CreateStatementRequest) Reset() { *m = CreateStatementRequest{} }
-func (m *CreateStatementRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateStatementRequest) ProtoMessage() {}
-func (*CreateStatementRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{10}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *CreateStatementRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateStatementRequest.Unmarshal(m, b)
-}
-func (m *CreateStatementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateStatementRequest.Marshal(b, m, deterministic)
-}
-func (m *CreateStatementRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateStatementRequest.Merge(m, src)
+func (x *CreateStatementRequest) Reset() {
+ *x = CreateStatementRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CreateStatementRequest) XXX_Size() int {
- return xxx_messageInfo_CreateStatementRequest.Size(m)
+
+func (x *CreateStatementRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CreateStatementRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateStatementRequest.DiscardUnknown(m)
+
+func (*CreateStatementRequest) ProtoMessage() {}
+
+func (x *CreateStatementRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && 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_CreateStatementRequest proto.InternalMessageInfo
+// Deprecated: Use CreateStatementRequest.ProtoReflect.Descriptor instead.
+func (*CreateStatementRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{10}
+}
-func (m *CreateStatementRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CreateStatementRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request for Meta#closeStatement(Meta.StatementHandle)
type CloseStatementRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CloseStatementRequest) Reset() { *m = CloseStatementRequest{} }
-func (m *CloseStatementRequest) String() string { return proto.CompactTextString(m) }
-func (*CloseStatementRequest) ProtoMessage() {}
-func (*CloseStatementRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{11}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
}
-func (m *CloseStatementRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CloseStatementRequest.Unmarshal(m, b)
-}
-func (m *CloseStatementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CloseStatementRequest.Marshal(b, m, deterministic)
-}
-func (m *CloseStatementRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CloseStatementRequest.Merge(m, src)
+func (x *CloseStatementRequest) Reset() {
+ *x = CloseStatementRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CloseStatementRequest) XXX_Size() int {
- return xxx_messageInfo_CloseStatementRequest.Size(m)
+
+func (x *CloseStatementRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CloseStatementRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CloseStatementRequest.DiscardUnknown(m)
+
+func (*CloseStatementRequest) ProtoMessage() {}
+
+func (x *CloseStatementRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && 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_CloseStatementRequest proto.InternalMessageInfo
+// Deprecated: Use CloseStatementRequest.ProtoReflect.Descriptor instead.
+func (*CloseStatementRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{11}
+}
-func (m *CloseStatementRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CloseStatementRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *CloseStatementRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *CloseStatementRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
// Request for Meta#openConnection(Meta.ConnectionHandle, Map<String, String>)
type OpenConnectionRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- Info map[string]string `protobuf:"bytes,2,rep,name=info,proto3" json:"info,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:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *OpenConnectionRequest) Reset() { *m = OpenConnectionRequest{} }
-func (m *OpenConnectionRequest) String() string { return proto.CompactTextString(m) }
-func (*OpenConnectionRequest) ProtoMessage() {}
-func (*OpenConnectionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{12}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ Info map[string]string `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
-func (m *OpenConnectionRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OpenConnectionRequest.Unmarshal(m, b)
-}
-func (m *OpenConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OpenConnectionRequest.Marshal(b, m, deterministic)
-}
-func (m *OpenConnectionRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OpenConnectionRequest.Merge(m, src)
+func (x *OpenConnectionRequest) Reset() {
+ *x = OpenConnectionRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpenConnectionRequest) XXX_Size() int {
- return xxx_messageInfo_OpenConnectionRequest.Size(m)
+
+func (x *OpenConnectionRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *OpenConnectionRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_OpenConnectionRequest.DiscardUnknown(m)
+
+func (*OpenConnectionRequest) ProtoMessage() {}
+
+func (x *OpenConnectionRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && 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_OpenConnectionRequest proto.InternalMessageInfo
+// Deprecated: Use OpenConnectionRequest.ProtoReflect.Descriptor instead.
+func (*OpenConnectionRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{12}
+}
-func (m *OpenConnectionRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *OpenConnectionRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *OpenConnectionRequest) GetInfo() map[string]string {
- if m != nil {
- return m.Info
+func (x *OpenConnectionRequest) GetInfo() map[string]string {
+ if x != nil {
+ return x.Info
}
return nil
}
// Request for Meta#closeConnection(Meta.ConnectionHandle)
type CloseConnectionRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CloseConnectionRequest) Reset() { *m = CloseConnectionRequest{} }
-func (m *CloseConnectionRequest) String() string { return proto.CompactTextString(m) }
-func (*CloseConnectionRequest) ProtoMessage() {}
-func (*CloseConnectionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{13}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *CloseConnectionRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CloseConnectionRequest.Unmarshal(m, b)
-}
-func (m *CloseConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CloseConnectionRequest.Marshal(b, m, deterministic)
-}
-func (m *CloseConnectionRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CloseConnectionRequest.Merge(m, src)
+func (x *CloseConnectionRequest) Reset() {
+ *x = CloseConnectionRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CloseConnectionRequest) XXX_Size() int {
- return xxx_messageInfo_CloseConnectionRequest.Size(m)
+
+func (x *CloseConnectionRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CloseConnectionRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CloseConnectionRequest.DiscardUnknown(m)
+
+func (*CloseConnectionRequest) ProtoMessage() {}
+
+func (x *CloseConnectionRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && 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_CloseConnectionRequest proto.InternalMessageInfo
+// Deprecated: Use CloseConnectionRequest.ProtoReflect.Descriptor instead.
+func (*CloseConnectionRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{13}
+}
-func (m *CloseConnectionRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CloseConnectionRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
type ConnectionSyncRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- ConnProps *ConnectionProperties `protobuf:"bytes,2,opt,name=conn_props,json=connProps,proto3" json:"conn_props,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ConnectionSyncRequest) Reset() { *m = ConnectionSyncRequest{} }
-func (m *ConnectionSyncRequest) String() string { return proto.CompactTextString(m) }
-func (*ConnectionSyncRequest) ProtoMessage() {}
-func (*ConnectionSyncRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{14}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ ConnProps *ConnectionProperties `protobuf:"bytes,2,opt,name=conn_props,json=connProps,proto3" json:"conn_props,omitempty"`
}
-func (m *ConnectionSyncRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConnectionSyncRequest.Unmarshal(m, b)
-}
-func (m *ConnectionSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConnectionSyncRequest.Marshal(b, m, deterministic)
-}
-func (m *ConnectionSyncRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConnectionSyncRequest.Merge(m, src)
+func (x *ConnectionSyncRequest) Reset() {
+ *x = ConnectionSyncRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ConnectionSyncRequest) XXX_Size() int {
- return xxx_messageInfo_ConnectionSyncRequest.Size(m)
+
+func (x *ConnectionSyncRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ConnectionSyncRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ConnectionSyncRequest.DiscardUnknown(m)
+
+func (*ConnectionSyncRequest) ProtoMessage() {}
+
+func (x *ConnectionSyncRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && 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_ConnectionSyncRequest proto.InternalMessageInfo
+// Deprecated: Use ConnectionSyncRequest.ProtoReflect.Descriptor instead.
+func (*ConnectionSyncRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{14}
+}
-func (m *ConnectionSyncRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *ConnectionSyncRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *ConnectionSyncRequest) GetConnProps() *ConnectionProperties {
- if m != nil {
- return m.ConnProps
+func (x *ConnectionSyncRequest) GetConnProps() *ConnectionProperties {
+ if x != nil {
+ return x.ConnProps
}
return nil
}
// Request for Meta#execute(Meta.ConnectionHandle, list, long)
type ExecuteRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
StatementHandle *StatementHandle `protobuf:"bytes,1,opt,name=statementHandle,proto3" json:"statementHandle,omitempty"`
ParameterValues []*TypedValue `protobuf:"bytes,2,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"`
- DeprecatedFirstFrameMaxSize uint64 `protobuf:"varint,3,opt,name=deprecated_first_frame_max_size,json=deprecatedFirstFrameMaxSize,proto3" json:"deprecated_first_frame_max_size,omitempty"`
+ DeprecatedFirstFrameMaxSize uint64 `protobuf:"varint,3,opt,name=deprecated_first_frame_max_size,json=deprecatedFirstFrameMaxSize,proto3" json:"deprecated_first_frame_max_size,omitempty"` // Deprecated, use the signed int instead.
HasParameterValues bool `protobuf:"varint,4,opt,name=has_parameter_values,json=hasParameterValues,proto3" json:"has_parameter_values,omitempty"`
- FirstFrameMaxSize int32 `protobuf:"varint,5,opt,name=first_frame_max_size,json=firstFrameMaxSize,proto3" json:"first_frame_max_size,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ FirstFrameMaxSize int32 `protobuf:"varint,5,opt,name=first_frame_max_size,json=firstFrameMaxSize,proto3" json:"first_frame_max_size,omitempty"` // The maximum number of rows to return in the first Frame
}
-func (m *ExecuteRequest) Reset() { *m = ExecuteRequest{} }
-func (m *ExecuteRequest) String() string { return proto.CompactTextString(m) }
-func (*ExecuteRequest) ProtoMessage() {}
-func (*ExecuteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{15}
+func (x *ExecuteRequest) Reset() {
+ *x = ExecuteRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExecuteRequest.Unmarshal(m, b)
-}
-func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExecuteRequest.Marshal(b, m, deterministic)
+func (x *ExecuteRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ExecuteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExecuteRequest.Merge(m, src)
-}
-func (m *ExecuteRequest) XXX_Size() int {
- return xxx_messageInfo_ExecuteRequest.Size(m)
-}
-func (m *ExecuteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ExecuteRequest.DiscardUnknown(m)
+
+func (*ExecuteRequest) ProtoMessage() {}
+
+func (x *ExecuteRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && 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_ExecuteRequest proto.InternalMessageInfo
+// Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
+func (*ExecuteRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{15}
+}
-func (m *ExecuteRequest) GetStatementHandle() *StatementHandle {
- if m != nil {
- return m.StatementHandle
+func (x *ExecuteRequest) GetStatementHandle() *StatementHandle {
+ if x != nil {
+ return x.StatementHandle
}
return nil
}
-func (m *ExecuteRequest) GetParameterValues() []*TypedValue {
- if m != nil {
- return m.ParameterValues
+func (x *ExecuteRequest) GetParameterValues() []*TypedValue {
+ if x != nil {
+ return x.ParameterValues
}
return nil
}
-func (m *ExecuteRequest) GetDeprecatedFirstFrameMaxSize() uint64 {
- if m != nil {
- return m.DeprecatedFirstFrameMaxSize
+func (x *ExecuteRequest) GetDeprecatedFirstFrameMaxSize() uint64 {
+ if x != nil {
+ return x.DeprecatedFirstFrameMaxSize
}
return 0
}
-func (m *ExecuteRequest) GetHasParameterValues() bool {
- if m != nil {
- return m.HasParameterValues
+func (x *ExecuteRequest) GetHasParameterValues() bool {
+ if x != nil {
+ return x.HasParameterValues
}
return false
}
-func (m *ExecuteRequest) GetFirstFrameMaxSize() int32 {
- if m != nil {
- return m.FirstFrameMaxSize
+func (x *ExecuteRequest) GetFirstFrameMaxSize() int32 {
+ if x != nil {
+ return x.FirstFrameMaxSize
}
return 0
}
type SyncResultsRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- State *QueryState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
- Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SyncResultsRequest) Reset() { *m = SyncResultsRequest{} }
-func (m *SyncResultsRequest) String() string { return proto.CompactTextString(m) }
-func (*SyncResultsRequest) ProtoMessage() {}
-func (*SyncResultsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{16}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ State *QueryState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
+ Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
+}
+
+func (x *SyncResultsRequest) Reset() {
+ *x = SyncResultsRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SyncResultsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SyncResultsRequest.Unmarshal(m, b)
-}
-func (m *SyncResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SyncResultsRequest.Marshal(b, m, deterministic)
-}
-func (m *SyncResultsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SyncResultsRequest.Merge(m, src)
+func (x *SyncResultsRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SyncResultsRequest) XXX_Size() int {
- return xxx_messageInfo_SyncResultsRequest.Size(m)
-}
-func (m *SyncResultsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SyncResultsRequest.DiscardUnknown(m)
+
+func (*SyncResultsRequest) ProtoMessage() {}
+
+func (x *SyncResultsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && 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_SyncResultsRequest proto.InternalMessageInfo
+// Deprecated: Use SyncResultsRequest.ProtoReflect.Descriptor instead.
+func (*SyncResultsRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{16}
+}
-func (m *SyncResultsRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *SyncResultsRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *SyncResultsRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *SyncResultsRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *SyncResultsRequest) GetState() *QueryState {
- if m != nil {
- return m.State
+func (x *SyncResultsRequest) GetState() *QueryState {
+ if x != nil {
+ return x.State
}
return nil
}
-func (m *SyncResultsRequest) GetOffset() uint64 {
- if m != nil {
- return m.Offset
+func (x *SyncResultsRequest) GetOffset() uint64 {
+ if x != nil {
+ return x.Offset
}
return 0
}
// Request to invoke a commit on a Connection
type CommitRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CommitRequest) Reset() { *m = CommitRequest{} }
-func (m *CommitRequest) String() string { return proto.CompactTextString(m) }
-func (*CommitRequest) ProtoMessage() {}
-func (*CommitRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{17}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *CommitRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CommitRequest.Unmarshal(m, b)
-}
-func (m *CommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CommitRequest.Marshal(b, m, deterministic)
-}
-func (m *CommitRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CommitRequest.Merge(m, src)
+func (x *CommitRequest) Reset() {
+ *x = CommitRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[17]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CommitRequest) XXX_Size() int {
- return xxx_messageInfo_CommitRequest.Size(m)
+
+func (x *CommitRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CommitRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CommitRequest.DiscardUnknown(m)
+
+func (*CommitRequest) ProtoMessage() {}
+
+func (x *CommitRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[17]
+ if protoimpl.UnsafeEnabled && 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_CommitRequest proto.InternalMessageInfo
+// Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
+func (*CommitRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{17}
+}
-func (m *CommitRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CommitRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request to invoke rollback on a Connection
type RollbackRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *RollbackRequest) Reset() { *m = RollbackRequest{} }
-func (m *RollbackRequest) String() string { return proto.CompactTextString(m) }
-func (*RollbackRequest) ProtoMessage() {}
-func (*RollbackRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{18}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
}
-func (m *RollbackRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RollbackRequest.Unmarshal(m, b)
-}
-func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic)
-}
-func (m *RollbackRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RollbackRequest.Merge(m, src)
+func (x *RollbackRequest) Reset() {
+ *x = RollbackRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[18]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RollbackRequest) XXX_Size() int {
- return xxx_messageInfo_RollbackRequest.Size(m)
+
+func (x *RollbackRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RollbackRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RollbackRequest.DiscardUnknown(m)
+
+func (*RollbackRequest) ProtoMessage() {}
+
+func (x *RollbackRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[18]
+ if protoimpl.UnsafeEnabled && 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_RollbackRequest proto.InternalMessageInfo
+// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead.
+func (*RollbackRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{18}
+}
-func (m *RollbackRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *RollbackRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
// Request to prepare and execute a collection of sql statements.
type PrepareAndExecuteBatchRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- SqlCommands []string `protobuf:"bytes,3,rep,name=sql_commands,json=sqlCommands,proto3" json:"sql_commands,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *PrepareAndExecuteBatchRequest) Reset() { *m = PrepareAndExecuteBatchRequest{} }
-func (m *PrepareAndExecuteBatchRequest) String() string { return proto.CompactTextString(m) }
-func (*PrepareAndExecuteBatchRequest) ProtoMessage() {}
-func (*PrepareAndExecuteBatchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{19}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ SqlCommands []string `protobuf:"bytes,3,rep,name=sql_commands,json=sqlCommands,proto3" json:"sql_commands,omitempty"`
}
-func (m *PrepareAndExecuteBatchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PrepareAndExecuteBatchRequest.Unmarshal(m, b)
-}
-func (m *PrepareAndExecuteBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PrepareAndExecuteBatchRequest.Marshal(b, m, deterministic)
-}
-func (m *PrepareAndExecuteBatchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PrepareAndExecuteBatchRequest.Merge(m, src)
+func (x *PrepareAndExecuteBatchRequest) Reset() {
+ *x = PrepareAndExecuteBatchRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *PrepareAndExecuteBatchRequest) XXX_Size() int {
- return xxx_messageInfo_PrepareAndExecuteBatchRequest.Size(m)
+
+func (x *PrepareAndExecuteBatchRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *PrepareAndExecuteBatchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PrepareAndExecuteBatchRequest.DiscardUnknown(m)
+
+func (*PrepareAndExecuteBatchRequest) ProtoMessage() {}
+
+func (x *PrepareAndExecuteBatchRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && 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_PrepareAndExecuteBatchRequest proto.InternalMessageInfo
+// Deprecated: Use PrepareAndExecuteBatchRequest.ProtoReflect.Descriptor instead.
+func (*PrepareAndExecuteBatchRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{19}
+}
-func (m *PrepareAndExecuteBatchRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *PrepareAndExecuteBatchRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *PrepareAndExecuteBatchRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *PrepareAndExecuteBatchRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *PrepareAndExecuteBatchRequest) GetSqlCommands() []string {
- if m != nil {
- return m.SqlCommands
+func (x *PrepareAndExecuteBatchRequest) GetSqlCommands() []string {
+ if x != nil {
+ return x.SqlCommands
}
return nil
}
// Each command is a list of TypedValues
type UpdateBatch struct {
- ParameterValues []*TypedValue `protobuf:"bytes,1,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *UpdateBatch) Reset() { *m = UpdateBatch{} }
-func (m *UpdateBatch) String() string { return proto.CompactTextString(m) }
-func (*UpdateBatch) ProtoMessage() {}
-func (*UpdateBatch) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{20}
+ ParameterValues []*TypedValue `protobuf:"bytes,1,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"`
}
-func (m *UpdateBatch) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateBatch.Unmarshal(m, b)
-}
-func (m *UpdateBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateBatch.Marshal(b, m, deterministic)
-}
-func (m *UpdateBatch) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateBatch.Merge(m, src)
+func (x *UpdateBatch) Reset() {
+ *x = UpdateBatch{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *UpdateBatch) XXX_Size() int {
- return xxx_messageInfo_UpdateBatch.Size(m)
+
+func (x *UpdateBatch) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *UpdateBatch) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateBatch.DiscardUnknown(m)
+
+func (*UpdateBatch) ProtoMessage() {}
+
+func (x *UpdateBatch) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && 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_UpdateBatch proto.InternalMessageInfo
+// Deprecated: Use UpdateBatch.ProtoReflect.Descriptor instead.
+func (*UpdateBatch) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{20}
+}
-func (m *UpdateBatch) GetParameterValues() []*TypedValue {
- if m != nil {
- return m.ParameterValues
+func (x *UpdateBatch) GetParameterValues() []*TypedValue {
+ if x != nil {
+ return x.ParameterValues
}
return nil
}
type ExecuteBatchRequest struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- Updates []*UpdateBatch `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ExecuteBatchRequest) Reset() { *m = ExecuteBatchRequest{} }
-func (m *ExecuteBatchRequest) String() string { return proto.CompactTextString(m) }
-func (*ExecuteBatchRequest) ProtoMessage() {}
-func (*ExecuteBatchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_9c9ccec99da7c9b4, []int{21}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ Updates []*UpdateBatch `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` // A batch of updates is a list<list<typevalue>>
}
-func (m *ExecuteBatchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExecuteBatchRequest.Unmarshal(m, b)
-}
-func (m *ExecuteBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExecuteBatchRequest.Marshal(b, m, deterministic)
-}
-func (m *ExecuteBatchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExecuteBatchRequest.Merge(m, src)
+func (x *ExecuteBatchRequest) Reset() {
+ *x = ExecuteBatchRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_requests_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ExecuteBatchRequest) XXX_Size() int {
- return xxx_messageInfo_ExecuteBatchRequest.Size(m)
+
+func (x *ExecuteBatchRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ExecuteBatchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ExecuteBatchRequest.DiscardUnknown(m)
+
+func (*ExecuteBatchRequest) ProtoMessage() {}
+
+func (x *ExecuteBatchRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_requests_proto_msgTypes[21]
+ if protoimpl.UnsafeEnabled && 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_ExecuteBatchRequest proto.InternalMessageInfo
+// Deprecated: Use ExecuteBatchRequest.ProtoReflect.Descriptor instead.
+func (*ExecuteBatchRequest) Descriptor() ([]byte, []int) {
+ return file_requests_proto_rawDescGZIP(), []int{21}
+}
-func (m *ExecuteBatchRequest) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *ExecuteBatchRequest) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *ExecuteBatchRequest) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *ExecuteBatchRequest) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *ExecuteBatchRequest) GetUpdates() []*UpdateBatch {
- if m != nil {
- return m.Updates
+func (x *ExecuteBatchRequest) GetUpdates() []*UpdateBatch {
+ if x != nil {
+ return x.Updates
}
return nil
}
-func init() {
- proto.RegisterType((*CatalogsRequest)(nil), "CatalogsRequest")
- proto.RegisterType((*DatabasePropertyRequest)(nil), "DatabasePropertyRequest")
- proto.RegisterType((*SchemasRequest)(nil), "SchemasRequest")
- proto.RegisterType((*TablesRequest)(nil), "TablesRequest")
- proto.RegisterType((*TableTypesRequest)(nil), "TableTypesRequest")
- proto.RegisterType((*ColumnsRequest)(nil), "ColumnsRequest")
- proto.RegisterType((*TypeInfoRequest)(nil), "TypeInfoRequest")
- proto.RegisterType((*PrepareAndExecuteRequest)(nil), "PrepareAndExecuteRequest")
- proto.RegisterType((*PrepareRequest)(nil), "PrepareRequest")
- proto.RegisterType((*FetchRequest)(nil), "FetchRequest")
- proto.RegisterType((*CreateStatementRequest)(nil), "CreateStatementRequest")
- proto.RegisterType((*CloseStatementRequest)(nil), "CloseStatementRequest")
- proto.RegisterType((*OpenConnectionRequest)(nil), "OpenConnectionRequest")
- proto.RegisterMapType((map[string]string)(nil), "OpenConnectionRequest.InfoEntry")
- proto.RegisterType((*CloseConnectionRequest)(nil), "CloseConnectionRequest")
- proto.RegisterType((*ConnectionSyncRequest)(nil), "ConnectionSyncRequest")
- proto.RegisterType((*ExecuteRequest)(nil), "ExecuteRequest")
- proto.RegisterType((*SyncResultsRequest)(nil), "SyncResultsRequest")
- proto.RegisterType((*CommitRequest)(nil), "CommitRequest")
- proto.RegisterType((*RollbackRequest)(nil), "RollbackRequest")
- proto.RegisterType((*PrepareAndExecuteBatchRequest)(nil), "PrepareAndExecuteBatchRequest")
- proto.RegisterType((*UpdateBatch)(nil), "UpdateBatch")
- proto.RegisterType((*ExecuteBatchRequest)(nil), "ExecuteBatchRequest")
-}
-
-func init() {
- proto.RegisterFile("requests.proto", fileDescriptor_9c9ccec99da7c9b4)
-}
-
-var fileDescriptor_9c9ccec99da7c9b4 = []byte{
- // 904 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
- 0x14, 0xd6, 0xfa, 0x27, 0xa9, 0xcf, 0xfa, 0x2f, 0x9b, 0xa4, 0x58, 0xad, 0x10, 0xee, 0xf2, 0xa3,
- 0x5c, 0xc0, 0x82, 0x42, 0x15, 0xaa, 0x4a, 0x20, 0x51, 0x37, 0x11, 0x91, 0x28, 0x84, 0x75, 0xe0,
- 0x76, 0x75, 0xb2, 0x7b, 0x5c, 0xaf, 0xba, 0x3b, 0xb3, 0x99, 0x19, 0xa7, 0x71, 0xef, 0xb9, 0xe1,
- 0x8e, 0x2b, 0x1e, 0x02, 0xf1, 0x14, 0xbc, 0x02, 0x8f, 0xc0, 0x3d, 0xaf, 0x80, 0x66, 0x76, 0xfd,
- 0x13, 0xdb, 0x15, 0x6c, 0xd5, 0xc2, 0x95, 0x7d, 0xce, 0x7c, 0xe7, 0xe7, 0xfb, 0x66, 0xe6, 0xcc,
- 0x42, 0x5b, 0xd0, 0xe5, 0x84, 0xa4, 0x92, 0x5e, 0x26, 0xb8, 0xe2, 0x77, 0x9a, 0x21, 0x4f, 0x53,
- 0xce, 0x72, 0xcb, 0x3d, 0x82, 0xce, 0x00, 0x15, 0x26, 0xfc, 0xa9, 0xf4, 0x73, 0x9c, 0xf3, 0x2e,
- 0xb4, 0x42, 0xce, 0x18, 0x85, 0x2a, 0xe6, 0x2c, 0x88, 0xa3, 0x9e, 0xd5, 0xb7, 0x0e, 0x1a, 0x7e,
- 0x73, 0xe1, 0x3c, 0x8d, 0xdc, 0x2f, 0xe0, 0xad, 0xc7, 0xa8, 0xf0, 0x02, 0x25, 0x9d, 0x09, 0x9e,
- 0x91, 0x50, 0xd3, 0x52, 0xf1, 0x57, 0xd0, 0x1e, 0x86, 0x63, 0x4a, 0x71, 0x5e, 0xb6, 0x07, 0xdb,
- 0x61, 0xde, 0x49, 0x11, 0x30, 0x33, 0x9d, 0xf7, 0xa1, 0x2d, 0x0d, 0x36, 0xc8, 0x50, 0x29, 0x12,
- 0xac, 0x57, 0x31, 0x80, 0x56, 0xee, 0x3d, 0xcb, 0x9d, 0xeb, 0x75, 0xab, 0x1b, 0xea, 0xfe, 0x69,
- 0x41, 0xeb, 0x1c, 0x2f, 0x12, 0x7a, 0x7d, 0x75, 0x3f, 0x04, 0x47, 0xe9, 0x8c, 0x01, 0xc3, 0x94,
- 0xe6, 0xd0, 0xbc, 0x78, 0xd7, 0xac, 0x7c, 0x83, 0x29, 0xcd, 0xd0, 0x77, 0xa1, 0xa1, 0xa6, 0x19,
- 0x05, 0x49, 0x2c, 0x55, 0xaf, 0xd6, 0xaf, 0x1e, 0x34, 0xfc, 0x5b, 0xda, 0xf1, 0x75, 0x2c, 0x95,
- 0xe3, 0x42, 0x6b, 0x8c, 0x32, 0x58, 0x00, 0xb6, 0xfa, 0xd6, 0xc1, 0x2d, 0xdf, 0x1e, 0xa3, 0x3c,
- 0x9f, 0x61, 0xd6, 0x68, 0x6e, 0x6f, 0xa0, 0xf9, 0x00, 0x76, 0x0c, 0x4b, 0x1d, 0x55, 0x6e, 0x63,
- 0xff, 0xb0, 0xa0, 0x3d, 0xe0, 0xc9, 0x24, 0x65, 0xff, 0x97, 0x42, 0x1e, 0xec, 0x86, 0xa6, 0x81,
- 0x9b, 0xf0, 0x9a, 0x81, 0xef, 0xe4, 0x4b, 0xcb, 0xf8, 0x35, 0x5a, 0xf5, 0x0d, 0xb4, 0x8e, 0xa0,
- 0xa3, 0xb5, 0x38, 0x65, 0x23, 0x5e, 0x4a, 0x8e, 0xbf, 0x2c, 0xe8, 0x9d, 0x09, 0xca, 0x50, 0xd0,
- 0x97, 0x2c, 0x3a, 0xbe, 0xa6, 0x70, 0xa2, 0xa8, 0x4c, 0x06, 0xa7, 0x0b, 0x55, 0x79, 0x99, 0x14,
- 0xc2, 0xe8, 0xbf, 0x7a, 0x97, 0x53, 0xbc, 0x0e, 0x04, 0x7f, 0x1e, 0x84, 0x7c, 0xc2, 0x94, 0x51,
- 0xa2, 0xe6, 0xdb, 0x29, 0x5e, 0xfb, 0xfc, 0xf9, 0x40, 0xbb, 0x9c, 0x7b, 0xd0, 0x94, 0x0a, 0x15,
- 0xa5, 0xc4, 0x94, 0xce, 0xac, 0xd9, 0xb7, 0x7c, 0x7b, 0xee, 0x3b, 0x8d, 0x9c, 0xf7, 0xa0, 0x5d,
- 0xa4, 0x91, 0x81, 0xe2, 0x0a, 0x13, 0x43, 0xbc, 0xea, 0x37, 0xf3, 0x3c, 0xf2, 0x5c, 0xfb, 0x9c,
- 0x8f, 0x61, 0x6f, 0x14, 0x0b, 0xa9, 0x82, 0x91, 0xd0, 0x6a, 0xea, 0x08, 0x19, 0xbf, 0x20, 0x73,
- 0xb2, 0xea, 0xfe, 0x8e, 0x59, 0x3b, 0xd1, 0x4b, 0x4f, 0xf0, 0x7a, 0x18, 0xbf, 0x20, 0xf7, 0x67,
- 0x0b, 0xda, 0x05, 0xe3, 0xff, 0x80, 0xe7, 0x3a, 0x89, 0xda, 0x3a, 0x09, 0xf7, 0x77, 0x0b, 0x9a,
- 0x27, 0xa4, 0xc2, 0x71, 0xa9, 0x8e, 0x56, 0x35, 0xac, 0xac, 0x6b, 0x78, 0x1b, 0xb6, 0xf8, 0x68,
- 0x24, 0x69, 0xd6, 0x5b, 0x61, 0x39, 0x1f, 0xc1, 0xee, 0x48, 0xd7, 0x0b, 0x6e, 0x12, 0xc8, 0x77,
- 0xa1, 0x6b, 0x96, 0x9e, 0xdc, 0x64, 0xb1, 0x22, 0x6f, 0xdd, 0xc8, 0xdb, 0x1c, 0x2d, 0x2b, 0xfb,
- 0x39, 0xdc, 0x1e, 0x08, 0x42, 0x45, 0xc3, 0x59, 0x07, 0xa5, 0x8e, 0x62, 0x00, 0xfb, 0x83, 0x84,
- 0xcb, 0x57, 0x8b, 0xfe, 0x17, 0x62, 0xb8, 0xbf, 0x5a, 0xb0, 0xff, 0x6d, 0x46, 0x6c, 0x30, 0x8f,
- 0x2b, 0x55, 0xe1, 0x3e, 0xd4, 0x62, 0x36, 0xe2, 0xbd, 0x4a, 0xbf, 0x7a, 0x60, 0x1f, 0xf6, 0xbd,
- 0x8d, 0xa9, 0x3c, 0x7d, 0x03, 0x8f, 0x99, 0x12, 0x53, 0xdf, 0xa0, 0xef, 0x7c, 0x06, 0x8d, 0xb9,
- 0x4b, 0x9f, 0xa1, 0x67, 0x34, 0x2d, 0xb2, 0xeb, 0xbf, 0xce, 0x1e, 0xd4, 0xaf, 0x30, 0x99, 0x50,
- 0x71, 0xae, 0x72, 0xe3, 0x61, 0xe5, 0x81, 0x65, 0xd4, 0xd4, 0x72, 0xbc, 0x5a, 0xb7, 0xae, 0x80,
- 0xfd, 0x45, 0xe4, 0x70, 0xca, 0xc2, 0x92, 0x5c, 0x41, 0xdb, 0x41, 0x26, 0x78, 0x26, 0x4d, 0x6f,
- 0xf6, 0xe1, 0xbe, 0xb7, 0x48, 0x58, 0xbc, 0x89, 0x31, 0x49, 0xbf, 0xa1, 0x81, 0xda, 0x96, 0xee,
- 0x6f, 0x15, 0x68, 0xaf, 0x8c, 0x90, 0x87, 0xd0, 0x99, 0x6f, 0xc1, 0x57, 0xc8, 0xa2, 0x84, 0x4c,
- 0x3d, 0xfb, 0xb0, 0xeb, 0x0d, 0x6f, 0xfa, 0xfd, 0x55, 0xa0, 0x73, 0x04, 0xdd, 0x0c, 0xf5, 0x01,
- 0x53, 0x24, 0x02, 0x23, 0x8c, 0x2c, 0xc4, 0xb7, 0x3d, 0x3d, 0xec, 0xa2, 0x1f, 0xb4, 0xcf, 0xef,
- 0xcc, 0x41, 0xc6, 0x96, 0xce, 0x63, 0x78, 0x27, 0xa2, 0x4c, 0x50, 0x88, 0x8a, 0xa2, 0x60, 0xe3,
- 0x74, 0xc8, 0x6f, 0xc3, 0xdd, 0x05, 0xec, 0x64, 0x75, 0x4e, 0x38, 0x9f, 0xc0, 0x9e, 0x7e, 0xab,
- 0xd6, 0x3a, 0xa8, 0x99, 0x27, 0xcb, 0x19, 0xa3, 0x3c, 0x5b, 0xa9, 0xfb, 0xb2, 0x51, 0x54, 0x7f,
- 0xd9, 0x28, 0xfa, 0xc5, 0x02, 0x27, 0xdf, 0x1a, 0x39, 0x49, 0x94, 0x7c, 0xdd, 0x97, 0xff, 0x1e,
- 0xd4, 0x8d, 0x69, 0xd8, 0x6a, 0xd1, 0xbe, 0x9b, 0x90, 0x98, 0x1a, 0xd9, 0xfd, 0x7c, 0x65, 0x69,
- 0x3e, 0xd4, 0x96, 0xe7, 0x83, 0x7b, 0x1f, 0x5a, 0x03, 0x9e, 0xa6, 0x71, 0xb9, 0x1b, 0x7c, 0x04,
- 0x1d, 0x9f, 0x27, 0xc9, 0x05, 0x86, 0xcf, 0x4a, 0xc5, 0xfd, 0x64, 0xc1, 0xdb, 0x6b, 0x8f, 0xd0,
- 0x23, 0x7c, 0x03, 0xf3, 0x50, 0x43, 0x2e, 0x93, 0x40, 0x7f, 0x22, 0x22, 0x8b, 0x64, 0xaf, 0x6a,
- 0x3e, 0x50, 0x6c, 0x79, 0x99, 0x0c, 0x0a, 0x97, 0x7b, 0x0c, 0xf6, 0xf7, 0x59, 0x84, 0x45, 0x03,
- 0x1b, 0x0f, 0xa1, 0xf5, 0xcf, 0x87, 0xd0, 0xfd, 0xd1, 0x82, 0xdd, 0x37, 0xc9, 0xe4, 0x03, 0xd8,
- 0x9e, 0x98, 0x36, 0x73, 0x12, 0xf6, 0x61, 0xd3, 0x5b, 0x6a, 0xdb, 0x9f, 0x2d, 0x3e, 0x72, 0xa1,
- 0xcf, 0xc5, 0x53, 0x0f, 0x33, 0x0c, 0xc7, 0xe4, 0x85, 0x98, 0x84, 0xb1, 0x22, 0x0f, 0xaf, 0x50,
- 0xc5, 0x21, 0xe6, 0x1f, 0xc9, 0x17, 0x5b, 0xe6, 0xe7, 0xd3, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff,
- 0x42, 0xfb, 0xc6, 0x20, 0x4b, 0x0b, 0x00, 0x00,
+var File_requests_proto protoreflect.FileDescriptor
+
+var file_requests_proto_rawDesc = []byte{
+ 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36,
+ 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x17, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
+ 0x73, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xc5, 0x01, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d,
+ 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61,
+ 0x6c, 0x6f, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61,
+ 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68,
+ 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
+ 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
+ 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70,
+ 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x68, 0x61,
+ 0x73, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x22, 0xe8,
+ 0x02, 0x0a, 0x0d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72,
+ 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f,
+ 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74,
+ 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12,
+ 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d,
+ 0x68, 0x61, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74,
+ 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
+ 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x61, 0x74,
+ 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x43,
+ 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x73, 0x63,
+ 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x10, 0x68, 0x61, 0x73, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74,
+ 0x74, 0x65, 0x72, 0x6e, 0x12, 0x33, 0x0a, 0x16, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x61, 0x62, 0x6c,
+ 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x0a,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x68, 0x61, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
+ 0x6d, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x22, 0x38, 0x0a, 0x11, 0x54, 0x61, 0x62,
+ 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
+ 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x49, 0x64, 0x22, 0x8f, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
+ 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
+ 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65,
+ 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65,
+ 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61,
+ 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61,
+ 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61,
+ 0x73, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x0a, 0x68, 0x61, 0x73, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x2c, 0x0a, 0x12, 0x68,
+ 0x61, 0x73, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72,
+ 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x68, 0x61, 0x73, 0x53, 0x63, 0x68, 0x65,
+ 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x33, 0x0a, 0x16, 0x68, 0x61, 0x73,
+ 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74,
+ 0x65, 0x72, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x68, 0x61, 0x73, 0x54, 0x61,
+ 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x35,
+ 0x0a, 0x17, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
+ 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x14, 0x68, 0x61, 0x73, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61,
+ 0x74, 0x74, 0x65, 0x72, 0x6e, 0x22, 0x36, 0x0a, 0x0f, 0x54, 0x79, 0x70, 0x65, 0x49, 0x6e, 0x66,
+ 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xef, 0x01,
+ 0x0a, 0x18, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x41, 0x6e, 0x64, 0x45, 0x78, 0x65, 0x63,
+ 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
+ 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71,
+ 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77,
+ 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
+ 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f,
+ 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
+ 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x2f,
+ 0x0a, 0x14, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61,
+ 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x66, 0x69,
+ 0x72, 0x73, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22,
+ 0x91, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78,
+ 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
+ 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a,
+ 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x73, 0x54, 0x6f,
+ 0x74, 0x61, 0x6c, 0x22, 0xc3, 0x01, 0x0a, 0x0c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
+ 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
+ 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66,
+ 0x66, 0x73, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x61,
+ 0x78, 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x0d, 0x52, 0x10, 0x66, 0x65, 0x74, 0x63, 0x68, 0x4d, 0x61, 0x78, 0x52, 0x6f, 0x77, 0x43, 0x6f,
+ 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x78,
+ 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x66, 0x72, 0x61,
+ 0x6d, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3d, 0x0a, 0x16, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x73,
+ 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,
+ 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xab, 0x01, 0x0a, 0x15, 0x4f, 0x70,
+ 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49,
+ 0x6e, 0x66, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x37,
+ 0x0a, 0x09, 0x49, 0x6e, 0x66, 0x6f, 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, 0x09, 0x52, 0x05, 0x76, 0x61,
+ 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d, 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65,
+ 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
+ 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52,
+ 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x73, 0x22, 0xad, 0x02, 0x0a, 0x0e, 0x45,
+ 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a,
+ 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
+ 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,
+ 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x10, 0x70, 0x61, 0x72,
+ 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x52, 0x0f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x73, 0x12, 0x44, 0x0a, 0x1f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
+ 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f,
+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1b, 0x64, 0x65, 0x70, 0x72,
+ 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x72, 0x73, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65,
+ 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x61, 0x73, 0x5f, 0x70,
+ 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x61, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65,
+ 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x69, 0x72,
+ 0x73, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a,
+ 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x46, 0x72,
+ 0x61, 0x6d, 0x65, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x12, 0x53,
+ 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,
+ 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66,
+ 0x66, 0x73, 0x65, 0x74, 0x22, 0x34, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x0f, 0x52, 0x6f,
+ 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
+ 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x49, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x1d, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x41, 0x6e,
+ 0x64, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
+ 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
+ 0x73, 0x71, 0x6c, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x0b, 0x73, 0x71, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22,
+ 0x45, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x36,
+ 0x0a, 0x10, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64,
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75,
+ 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
+ 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x42, 0x22,
+ 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x63, 0x61, 0x6c,
+ 0x63, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x76, 0x61, 0x74, 0x69, 0x63, 0x61, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_requests_proto_rawDescOnce sync.Once
+ file_requests_proto_rawDescData = file_requests_proto_rawDesc
+)
+
+func file_requests_proto_rawDescGZIP() []byte {
+ file_requests_proto_rawDescOnce.Do(func() {
+ file_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_requests_proto_rawDescData)
+ })
+ return file_requests_proto_rawDescData
+}
+
+var file_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
+var file_requests_proto_goTypes = []interface{}{
+ (*CatalogsRequest)(nil), // 0: CatalogsRequest
+ (*DatabasePropertyRequest)(nil), // 1: DatabasePropertyRequest
+ (*SchemasRequest)(nil), // 2: SchemasRequest
+ (*TablesRequest)(nil), // 3: TablesRequest
+ (*TableTypesRequest)(nil), // 4: TableTypesRequest
+ (*ColumnsRequest)(nil), // 5: ColumnsRequest
+ (*TypeInfoRequest)(nil), // 6: TypeInfoRequest
+ (*PrepareAndExecuteRequest)(nil), // 7: PrepareAndExecuteRequest
+ (*PrepareRequest)(nil), // 8: PrepareRequest
+ (*FetchRequest)(nil), // 9: FetchRequest
+ (*CreateStatementRequest)(nil), // 10: CreateStatementRequest
+ (*CloseStatementRequest)(nil), // 11: CloseStatementRequest
+ (*OpenConnectionRequest)(nil), // 12: OpenConnectionRequest
+ (*CloseConnectionRequest)(nil), // 13: CloseConnectionRequest
+ (*ConnectionSyncRequest)(nil), // 14: ConnectionSyncRequest
+ (*ExecuteRequest)(nil), // 15: ExecuteRequest
+ (*SyncResultsRequest)(nil), // 16: SyncResultsRequest
+ (*CommitRequest)(nil), // 17: CommitRequest
+ (*RollbackRequest)(nil), // 18: RollbackRequest
+ (*PrepareAndExecuteBatchRequest)(nil), // 19: PrepareAndExecuteBatchRequest
+ (*UpdateBatch)(nil), // 20: UpdateBatch
+ (*ExecuteBatchRequest)(nil), // 21: ExecuteBatchRequest
+ nil, // 22: OpenConnectionRequest.InfoEntry
+ (*ConnectionProperties)(nil), // 23: ConnectionProperties
+ (*StatementHandle)(nil), // 24: StatementHandle
+ (*TypedValue)(nil), // 25: TypedValue
+ (*QueryState)(nil), // 26: QueryState
+}
+var file_requests_proto_depIdxs = []int32{
+ 22, // 0: OpenConnectionRequest.info:type_name -> OpenConnectionRequest.InfoEntry
+ 23, // 1: ConnectionSyncRequest.conn_props:type_name -> ConnectionProperties
+ 24, // 2: ExecuteRequest.statementHandle:type_name -> StatementHandle
+ 25, // 3: ExecuteRequest.parameter_values:type_name -> TypedValue
+ 26, // 4: SyncResultsRequest.state:type_name -> QueryState
+ 25, // 5: UpdateBatch.parameter_values:type_name -> TypedValue
+ 20, // 6: ExecuteBatchRequest.updates:type_name -> UpdateBatch
+ 7, // [7:7] is the sub-list for method output_type
+ 7, // [7:7] is the sub-list for method input_type
+ 7, // [7:7] is the sub-list for extension type_name
+ 7, // [7:7] is the sub-list for extension extendee
+ 0, // [0:7] is the sub-list for field type_name
+}
+
+func init() { file_requests_proto_init() }
+func file_requests_proto_init() {
+ if File_requests_proto != nil {
+ return
+ }
+ file_common_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CatalogsRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatabasePropertyRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SchemasRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TablesRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TableTypesRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ColumnsRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TypeInfoRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PrepareAndExecuteRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PrepareRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FetchRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateStatementRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CloseStatementRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpenConnectionRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CloseConnectionRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConnectionSyncRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExecuteRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SyncResultsRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CommitRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollbackRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PrepareAndExecuteBatchRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateBatch); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_requests_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExecuteBatchRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_requests_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 23,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_requests_proto_goTypes,
+ DependencyIndexes: file_requests_proto_depIdxs,
+ MessageInfos: file_requests_proto_msgTypes,
+ }.Build()
+ File_requests_proto = out.File
+ file_requests_proto_rawDesc = nil
+ file_requests_proto_goTypes = nil
+ file_requests_proto_depIdxs = nil
}
diff --git a/message/responses.pb.go b/message/responses.pb.go
index 0853239..77054d4 100644
--- a/message/responses.pb.go
+++ b/message/responses.pb.go
@@ -1,1003 +1,1524 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to you under the Apache License, Version 2.0
+// (the "License"); 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.
+
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.28.0
+// protoc v3.19.4
// source: responses.proto
package message
import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
+ 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.ProtoPackageIsVersion3 // 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)
+)
// Response that contains a result set.
type ResultSetResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
OwnStatement bool `protobuf:"varint,3,opt,name=own_statement,json=ownStatement,proto3" json:"own_statement,omitempty"`
Signature *Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
FirstFrame *Frame `protobuf:"bytes,5,opt,name=first_frame,json=firstFrame,proto3" json:"first_frame,omitempty"`
- UpdateCount uint64 `protobuf:"varint,6,opt,name=update_count,json=updateCount,proto3" json:"update_count,omitempty"`
+ UpdateCount uint64 `protobuf:"varint,6,opt,name=update_count,json=updateCount,proto3" json:"update_count,omitempty"` // -1 for normal result sets, else this response contains a dummy result set
// with no signature nor other data.
- Metadata *RpcMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Metadata *RpcMetadata `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *ResultSetResponse) Reset() { *m = ResultSetResponse{} }
-func (m *ResultSetResponse) String() string { return proto.CompactTextString(m) }
-func (*ResultSetResponse) ProtoMessage() {}
-func (*ResultSetResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{0}
+func (x *ResultSetResponse) Reset() {
+ *x = ResultSetResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[0]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ResultSetResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ResultSetResponse.Unmarshal(m, b)
+func (x *ResultSetResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ResultSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ResultSetResponse.Marshal(b, m, deterministic)
-}
-func (m *ResultSetResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ResultSetResponse.Merge(m, src)
-}
-func (m *ResultSetResponse) XXX_Size() int {
- return xxx_messageInfo_ResultSetResponse.Size(m)
-}
-func (m *ResultSetResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ResultSetResponse.DiscardUnknown(m)
+
+func (*ResultSetResponse) ProtoMessage() {}
+
+func (x *ResultSetResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[0]
+ if protoimpl.UnsafeEnabled && 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_ResultSetResponse proto.InternalMessageInfo
+// Deprecated: Use ResultSetResponse.ProtoReflect.Descriptor instead.
+func (*ResultSetResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{0}
+}
-func (m *ResultSetResponse) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *ResultSetResponse) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *ResultSetResponse) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *ResultSetResponse) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *ResultSetResponse) GetOwnStatement() bool {
- if m != nil {
- return m.OwnStatement
+func (x *ResultSetResponse) GetOwnStatement() bool {
+ if x != nil {
+ return x.OwnStatement
}
return false
}
-func (m *ResultSetResponse) GetSignature() *Signature {
- if m != nil {
- return m.Signature
+func (x *ResultSetResponse) GetSignature() *Signature {
+ if x != nil {
+ return x.Signature
}
return nil
}
-func (m *ResultSetResponse) GetFirstFrame() *Frame {
- if m != nil {
- return m.FirstFrame
+func (x *ResultSetResponse) GetFirstFrame() *Frame {
+ if x != nil {
+ return x.FirstFrame
}
return nil
}
-func (m *ResultSetResponse) GetUpdateCount() uint64 {
- if m != nil {
- return m.UpdateCount
+func (x *ResultSetResponse) GetUpdateCount() uint64 {
+ if x != nil {
+ return x.UpdateCount
}
return 0
}
-func (m *ResultSetResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *ResultSetResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to PrepareAndExecuteRequest
type ExecuteResponse struct {
- Results []*ResultSetResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
- MissingStatement bool `protobuf:"varint,2,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ExecuteResponse) Reset() { *m = ExecuteResponse{} }
-func (m *ExecuteResponse) String() string { return proto.CompactTextString(m) }
-func (*ExecuteResponse) ProtoMessage() {}
-func (*ExecuteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{1}
+ Results []*ResultSetResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
+ MissingStatement bool `protobuf:"varint,2,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"` // Did the request fail because of no-cached statement
+ Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExecuteResponse.Unmarshal(m, b)
-}
-func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExecuteResponse.Marshal(b, m, deterministic)
-}
-func (m *ExecuteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExecuteResponse.Merge(m, src)
+func (x *ExecuteResponse) Reset() {
+ *x = ExecuteResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[1]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ExecuteResponse) XXX_Size() int {
- return xxx_messageInfo_ExecuteResponse.Size(m)
+
+func (x *ExecuteResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ExecuteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ExecuteResponse.DiscardUnknown(m)
+
+func (*ExecuteResponse) ProtoMessage() {}
+
+func (x *ExecuteResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[1]
+ if protoimpl.UnsafeEnabled && 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_ExecuteResponse proto.InternalMessageInfo
+// Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
+func (*ExecuteResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{1}
+}
-func (m *ExecuteResponse) GetResults() []*ResultSetResponse {
- if m != nil {
- return m.Results
+func (x *ExecuteResponse) GetResults() []*ResultSetResponse {
+ if x != nil {
+ return x.Results
}
return nil
}
-func (m *ExecuteResponse) GetMissingStatement() bool {
- if m != nil {
- return m.MissingStatement
+func (x *ExecuteResponse) GetMissingStatement() bool {
+ if x != nil {
+ return x.MissingStatement
}
return false
}
-func (m *ExecuteResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *ExecuteResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to PrepareRequest
type PrepareResponse struct {
- Statement *StatementHandle `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *PrepareResponse) Reset() { *m = PrepareResponse{} }
-func (m *PrepareResponse) String() string { return proto.CompactTextString(m) }
-func (*PrepareResponse) ProtoMessage() {}
-func (*PrepareResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{2}
+ Statement *StatementHandle `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"`
+ Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *PrepareResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PrepareResponse.Unmarshal(m, b)
-}
-func (m *PrepareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PrepareResponse.Marshal(b, m, deterministic)
-}
-func (m *PrepareResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PrepareResponse.Merge(m, src)
+func (x *PrepareResponse) Reset() {
+ *x = PrepareResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *PrepareResponse) XXX_Size() int {
- return xxx_messageInfo_PrepareResponse.Size(m)
+
+func (x *PrepareResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *PrepareResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_PrepareResponse.DiscardUnknown(m)
+
+func (*PrepareResponse) ProtoMessage() {}
+
+func (x *PrepareResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[2]
+ if protoimpl.UnsafeEnabled && 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_PrepareResponse proto.InternalMessageInfo
+// Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
+func (*PrepareResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{2}
+}
-func (m *PrepareResponse) GetStatement() *StatementHandle {
- if m != nil {
- return m.Statement
+func (x *PrepareResponse) GetStatement() *StatementHandle {
+ if x != nil {
+ return x.Statement
}
return nil
}
-func (m *PrepareResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *PrepareResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to FetchRequest
type FetchResponse struct {
- Frame *Frame `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"`
- MissingStatement bool `protobuf:"varint,2,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"`
- MissingResults bool `protobuf:"varint,3,opt,name=missing_results,json=missingResults,proto3" json:"missing_results,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *FetchResponse) Reset() { *m = FetchResponse{} }
-func (m *FetchResponse) String() string { return proto.CompactTextString(m) }
-func (*FetchResponse) ProtoMessage() {}
-func (*FetchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{3}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Frame *Frame `protobuf:"bytes,1,opt,name=frame,proto3" json:"frame,omitempty"`
+ MissingStatement bool `protobuf:"varint,2,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"` // Did the request fail because of no-cached statement
+ MissingResults bool `protobuf:"varint,3,opt,name=missing_results,json=missingResults,proto3" json:"missing_results,omitempty"` // Did the request fail because of a cached-statement w/o ResultSet
+ Metadata *RpcMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
+}
+
+func (x *FetchResponse) Reset() {
+ *x = FetchResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FetchResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FetchResponse.Unmarshal(m, b)
-}
-func (m *FetchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FetchResponse.Marshal(b, m, deterministic)
+func (x *FetchResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FetchResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FetchResponse.Merge(m, src)
-}
-func (m *FetchResponse) XXX_Size() int {
- return xxx_messageInfo_FetchResponse.Size(m)
-}
-func (m *FetchResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_FetchResponse.DiscardUnknown(m)
+
+func (*FetchResponse) ProtoMessage() {}
+
+func (x *FetchResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[3]
+ if protoimpl.UnsafeEnabled && 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_FetchResponse proto.InternalMessageInfo
+// Deprecated: Use FetchResponse.ProtoReflect.Descriptor instead.
+func (*FetchResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{3}
+}
-func (m *FetchResponse) GetFrame() *Frame {
- if m != nil {
- return m.Frame
+func (x *FetchResponse) GetFrame() *Frame {
+ if x != nil {
+ return x.Frame
}
return nil
}
-func (m *FetchResponse) GetMissingStatement() bool {
- if m != nil {
- return m.MissingStatement
+func (x *FetchResponse) GetMissingStatement() bool {
+ if x != nil {
+ return x.MissingStatement
}
return false
}
-func (m *FetchResponse) GetMissingResults() bool {
- if m != nil {
- return m.MissingResults
+func (x *FetchResponse) GetMissingResults() bool {
+ if x != nil {
+ return x.MissingResults
}
return false
}
-func (m *FetchResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *FetchResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to CreateStatementRequest
type CreateStatementResponse struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CreateStatementResponse) Reset() { *m = CreateStatementResponse{} }
-func (m *CreateStatementResponse) String() string { return proto.CompactTextString(m) }
-func (*CreateStatementResponse) ProtoMessage() {}
-func (*CreateStatementResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{4}
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *CreateStatementResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateStatementResponse.Unmarshal(m, b)
-}
-func (m *CreateStatementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateStatementResponse.Marshal(b, m, deterministic)
-}
-func (m *CreateStatementResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateStatementResponse.Merge(m, src)
+func (x *CreateStatementResponse) Reset() {
+ *x = CreateStatementResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CreateStatementResponse) XXX_Size() int {
- return xxx_messageInfo_CreateStatementResponse.Size(m)
+
+func (x *CreateStatementResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CreateStatementResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateStatementResponse.DiscardUnknown(m)
+
+func (*CreateStatementResponse) ProtoMessage() {}
+
+func (x *CreateStatementResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[4]
+ if protoimpl.UnsafeEnabled && 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_CreateStatementResponse proto.InternalMessageInfo
+// Deprecated: Use CreateStatementResponse.ProtoReflect.Descriptor instead.
+func (*CreateStatementResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{4}
+}
-func (m *CreateStatementResponse) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *CreateStatementResponse) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *CreateStatementResponse) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *CreateStatementResponse) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *CreateStatementResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *CreateStatementResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to CloseStatementRequest
type CloseStatementResponse struct {
- Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CloseStatementResponse) Reset() { *m = CloseStatementResponse{} }
-func (m *CloseStatementResponse) String() string { return proto.CompactTextString(m) }
-func (*CloseStatementResponse) ProtoMessage() {}
-func (*CloseStatementResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{5}
+ Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *CloseStatementResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CloseStatementResponse.Unmarshal(m, b)
-}
-func (m *CloseStatementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CloseStatementResponse.Marshal(b, m, deterministic)
-}
-func (m *CloseStatementResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CloseStatementResponse.Merge(m, src)
+func (x *CloseStatementResponse) Reset() {
+ *x = CloseStatementResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CloseStatementResponse) XXX_Size() int {
- return xxx_messageInfo_CloseStatementResponse.Size(m)
+
+func (x *CloseStatementResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CloseStatementResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CloseStatementResponse.DiscardUnknown(m)
+
+func (*CloseStatementResponse) ProtoMessage() {}
+
+func (x *CloseStatementResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[5]
+ if protoimpl.UnsafeEnabled && 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_CloseStatementResponse proto.InternalMessageInfo
+// Deprecated: Use CloseStatementResponse.ProtoReflect.Descriptor instead.
+func (*CloseStatementResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{5}
+}
-func (m *CloseStatementResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *CloseStatementResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to OpenConnectionRequest {
type OpenConnectionResponse struct {
- Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *OpenConnectionResponse) Reset() { *m = OpenConnectionResponse{} }
-func (m *OpenConnectionResponse) String() string { return proto.CompactTextString(m) }
-func (*OpenConnectionResponse) ProtoMessage() {}
-func (*OpenConnectionResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{6}
+ Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *OpenConnectionResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OpenConnectionResponse.Unmarshal(m, b)
-}
-func (m *OpenConnectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OpenConnectionResponse.Marshal(b, m, deterministic)
-}
-func (m *OpenConnectionResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OpenConnectionResponse.Merge(m, src)
+func (x *OpenConnectionResponse) Reset() {
+ *x = OpenConnectionResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *OpenConnectionResponse) XXX_Size() int {
- return xxx_messageInfo_OpenConnectionResponse.Size(m)
+
+func (x *OpenConnectionResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *OpenConnectionResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_OpenConnectionResponse.DiscardUnknown(m)
+
+func (*OpenConnectionResponse) ProtoMessage() {}
+
+func (x *OpenConnectionResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[6]
+ if protoimpl.UnsafeEnabled && 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_OpenConnectionResponse proto.InternalMessageInfo
+// Deprecated: Use OpenConnectionResponse.ProtoReflect.Descriptor instead.
+func (*OpenConnectionResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{6}
+}
-func (m *OpenConnectionResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *OpenConnectionResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to CloseConnectionRequest {
type CloseConnectionResponse struct {
- Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *CloseConnectionResponse) Reset() { *m = CloseConnectionResponse{} }
-func (m *CloseConnectionResponse) String() string { return proto.CompactTextString(m) }
-func (*CloseConnectionResponse) ProtoMessage() {}
-func (*CloseConnectionResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{7}
+ Metadata *RpcMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *CloseConnectionResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CloseConnectionResponse.Unmarshal(m, b)
-}
-func (m *CloseConnectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CloseConnectionResponse.Marshal(b, m, deterministic)
-}
-func (m *CloseConnectionResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CloseConnectionResponse.Merge(m, src)
+func (x *CloseConnectionResponse) Reset() {
+ *x = CloseConnectionResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CloseConnectionResponse) XXX_Size() int {
- return xxx_messageInfo_CloseConnectionResponse.Size(m)
+
+func (x *CloseConnectionResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CloseConnectionResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CloseConnectionResponse.DiscardUnknown(m)
+
+func (*CloseConnectionResponse) ProtoMessage() {}
+
+func (x *CloseConnectionResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[7]
+ if protoimpl.UnsafeEnabled && 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_CloseConnectionResponse proto.InternalMessageInfo
+// Deprecated: Use CloseConnectionResponse.ProtoReflect.Descriptor instead.
+func (*CloseConnectionResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{7}
+}
-func (m *CloseConnectionResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *CloseConnectionResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response to ConnectionSyncRequest
type ConnectionSyncResponse struct {
- ConnProps *ConnectionProperties `protobuf:"bytes,1,opt,name=conn_props,json=connProps,proto3" json:"conn_props,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ConnectionSyncResponse) Reset() { *m = ConnectionSyncResponse{} }
-func (m *ConnectionSyncResponse) String() string { return proto.CompactTextString(m) }
-func (*ConnectionSyncResponse) ProtoMessage() {}
-func (*ConnectionSyncResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{8}
+ ConnProps *ConnectionProperties `protobuf:"bytes,1,opt,name=conn_props,json=connProps,proto3" json:"conn_props,omitempty"`
+ Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *ConnectionSyncResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ConnectionSyncResponse.Unmarshal(m, b)
-}
-func (m *ConnectionSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ConnectionSyncResponse.Marshal(b, m, deterministic)
-}
-func (m *ConnectionSyncResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ConnectionSyncResponse.Merge(m, src)
+func (x *ConnectionSyncResponse) Reset() {
+ *x = ConnectionSyncResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ConnectionSyncResponse) XXX_Size() int {
- return xxx_messageInfo_ConnectionSyncResponse.Size(m)
+
+func (x *ConnectionSyncResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ConnectionSyncResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ConnectionSyncResponse.DiscardUnknown(m)
+
+func (*ConnectionSyncResponse) ProtoMessage() {}
+
+func (x *ConnectionSyncResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && 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_ConnectionSyncResponse proto.InternalMessageInfo
+// Deprecated: Use ConnectionSyncResponse.ProtoReflect.Descriptor instead.
+func (*ConnectionSyncResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{8}
+}
-func (m *ConnectionSyncResponse) GetConnProps() *ConnectionProperties {
- if m != nil {
- return m.ConnProps
+func (x *ConnectionSyncResponse) GetConnProps() *ConnectionProperties {
+ if x != nil {
+ return x.ConnProps
}
return nil
}
-func (m *ConnectionSyncResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *ConnectionSyncResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
type DatabasePropertyElement struct {
- Key *DatabaseProperty `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
- Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *DatabasePropertyElement) Reset() { *m = DatabasePropertyElement{} }
-func (m *DatabasePropertyElement) String() string { return proto.CompactTextString(m) }
-func (*DatabasePropertyElement) ProtoMessage() {}
-func (*DatabasePropertyElement) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{9}
+ Key *DatabaseProperty `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
+ Value *TypedValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
+ Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *DatabasePropertyElement) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DatabasePropertyElement.Unmarshal(m, b)
-}
-func (m *DatabasePropertyElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DatabasePropertyElement.Marshal(b, m, deterministic)
-}
-func (m *DatabasePropertyElement) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DatabasePropertyElement.Merge(m, src)
+func (x *DatabasePropertyElement) Reset() {
+ *x = DatabasePropertyElement{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DatabasePropertyElement) XXX_Size() int {
- return xxx_messageInfo_DatabasePropertyElement.Size(m)
+
+func (x *DatabasePropertyElement) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatabasePropertyElement) XXX_DiscardUnknown() {
- xxx_messageInfo_DatabasePropertyElement.DiscardUnknown(m)
+
+func (*DatabasePropertyElement) ProtoMessage() {}
+
+func (x *DatabasePropertyElement) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && 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_DatabasePropertyElement proto.InternalMessageInfo
+// Deprecated: Use DatabasePropertyElement.ProtoReflect.Descriptor instead.
+func (*DatabasePropertyElement) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{9}
+}
-func (m *DatabasePropertyElement) GetKey() *DatabaseProperty {
- if m != nil {
- return m.Key
+func (x *DatabasePropertyElement) GetKey() *DatabaseProperty {
+ if x != nil {
+ return x.Key
}
return nil
}
-func (m *DatabasePropertyElement) GetValue() *TypedValue {
- if m != nil {
- return m.Value
+func (x *DatabasePropertyElement) GetValue() *TypedValue {
+ if x != nil {
+ return x.Value
}
return nil
}
-func (m *DatabasePropertyElement) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *DatabasePropertyElement) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Response for Meta#getDatabaseProperties()
type DatabasePropertyResponse struct {
- Props []*DatabasePropertyElement `protobuf:"bytes,1,rep,name=props,proto3" json:"props,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *DatabasePropertyResponse) Reset() { *m = DatabasePropertyResponse{} }
-func (m *DatabasePropertyResponse) String() string { return proto.CompactTextString(m) }
-func (*DatabasePropertyResponse) ProtoMessage() {}
-func (*DatabasePropertyResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{10}
+ Props []*DatabasePropertyElement `protobuf:"bytes,1,rep,name=props,proto3" json:"props,omitempty"`
+ Metadata *RpcMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *DatabasePropertyResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DatabasePropertyResponse.Unmarshal(m, b)
-}
-func (m *DatabasePropertyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DatabasePropertyResponse.Marshal(b, m, deterministic)
-}
-func (m *DatabasePropertyResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DatabasePropertyResponse.Merge(m, src)
+func (x *DatabasePropertyResponse) Reset() {
+ *x = DatabasePropertyResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *DatabasePropertyResponse) XXX_Size() int {
- return xxx_messageInfo_DatabasePropertyResponse.Size(m)
+
+func (x *DatabasePropertyResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *DatabasePropertyResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_DatabasePropertyResponse.DiscardUnknown(m)
+
+func (*DatabasePropertyResponse) ProtoMessage() {}
+
+func (x *DatabasePropertyResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && 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_DatabasePropertyResponse proto.InternalMessageInfo
+// Deprecated: Use DatabasePropertyResponse.ProtoReflect.Descriptor instead.
+func (*DatabasePropertyResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{10}
+}
-func (m *DatabasePropertyResponse) GetProps() []*DatabasePropertyElement {
- if m != nil {
- return m.Props
+func (x *DatabasePropertyResponse) GetProps() []*DatabasePropertyElement {
+ if x != nil {
+ return x.Props
}
return nil
}
-func (m *DatabasePropertyResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *DatabasePropertyResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Send contextual information about some error over the wire from the server.
type ErrorResponse struct {
- Exceptions []string `protobuf:"bytes,1,rep,name=exceptions,proto3" json:"exceptions,omitempty"`
- HasExceptions bool `protobuf:"varint,7,opt,name=has_exceptions,json=hasExceptions,proto3" json:"has_exceptions,omitempty"`
- ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
- Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=Severity" json:"severity,omitempty"`
- ErrorCode uint32 `protobuf:"varint,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
- SqlState string `protobuf:"bytes,5,opt,name=sql_state,json=sqlState,proto3" json:"sql_state,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ErrorResponse) Reset() { *m = ErrorResponse{} }
-func (m *ErrorResponse) String() string { return proto.CompactTextString(m) }
-func (*ErrorResponse) ProtoMessage() {}
-func (*ErrorResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{11}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Exceptions []string `protobuf:"bytes,1,rep,name=exceptions,proto3" json:"exceptions,omitempty"` // exception stacktraces, many for linked exceptions.
+ HasExceptions bool `protobuf:"varint,7,opt,name=has_exceptions,json=hasExceptions,proto3" json:"has_exceptions,omitempty"` // are there stacktraces contained?
+ ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // human readable description
+ Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=Severity" json:"severity,omitempty"`
+ ErrorCode uint32 `protobuf:"varint,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` // numeric identifier for error
+ SqlState string `protobuf:"bytes,5,opt,name=sql_state,json=sqlState,proto3" json:"sql_state,omitempty"` // five-character standard-defined value
+ Metadata *RpcMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
+}
+
+func (x *ErrorResponse) Reset() {
+ *x = ErrorResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ErrorResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ErrorResponse.Unmarshal(m, b)
+func (x *ErrorResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ErrorResponse.Marshal(b, m, deterministic)
-}
-func (m *ErrorResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ErrorResponse.Merge(m, src)
-}
-func (m *ErrorResponse) XXX_Size() int {
- return xxx_messageInfo_ErrorResponse.Size(m)
-}
-func (m *ErrorResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ErrorResponse.DiscardUnknown(m)
+
+func (*ErrorResponse) ProtoMessage() {}
+
+func (x *ErrorResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && 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_ErrorResponse proto.InternalMessageInfo
+// Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
+func (*ErrorResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{11}
+}
-func (m *ErrorResponse) GetExceptions() []string {
- if m != nil {
- return m.Exceptions
+func (x *ErrorResponse) GetExceptions() []string {
+ if x != nil {
+ return x.Exceptions
}
return nil
}
-func (m *ErrorResponse) GetHasExceptions() bool {
- if m != nil {
- return m.HasExceptions
+func (x *ErrorResponse) GetHasExceptions() bool {
+ if x != nil {
+ return x.HasExceptions
}
return false
}
-func (m *ErrorResponse) GetErrorMessage() string {
- if m != nil {
- return m.ErrorMessage
+func (x *ErrorResponse) GetErrorMessage() string {
+ if x != nil {
+ return x.ErrorMessage
}
return ""
}
-func (m *ErrorResponse) GetSeverity() Severity {
- if m != nil {
- return m.Severity
+func (x *ErrorResponse) GetSeverity() Severity {
+ if x != nil {
+ return x.Severity
}
return Severity_UNKNOWN_SEVERITY
}
-func (m *ErrorResponse) GetErrorCode() uint32 {
- if m != nil {
- return m.ErrorCode
+func (x *ErrorResponse) GetErrorCode() uint32 {
+ if x != nil {
+ return x.ErrorCode
}
return 0
}
-func (m *ErrorResponse) GetSqlState() string {
- if m != nil {
- return m.SqlState
+func (x *ErrorResponse) GetSqlState() string {
+ if x != nil {
+ return x.SqlState
}
return ""
}
-func (m *ErrorResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *ErrorResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
type SyncResultsResponse struct {
- MissingStatement bool `protobuf:"varint,1,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"`
- MoreResults bool `protobuf:"varint,2,opt,name=more_results,json=moreResults,proto3" json:"more_results,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *SyncResultsResponse) Reset() { *m = SyncResultsResponse{} }
-func (m *SyncResultsResponse) String() string { return proto.CompactTextString(m) }
-func (*SyncResultsResponse) ProtoMessage() {}
-func (*SyncResultsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{12}
+ MissingStatement bool `protobuf:"varint,1,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"` // Server doesn't have the statement with the ID from the request
+ MoreResults bool `protobuf:"varint,2,opt,name=more_results,json=moreResults,proto3" json:"more_results,omitempty"` // Should the client fetch() to get more results
+ Metadata *RpcMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
-func (m *SyncResultsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SyncResultsResponse.Unmarshal(m, b)
-}
-func (m *SyncResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SyncResultsResponse.Marshal(b, m, deterministic)
-}
-func (m *SyncResultsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SyncResultsResponse.Merge(m, src)
+func (x *SyncResultsResponse) Reset() {
+ *x = SyncResultsResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *SyncResultsResponse) XXX_Size() int {
- return xxx_messageInfo_SyncResultsResponse.Size(m)
+
+func (x *SyncResultsResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *SyncResultsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_SyncResultsResponse.DiscardUnknown(m)
+
+func (*SyncResultsResponse) ProtoMessage() {}
+
+func (x *SyncResultsResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && 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_SyncResultsResponse proto.InternalMessageInfo
+// Deprecated: Use SyncResultsResponse.ProtoReflect.Descriptor instead.
+func (*SyncResultsResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{12}
+}
-func (m *SyncResultsResponse) GetMissingStatement() bool {
- if m != nil {
- return m.MissingStatement
+func (x *SyncResultsResponse) GetMissingStatement() bool {
+ if x != nil {
+ return x.MissingStatement
}
return false
}
-func (m *SyncResultsResponse) GetMoreResults() bool {
- if m != nil {
- return m.MoreResults
+func (x *SyncResultsResponse) GetMoreResults() bool {
+ if x != nil {
+ return x.MoreResults
}
return false
}
-func (m *SyncResultsResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *SyncResultsResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
// Generic metadata for the server to return with each response.
type RpcMetadata struct {
- ServerAddress string `protobuf:"bytes,1,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *RpcMetadata) Reset() { *m = RpcMetadata{} }
-func (m *RpcMetadata) String() string { return proto.CompactTextString(m) }
-func (*RpcMetadata) ProtoMessage() {}
-func (*RpcMetadata) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{13}
+ ServerAddress string `protobuf:"bytes,1,opt,name=server_address,json=serverAddress,proto3" json:"server_address,omitempty"` // The host:port of the server
}
-func (m *RpcMetadata) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RpcMetadata.Unmarshal(m, b)
-}
-func (m *RpcMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RpcMetadata.Marshal(b, m, deterministic)
-}
-func (m *RpcMetadata) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RpcMetadata.Merge(m, src)
+func (x *RpcMetadata) Reset() {
+ *x = RpcMetadata{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RpcMetadata) XXX_Size() int {
- return xxx_messageInfo_RpcMetadata.Size(m)
+
+func (x *RpcMetadata) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RpcMetadata) XXX_DiscardUnknown() {
- xxx_messageInfo_RpcMetadata.DiscardUnknown(m)
+
+func (*RpcMetadata) ProtoMessage() {}
+
+func (x *RpcMetadata) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && 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_RpcMetadata proto.InternalMessageInfo
+// Deprecated: Use RpcMetadata.ProtoReflect.Descriptor instead.
+func (*RpcMetadata) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{13}
+}
-func (m *RpcMetadata) GetServerAddress() string {
- if m != nil {
- return m.ServerAddress
+func (x *RpcMetadata) GetServerAddress() string {
+ if x != nil {
+ return x.ServerAddress
}
return ""
}
// Response to a commit request
type CommitResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *CommitResponse) Reset() { *m = CommitResponse{} }
-func (m *CommitResponse) String() string { return proto.CompactTextString(m) }
-func (*CommitResponse) ProtoMessage() {}
-func (*CommitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{14}
+func (x *CommitResponse) Reset() {
+ *x = CommitResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *CommitResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CommitResponse.Unmarshal(m, b)
-}
-func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic)
-}
-func (m *CommitResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CommitResponse.Merge(m, src)
-}
-func (m *CommitResponse) XXX_Size() int {
- return xxx_messageInfo_CommitResponse.Size(m)
+func (x *CommitResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *CommitResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CommitResponse.DiscardUnknown(m)
+
+func (*CommitResponse) ProtoMessage() {}
+
+func (x *CommitResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && 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_CommitResponse proto.InternalMessageInfo
+// Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
+func (*CommitResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{14}
+}
// Response to a rollback request
type RollbackResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *RollbackResponse) Reset() { *m = RollbackResponse{} }
-func (m *RollbackResponse) String() string { return proto.CompactTextString(m) }
-func (*RollbackResponse) ProtoMessage() {}
-func (*RollbackResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{15}
+func (x *RollbackResponse) Reset() {
+ *x = RollbackResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RollbackResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RollbackResponse.Unmarshal(m, b)
-}
-func (m *RollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RollbackResponse.Marshal(b, m, deterministic)
-}
-func (m *RollbackResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RollbackResponse.Merge(m, src)
+func (x *RollbackResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RollbackResponse) XXX_Size() int {
- return xxx_messageInfo_RollbackResponse.Size(m)
-}
-func (m *RollbackResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_RollbackResponse.DiscardUnknown(m)
+
+func (*RollbackResponse) ProtoMessage() {}
+
+func (x *RollbackResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && 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_RollbackResponse proto.InternalMessageInfo
+// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead.
+func (*RollbackResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{15}
+}
// Response to a batch update request
type ExecuteBatchResponse struct {
- ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
- StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
- UpdateCounts []uint64 `protobuf:"varint,3,rep,packed,name=update_counts,json=updateCounts,proto3" json:"update_counts,omitempty"`
- MissingStatement bool `protobuf:"varint,4,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"`
- Metadata *RpcMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ExecuteBatchResponse) Reset() { *m = ExecuteBatchResponse{} }
-func (m *ExecuteBatchResponse) String() string { return proto.CompactTextString(m) }
-func (*ExecuteBatchResponse) ProtoMessage() {}
-func (*ExecuteBatchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_2f8192a35440e287, []int{16}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
+ StatementId uint32 `protobuf:"varint,2,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"`
+ UpdateCounts []uint64 `protobuf:"varint,3,rep,packed,name=update_counts,json=updateCounts,proto3" json:"update_counts,omitempty"`
+ MissingStatement bool `protobuf:"varint,4,opt,name=missing_statement,json=missingStatement,proto3" json:"missing_statement,omitempty"` // Did the request fail because of no-cached statement
+ Metadata *RpcMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
+}
+
+func (x *ExecuteBatchResponse) Reset() {
+ *x = ExecuteBatchResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_responses_proto_msgTypes[16]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *ExecuteBatchResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ExecuteBatchResponse.Unmarshal(m, b)
-}
-func (m *ExecuteBatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ExecuteBatchResponse.Marshal(b, m, deterministic)
+func (x *ExecuteBatchResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ExecuteBatchResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExecuteBatchResponse.Merge(m, src)
-}
-func (m *ExecuteBatchResponse) XXX_Size() int {
- return xxx_messageInfo_ExecuteBatchResponse.Size(m)
-}
-func (m *ExecuteBatchResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ExecuteBatchResponse.DiscardUnknown(m)
+
+func (*ExecuteBatchResponse) ProtoMessage() {}
+
+func (x *ExecuteBatchResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_responses_proto_msgTypes[16]
+ if protoimpl.UnsafeEnabled && 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_ExecuteBatchResponse proto.InternalMessageInfo
+// Deprecated: Use ExecuteBatchResponse.ProtoReflect.Descriptor instead.
+func (*ExecuteBatchResponse) Descriptor() ([]byte, []int) {
+ return file_responses_proto_rawDescGZIP(), []int{16}
+}
-func (m *ExecuteBatchResponse) GetConnectionId() string {
- if m != nil {
- return m.ConnectionId
+func (x *ExecuteBatchResponse) GetConnectionId() string {
+ if x != nil {
+ return x.ConnectionId
}
return ""
}
-func (m *ExecuteBatchResponse) GetStatementId() uint32 {
- if m != nil {
- return m.StatementId
+func (x *ExecuteBatchResponse) GetStatementId() uint32 {
+ if x != nil {
+ return x.StatementId
}
return 0
}
-func (m *ExecuteBatchResponse) GetUpdateCounts() []uint64 {
- if m != nil {
- return m.UpdateCounts
+func (x *ExecuteBatchResponse) GetUpdateCounts() []uint64 {
+ if x != nil {
+ return x.UpdateCounts
}
return nil
}
-func (m *ExecuteBatchResponse) GetMissingStatement() bool {
- if m != nil {
- return m.MissingStatement
+func (x *ExecuteBatchResponse) GetMissingStatement() bool {
+ if x != nil {
+ return x.MissingStatement
}
return false
}
-func (m *ExecuteBatchResponse) GetMetadata() *RpcMetadata {
- if m != nil {
- return m.Metadata
+func (x *ExecuteBatchResponse) GetMetadata() *RpcMetadata {
+ if x != nil {
+ return x.Metadata
}
return nil
}
-func init() {
- proto.RegisterType((*ResultSetResponse)(nil), "ResultSetResponse")
- proto.RegisterType((*ExecuteResponse)(nil), "ExecuteResponse")
- proto.RegisterType((*PrepareResponse)(nil), "PrepareResponse")
- proto.RegisterType((*FetchResponse)(nil), "FetchResponse")
- proto.RegisterType((*CreateStatementResponse)(nil), "CreateStatementResponse")
- proto.RegisterType((*CloseStatementResponse)(nil), "CloseStatementResponse")
- proto.RegisterType((*OpenConnectionResponse)(nil), "OpenConnectionResponse")
- proto.RegisterType((*CloseConnectionResponse)(nil), "CloseConnectionResponse")
- proto.RegisterType((*ConnectionSyncResponse)(nil), "ConnectionSyncResponse")
- proto.RegisterType((*DatabasePropertyElement)(nil), "DatabasePropertyElement")
- proto.RegisterType((*DatabasePropertyResponse)(nil), "DatabasePropertyResponse")
- proto.RegisterType((*ErrorResponse)(nil), "ErrorResponse")
- proto.RegisterType((*SyncResultsResponse)(nil), "SyncResultsResponse")
- proto.RegisterType((*RpcMetadata)(nil), "RpcMetadata")
- proto.RegisterType((*CommitResponse)(nil), "CommitResponse")
- proto.RegisterType((*RollbackResponse)(nil), "RollbackResponse")
- proto.RegisterType((*ExecuteBatchResponse)(nil), "ExecuteBatchResponse")
-}
-
-func init() {
- proto.RegisterFile("responses.proto", fileDescriptor_2f8192a35440e287)
-}
-
-var fileDescriptor_2f8192a35440e287 = []byte{
- // 802 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
- 0x10, 0xc6, 0xea, 0xc7, 0x36, 0x87, 0xa4, 0x2d, 0xb3, 0x6d, 0x42, 0xf4, 0x0f, 0xb2, 0x8c, 0x20,
- 0x04, 0x5a, 0xf0, 0xe0, 0xe6, 0x05, 0x6a, 0x55, 0x41, 0x73, 0x08, 0x1a, 0xac, 0x8a, 0x5e, 0x89,
- 0x35, 0x39, 0x91, 0x08, 0x93, 0x5c, 0x66, 0x77, 0xa5, 0x58, 0x6f, 0x50, 0xa0, 0x87, 0xde, 0x7a,
- 0xee, 0x0b, 0xf4, 0x85, 0xfa, 0x34, 0xc5, 0x72, 0x29, 0x92, 0x69, 0x64, 0x35, 0x6a, 0x7c, 0x92,
- 0xf8, 0xcd, 0xf0, 0x9b, 0xd1, 0xb7, 0xb3, 0xdf, 0x08, 0xce, 0x04, 0xca, 0x92, 0x17, 0x12, 0x65,
- 0x58, 0x0a, 0xae, 0xf8, 0xe7, 0x4e, 0xcc, 0xf3, 0x9c, 0x17, 0xe6, 0x69, 0xf2, 0x67, 0x0f, 0xce,
- 0x29, 0xca, 0x55, 0xa6, 0xe6, 0xa8, 0x68, 0x9d, 0xea, 0x5d, 0x82, 0x1b, 0xf3, 0xa2, 0xc0, 0x58,
- 0xa5, 0xbc, 0x88, 0xd2, 0xc4, 0x27, 0x63, 0x12, 0x58, 0xd4, 0x69, 0xc1, 0x17, 0x89, 0x77, 0x01,
- 0x8e, 0x54, 0x4c, 0x61, 0x8e, 0x85, 0xd2, 0x39, 0xbd, 0x31, 0x09, 0x5c, 0x6a, 0x37, 0xd8, 0x8b,
- 0x44, 0xf3, 0xf0, 0xb7, 0x45, 0xd4, 0x40, 0x7e, 0x7f, 0x4c, 0x82, 0x13, 0xea, 0xf0, 0xb7, 0xc5,
- 0x7c, 0x8b, 0x79, 0x01, 0x58, 0x32, 0x5d, 0x14, 0x4c, 0xad, 0x04, 0xfa, 0x83, 0x31, 0x09, 0xec,
- 0x2b, 0x08, 0xe7, 0x5b, 0x84, 0xb6, 0x41, 0xef, 0x29, 0xd8, 0xaf, 0x53, 0x21, 0x55, 0xf4, 0x5a,
- 0xb0, 0x1c, 0xfd, 0x61, 0x95, 0x7b, 0x14, 0x3e, 0xd7, 0x4f, 0x14, 0xaa, 0x50, 0xf5, 0x5d, 0xb7,
- 0xb6, 0x2a, 0x13, 0xa6, 0x30, 0x8a, 0xf9, 0xaa, 0x50, 0xfe, 0xd1, 0x98, 0x04, 0x03, 0x6a, 0x1b,
- 0x6c, 0xaa, 0x21, 0x2f, 0x80, 0x93, 0x1c, 0x15, 0x4b, 0x98, 0x62, 0xfe, 0x71, 0x45, 0xe4, 0x84,
- 0xb4, 0x8c, 0x5f, 0xd6, 0x18, 0x6d, 0xa2, 0x93, 0x3f, 0x08, 0x9c, 0xcd, 0xee, 0x30, 0x5e, 0x29,
- 0x6c, 0x04, 0xfa, 0x16, 0x8e, 0x45, 0xa5, 0x9a, 0xf4, 0xc9, 0xb8, 0x1f, 0xd8, 0x57, 0x5e, 0xf8,
- 0x9e, 0x8a, 0x74, 0x9b, 0xe2, 0x7d, 0x03, 0xe7, 0x79, 0x2a, 0x65, 0x5a, 0x2c, 0x3a, 0x52, 0xf4,
- 0x2a, 0x29, 0x46, 0x75, 0xa0, 0x2b, 0x47, 0xdb, 0x58, 0x7f, 0x6f, 0x63, 0xb7, 0x70, 0xf6, 0x4a,
- 0x60, 0xc9, 0x44, 0xdb, 0x57, 0x08, 0x56, 0x5b, 0x81, 0x54, 0x6f, 0x8f, 0xc2, 0x86, 0xfb, 0x47,
- 0x56, 0x24, 0x99, 0x56, 0x74, 0x67, 0xb1, 0xde, 0xde, 0x62, 0x7f, 0x11, 0x70, 0x9f, 0xa3, 0x8a,
- 0x97, 0x4d, 0xad, 0x2f, 0x61, 0x68, 0xce, 0x81, 0xbc, 0x73, 0x0e, 0x06, 0x3c, 0xec, 0x37, 0x3f,
- 0x85, 0xb3, 0x6d, 0xf2, 0x56, 0x56, 0x33, 0x29, 0xa7, 0x35, 0x4c, 0x6b, 0x25, 0xbb, 0xfd, 0x0e,
- 0xf6, 0xf6, 0xfb, 0x1b, 0x81, 0xc7, 0x53, 0x81, 0x4c, 0x61, 0x53, 0xe6, 0xc1, 0xc7, 0xfb, 0xc3,
- 0x8f, 0xea, 0x1a, 0x1e, 0x4d, 0x33, 0x2e, 0x77, 0xf4, 0xd2, 0xe5, 0x20, 0xff, 0xc5, 0xf1, 0x53,
- 0x89, 0xc5, 0xb4, 0x69, 0xf2, 0x7f, 0x70, 0x4c, 0xe1, 0x71, 0xd5, 0xc7, 0x47, 0x91, 0xdc, 0xc1,
- 0xa3, 0xf6, 0xfd, 0xf9, 0xa6, 0x88, 0x1b, 0x8e, 0x67, 0x00, 0x5a, 0xc3, 0xa8, 0x14, 0xbc, 0x94,
- 0x35, 0xcb, 0x67, 0x61, 0x9b, 0xfc, 0x4a, 0xf0, 0x12, 0x85, 0x4a, 0x51, 0x52, 0x4b, 0x27, 0xea,
- 0x67, 0x79, 0xc0, 0x10, 0xea, 0x43, 0xfd, 0x81, 0x29, 0x76, 0xc3, 0x24, 0xd6, 0x5c, 0x9b, 0x59,
- 0x66, 0x66, 0xe8, 0x12, 0xfa, 0xb7, 0xb8, 0xa9, 0x8b, 0x9e, 0x87, 0xff, 0x4e, 0xa3, 0x3a, 0xea,
- 0x5d, 0xc0, 0x70, 0xcd, 0xb2, 0x15, 0xd6, 0x75, 0xec, 0xf0, 0xe7, 0x4d, 0x89, 0xc9, 0x2f, 0x1a,
- 0xa2, 0x26, 0x72, 0xc0, 0xa1, 0x2a, 0xf0, 0xdf, 0xab, 0xd2, 0x5e, 0xc4, 0xe1, 0x56, 0x04, 0x6d,
- 0x0f, 0x7e, 0x78, 0x4f, 0xdb, 0xd4, 0xa4, 0x1d, 0xa0, 0xc1, 0xaf, 0x3d, 0x70, 0x67, 0x42, 0x70,
- 0xd1, 0xd4, 0xfa, 0x1a, 0x00, 0xef, 0x62, 0x2c, 0xb5, 0xc2, 0xa6, 0xa0, 0x45, 0x3b, 0x88, 0xf7,
- 0x04, 0x4e, 0x97, 0x4c, 0x46, 0x9d, 0x9c, 0xe3, 0xea, 0x72, 0xb9, 0x4b, 0x26, 0x67, 0x6d, 0xda,
- 0x25, 0xb8, 0xa8, 0x79, 0xa3, 0x1c, 0xa5, 0x64, 0x0b, 0xa3, 0x91, 0x45, 0x9d, 0x0a, 0x7c, 0x69,
- 0x30, 0xef, 0x09, 0x9c, 0x48, 0x5c, 0xa3, 0x48, 0xd5, 0xa6, 0x52, 0xe7, 0xf4, 0xca, 0x0a, 0xe7,
- 0x35, 0x40, 0x9b, 0x90, 0xf7, 0x15, 0x80, 0xe1, 0x8a, 0x79, 0x62, 0x4c, 0xdd, 0xa5, 0x56, 0x85,
- 0x4c, 0x79, 0x82, 0xde, 0x17, 0x60, 0xc9, 0x37, 0x99, 0x31, 0x86, 0xca, 0xc6, 0x2d, 0x7a, 0x22,
- 0xdf, 0x64, 0xd5, 0xed, 0x78, 0x47, 0x8a, 0xa3, 0xbd, 0x52, 0xfc, 0x4e, 0xe0, 0x93, 0x7a, 0xfe,
- 0xb4, 0x3b, 0x34, 0x82, 0xec, 0xf4, 0x1e, 0x72, 0x8f, 0xf7, 0x5c, 0x80, 0x93, 0x73, 0x81, 0x8d,
- 0xf1, 0x18, 0x8f, 0xb2, 0x35, 0xb6, 0xcb, 0x75, 0xf6, 0x8f, 0xc4, 0x33, 0xb0, 0x3b, 0x01, 0xad,
- 0xbc, 0x44, 0xb1, 0x46, 0x11, 0xb1, 0x24, 0x11, 0x28, 0x65, 0xed, 0x34, 0xae, 0x41, 0xbf, 0x37,
- 0xe0, 0x64, 0x04, 0xa7, 0x53, 0x9e, 0xe7, 0x69, 0xe3, 0x0a, 0x13, 0x0f, 0x46, 0x94, 0x67, 0xd9,
- 0x0d, 0x8b, 0x6f, 0x1b, 0xec, 0x6f, 0x02, 0x9f, 0xd6, 0x7b, 0xe8, 0x9a, 0x75, 0x8d, 0xf8, 0x01,
- 0xb7, 0x75, 0x77, 0x6b, 0x6a, 0x0f, 0xee, 0x07, 0x03, 0xea, 0x74, 0xd6, 0xe6, 0x3d, 0xbb, 0x6c,
- 0xf0, 0x01, 0xbb, 0x6c, 0xb8, 0x4f, 0xb8, 0xeb, 0x09, 0x8c, 0xb9, 0x58, 0x84, 0xac, 0x64, 0xf1,
- 0x12, 0xc3, 0x98, 0x65, 0x71, 0xaa, 0x30, 0x64, 0x6b, 0xa6, 0xd2, 0x98, 0x99, 0xff, 0x2a, 0x37,
- 0x47, 0xd5, 0xc7, 0x77, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x70, 0x76, 0x9a, 0x2c, 0xd3, 0x08,
- 0x00, 0x00,
+var File_responses_proto protoreflect.FileDescriptor
+
+var file_responses_proto_rawDesc = []byte{
+ 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
+ 0xa0, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f,
+ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
+ 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a,
+ 0x0d, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65,
+ 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x27, 0x0a, 0x0b,
+ 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x06, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74,
+ 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63,
+ 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x22, 0x96, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x73,
+ 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x10, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
+ 0x74, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x6b, 0x0a, 0x0f, 0x50,
+ 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e,
+ 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x10, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x6e,
+ 0x64, 0x6c, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28,
+ 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08,
+ 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xad, 0x01, 0x0a, 0x0d, 0x46, 0x65, 0x74,
+ 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x05, 0x66, 0x72,
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x46, 0x72, 0x61, 0x6d,
+ 0x65, 0x52, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x10, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67,
+ 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e,
+ 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x28,
+ 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08,
+ 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8b, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65,
+ 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e,
+ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
+ 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08,
+ 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
+ 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x42, 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53,
+ 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
+ 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x42, 0x0a, 0x16, 0x4f, 0x70,
+ 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x43,
+ 0x0a, 0x17, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74,
+ 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70,
+ 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x22, 0x78, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a,
+ 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72,
+ 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x50, 0x72,
+ 0x6f, 0x70, 0x73, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8b, 0x01,
+ 0x0a, 0x17, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
+ 0x74, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x03, 0x6b, 0x65, 0x79,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21,
+ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
+ 0x54, 0x79, 0x70, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x74, 0x0a, 0x18, 0x44,
+ 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x70, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
+ 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
+ 0x52, 0x05, 0x70, 0x72, 0x6f, 0x70, 0x73, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
+ 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x22, 0x88, 0x02, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x65, 0x78, 0x63, 0x65, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x61, 0x73,
+ 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72,
+ 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
+ 0x25, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x09, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65,
+ 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
+ 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f,
+ 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x71, 0x6c, 0x53, 0x74, 0x61,
+ 0x74, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8f, 0x01, 0x0a,
+ 0x13, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
+ 0x10, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
+ 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
+ 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6d, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73,
+ 0x75, 0x6c, 0x74, 0x73, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x34,
+ 0x0a, 0x0b, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a,
+ 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61,
+ 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xda, 0x01, 0x0a, 0x14, 0x45,
+ 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
+ 0x28, 0x04, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73,
+ 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6d, 0x69, 0x73,
+ 0x73, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a,
+ 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x0c, 0x2e, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x22, 0x0a, 0x20, 0x6f, 0x72, 0x67, 0x2e, 0x61,
+ 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x63, 0x61, 0x6c, 0x63, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x76,
+ 0x61, 0x74, 0x69, 0x63, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_responses_proto_rawDescOnce sync.Once
+ file_responses_proto_rawDescData = file_responses_proto_rawDesc
+)
+
+func file_responses_proto_rawDescGZIP() []byte {
+ file_responses_proto_rawDescOnce.Do(func() {
+ file_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_responses_proto_rawDescData)
+ })
+ return file_responses_proto_rawDescData
+}
+
+var file_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
+var file_responses_proto_goTypes = []interface{}{
+ (*ResultSetResponse)(nil), // 0: ResultSetResponse
+ (*ExecuteResponse)(nil), // 1: ExecuteResponse
+ (*PrepareResponse)(nil), // 2: PrepareResponse
+ (*FetchResponse)(nil), // 3: FetchResponse
+ (*CreateStatementResponse)(nil), // 4: CreateStatementResponse
+ (*CloseStatementResponse)(nil), // 5: CloseStatementResponse
+ (*OpenConnectionResponse)(nil), // 6: OpenConnectionResponse
+ (*CloseConnectionResponse)(nil), // 7: CloseConnectionResponse
+ (*ConnectionSyncResponse)(nil), // 8: ConnectionSyncResponse
+ (*DatabasePropertyElement)(nil), // 9: DatabasePropertyElement
+ (*DatabasePropertyResponse)(nil), // 10: DatabasePropertyResponse
+ (*ErrorResponse)(nil), // 11: ErrorResponse
+ (*SyncResultsResponse)(nil), // 12: SyncResultsResponse
+ (*RpcMetadata)(nil), // 13: RpcMetadata
+ (*CommitResponse)(nil), // 14: CommitResponse
+ (*RollbackResponse)(nil), // 15: RollbackResponse
+ (*ExecuteBatchResponse)(nil), // 16: ExecuteBatchResponse
+ (*Signature)(nil), // 17: Signature
+ (*Frame)(nil), // 18: Frame
+ (*StatementHandle)(nil), // 19: StatementHandle
+ (*ConnectionProperties)(nil), // 20: ConnectionProperties
+ (*DatabaseProperty)(nil), // 21: DatabaseProperty
+ (*TypedValue)(nil), // 22: TypedValue
+ (Severity)(0), // 23: Severity
+}
+var file_responses_proto_depIdxs = []int32{
+ 17, // 0: ResultSetResponse.signature:type_name -> Signature
+ 18, // 1: ResultSetResponse.first_frame:type_name -> Frame
+ 13, // 2: ResultSetResponse.metadata:type_name -> RpcMetadata
+ 0, // 3: ExecuteResponse.results:type_name -> ResultSetResponse
+ 13, // 4: ExecuteResponse.metadata:type_name -> RpcMetadata
+ 19, // 5: PrepareResponse.statement:type_name -> StatementHandle
+ 13, // 6: PrepareResponse.metadata:type_name -> RpcMetadata
+ 18, // 7: FetchResponse.frame:type_name -> Frame
+ 13, // 8: FetchResponse.metadata:type_name -> RpcMetadata
+ 13, // 9: CreateStatementResponse.metadata:type_name -> RpcMetadata
+ 13, // 10: CloseStatementResponse.metadata:type_name -> RpcMetadata
+ 13, // 11: OpenConnectionResponse.metadata:type_name -> RpcMetadata
+ 13, // 12: CloseConnectionResponse.metadata:type_name -> RpcMetadata
+ 20, // 13: ConnectionSyncResponse.conn_props:type_name -> ConnectionProperties
+ 13, // 14: ConnectionSyncResponse.metadata:type_name -> RpcMetadata
+ 21, // 15: DatabasePropertyElement.key:type_name -> DatabaseProperty
+ 22, // 16: DatabasePropertyElement.value:type_name -> TypedValue
+ 13, // 17: DatabasePropertyElement.metadata:type_name -> RpcMetadata
+ 9, // 18: DatabasePropertyResponse.props:type_name -> DatabasePropertyElement
+ 13, // 19: DatabasePropertyResponse.metadata:type_name -> RpcMetadata
+ 23, // 20: ErrorResponse.severity:type_name -> Severity
+ 13, // 21: ErrorResponse.metadata:type_name -> RpcMetadata
+ 13, // 22: SyncResultsResponse.metadata:type_name -> RpcMetadata
+ 13, // 23: ExecuteBatchResponse.metadata:type_name -> RpcMetadata
+ 24, // [24:24] is the sub-list for method output_type
+ 24, // [24:24] is the sub-list for method input_type
+ 24, // [24:24] is the sub-list for extension type_name
+ 24, // [24:24] is the sub-list for extension extendee
+ 0, // [0:24] is the sub-list for field type_name
+}
+
+func init() { file_responses_proto_init() }
+func file_responses_proto_init() {
+ if File_responses_proto != nil {
+ return
+ }
+ file_common_proto_init()
+ if !protoimpl.UnsafeEnabled {
+ file_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ResultSetResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExecuteResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PrepareResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FetchResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CreateStatementResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CloseStatementResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*OpenConnectionResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CloseConnectionResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ConnectionSyncResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatabasePropertyElement); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*DatabasePropertyResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ErrorResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SyncResultsResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RpcMetadata); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*CommitResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RollbackResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_responses_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ExecuteBatchResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ }
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_responses_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 17,
+ NumExtensions: 0,
+ NumServices: 0,
+ },
+ GoTypes: file_responses_proto_goTypes,
+ DependencyIndexes: file_responses_proto_depIdxs,
+ MessageInfos: file_responses_proto_msgTypes,
+ }.Build()
+ File_responses_proto = out.File
+ file_responses_proto_rawDesc = nil
+ file_responses_proto_goTypes = nil
+ file_responses_proto_depIdxs = nil
}
[calcite-avatica-go] 01/04: [CALCITE-5055] Test against Go 1.17 and 1.18
Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit b5d64b0e6ff8971a5b573005e56d3d5c1fae0bd0
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Wed Mar 23 14:00:33 2022 +1100
[CALCITE-5055] Test against Go 1.17 and 1.18
---
.github/workflows/tests.yaml | 2 +-
docker-compose.yml | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 5693fde..534bec6 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- go_version: [1.14, 1.15]
+ go_version: [1.17, 1.18]
database_image:
- boostport/hbase-phoenix-all-in-one:1.3-4.13
- boostport/hbase-phoenix-all-in-one:1.4-4.14
diff --git a/docker-compose.yml b/docker-compose.yml
index 9712713..4203fcf 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -23,8 +23,8 @@ services:
command: -u jdbc:hsqldb:mem:public
test:
- image: golang:1.15-alpine
- command: sh -c "apk --no-cache --no-progress add gcc git musl-dev; export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go test -v ./..."
+ image: golang:1.18
+ command: sh -c "export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go test -v ./..."
working_dir: /source
environment:
PHOENIX_HOST: http://phoenix:8765
@@ -37,8 +37,8 @@ services:
- hsqldb
dev:
- image: golang:1.15-alpine
- command: sh -c "apk --no-cache --no-progress add build-base git; go install github.com/unchartedsoftware/witch; cd /source; witch --cmd=\"export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go test -v ./...\" --watch=\"*.mod,**/*.go\""
+ image: golang:1.18
+ command: sh -c "go install github.com/unchartedsoftware/witch; cd /source; witch --cmd=\"export AVATICA_FLAVOR=HSQLDB && go test -v ./...; export AVATICA_FLAVOR=PHOENIX && go test -v ./...\" --watch=\"*.mod,**/*.go\""
environment:
PHOENIX_HOST: http://phoenix:8765
HSQLDB_HOST: http://hsqldb:8765
@@ -88,13 +88,13 @@ services:
- .:/source
compile-protobuf:
- image: golang:1.15-alpine
+ image: golang:1.18-alpine
working_dir: /source
command: sh -c "apk --no-cache --no-progress add bash; ./docker.sh compile-protobuf"
environment:
- AVATICA_VERSION: 1.17.0
+ AVATICA_VERSION: 1.20.0
PROTOBUF_VERSION: 3.12.3
- GLIBC_VERSION: 2.31-r0
+ GLIBC_VERSION: 2.35-r0
volumes:
- .:/source
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache
\ No newline at end of file