diff --git a/clients/restore/restore.go b/clients/restore/restore.go index 73375d4..c2d1577 100644 --- a/clients/restore/restore.go +++ b/clients/restore/restore.go @@ -12,11 +12,11 @@ import ( "strings" "time" - "github.com/gogo/protobuf/proto" "github.com/influxdata/influx-cli/v2/api" "github.com/influxdata/influx-cli/v2/clients" br "github.com/influxdata/influx-cli/v2/internal/backup_restore" "github.com/influxdata/influx-cli/v2/pkg/gzip" + "google.golang.org/protobuf/proto" ) type ApiConfig interface { @@ -329,7 +329,7 @@ func (c Client) restoreBucketLegacy(ctx context.Context, bkt br.ManifestBucketEn } dbi := bucketToDBI(bkt) - dbiBytes, err := proto.Marshal(&dbi) + dbiBytes, err := proto.Marshal(dbi) if err != nil { return nil, err } @@ -370,7 +370,7 @@ func (c Client) restoreOrg(ctx context.Context, name string) (string, error) { return *orgs.GetOrgs()[0].Id, nil } -func bucketToDBI(b br.ManifestBucketEntry) br.DatabaseInfo { +func bucketToDBI(b br.ManifestBucketEntry) *br.DatabaseInfo { dbi := br.DatabaseInfo{ Name: &b.BucketID, DefaultRetentionPolicy: &b.DefaultRetentionPolicy, @@ -379,12 +379,12 @@ func bucketToDBI(b br.ManifestBucketEntry) br.DatabaseInfo { } for i, rp := range b.RetentionPolicies { converted := retentionPolicyToRPI(rp) - dbi.RetentionPolicies[i] = &converted + dbi.RetentionPolicies[i] = converted } - return dbi + return &dbi } -func retentionPolicyToRPI(rp br.ManifestRetentionPolicy) br.RetentionPolicyInfo { +func retentionPolicyToRPI(rp br.ManifestRetentionPolicy) *br.RetentionPolicyInfo { replicaN := uint32(rp.ReplicaN) rpi := br.RetentionPolicyInfo{ Name: &rp.Name, @@ -396,7 +396,7 @@ func retentionPolicyToRPI(rp br.ManifestRetentionPolicy) br.RetentionPolicyInfo } for i, sg := range rp.ShardGroups { converted := shardGroupToSGI(sg) - rpi.ShardGroups[i] = &converted + rpi.ShardGroups[i] = converted } for i, s := range rp.Subscriptions { converted := br.SubscriptionInfo{ @@ -406,10 +406,10 @@ func retentionPolicyToRPI(rp br.ManifestRetentionPolicy) br.RetentionPolicyInfo } rpi.Subscriptions[i] = &converted } - return rpi + return &rpi } -func shardGroupToSGI(sg br.ManifestShardGroup) br.ShardGroupInfo { +func shardGroupToSGI(sg br.ManifestShardGroup) *br.ShardGroupInfo { id := uint64(sg.ID) start := sg.StartTime.UnixNano() end := sg.EndTime.UnixNano() @@ -430,12 +430,12 @@ func shardGroupToSGI(sg br.ManifestShardGroup) br.ShardGroupInfo { } for i, s := range sg.Shards { converted := shardToSI(s) - sgi.Shards[i] = &converted + sgi.Shards[i] = converted } - return sgi + return &sgi } -func shardToSI(shard br.ManifestShardEntry) br.ShardInfo { +func shardToSI(shard br.ManifestShardEntry) *br.ShardInfo { id := uint64(shard.ID) si := br.ShardInfo{ ID: &id, @@ -446,7 +446,7 @@ func shardToSI(shard br.ManifestShardEntry) br.ShardInfo { converted := br.ShardOwner{NodeID: &oid} si.Owners[i] = &converted } - return si + return &si } // readFileGzipped opens a local file and returns a reader of its contents, diff --git a/go.mod b/go.mod index 21d5420..36b5b60 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,6 @@ require ( github.com/fatih/color v1.9.0 github.com/fujiwara/shapeio v1.0.0 github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d - github.com/gogo/protobuf v1.3.2 github.com/golang/mock v1.5.0 github.com/google/go-jsonnet v0.17.0 github.com/mattn/go-isatty v0.0.13 @@ -20,6 +19,7 @@ require ( go.etcd.io/bbolt v1.3.6 golang.org/x/text v0.3.3 golang.org/x/tools v0.1.0 + google.golang.org/protobuf v1.27.1 gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c honnef.co/go/tools v0.2.0 ) diff --git a/go.sum b/go.sum index 36aaad9..952d4eb 100644 --- a/go.sum +++ b/go.sum @@ -21,18 +21,17 @@ github.com/fujiwara/shapeio v1.0.0 h1:xG5D9oNqCSUUbryZ/jQV3cqe1v2suEjwPIcEg1gKM8 github.com/fujiwara/shapeio v1.0.0/go.mod h1:LmEmu6L/8jetyj1oewewFb7bZCNRwE7wLCUNzDLaLVA= github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d h1:r3mStZSyjKhEcgbJ5xtv7kT5PZw/tDiFBTMgQx2qsXE= github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d/go.mod h1:5YoVOkjYAQumqlV356Hj3xeYh4BdZuLE0/nRkf2NKkI= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/mock v1.5.0 h1:jlYHihg//f7RRwuPfptm04yp4s7O6Kw8EZiVYIGcH0g= github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +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/google/go-jsonnet v0.17.0 h1:/9NIEfhK1NQRKl3sP2536b2+x5HnZMdql7x3yK/l8JY= github.com/google/go-jsonnet v0.17.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= @@ -69,7 +68,6 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/urfave/cli v1.22.5 h1:lNq9sAHXK2qfdI8W+GRItjCEkI+2oR4d+MEHy1CKXoU= github.com/urfave/cli v1.22.5/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= @@ -78,15 +76,12 @@ golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 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= @@ -106,9 +101,7 @@ golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba h1:O8mE0/t419eoIwhTFpKVkHiT golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20201118003311-bd56c0adb394/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -116,6 +109,9 @@ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/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.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/internal/backup_restore/README.md b/internal/backup_restore/README.md index 3b18429..3e77dc8 100644 --- a/internal/backup_restore/README.md +++ b/internal/backup_restore/README.md @@ -8,5 +8,5 @@ and into this repository. This file isn't intended to be modified. If `meta.pb.go` ever needs to be re-generated, follow these steps: 1. Install `protoc` (i.e. via `brew install protobuf`) -2. Run `go install github.com/gogo/protobuf/protoc-gen-gogo` from within this repository +2. Run `go install google.golang.org/protobuf/cmd/protoc-gen-go` from within this repository 3. Run `go generate ` diff --git a/internal/backup_restore/bolt.go b/internal/backup_restore/bolt.go index a22324b..b01a87f 100644 --- a/internal/backup_restore/bolt.go +++ b/internal/backup_restore/bolt.go @@ -6,12 +6,12 @@ import ( "fmt" "time" - "github.com/gogo/protobuf/proto" "github.com/influxdata/influx-cli/v2/api" "go.etcd.io/bbolt" + "google.golang.org/protobuf/proto" ) -//go:generate protoc --gogo_out=. meta.proto +//go:generate protoc --go_out=. meta.proto // NOTE: An unfortunate naming collision below. Bolt calls its databases "buckets". // These are the names that were used in the metadata DB for 2.0.x versions of influxdb. @@ -62,7 +62,7 @@ func ExtractBucketMetadata(boltPath string) ([]api.BucketMetadataManifest, error // Read raw metadata needed to construct a manifest. var buckets []influxdbBucketSchema orgNamesById := map[string]string{} - dbInfoByBucketId := map[string]DatabaseInfo{} + dbInfoByBucketId := map[string]*DatabaseInfo{} if err := db.View(func(tx *bbolt.Tx) error { bucketDB := tx.Bucket(bucketsBoltBucket) @@ -113,7 +113,7 @@ func ExtractBucketMetadata(boltPath string) ([]api.BucketMetadataManifest, error return fmt.Errorf("failed to unmarshal v1 database info: %w", err) } for _, rawDBI := range pb.GetDatabases() { - dbInfoByBucketId[*rawDBI.Name] = *rawDBI + dbInfoByBucketId[*rawDBI.Name] = rawDBI } return nil @@ -137,7 +137,7 @@ func ExtractBucketMetadata(boltPath string) ([]api.BucketMetadataManifest, error return manifests, nil } -func combineMetadata(bucket influxdbBucketSchema, orgName string, dbi DatabaseInfo) api.BucketMetadataManifest { +func combineMetadata(bucket influxdbBucketSchema, orgName string, dbi *DatabaseInfo) api.BucketMetadataManifest { m := api.BucketMetadataManifest{ OrganizationID: bucket.OrgID, OrganizationName: orgName, @@ -150,12 +150,12 @@ func combineMetadata(bucket influxdbBucketSchema, orgName string, dbi DatabaseIn m.Description = bucket.Description } for i, rp := range dbi.RetentionPolicies { - m.RetentionPolicies[i] = convertRPI(*rp) + m.RetentionPolicies[i] = convertRPI(rp) } return m } -func convertRPI(rpi RetentionPolicyInfo) api.RetentionPolicyManifest { +func convertRPI(rpi *RetentionPolicyInfo) api.RetentionPolicyManifest { m := api.RetentionPolicyManifest{ Name: *rpi.Name, ReplicaN: int32(*rpi.ReplicaN), @@ -165,7 +165,7 @@ func convertRPI(rpi RetentionPolicyInfo) api.RetentionPolicyManifest { Subscriptions: make([]api.SubscriptionManifest, len(rpi.Subscriptions)), } for i, sg := range rpi.ShardGroups { - m.ShardGroups[i] = convertSGI(*sg) + m.ShardGroups[i] = convertSGI(sg) } for i, s := range rpi.Subscriptions { m.Subscriptions[i] = api.SubscriptionManifest{ @@ -177,7 +177,7 @@ func convertRPI(rpi RetentionPolicyInfo) api.RetentionPolicyManifest { return m } -func convertSGI(sgi ShardGroupInfo) api.ShardGroupManifest { +func convertSGI(sgi *ShardGroupInfo) api.ShardGroupManifest { var deleted, truncated *time.Time if sgi.DeletedAt != nil { d := time.Unix(0, *sgi.DeletedAt).UTC() @@ -197,12 +197,12 @@ func convertSGI(sgi ShardGroupInfo) api.ShardGroupManifest { Shards: make([]api.ShardManifest, len(sgi.Shards)), } for i, s := range sgi.Shards { - m.Shards[i] = convertShard(*s) + m.Shards[i] = convertShard(s) } return m } -func convertShard(shard ShardInfo) api.ShardManifest { +func convertShard(shard *ShardInfo) api.ShardManifest { m := api.ShardManifest{ Id: int64(*shard.ID), ShardOwners: make([]api.ShardOwner, len(shard.Owners)), diff --git a/internal/backup_restore/meta.pb.go b/internal/backup_restore/meta.pb.go index 87fc26b..691cb42 100644 --- a/internal/backup_restore/meta.pb.go +++ b/internal/backup_restore/meta.pb.go @@ -1,25 +1,28 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: internal/meta.proto +// NOTE: This is a snapshot of the schema used to serialize V1 database info +// in the 2.0.x line of InfluxDB. The copy is here so we can support backing +// up from older DB versions, it's not intended to be kept up-to-date. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.17.3 +// source: meta.proto package backup_restore import ( - "fmt" - "math" - - "github.com/gogo/protobuf/proto" + 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type Command_Type int32 @@ -55,69 +58,71 @@ const ( Command_DropShardCommand Command_Type = 30 ) -var Command_Type_name = map[int32]string{ - 1: "CreateNodeCommand", - 2: "DeleteNodeCommand", - 3: "CreateDatabaseCommand", - 4: "DropDatabaseCommand", - 5: "CreateRetentionPolicyCommand", - 6: "DropRetentionPolicyCommand", - 7: "SetDefaultRetentionPolicyCommand", - 8: "UpdateRetentionPolicyCommand", - 9: "CreateShardGroupCommand", - 10: "DeleteShardGroupCommand", - 11: "CreateContinuousQueryCommand", - 12: "DropContinuousQueryCommand", - 13: "CreateUserCommand", - 14: "DropUserCommand", - 15: "UpdateUserCommand", - 16: "SetPrivilegeCommand", - 17: "SetDataCommand", - 18: "SetAdminPrivilegeCommand", - 19: "UpdateNodeCommand", - 21: "CreateSubscriptionCommand", - 22: "DropSubscriptionCommand", - 23: "RemovePeerCommand", - 24: "CreateMetaNodeCommand", - 25: "CreateDataNodeCommand", - 26: "UpdateDataNodeCommand", - 27: "DeleteMetaNodeCommand", - 28: "DeleteDataNodeCommand", - 29: "SetMetaNodeCommand", - 30: "DropShardCommand", -} - -var Command_Type_value = map[string]int32{ - "CreateNodeCommand": 1, - "DeleteNodeCommand": 2, - "CreateDatabaseCommand": 3, - "DropDatabaseCommand": 4, - "CreateRetentionPolicyCommand": 5, - "DropRetentionPolicyCommand": 6, - "SetDefaultRetentionPolicyCommand": 7, - "UpdateRetentionPolicyCommand": 8, - "CreateShardGroupCommand": 9, - "DeleteShardGroupCommand": 10, - "CreateContinuousQueryCommand": 11, - "DropContinuousQueryCommand": 12, - "CreateUserCommand": 13, - "DropUserCommand": 14, - "UpdateUserCommand": 15, - "SetPrivilegeCommand": 16, - "SetDataCommand": 17, - "SetAdminPrivilegeCommand": 18, - "UpdateNodeCommand": 19, - "CreateSubscriptionCommand": 21, - "DropSubscriptionCommand": 22, - "RemovePeerCommand": 23, - "CreateMetaNodeCommand": 24, - "CreateDataNodeCommand": 25, - "UpdateDataNodeCommand": 26, - "DeleteMetaNodeCommand": 27, - "DeleteDataNodeCommand": 28, - "SetMetaNodeCommand": 29, - "DropShardCommand": 30, -} +// Enum value maps for Command_Type. +var ( + Command_Type_name = map[int32]string{ + 1: "CreateNodeCommand", + 2: "DeleteNodeCommand", + 3: "CreateDatabaseCommand", + 4: "DropDatabaseCommand", + 5: "CreateRetentionPolicyCommand", + 6: "DropRetentionPolicyCommand", + 7: "SetDefaultRetentionPolicyCommand", + 8: "UpdateRetentionPolicyCommand", + 9: "CreateShardGroupCommand", + 10: "DeleteShardGroupCommand", + 11: "CreateContinuousQueryCommand", + 12: "DropContinuousQueryCommand", + 13: "CreateUserCommand", + 14: "DropUserCommand", + 15: "UpdateUserCommand", + 16: "SetPrivilegeCommand", + 17: "SetDataCommand", + 18: "SetAdminPrivilegeCommand", + 19: "UpdateNodeCommand", + 21: "CreateSubscriptionCommand", + 22: "DropSubscriptionCommand", + 23: "RemovePeerCommand", + 24: "CreateMetaNodeCommand", + 25: "CreateDataNodeCommand", + 26: "UpdateDataNodeCommand", + 27: "DeleteMetaNodeCommand", + 28: "DeleteDataNodeCommand", + 29: "SetMetaNodeCommand", + 30: "DropShardCommand", + } + Command_Type_value = map[string]int32{ + "CreateNodeCommand": 1, + "DeleteNodeCommand": 2, + "CreateDatabaseCommand": 3, + "DropDatabaseCommand": 4, + "CreateRetentionPolicyCommand": 5, + "DropRetentionPolicyCommand": 6, + "SetDefaultRetentionPolicyCommand": 7, + "UpdateRetentionPolicyCommand": 8, + "CreateShardGroupCommand": 9, + "DeleteShardGroupCommand": 10, + "CreateContinuousQueryCommand": 11, + "DropContinuousQueryCommand": 12, + "CreateUserCommand": 13, + "DropUserCommand": 14, + "UpdateUserCommand": 15, + "SetPrivilegeCommand": 16, + "SetDataCommand": 17, + "SetAdminPrivilegeCommand": 18, + "UpdateNodeCommand": 19, + "CreateSubscriptionCommand": 21, + "DropSubscriptionCommand": 22, + "RemovePeerCommand": 23, + "CreateMetaNodeCommand": 24, + "CreateDataNodeCommand": 25, + "UpdateDataNodeCommand": 26, + "DeleteMetaNodeCommand": 27, + "DeleteDataNodeCommand": 28, + "SetMetaNodeCommand": 29, + "DropShardCommand": 30, + } +) func (x Command_Type) Enum() *Command_Type { p := new(Command_Type) @@ -126,23 +131,41 @@ func (x Command_Type) Enum() *Command_Type { } func (x Command_Type) String() string { - return proto.EnumName(Command_Type_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (x *Command_Type) UnmarshalJSON(data []byte) error { - value, err := proto.UnmarshalJSONEnum(Command_Type_value, data, "Command_Type") +func (Command_Type) Descriptor() protoreflect.EnumDescriptor { + return file_meta_proto_enumTypes[0].Descriptor() +} + +func (Command_Type) Type() protoreflect.EnumType { + return &file_meta_proto_enumTypes[0] +} + +func (x Command_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *Command_Type) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = Command_Type(value) + *x = Command_Type(num) return nil } +// Deprecated: Use Command_Type.Descriptor instead. func (Command_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{12, 0} + return file_meta_proto_rawDescGZIP(), []int{12, 0} } type Data struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Term *uint64 `protobuf:"varint,1,req,name=Term" json:"Term,omitempty"` Index *uint64 `protobuf:"varint,2,req,name=Index" json:"Index,omitempty"` ClusterID *uint64 `protobuf:"varint,3,req,name=ClusterID" json:"ClusterID,omitempty"` @@ -153,793 +176,898 @@ type Data struct { MaxShardGroupID *uint64 `protobuf:"varint,8,req,name=MaxShardGroupID" json:"MaxShardGroupID,omitempty"` MaxShardID *uint64 `protobuf:"varint,9,req,name=MaxShardID" json:"MaxShardID,omitempty"` // added for 0.10.0 - DataNodes []*NodeInfo `protobuf:"bytes,10,rep,name=DataNodes" json:"DataNodes,omitempty"` - MetaNodes []*NodeInfo `protobuf:"bytes,11,rep,name=MetaNodes" json:"MetaNodes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DataNodes []*NodeInfo `protobuf:"bytes,10,rep,name=DataNodes" json:"DataNodes,omitempty"` + MetaNodes []*NodeInfo `protobuf:"bytes,11,rep,name=MetaNodes" json:"MetaNodes,omitempty"` } -func (m *Data) Reset() { *m = Data{} } -func (m *Data) String() string { return proto.CompactTextString(m) } -func (*Data) ProtoMessage() {} +func (x *Data) Reset() { + *x = Data{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Data) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Data) ProtoMessage() {} + +func (x *Data) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use Data.ProtoReflect.Descriptor instead. func (*Data) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{0} -} -func (m *Data) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Data.Unmarshal(m, b) -} -func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Data.Marshal(b, m, deterministic) -} -func (m *Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Data.Merge(m, src) -} -func (m *Data) XXX_Size() int { - return xxx_messageInfo_Data.Size(m) -} -func (m *Data) XXX_DiscardUnknown() { - xxx_messageInfo_Data.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{0} } -var xxx_messageInfo_Data proto.InternalMessageInfo - -func (m *Data) GetTerm() uint64 { - if m != nil && m.Term != nil { - return *m.Term +func (x *Data) GetTerm() uint64 { + if x != nil && x.Term != nil { + return *x.Term } return 0 } -func (m *Data) GetIndex() uint64 { - if m != nil && m.Index != nil { - return *m.Index +func (x *Data) GetIndex() uint64 { + if x != nil && x.Index != nil { + return *x.Index } return 0 } -func (m *Data) GetClusterID() uint64 { - if m != nil && m.ClusterID != nil { - return *m.ClusterID +func (x *Data) GetClusterID() uint64 { + if x != nil && x.ClusterID != nil { + return *x.ClusterID } return 0 } -func (m *Data) GetNodes() []*NodeInfo { - if m != nil { - return m.Nodes +func (x *Data) GetNodes() []*NodeInfo { + if x != nil { + return x.Nodes } return nil } -func (m *Data) GetDatabases() []*DatabaseInfo { - if m != nil { - return m.Databases +func (x *Data) GetDatabases() []*DatabaseInfo { + if x != nil { + return x.Databases } return nil } -func (m *Data) GetUsers() []*UserInfo { - if m != nil { - return m.Users +func (x *Data) GetUsers() []*UserInfo { + if x != nil { + return x.Users } return nil } -func (m *Data) GetMaxNodeID() uint64 { - if m != nil && m.MaxNodeID != nil { - return *m.MaxNodeID +func (x *Data) GetMaxNodeID() uint64 { + if x != nil && x.MaxNodeID != nil { + return *x.MaxNodeID } return 0 } -func (m *Data) GetMaxShardGroupID() uint64 { - if m != nil && m.MaxShardGroupID != nil { - return *m.MaxShardGroupID +func (x *Data) GetMaxShardGroupID() uint64 { + if x != nil && x.MaxShardGroupID != nil { + return *x.MaxShardGroupID } return 0 } -func (m *Data) GetMaxShardID() uint64 { - if m != nil && m.MaxShardID != nil { - return *m.MaxShardID +func (x *Data) GetMaxShardID() uint64 { + if x != nil && x.MaxShardID != nil { + return *x.MaxShardID } return 0 } -func (m *Data) GetDataNodes() []*NodeInfo { - if m != nil { - return m.DataNodes +func (x *Data) GetDataNodes() []*NodeInfo { + if x != nil { + return x.DataNodes } return nil } -func (m *Data) GetMetaNodes() []*NodeInfo { - if m != nil { - return m.MetaNodes +func (x *Data) GetMetaNodes() []*NodeInfo { + if x != nil { + return x.MetaNodes } return nil } type NodeInfo struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` - TCPHost *string `protobuf:"bytes,3,opt,name=TCPHost" json:"TCPHost,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` + TCPHost *string `protobuf:"bytes,3,opt,name=TCPHost" json:"TCPHost,omitempty"` } -func (m *NodeInfo) Reset() { *m = NodeInfo{} } -func (m *NodeInfo) String() string { return proto.CompactTextString(m) } -func (*NodeInfo) ProtoMessage() {} +func (x *NodeInfo) Reset() { + *x = NodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo) ProtoMessage() {} + +func (x *NodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead. func (*NodeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{1} -} -func (m *NodeInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeInfo.Unmarshal(m, b) -} -func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeInfo.Marshal(b, m, deterministic) -} -func (m *NodeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeInfo.Merge(m, src) -} -func (m *NodeInfo) XXX_Size() int { - return xxx_messageInfo_NodeInfo.Size(m) -} -func (m *NodeInfo) XXX_DiscardUnknown() { - xxx_messageInfo_NodeInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{1} } -var xxx_messageInfo_NodeInfo proto.InternalMessageInfo - -func (m *NodeInfo) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *NodeInfo) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *NodeInfo) GetHost() string { - if m != nil && m.Host != nil { - return *m.Host +func (x *NodeInfo) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host } return "" } -func (m *NodeInfo) GetTCPHost() string { - if m != nil && m.TCPHost != nil { - return *m.TCPHost +func (x *NodeInfo) GetTCPHost() string { + if x != nil && x.TCPHost != nil { + return *x.TCPHost } return "" } type DatabaseInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` DefaultRetentionPolicy *string `protobuf:"bytes,2,req,name=DefaultRetentionPolicy" json:"DefaultRetentionPolicy,omitempty"` RetentionPolicies []*RetentionPolicyInfo `protobuf:"bytes,3,rep,name=RetentionPolicies" json:"RetentionPolicies,omitempty"` ContinuousQueries []*ContinuousQueryInfo `protobuf:"bytes,4,rep,name=ContinuousQueries" json:"ContinuousQueries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *DatabaseInfo) Reset() { *m = DatabaseInfo{} } -func (m *DatabaseInfo) String() string { return proto.CompactTextString(m) } -func (*DatabaseInfo) ProtoMessage() {} +func (x *DatabaseInfo) Reset() { + *x = DatabaseInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DatabaseInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DatabaseInfo) ProtoMessage() {} + +func (x *DatabaseInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use DatabaseInfo.ProtoReflect.Descriptor instead. func (*DatabaseInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{2} -} -func (m *DatabaseInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatabaseInfo.Unmarshal(m, b) -} -func (m *DatabaseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatabaseInfo.Marshal(b, m, deterministic) -} -func (m *DatabaseInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseInfo.Merge(m, src) -} -func (m *DatabaseInfo) XXX_Size() int { - return xxx_messageInfo_DatabaseInfo.Size(m) -} -func (m *DatabaseInfo) XXX_DiscardUnknown() { - xxx_messageInfo_DatabaseInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{2} } -var xxx_messageInfo_DatabaseInfo proto.InternalMessageInfo - -func (m *DatabaseInfo) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DatabaseInfo) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *DatabaseInfo) GetDefaultRetentionPolicy() string { - if m != nil && m.DefaultRetentionPolicy != nil { - return *m.DefaultRetentionPolicy +func (x *DatabaseInfo) GetDefaultRetentionPolicy() string { + if x != nil && x.DefaultRetentionPolicy != nil { + return *x.DefaultRetentionPolicy } return "" } -func (m *DatabaseInfo) GetRetentionPolicies() []*RetentionPolicyInfo { - if m != nil { - return m.RetentionPolicies +func (x *DatabaseInfo) GetRetentionPolicies() []*RetentionPolicyInfo { + if x != nil { + return x.RetentionPolicies } return nil } -func (m *DatabaseInfo) GetContinuousQueries() []*ContinuousQueryInfo { - if m != nil { - return m.ContinuousQueries +func (x *DatabaseInfo) GetContinuousQueries() []*ContinuousQueryInfo { + if x != nil { + return x.ContinuousQueries } return nil } type RetentionPolicySpec struct { - Name *string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` - Duration *int64 `protobuf:"varint,2,opt,name=Duration" json:"Duration,omitempty"` - ShardGroupDuration *int64 `protobuf:"varint,3,opt,name=ShardGroupDuration" json:"ShardGroupDuration,omitempty"` - ReplicaN *uint32 `protobuf:"varint,4,opt,name=ReplicaN" json:"ReplicaN,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` + Duration *int64 `protobuf:"varint,2,opt,name=Duration" json:"Duration,omitempty"` + ShardGroupDuration *int64 `protobuf:"varint,3,opt,name=ShardGroupDuration" json:"ShardGroupDuration,omitempty"` + ReplicaN *uint32 `protobuf:"varint,4,opt,name=ReplicaN" json:"ReplicaN,omitempty"` } -func (m *RetentionPolicySpec) Reset() { *m = RetentionPolicySpec{} } -func (m *RetentionPolicySpec) String() string { return proto.CompactTextString(m) } -func (*RetentionPolicySpec) ProtoMessage() {} +func (x *RetentionPolicySpec) Reset() { + *x = RetentionPolicySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetentionPolicySpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetentionPolicySpec) ProtoMessage() {} + +func (x *RetentionPolicySpec) ProtoReflect() protoreflect.Message { + mi := &file_meta_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 RetentionPolicySpec.ProtoReflect.Descriptor instead. func (*RetentionPolicySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{3} -} -func (m *RetentionPolicySpec) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetentionPolicySpec.Unmarshal(m, b) -} -func (m *RetentionPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetentionPolicySpec.Marshal(b, m, deterministic) -} -func (m *RetentionPolicySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetentionPolicySpec.Merge(m, src) -} -func (m *RetentionPolicySpec) XXX_Size() int { - return xxx_messageInfo_RetentionPolicySpec.Size(m) -} -func (m *RetentionPolicySpec) XXX_DiscardUnknown() { - xxx_messageInfo_RetentionPolicySpec.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{3} } -var xxx_messageInfo_RetentionPolicySpec proto.InternalMessageInfo - -func (m *RetentionPolicySpec) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *RetentionPolicySpec) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *RetentionPolicySpec) GetDuration() int64 { - if m != nil && m.Duration != nil { - return *m.Duration +func (x *RetentionPolicySpec) GetDuration() int64 { + if x != nil && x.Duration != nil { + return *x.Duration } return 0 } -func (m *RetentionPolicySpec) GetShardGroupDuration() int64 { - if m != nil && m.ShardGroupDuration != nil { - return *m.ShardGroupDuration +func (x *RetentionPolicySpec) GetShardGroupDuration() int64 { + if x != nil && x.ShardGroupDuration != nil { + return *x.ShardGroupDuration } return 0 } -func (m *RetentionPolicySpec) GetReplicaN() uint32 { - if m != nil && m.ReplicaN != nil { - return *m.ReplicaN +func (x *RetentionPolicySpec) GetReplicaN() uint32 { + if x != nil && x.ReplicaN != nil { + return *x.ReplicaN } return 0 } type RetentionPolicyInfo struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Duration *int64 `protobuf:"varint,2,req,name=Duration" json:"Duration,omitempty"` - ShardGroupDuration *int64 `protobuf:"varint,3,req,name=ShardGroupDuration" json:"ShardGroupDuration,omitempty"` - ReplicaN *uint32 `protobuf:"varint,4,req,name=ReplicaN" json:"ReplicaN,omitempty"` - ShardGroups []*ShardGroupInfo `protobuf:"bytes,5,rep,name=ShardGroups" json:"ShardGroups,omitempty"` - Subscriptions []*SubscriptionInfo `protobuf:"bytes,6,rep,name=Subscriptions" json:"Subscriptions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Duration *int64 `protobuf:"varint,2,req,name=Duration" json:"Duration,omitempty"` + ShardGroupDuration *int64 `protobuf:"varint,3,req,name=ShardGroupDuration" json:"ShardGroupDuration,omitempty"` + ReplicaN *uint32 `protobuf:"varint,4,req,name=ReplicaN" json:"ReplicaN,omitempty"` + ShardGroups []*ShardGroupInfo `protobuf:"bytes,5,rep,name=ShardGroups" json:"ShardGroups,omitempty"` + Subscriptions []*SubscriptionInfo `protobuf:"bytes,6,rep,name=Subscriptions" json:"Subscriptions,omitempty"` } -func (m *RetentionPolicyInfo) Reset() { *m = RetentionPolicyInfo{} } -func (m *RetentionPolicyInfo) String() string { return proto.CompactTextString(m) } -func (*RetentionPolicyInfo) ProtoMessage() {} +func (x *RetentionPolicyInfo) Reset() { + *x = RetentionPolicyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetentionPolicyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetentionPolicyInfo) ProtoMessage() {} + +func (x *RetentionPolicyInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use RetentionPolicyInfo.ProtoReflect.Descriptor instead. func (*RetentionPolicyInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{4} -} -func (m *RetentionPolicyInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RetentionPolicyInfo.Unmarshal(m, b) -} -func (m *RetentionPolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RetentionPolicyInfo.Marshal(b, m, deterministic) -} -func (m *RetentionPolicyInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RetentionPolicyInfo.Merge(m, src) -} -func (m *RetentionPolicyInfo) XXX_Size() int { - return xxx_messageInfo_RetentionPolicyInfo.Size(m) -} -func (m *RetentionPolicyInfo) XXX_DiscardUnknown() { - xxx_messageInfo_RetentionPolicyInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{4} } -var xxx_messageInfo_RetentionPolicyInfo proto.InternalMessageInfo - -func (m *RetentionPolicyInfo) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *RetentionPolicyInfo) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *RetentionPolicyInfo) GetDuration() int64 { - if m != nil && m.Duration != nil { - return *m.Duration +func (x *RetentionPolicyInfo) GetDuration() int64 { + if x != nil && x.Duration != nil { + return *x.Duration } return 0 } -func (m *RetentionPolicyInfo) GetShardGroupDuration() int64 { - if m != nil && m.ShardGroupDuration != nil { - return *m.ShardGroupDuration +func (x *RetentionPolicyInfo) GetShardGroupDuration() int64 { + if x != nil && x.ShardGroupDuration != nil { + return *x.ShardGroupDuration } return 0 } -func (m *RetentionPolicyInfo) GetReplicaN() uint32 { - if m != nil && m.ReplicaN != nil { - return *m.ReplicaN +func (x *RetentionPolicyInfo) GetReplicaN() uint32 { + if x != nil && x.ReplicaN != nil { + return *x.ReplicaN } return 0 } -func (m *RetentionPolicyInfo) GetShardGroups() []*ShardGroupInfo { - if m != nil { - return m.ShardGroups +func (x *RetentionPolicyInfo) GetShardGroups() []*ShardGroupInfo { + if x != nil { + return x.ShardGroups } return nil } -func (m *RetentionPolicyInfo) GetSubscriptions() []*SubscriptionInfo { - if m != nil { - return m.Subscriptions +func (x *RetentionPolicyInfo) GetSubscriptions() []*SubscriptionInfo { + if x != nil { + return x.Subscriptions } return nil } type ShardGroupInfo struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - StartTime *int64 `protobuf:"varint,2,req,name=StartTime" json:"StartTime,omitempty"` - EndTime *int64 `protobuf:"varint,3,req,name=EndTime" json:"EndTime,omitempty"` - DeletedAt *int64 `protobuf:"varint,4,req,name=DeletedAt" json:"DeletedAt,omitempty"` - Shards []*ShardInfo `protobuf:"bytes,5,rep,name=Shards" json:"Shards,omitempty"` - TruncatedAt *int64 `protobuf:"varint,6,opt,name=TruncatedAt" json:"TruncatedAt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + StartTime *int64 `protobuf:"varint,2,req,name=StartTime" json:"StartTime,omitempty"` + EndTime *int64 `protobuf:"varint,3,req,name=EndTime" json:"EndTime,omitempty"` + DeletedAt *int64 `protobuf:"varint,4,req,name=DeletedAt" json:"DeletedAt,omitempty"` + Shards []*ShardInfo `protobuf:"bytes,5,rep,name=Shards" json:"Shards,omitempty"` + TruncatedAt *int64 `protobuf:"varint,6,opt,name=TruncatedAt" json:"TruncatedAt,omitempty"` } -func (m *ShardGroupInfo) Reset() { *m = ShardGroupInfo{} } -func (m *ShardGroupInfo) String() string { return proto.CompactTextString(m) } -func (*ShardGroupInfo) ProtoMessage() {} +func (x *ShardGroupInfo) Reset() { + *x = ShardGroupInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardGroupInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardGroupInfo) ProtoMessage() {} + +func (x *ShardGroupInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use ShardGroupInfo.ProtoReflect.Descriptor instead. func (*ShardGroupInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{5} -} -func (m *ShardGroupInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShardGroupInfo.Unmarshal(m, b) -} -func (m *ShardGroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShardGroupInfo.Marshal(b, m, deterministic) -} -func (m *ShardGroupInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardGroupInfo.Merge(m, src) -} -func (m *ShardGroupInfo) XXX_Size() int { - return xxx_messageInfo_ShardGroupInfo.Size(m) -} -func (m *ShardGroupInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShardGroupInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{5} } -var xxx_messageInfo_ShardGroupInfo proto.InternalMessageInfo - -func (m *ShardGroupInfo) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *ShardGroupInfo) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *ShardGroupInfo) GetStartTime() int64 { - if m != nil && m.StartTime != nil { - return *m.StartTime +func (x *ShardGroupInfo) GetStartTime() int64 { + if x != nil && x.StartTime != nil { + return *x.StartTime } return 0 } -func (m *ShardGroupInfo) GetEndTime() int64 { - if m != nil && m.EndTime != nil { - return *m.EndTime +func (x *ShardGroupInfo) GetEndTime() int64 { + if x != nil && x.EndTime != nil { + return *x.EndTime } return 0 } -func (m *ShardGroupInfo) GetDeletedAt() int64 { - if m != nil && m.DeletedAt != nil { - return *m.DeletedAt +func (x *ShardGroupInfo) GetDeletedAt() int64 { + if x != nil && x.DeletedAt != nil { + return *x.DeletedAt } return 0 } -func (m *ShardGroupInfo) GetShards() []*ShardInfo { - if m != nil { - return m.Shards +func (x *ShardGroupInfo) GetShards() []*ShardInfo { + if x != nil { + return x.Shards } return nil } -func (m *ShardGroupInfo) GetTruncatedAt() int64 { - if m != nil && m.TruncatedAt != nil { - return *m.TruncatedAt +func (x *ShardGroupInfo) GetTruncatedAt() int64 { + if x != nil && x.TruncatedAt != nil { + return *x.TruncatedAt } return 0 } type ShardInfo struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - OwnerIDs []uint64 `protobuf:"varint,2,rep,name=OwnerIDs" json:"OwnerIDs,omitempty"` // Deprecated: Do not use. - Owners []*ShardOwner `protobuf:"bytes,3,rep,name=Owners" json:"Owners,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + // Deprecated: Do not use. + OwnerIDs []uint64 `protobuf:"varint,2,rep,name=OwnerIDs" json:"OwnerIDs,omitempty"` + Owners []*ShardOwner `protobuf:"bytes,3,rep,name=Owners" json:"Owners,omitempty"` } -func (m *ShardInfo) Reset() { *m = ShardInfo{} } -func (m *ShardInfo) String() string { return proto.CompactTextString(m) } -func (*ShardInfo) ProtoMessage() {} +func (x *ShardInfo) Reset() { + *x = ShardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardInfo) ProtoMessage() {} + +func (x *ShardInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use ShardInfo.ProtoReflect.Descriptor instead. func (*ShardInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{6} -} -func (m *ShardInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShardInfo.Unmarshal(m, b) -} -func (m *ShardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShardInfo.Marshal(b, m, deterministic) -} -func (m *ShardInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardInfo.Merge(m, src) -} -func (m *ShardInfo) XXX_Size() int { - return xxx_messageInfo_ShardInfo.Size(m) -} -func (m *ShardInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShardInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{6} } -var xxx_messageInfo_ShardInfo proto.InternalMessageInfo - -func (m *ShardInfo) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *ShardInfo) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } // Deprecated: Do not use. -func (m *ShardInfo) GetOwnerIDs() []uint64 { - if m != nil { - return m.OwnerIDs +func (x *ShardInfo) GetOwnerIDs() []uint64 { + if x != nil { + return x.OwnerIDs } return nil } -func (m *ShardInfo) GetOwners() []*ShardOwner { - if m != nil { - return m.Owners +func (x *ShardInfo) GetOwners() []*ShardOwner { + if x != nil { + return x.Owners } return nil } type SubscriptionInfo struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Mode *string `protobuf:"bytes,2,req,name=Mode" json:"Mode,omitempty"` - Destinations []string `protobuf:"bytes,3,rep,name=Destinations" json:"Destinations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Mode *string `protobuf:"bytes,2,req,name=Mode" json:"Mode,omitempty"` + Destinations []string `protobuf:"bytes,3,rep,name=Destinations" json:"Destinations,omitempty"` } -func (m *SubscriptionInfo) Reset() { *m = SubscriptionInfo{} } -func (m *SubscriptionInfo) String() string { return proto.CompactTextString(m) } -func (*SubscriptionInfo) ProtoMessage() {} +func (x *SubscriptionInfo) Reset() { + *x = SubscriptionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubscriptionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscriptionInfo) ProtoMessage() {} + +func (x *SubscriptionInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use SubscriptionInfo.ProtoReflect.Descriptor instead. func (*SubscriptionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{7} -} -func (m *SubscriptionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscriptionInfo.Unmarshal(m, b) -} -func (m *SubscriptionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscriptionInfo.Marshal(b, m, deterministic) -} -func (m *SubscriptionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscriptionInfo.Merge(m, src) -} -func (m *SubscriptionInfo) XXX_Size() int { - return xxx_messageInfo_SubscriptionInfo.Size(m) -} -func (m *SubscriptionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SubscriptionInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{7} } -var xxx_messageInfo_SubscriptionInfo proto.InternalMessageInfo - -func (m *SubscriptionInfo) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *SubscriptionInfo) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *SubscriptionInfo) GetMode() string { - if m != nil && m.Mode != nil { - return *m.Mode +func (x *SubscriptionInfo) GetMode() string { + if x != nil && x.Mode != nil { + return *x.Mode } return "" } -func (m *SubscriptionInfo) GetDestinations() []string { - if m != nil { - return m.Destinations +func (x *SubscriptionInfo) GetDestinations() []string { + if x != nil { + return x.Destinations } return nil } type ShardOwner struct { - NodeID *uint64 `protobuf:"varint,1,req,name=NodeID" json:"NodeID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NodeID *uint64 `protobuf:"varint,1,req,name=NodeID" json:"NodeID,omitempty"` } -func (m *ShardOwner) Reset() { *m = ShardOwner{} } -func (m *ShardOwner) String() string { return proto.CompactTextString(m) } -func (*ShardOwner) ProtoMessage() {} +func (x *ShardOwner) Reset() { + *x = ShardOwner{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShardOwner) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShardOwner) ProtoMessage() {} + +func (x *ShardOwner) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use ShardOwner.ProtoReflect.Descriptor instead. func (*ShardOwner) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{8} -} -func (m *ShardOwner) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShardOwner.Unmarshal(m, b) -} -func (m *ShardOwner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShardOwner.Marshal(b, m, deterministic) -} -func (m *ShardOwner) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardOwner.Merge(m, src) -} -func (m *ShardOwner) XXX_Size() int { - return xxx_messageInfo_ShardOwner.Size(m) -} -func (m *ShardOwner) XXX_DiscardUnknown() { - xxx_messageInfo_ShardOwner.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{8} } -var xxx_messageInfo_ShardOwner proto.InternalMessageInfo - -func (m *ShardOwner) GetNodeID() uint64 { - if m != nil && m.NodeID != nil { - return *m.NodeID +func (x *ShardOwner) GetNodeID() uint64 { + if x != nil && x.NodeID != nil { + return *x.NodeID } return 0 } type ContinuousQueryInfo struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Query *string `protobuf:"bytes,2,req,name=Query" json:"Query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Query *string `protobuf:"bytes,2,req,name=Query" json:"Query,omitempty"` } -func (m *ContinuousQueryInfo) Reset() { *m = ContinuousQueryInfo{} } -func (m *ContinuousQueryInfo) String() string { return proto.CompactTextString(m) } -func (*ContinuousQueryInfo) ProtoMessage() {} +func (x *ContinuousQueryInfo) Reset() { + *x = ContinuousQueryInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContinuousQueryInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContinuousQueryInfo) ProtoMessage() {} + +func (x *ContinuousQueryInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use ContinuousQueryInfo.ProtoReflect.Descriptor instead. func (*ContinuousQueryInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{9} -} -func (m *ContinuousQueryInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContinuousQueryInfo.Unmarshal(m, b) -} -func (m *ContinuousQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContinuousQueryInfo.Marshal(b, m, deterministic) -} -func (m *ContinuousQueryInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContinuousQueryInfo.Merge(m, src) -} -func (m *ContinuousQueryInfo) XXX_Size() int { - return xxx_messageInfo_ContinuousQueryInfo.Size(m) -} -func (m *ContinuousQueryInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ContinuousQueryInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{9} } -var xxx_messageInfo_ContinuousQueryInfo proto.InternalMessageInfo - -func (m *ContinuousQueryInfo) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *ContinuousQueryInfo) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *ContinuousQueryInfo) GetQuery() string { - if m != nil && m.Query != nil { - return *m.Query +func (x *ContinuousQueryInfo) GetQuery() string { + if x != nil && x.Query != nil { + return *x.Query } return "" } type UserInfo struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` - Admin *bool `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"` - Privileges []*UserPrivilege `protobuf:"bytes,4,rep,name=Privileges" json:"Privileges,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` + Admin *bool `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"` + Privileges []*UserPrivilege `protobuf:"bytes,4,rep,name=Privileges" json:"Privileges,omitempty"` } -func (m *UserInfo) Reset() { *m = UserInfo{} } -func (m *UserInfo) String() string { return proto.CompactTextString(m) } -func (*UserInfo) ProtoMessage() {} +func (x *UserInfo) Reset() { + *x = UserInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserInfo) ProtoMessage() {} + +func (x *UserInfo) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. func (*UserInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{10} -} -func (m *UserInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserInfo.Unmarshal(m, b) -} -func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserInfo.Marshal(b, m, deterministic) -} -func (m *UserInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserInfo.Merge(m, src) -} -func (m *UserInfo) XXX_Size() int { - return xxx_messageInfo_UserInfo.Size(m) -} -func (m *UserInfo) XXX_DiscardUnknown() { - xxx_messageInfo_UserInfo.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{10} } -var xxx_messageInfo_UserInfo proto.InternalMessageInfo - -func (m *UserInfo) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *UserInfo) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *UserInfo) GetHash() string { - if m != nil && m.Hash != nil { - return *m.Hash +func (x *UserInfo) GetHash() string { + if x != nil && x.Hash != nil { + return *x.Hash } return "" } -func (m *UserInfo) GetAdmin() bool { - if m != nil && m.Admin != nil { - return *m.Admin +func (x *UserInfo) GetAdmin() bool { + if x != nil && x.Admin != nil { + return *x.Admin } return false } -func (m *UserInfo) GetPrivileges() []*UserPrivilege { - if m != nil { - return m.Privileges +func (x *UserInfo) GetPrivileges() []*UserPrivilege { + if x != nil { + return x.Privileges } return nil } type UserPrivilege struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Privilege *int32 `protobuf:"varint,2,req,name=Privilege" json:"Privilege,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Privilege *int32 `protobuf:"varint,2,req,name=Privilege" json:"Privilege,omitempty"` } -func (m *UserPrivilege) Reset() { *m = UserPrivilege{} } -func (m *UserPrivilege) String() string { return proto.CompactTextString(m) } -func (*UserPrivilege) ProtoMessage() {} +func (x *UserPrivilege) Reset() { + *x = UserPrivilege{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserPrivilege) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserPrivilege) ProtoMessage() {} + +func (x *UserPrivilege) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use UserPrivilege.ProtoReflect.Descriptor instead. func (*UserPrivilege) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{11} -} -func (m *UserPrivilege) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserPrivilege.Unmarshal(m, b) -} -func (m *UserPrivilege) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserPrivilege.Marshal(b, m, deterministic) -} -func (m *UserPrivilege) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserPrivilege.Merge(m, src) -} -func (m *UserPrivilege) XXX_Size() int { - return xxx_messageInfo_UserPrivilege.Size(m) -} -func (m *UserPrivilege) XXX_DiscardUnknown() { - xxx_messageInfo_UserPrivilege.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{11} } -var xxx_messageInfo_UserPrivilege proto.InternalMessageInfo - -func (m *UserPrivilege) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *UserPrivilege) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *UserPrivilege) GetPrivilege() int32 { - if m != nil && m.Privilege != nil { - return *m.Privilege +func (x *UserPrivilege) GetPrivilege() int32 { + if x != nil && x.Privilege != nil { + return *x.Privilege } return 0 } type Command struct { - Type *Command_Type `protobuf:"varint,1,req,name=type,enum=internal.Command_Type" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - proto.XXX_InternalExtensions `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + Type *Command_Type `protobuf:"varint,1,req,name=type,enum=internal.Command_Type" json:"type,omitempty"` } -func (m *Command) Reset() { *m = Command{} } -func (m *Command) String() string { return proto.CompactTextString(m) } -func (*Command) ProtoMessage() {} +func (x *Command) Reset() { + *x = Command{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Command) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Command) ProtoMessage() {} + +func (x *Command) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use Command.ProtoReflect.Descriptor instead. func (*Command) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{12} + return file_meta_proto_rawDescGZIP(), []int{12} } -var extRange_Command = []proto.ExtensionRange{ - {Start: 100, End: 536870911}, -} - -func (*Command) ExtensionRangeArray() []proto.ExtensionRange { - return extRange_Command -} - -func (m *Command) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Command.Unmarshal(m, b) -} -func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Command.Marshal(b, m, deterministic) -} -func (m *Command) XXX_Merge(src proto.Message) { - xxx_messageInfo_Command.Merge(m, src) -} -func (m *Command) XXX_Size() int { - return xxx_messageInfo_Command.Size(m) -} -func (m *Command) XXX_DiscardUnknown() { - xxx_messageInfo_Command.DiscardUnknown(m) -} - -var xxx_messageInfo_Command proto.InternalMessageInfo - -func (m *Command) GetType() Command_Type { - if m != nil && m.Type != nil { - return *m.Type +func (x *Command) GetType() Command_Type { + if x != nil && x.Type != nil { + return *x.Type } return Command_CreateNodeCommand } @@ -947,1612 +1075,1621 @@ func (m *Command) GetType() Command_Type { // This isn't used in >= 0.10.0. Kept around for upgrade purposes. Instead // look at CreateDataNodeCommand and CreateMetaNodeCommand type CreateNodeCommand struct { - Host *string `protobuf:"bytes,1,req,name=Host" json:"Host,omitempty"` - Rand *uint64 `protobuf:"varint,2,req,name=Rand" json:"Rand,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host *string `protobuf:"bytes,1,req,name=Host" json:"Host,omitempty"` + Rand *uint64 `protobuf:"varint,2,req,name=Rand" json:"Rand,omitempty"` } -func (m *CreateNodeCommand) Reset() { *m = CreateNodeCommand{} } -func (m *CreateNodeCommand) String() string { return proto.CompactTextString(m) } -func (*CreateNodeCommand) ProtoMessage() {} +func (x *CreateNodeCommand) Reset() { + *x = CreateNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateNodeCommand) ProtoMessage() {} + +func (x *CreateNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use CreateNodeCommand.ProtoReflect.Descriptor instead. func (*CreateNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{13} -} -func (m *CreateNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateNodeCommand.Unmarshal(m, b) -} -func (m *CreateNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateNodeCommand.Marshal(b, m, deterministic) -} -func (m *CreateNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNodeCommand.Merge(m, src) -} -func (m *CreateNodeCommand) XXX_Size() int { - return xxx_messageInfo_CreateNodeCommand.Size(m) -} -func (m *CreateNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{13} } -var xxx_messageInfo_CreateNodeCommand proto.InternalMessageInfo - -func (m *CreateNodeCommand) GetHost() string { - if m != nil && m.Host != nil { - return *m.Host +func (x *CreateNodeCommand) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host } return "" } -func (m *CreateNodeCommand) GetRand() uint64 { - if m != nil && m.Rand != nil { - return *m.Rand +func (x *CreateNodeCommand) GetRand() uint64 { + if x != nil && x.Rand != nil { + return *x.Rand } return 0 } -var E_CreateNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateNodeCommand)(nil), - Field: 101, - Name: "internal.CreateNodeCommand.command", - Tag: "bytes,101,opt,name=command", - Filename: "internal/meta.proto", -} - type DeleteNodeCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - Force *bool `protobuf:"varint,2,req,name=Force" json:"Force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + Force *bool `protobuf:"varint,2,req,name=Force" json:"Force,omitempty"` } -func (m *DeleteNodeCommand) Reset() { *m = DeleteNodeCommand{} } -func (m *DeleteNodeCommand) String() string { return proto.CompactTextString(m) } -func (*DeleteNodeCommand) ProtoMessage() {} +func (x *DeleteNodeCommand) Reset() { + *x = DeleteNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteNodeCommand) ProtoMessage() {} + +func (x *DeleteNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use DeleteNodeCommand.ProtoReflect.Descriptor instead. func (*DeleteNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{14} -} -func (m *DeleteNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteNodeCommand.Unmarshal(m, b) -} -func (m *DeleteNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteNodeCommand.Marshal(b, m, deterministic) -} -func (m *DeleteNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNodeCommand.Merge(m, src) -} -func (m *DeleteNodeCommand) XXX_Size() int { - return xxx_messageInfo_DeleteNodeCommand.Size(m) -} -func (m *DeleteNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{14} } -var xxx_messageInfo_DeleteNodeCommand proto.InternalMessageInfo - -func (m *DeleteNodeCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *DeleteNodeCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *DeleteNodeCommand) GetForce() bool { - if m != nil && m.Force != nil { - return *m.Force +func (x *DeleteNodeCommand) GetForce() bool { + if x != nil && x.Force != nil { + return *x.Force } return false } -var E_DeleteNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DeleteNodeCommand)(nil), - Field: 102, - Name: "internal.DeleteNodeCommand.command", - Tag: "bytes,102,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateDatabaseCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - RetentionPolicy *RetentionPolicyInfo `protobuf:"bytes,2,opt,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + RetentionPolicy *RetentionPolicyInfo `protobuf:"bytes,2,opt,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` } -func (m *CreateDatabaseCommand) Reset() { *m = CreateDatabaseCommand{} } -func (m *CreateDatabaseCommand) String() string { return proto.CompactTextString(m) } -func (*CreateDatabaseCommand) ProtoMessage() {} +func (x *CreateDatabaseCommand) Reset() { + *x = CreateDatabaseCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDatabaseCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDatabaseCommand) ProtoMessage() {} + +func (x *CreateDatabaseCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use CreateDatabaseCommand.ProtoReflect.Descriptor instead. func (*CreateDatabaseCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{15} -} -func (m *CreateDatabaseCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDatabaseCommand.Unmarshal(m, b) -} -func (m *CreateDatabaseCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDatabaseCommand.Marshal(b, m, deterministic) -} -func (m *CreateDatabaseCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseCommand.Merge(m, src) -} -func (m *CreateDatabaseCommand) XXX_Size() int { - return xxx_messageInfo_CreateDatabaseCommand.Size(m) -} -func (m *CreateDatabaseCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDatabaseCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{15} } -var xxx_messageInfo_CreateDatabaseCommand proto.InternalMessageInfo - -func (m *CreateDatabaseCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *CreateDatabaseCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *CreateDatabaseCommand) GetRetentionPolicy() *RetentionPolicyInfo { - if m != nil { - return m.RetentionPolicy +func (x *CreateDatabaseCommand) GetRetentionPolicy() *RetentionPolicyInfo { + if x != nil { + return x.RetentionPolicy } return nil } -var E_CreateDatabaseCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateDatabaseCommand)(nil), - Field: 103, - Name: "internal.CreateDatabaseCommand.command", - Tag: "bytes,103,opt,name=command", - Filename: "internal/meta.proto", -} - type DropDatabaseCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` } -func (m *DropDatabaseCommand) Reset() { *m = DropDatabaseCommand{} } -func (m *DropDatabaseCommand) String() string { return proto.CompactTextString(m) } -func (*DropDatabaseCommand) ProtoMessage() {} +func (x *DropDatabaseCommand) Reset() { + *x = DropDatabaseCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropDatabaseCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropDatabaseCommand) ProtoMessage() {} + +func (x *DropDatabaseCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use DropDatabaseCommand.ProtoReflect.Descriptor instead. func (*DropDatabaseCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{16} -} -func (m *DropDatabaseCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropDatabaseCommand.Unmarshal(m, b) -} -func (m *DropDatabaseCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropDatabaseCommand.Marshal(b, m, deterministic) -} -func (m *DropDatabaseCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropDatabaseCommand.Merge(m, src) -} -func (m *DropDatabaseCommand) XXX_Size() int { - return xxx_messageInfo_DropDatabaseCommand.Size(m) -} -func (m *DropDatabaseCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropDatabaseCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{16} } -var xxx_messageInfo_DropDatabaseCommand proto.InternalMessageInfo - -func (m *DropDatabaseCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DropDatabaseCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -var E_DropDatabaseCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropDatabaseCommand)(nil), - Field: 104, - Name: "internal.DropDatabaseCommand.command", - Tag: "bytes,104,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateRetentionPolicyCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - RetentionPolicy *RetentionPolicyInfo `protobuf:"bytes,2,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + RetentionPolicy *RetentionPolicyInfo `protobuf:"bytes,2,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` } -func (m *CreateRetentionPolicyCommand) Reset() { *m = CreateRetentionPolicyCommand{} } -func (m *CreateRetentionPolicyCommand) String() string { return proto.CompactTextString(m) } -func (*CreateRetentionPolicyCommand) ProtoMessage() {} +func (x *CreateRetentionPolicyCommand) Reset() { + *x = CreateRetentionPolicyCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRetentionPolicyCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRetentionPolicyCommand) ProtoMessage() {} + +func (x *CreateRetentionPolicyCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use CreateRetentionPolicyCommand.ProtoReflect.Descriptor instead. func (*CreateRetentionPolicyCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{17} -} -func (m *CreateRetentionPolicyCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRetentionPolicyCommand.Unmarshal(m, b) -} -func (m *CreateRetentionPolicyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRetentionPolicyCommand.Marshal(b, m, deterministic) -} -func (m *CreateRetentionPolicyCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRetentionPolicyCommand.Merge(m, src) -} -func (m *CreateRetentionPolicyCommand) XXX_Size() int { - return xxx_messageInfo_CreateRetentionPolicyCommand.Size(m) -} -func (m *CreateRetentionPolicyCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRetentionPolicyCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{17} } -var xxx_messageInfo_CreateRetentionPolicyCommand proto.InternalMessageInfo - -func (m *CreateRetentionPolicyCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *CreateRetentionPolicyCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *CreateRetentionPolicyCommand) GetRetentionPolicy() *RetentionPolicyInfo { - if m != nil { - return m.RetentionPolicy +func (x *CreateRetentionPolicyCommand) GetRetentionPolicy() *RetentionPolicyInfo { + if x != nil { + return x.RetentionPolicy } return nil } -var E_CreateRetentionPolicyCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateRetentionPolicyCommand)(nil), - Field: 105, - Name: "internal.CreateRetentionPolicyCommand.command", - Tag: "bytes,105,opt,name=command", - Filename: "internal/meta.proto", -} - type DropRetentionPolicyCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` } -func (m *DropRetentionPolicyCommand) Reset() { *m = DropRetentionPolicyCommand{} } -func (m *DropRetentionPolicyCommand) String() string { return proto.CompactTextString(m) } -func (*DropRetentionPolicyCommand) ProtoMessage() {} +func (x *DropRetentionPolicyCommand) Reset() { + *x = DropRetentionPolicyCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropRetentionPolicyCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropRetentionPolicyCommand) ProtoMessage() {} + +func (x *DropRetentionPolicyCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use DropRetentionPolicyCommand.ProtoReflect.Descriptor instead. func (*DropRetentionPolicyCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{18} -} -func (m *DropRetentionPolicyCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropRetentionPolicyCommand.Unmarshal(m, b) -} -func (m *DropRetentionPolicyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropRetentionPolicyCommand.Marshal(b, m, deterministic) -} -func (m *DropRetentionPolicyCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropRetentionPolicyCommand.Merge(m, src) -} -func (m *DropRetentionPolicyCommand) XXX_Size() int { - return xxx_messageInfo_DropRetentionPolicyCommand.Size(m) -} -func (m *DropRetentionPolicyCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropRetentionPolicyCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{18} } -var xxx_messageInfo_DropRetentionPolicyCommand proto.InternalMessageInfo - -func (m *DropRetentionPolicyCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *DropRetentionPolicyCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *DropRetentionPolicyCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DropRetentionPolicyCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -var E_DropRetentionPolicyCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropRetentionPolicyCommand)(nil), - Field: 106, - Name: "internal.DropRetentionPolicyCommand.command", - Tag: "bytes,106,opt,name=command", - Filename: "internal/meta.proto", -} - type SetDefaultRetentionPolicyCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` } -func (m *SetDefaultRetentionPolicyCommand) Reset() { *m = SetDefaultRetentionPolicyCommand{} } -func (m *SetDefaultRetentionPolicyCommand) String() string { return proto.CompactTextString(m) } -func (*SetDefaultRetentionPolicyCommand) ProtoMessage() {} +func (x *SetDefaultRetentionPolicyCommand) Reset() { + *x = SetDefaultRetentionPolicyCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetDefaultRetentionPolicyCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetDefaultRetentionPolicyCommand) ProtoMessage() {} + +func (x *SetDefaultRetentionPolicyCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use SetDefaultRetentionPolicyCommand.ProtoReflect.Descriptor instead. func (*SetDefaultRetentionPolicyCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{19} -} -func (m *SetDefaultRetentionPolicyCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetDefaultRetentionPolicyCommand.Unmarshal(m, b) -} -func (m *SetDefaultRetentionPolicyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetDefaultRetentionPolicyCommand.Marshal(b, m, deterministic) -} -func (m *SetDefaultRetentionPolicyCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDefaultRetentionPolicyCommand.Merge(m, src) -} -func (m *SetDefaultRetentionPolicyCommand) XXX_Size() int { - return xxx_messageInfo_SetDefaultRetentionPolicyCommand.Size(m) -} -func (m *SetDefaultRetentionPolicyCommand) XXX_DiscardUnknown() { - xxx_messageInfo_SetDefaultRetentionPolicyCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{19} } -var xxx_messageInfo_SetDefaultRetentionPolicyCommand proto.InternalMessageInfo - -func (m *SetDefaultRetentionPolicyCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *SetDefaultRetentionPolicyCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *SetDefaultRetentionPolicyCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *SetDefaultRetentionPolicyCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -var E_SetDefaultRetentionPolicyCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*SetDefaultRetentionPolicyCommand)(nil), - Field: 107, - Name: "internal.SetDefaultRetentionPolicyCommand.command", - Tag: "bytes,107,opt,name=command", - Filename: "internal/meta.proto", -} - type UpdateRetentionPolicyCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` - NewName *string `protobuf:"bytes,3,opt,name=NewName" json:"NewName,omitempty"` - Duration *int64 `protobuf:"varint,4,opt,name=Duration" json:"Duration,omitempty"` - ReplicaN *uint32 `protobuf:"varint,5,opt,name=ReplicaN" json:"ReplicaN,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` + NewName *string `protobuf:"bytes,3,opt,name=NewName" json:"NewName,omitempty"` + Duration *int64 `protobuf:"varint,4,opt,name=Duration" json:"Duration,omitempty"` + ReplicaN *uint32 `protobuf:"varint,5,opt,name=ReplicaN" json:"ReplicaN,omitempty"` } -func (m *UpdateRetentionPolicyCommand) Reset() { *m = UpdateRetentionPolicyCommand{} } -func (m *UpdateRetentionPolicyCommand) String() string { return proto.CompactTextString(m) } -func (*UpdateRetentionPolicyCommand) ProtoMessage() {} +func (x *UpdateRetentionPolicyCommand) Reset() { + *x = UpdateRetentionPolicyCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateRetentionPolicyCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateRetentionPolicyCommand) ProtoMessage() {} + +func (x *UpdateRetentionPolicyCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use UpdateRetentionPolicyCommand.ProtoReflect.Descriptor instead. func (*UpdateRetentionPolicyCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{20} -} -func (m *UpdateRetentionPolicyCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateRetentionPolicyCommand.Unmarshal(m, b) -} -func (m *UpdateRetentionPolicyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateRetentionPolicyCommand.Marshal(b, m, deterministic) -} -func (m *UpdateRetentionPolicyCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRetentionPolicyCommand.Merge(m, src) -} -func (m *UpdateRetentionPolicyCommand) XXX_Size() int { - return xxx_messageInfo_UpdateRetentionPolicyCommand.Size(m) -} -func (m *UpdateRetentionPolicyCommand) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateRetentionPolicyCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{20} } -var xxx_messageInfo_UpdateRetentionPolicyCommand proto.InternalMessageInfo - -func (m *UpdateRetentionPolicyCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *UpdateRetentionPolicyCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *UpdateRetentionPolicyCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *UpdateRetentionPolicyCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *UpdateRetentionPolicyCommand) GetNewName() string { - if m != nil && m.NewName != nil { - return *m.NewName +func (x *UpdateRetentionPolicyCommand) GetNewName() string { + if x != nil && x.NewName != nil { + return *x.NewName } return "" } -func (m *UpdateRetentionPolicyCommand) GetDuration() int64 { - if m != nil && m.Duration != nil { - return *m.Duration +func (x *UpdateRetentionPolicyCommand) GetDuration() int64 { + if x != nil && x.Duration != nil { + return *x.Duration } return 0 } -func (m *UpdateRetentionPolicyCommand) GetReplicaN() uint32 { - if m != nil && m.ReplicaN != nil { - return *m.ReplicaN +func (x *UpdateRetentionPolicyCommand) GetReplicaN() uint32 { + if x != nil && x.ReplicaN != nil { + return *x.ReplicaN } return 0 } -var E_UpdateRetentionPolicyCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*UpdateRetentionPolicyCommand)(nil), - Field: 108, - Name: "internal.UpdateRetentionPolicyCommand.command", - Tag: "bytes,108,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateShardGroupCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Policy *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"` - Timestamp *int64 `protobuf:"varint,3,req,name=Timestamp" json:"Timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Policy *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"` + Timestamp *int64 `protobuf:"varint,3,req,name=Timestamp" json:"Timestamp,omitempty"` } -func (m *CreateShardGroupCommand) Reset() { *m = CreateShardGroupCommand{} } -func (m *CreateShardGroupCommand) String() string { return proto.CompactTextString(m) } -func (*CreateShardGroupCommand) ProtoMessage() {} +func (x *CreateShardGroupCommand) Reset() { + *x = CreateShardGroupCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateShardGroupCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateShardGroupCommand) ProtoMessage() {} + +func (x *CreateShardGroupCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_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) +} + +// Deprecated: Use CreateShardGroupCommand.ProtoReflect.Descriptor instead. func (*CreateShardGroupCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{21} -} -func (m *CreateShardGroupCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateShardGroupCommand.Unmarshal(m, b) -} -func (m *CreateShardGroupCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateShardGroupCommand.Marshal(b, m, deterministic) -} -func (m *CreateShardGroupCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateShardGroupCommand.Merge(m, src) -} -func (m *CreateShardGroupCommand) XXX_Size() int { - return xxx_messageInfo_CreateShardGroupCommand.Size(m) -} -func (m *CreateShardGroupCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateShardGroupCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{21} } -var xxx_messageInfo_CreateShardGroupCommand proto.InternalMessageInfo - -func (m *CreateShardGroupCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *CreateShardGroupCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *CreateShardGroupCommand) GetPolicy() string { - if m != nil && m.Policy != nil { - return *m.Policy +func (x *CreateShardGroupCommand) GetPolicy() string { + if x != nil && x.Policy != nil { + return *x.Policy } return "" } -func (m *CreateShardGroupCommand) GetTimestamp() int64 { - if m != nil && m.Timestamp != nil { - return *m.Timestamp +func (x *CreateShardGroupCommand) GetTimestamp() int64 { + if x != nil && x.Timestamp != nil { + return *x.Timestamp } return 0 } -var E_CreateShardGroupCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateShardGroupCommand)(nil), - Field: 109, - Name: "internal.CreateShardGroupCommand.command", - Tag: "bytes,109,opt,name=command", - Filename: "internal/meta.proto", -} - type DeleteShardGroupCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Policy *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"` - ShardGroupID *uint64 `protobuf:"varint,3,req,name=ShardGroupID" json:"ShardGroupID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Policy *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"` + ShardGroupID *uint64 `protobuf:"varint,3,req,name=ShardGroupID" json:"ShardGroupID,omitempty"` } -func (m *DeleteShardGroupCommand) Reset() { *m = DeleteShardGroupCommand{} } -func (m *DeleteShardGroupCommand) String() string { return proto.CompactTextString(m) } -func (*DeleteShardGroupCommand) ProtoMessage() {} +func (x *DeleteShardGroupCommand) Reset() { + *x = DeleteShardGroupCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteShardGroupCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteShardGroupCommand) ProtoMessage() {} + +func (x *DeleteShardGroupCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[22] + 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 DeleteShardGroupCommand.ProtoReflect.Descriptor instead. func (*DeleteShardGroupCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{22} -} -func (m *DeleteShardGroupCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteShardGroupCommand.Unmarshal(m, b) -} -func (m *DeleteShardGroupCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteShardGroupCommand.Marshal(b, m, deterministic) -} -func (m *DeleteShardGroupCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteShardGroupCommand.Merge(m, src) -} -func (m *DeleteShardGroupCommand) XXX_Size() int { - return xxx_messageInfo_DeleteShardGroupCommand.Size(m) -} -func (m *DeleteShardGroupCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteShardGroupCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{22} } -var xxx_messageInfo_DeleteShardGroupCommand proto.InternalMessageInfo - -func (m *DeleteShardGroupCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *DeleteShardGroupCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *DeleteShardGroupCommand) GetPolicy() string { - if m != nil && m.Policy != nil { - return *m.Policy +func (x *DeleteShardGroupCommand) GetPolicy() string { + if x != nil && x.Policy != nil { + return *x.Policy } return "" } -func (m *DeleteShardGroupCommand) GetShardGroupID() uint64 { - if m != nil && m.ShardGroupID != nil { - return *m.ShardGroupID +func (x *DeleteShardGroupCommand) GetShardGroupID() uint64 { + if x != nil && x.ShardGroupID != nil { + return *x.ShardGroupID } return 0 } -var E_DeleteShardGroupCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DeleteShardGroupCommand)(nil), - Field: 110, - Name: "internal.DeleteShardGroupCommand.command", - Tag: "bytes,110,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateContinuousQueryCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` - Query *string `protobuf:"bytes,3,req,name=Query" json:"Query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` + Query *string `protobuf:"bytes,3,req,name=Query" json:"Query,omitempty"` } -func (m *CreateContinuousQueryCommand) Reset() { *m = CreateContinuousQueryCommand{} } -func (m *CreateContinuousQueryCommand) String() string { return proto.CompactTextString(m) } -func (*CreateContinuousQueryCommand) ProtoMessage() {} +func (x *CreateContinuousQueryCommand) Reset() { + *x = CreateContinuousQueryCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateContinuousQueryCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateContinuousQueryCommand) ProtoMessage() {} + +func (x *CreateContinuousQueryCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[23] + 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 CreateContinuousQueryCommand.ProtoReflect.Descriptor instead. func (*CreateContinuousQueryCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{23} -} -func (m *CreateContinuousQueryCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateContinuousQueryCommand.Unmarshal(m, b) -} -func (m *CreateContinuousQueryCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateContinuousQueryCommand.Marshal(b, m, deterministic) -} -func (m *CreateContinuousQueryCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateContinuousQueryCommand.Merge(m, src) -} -func (m *CreateContinuousQueryCommand) XXX_Size() int { - return xxx_messageInfo_CreateContinuousQueryCommand.Size(m) -} -func (m *CreateContinuousQueryCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateContinuousQueryCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{23} } -var xxx_messageInfo_CreateContinuousQueryCommand proto.InternalMessageInfo - -func (m *CreateContinuousQueryCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *CreateContinuousQueryCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *CreateContinuousQueryCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *CreateContinuousQueryCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *CreateContinuousQueryCommand) GetQuery() string { - if m != nil && m.Query != nil { - return *m.Query +func (x *CreateContinuousQueryCommand) GetQuery() string { + if x != nil && x.Query != nil { + return *x.Query } return "" } -var E_CreateContinuousQueryCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateContinuousQueryCommand)(nil), - Field: 111, - Name: "internal.CreateContinuousQueryCommand.command", - Tag: "bytes,111,opt,name=command", - Filename: "internal/meta.proto", -} - type DropContinuousQueryCommand struct { - Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` - Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Database *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"` + Name *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"` } -func (m *DropContinuousQueryCommand) Reset() { *m = DropContinuousQueryCommand{} } -func (m *DropContinuousQueryCommand) String() string { return proto.CompactTextString(m) } -func (*DropContinuousQueryCommand) ProtoMessage() {} +func (x *DropContinuousQueryCommand) Reset() { + *x = DropContinuousQueryCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropContinuousQueryCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropContinuousQueryCommand) ProtoMessage() {} + +func (x *DropContinuousQueryCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[24] + 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 DropContinuousQueryCommand.ProtoReflect.Descriptor instead. func (*DropContinuousQueryCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{24} -} -func (m *DropContinuousQueryCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropContinuousQueryCommand.Unmarshal(m, b) -} -func (m *DropContinuousQueryCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropContinuousQueryCommand.Marshal(b, m, deterministic) -} -func (m *DropContinuousQueryCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropContinuousQueryCommand.Merge(m, src) -} -func (m *DropContinuousQueryCommand) XXX_Size() int { - return xxx_messageInfo_DropContinuousQueryCommand.Size(m) -} -func (m *DropContinuousQueryCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropContinuousQueryCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{24} } -var xxx_messageInfo_DropContinuousQueryCommand proto.InternalMessageInfo - -func (m *DropContinuousQueryCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *DropContinuousQueryCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *DropContinuousQueryCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DropContinuousQueryCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -var E_DropContinuousQueryCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropContinuousQueryCommand)(nil), - Field: 112, - Name: "internal.DropContinuousQueryCommand.command", - Tag: "bytes,112,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateUserCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` - Admin *bool `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` + Admin *bool `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"` } -func (m *CreateUserCommand) Reset() { *m = CreateUserCommand{} } -func (m *CreateUserCommand) String() string { return proto.CompactTextString(m) } -func (*CreateUserCommand) ProtoMessage() {} +func (x *CreateUserCommand) Reset() { + *x = CreateUserCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateUserCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateUserCommand) ProtoMessage() {} + +func (x *CreateUserCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[25] + 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 CreateUserCommand.ProtoReflect.Descriptor instead. func (*CreateUserCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{25} -} -func (m *CreateUserCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateUserCommand.Unmarshal(m, b) -} -func (m *CreateUserCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateUserCommand.Marshal(b, m, deterministic) -} -func (m *CreateUserCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserCommand.Merge(m, src) -} -func (m *CreateUserCommand) XXX_Size() int { - return xxx_messageInfo_CreateUserCommand.Size(m) -} -func (m *CreateUserCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUserCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{25} } -var xxx_messageInfo_CreateUserCommand proto.InternalMessageInfo - -func (m *CreateUserCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *CreateUserCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *CreateUserCommand) GetHash() string { - if m != nil && m.Hash != nil { - return *m.Hash +func (x *CreateUserCommand) GetHash() string { + if x != nil && x.Hash != nil { + return *x.Hash } return "" } -func (m *CreateUserCommand) GetAdmin() bool { - if m != nil && m.Admin != nil { - return *m.Admin +func (x *CreateUserCommand) GetAdmin() bool { + if x != nil && x.Admin != nil { + return *x.Admin } return false } -var E_CreateUserCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateUserCommand)(nil), - Field: 113, - Name: "internal.CreateUserCommand.command", - Tag: "bytes,113,opt,name=command", - Filename: "internal/meta.proto", -} - type DropUserCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` } -func (m *DropUserCommand) Reset() { *m = DropUserCommand{} } -func (m *DropUserCommand) String() string { return proto.CompactTextString(m) } -func (*DropUserCommand) ProtoMessage() {} +func (x *DropUserCommand) Reset() { + *x = DropUserCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropUserCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropUserCommand) ProtoMessage() {} + +func (x *DropUserCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[26] + 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 DropUserCommand.ProtoReflect.Descriptor instead. func (*DropUserCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{26} -} -func (m *DropUserCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropUserCommand.Unmarshal(m, b) -} -func (m *DropUserCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropUserCommand.Marshal(b, m, deterministic) -} -func (m *DropUserCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropUserCommand.Merge(m, src) -} -func (m *DropUserCommand) XXX_Size() int { - return xxx_messageInfo_DropUserCommand.Size(m) -} -func (m *DropUserCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropUserCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{26} } -var xxx_messageInfo_DropUserCommand proto.InternalMessageInfo - -func (m *DropUserCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DropUserCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -var E_DropUserCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropUserCommand)(nil), - Field: 114, - Name: "internal.DropUserCommand.command", - Tag: "bytes,114,opt,name=command", - Filename: "internal/meta.proto", -} - type UpdateUserCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Hash *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"` } -func (m *UpdateUserCommand) Reset() { *m = UpdateUserCommand{} } -func (m *UpdateUserCommand) String() string { return proto.CompactTextString(m) } -func (*UpdateUserCommand) ProtoMessage() {} +func (x *UpdateUserCommand) Reset() { + *x = UpdateUserCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateUserCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateUserCommand) ProtoMessage() {} + +func (x *UpdateUserCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[27] + 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 UpdateUserCommand.ProtoReflect.Descriptor instead. func (*UpdateUserCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{27} -} -func (m *UpdateUserCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateUserCommand.Unmarshal(m, b) -} -func (m *UpdateUserCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateUserCommand.Marshal(b, m, deterministic) -} -func (m *UpdateUserCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserCommand.Merge(m, src) -} -func (m *UpdateUserCommand) XXX_Size() int { - return xxx_messageInfo_UpdateUserCommand.Size(m) -} -func (m *UpdateUserCommand) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{27} } -var xxx_messageInfo_UpdateUserCommand proto.InternalMessageInfo - -func (m *UpdateUserCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *UpdateUserCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *UpdateUserCommand) GetHash() string { - if m != nil && m.Hash != nil { - return *m.Hash +func (x *UpdateUserCommand) GetHash() string { + if x != nil && x.Hash != nil { + return *x.Hash } return "" } -var E_UpdateUserCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*UpdateUserCommand)(nil), - Field: 115, - Name: "internal.UpdateUserCommand.command", - Tag: "bytes,115,opt,name=command", - Filename: "internal/meta.proto", -} - type SetPrivilegeCommand struct { - Username *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"` - Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` - Privilege *int32 `protobuf:"varint,3,req,name=Privilege" json:"Privilege,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"` + Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` + Privilege *int32 `protobuf:"varint,3,req,name=Privilege" json:"Privilege,omitempty"` } -func (m *SetPrivilegeCommand) Reset() { *m = SetPrivilegeCommand{} } -func (m *SetPrivilegeCommand) String() string { return proto.CompactTextString(m) } -func (*SetPrivilegeCommand) ProtoMessage() {} +func (x *SetPrivilegeCommand) Reset() { + *x = SetPrivilegeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPrivilegeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPrivilegeCommand) ProtoMessage() {} + +func (x *SetPrivilegeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[28] + 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 SetPrivilegeCommand.ProtoReflect.Descriptor instead. func (*SetPrivilegeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{28} -} -func (m *SetPrivilegeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetPrivilegeCommand.Unmarshal(m, b) -} -func (m *SetPrivilegeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetPrivilegeCommand.Marshal(b, m, deterministic) -} -func (m *SetPrivilegeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetPrivilegeCommand.Merge(m, src) -} -func (m *SetPrivilegeCommand) XXX_Size() int { - return xxx_messageInfo_SetPrivilegeCommand.Size(m) -} -func (m *SetPrivilegeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_SetPrivilegeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{28} } -var xxx_messageInfo_SetPrivilegeCommand proto.InternalMessageInfo - -func (m *SetPrivilegeCommand) GetUsername() string { - if m != nil && m.Username != nil { - return *m.Username +func (x *SetPrivilegeCommand) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username } return "" } -func (m *SetPrivilegeCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *SetPrivilegeCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *SetPrivilegeCommand) GetPrivilege() int32 { - if m != nil && m.Privilege != nil { - return *m.Privilege +func (x *SetPrivilegeCommand) GetPrivilege() int32 { + if x != nil && x.Privilege != nil { + return *x.Privilege } return 0 } -var E_SetPrivilegeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*SetPrivilegeCommand)(nil), - Field: 116, - Name: "internal.SetPrivilegeCommand.command", - Tag: "bytes,116,opt,name=command", - Filename: "internal/meta.proto", -} - type SetDataCommand struct { - Data *Data `protobuf:"bytes,1,req,name=Data" json:"Data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data *Data `protobuf:"bytes,1,req,name=Data" json:"Data,omitempty"` } -func (m *SetDataCommand) Reset() { *m = SetDataCommand{} } -func (m *SetDataCommand) String() string { return proto.CompactTextString(m) } -func (*SetDataCommand) ProtoMessage() {} +func (x *SetDataCommand) Reset() { + *x = SetDataCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetDataCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetDataCommand) ProtoMessage() {} + +func (x *SetDataCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[29] + 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 SetDataCommand.ProtoReflect.Descriptor instead. func (*SetDataCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{29} -} -func (m *SetDataCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetDataCommand.Unmarshal(m, b) -} -func (m *SetDataCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetDataCommand.Marshal(b, m, deterministic) -} -func (m *SetDataCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetDataCommand.Merge(m, src) -} -func (m *SetDataCommand) XXX_Size() int { - return xxx_messageInfo_SetDataCommand.Size(m) -} -func (m *SetDataCommand) XXX_DiscardUnknown() { - xxx_messageInfo_SetDataCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{29} } -var xxx_messageInfo_SetDataCommand proto.InternalMessageInfo - -func (m *SetDataCommand) GetData() *Data { - if m != nil { - return m.Data +func (x *SetDataCommand) GetData() *Data { + if x != nil { + return x.Data } return nil } -var E_SetDataCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*SetDataCommand)(nil), - Field: 117, - Name: "internal.SetDataCommand.command", - Tag: "bytes,117,opt,name=command", - Filename: "internal/meta.proto", -} - type SetAdminPrivilegeCommand struct { - Username *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"` - Admin *bool `protobuf:"varint,2,req,name=Admin" json:"Admin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"` + Admin *bool `protobuf:"varint,2,req,name=Admin" json:"Admin,omitempty"` } -func (m *SetAdminPrivilegeCommand) Reset() { *m = SetAdminPrivilegeCommand{} } -func (m *SetAdminPrivilegeCommand) String() string { return proto.CompactTextString(m) } -func (*SetAdminPrivilegeCommand) ProtoMessage() {} +func (x *SetAdminPrivilegeCommand) Reset() { + *x = SetAdminPrivilegeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetAdminPrivilegeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetAdminPrivilegeCommand) ProtoMessage() {} + +func (x *SetAdminPrivilegeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[30] + 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 SetAdminPrivilegeCommand.ProtoReflect.Descriptor instead. func (*SetAdminPrivilegeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{30} -} -func (m *SetAdminPrivilegeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAdminPrivilegeCommand.Unmarshal(m, b) -} -func (m *SetAdminPrivilegeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAdminPrivilegeCommand.Marshal(b, m, deterministic) -} -func (m *SetAdminPrivilegeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAdminPrivilegeCommand.Merge(m, src) -} -func (m *SetAdminPrivilegeCommand) XXX_Size() int { - return xxx_messageInfo_SetAdminPrivilegeCommand.Size(m) -} -func (m *SetAdminPrivilegeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_SetAdminPrivilegeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{30} } -var xxx_messageInfo_SetAdminPrivilegeCommand proto.InternalMessageInfo - -func (m *SetAdminPrivilegeCommand) GetUsername() string { - if m != nil && m.Username != nil { - return *m.Username +func (x *SetAdminPrivilegeCommand) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username } return "" } -func (m *SetAdminPrivilegeCommand) GetAdmin() bool { - if m != nil && m.Admin != nil { - return *m.Admin +func (x *SetAdminPrivilegeCommand) GetAdmin() bool { + if x != nil && x.Admin != nil { + return *x.Admin } return false } -var E_SetAdminPrivilegeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*SetAdminPrivilegeCommand)(nil), - Field: 118, - Name: "internal.SetAdminPrivilegeCommand.command", - Tag: "bytes,118,opt,name=command", - Filename: "internal/meta.proto", -} - type UpdateNodeCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` } -func (m *UpdateNodeCommand) Reset() { *m = UpdateNodeCommand{} } -func (m *UpdateNodeCommand) String() string { return proto.CompactTextString(m) } -func (*UpdateNodeCommand) ProtoMessage() {} +func (x *UpdateNodeCommand) Reset() { + *x = UpdateNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateNodeCommand) ProtoMessage() {} + +func (x *UpdateNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[31] + 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 UpdateNodeCommand.ProtoReflect.Descriptor instead. func (*UpdateNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{31} -} -func (m *UpdateNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateNodeCommand.Unmarshal(m, b) -} -func (m *UpdateNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateNodeCommand.Marshal(b, m, deterministic) -} -func (m *UpdateNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNodeCommand.Merge(m, src) -} -func (m *UpdateNodeCommand) XXX_Size() int { - return xxx_messageInfo_UpdateNodeCommand.Size(m) -} -func (m *UpdateNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{31} } -var xxx_messageInfo_UpdateNodeCommand proto.InternalMessageInfo - -func (m *UpdateNodeCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *UpdateNodeCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *UpdateNodeCommand) GetHost() string { - if m != nil && m.Host != nil { - return *m.Host +func (x *UpdateNodeCommand) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host } return "" } -var E_UpdateNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*UpdateNodeCommand)(nil), - Field: 119, - Name: "internal.UpdateNodeCommand.command", - Tag: "bytes,119,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateSubscriptionCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` - RetentionPolicy *string `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` - Mode *string `protobuf:"bytes,4,req,name=Mode" json:"Mode,omitempty"` - Destinations []string `protobuf:"bytes,5,rep,name=Destinations" json:"Destinations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` + RetentionPolicy *string `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` + Mode *string `protobuf:"bytes,4,req,name=Mode" json:"Mode,omitempty"` + Destinations []string `protobuf:"bytes,5,rep,name=Destinations" json:"Destinations,omitempty"` } -func (m *CreateSubscriptionCommand) Reset() { *m = CreateSubscriptionCommand{} } -func (m *CreateSubscriptionCommand) String() string { return proto.CompactTextString(m) } -func (*CreateSubscriptionCommand) ProtoMessage() {} +func (x *CreateSubscriptionCommand) Reset() { + *x = CreateSubscriptionCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateSubscriptionCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateSubscriptionCommand) ProtoMessage() {} + +func (x *CreateSubscriptionCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[32] + 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 CreateSubscriptionCommand.ProtoReflect.Descriptor instead. func (*CreateSubscriptionCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{32} -} -func (m *CreateSubscriptionCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSubscriptionCommand.Unmarshal(m, b) -} -func (m *CreateSubscriptionCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSubscriptionCommand.Marshal(b, m, deterministic) -} -func (m *CreateSubscriptionCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSubscriptionCommand.Merge(m, src) -} -func (m *CreateSubscriptionCommand) XXX_Size() int { - return xxx_messageInfo_CreateSubscriptionCommand.Size(m) -} -func (m *CreateSubscriptionCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSubscriptionCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{32} } -var xxx_messageInfo_CreateSubscriptionCommand proto.InternalMessageInfo - -func (m *CreateSubscriptionCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *CreateSubscriptionCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *CreateSubscriptionCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *CreateSubscriptionCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *CreateSubscriptionCommand) GetRetentionPolicy() string { - if m != nil && m.RetentionPolicy != nil { - return *m.RetentionPolicy +func (x *CreateSubscriptionCommand) GetRetentionPolicy() string { + if x != nil && x.RetentionPolicy != nil { + return *x.RetentionPolicy } return "" } -func (m *CreateSubscriptionCommand) GetMode() string { - if m != nil && m.Mode != nil { - return *m.Mode +func (x *CreateSubscriptionCommand) GetMode() string { + if x != nil && x.Mode != nil { + return *x.Mode } return "" } -func (m *CreateSubscriptionCommand) GetDestinations() []string { - if m != nil { - return m.Destinations +func (x *CreateSubscriptionCommand) GetDestinations() []string { + if x != nil { + return x.Destinations } return nil } -var E_CreateSubscriptionCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateSubscriptionCommand)(nil), - Field: 121, - Name: "internal.CreateSubscriptionCommand.command", - Tag: "bytes,121,opt,name=command", - Filename: "internal/meta.proto", -} - type DropSubscriptionCommand struct { - Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` - Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` - RetentionPolicy *string `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` + Database *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"` + RetentionPolicy *string `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"` } -func (m *DropSubscriptionCommand) Reset() { *m = DropSubscriptionCommand{} } -func (m *DropSubscriptionCommand) String() string { return proto.CompactTextString(m) } -func (*DropSubscriptionCommand) ProtoMessage() {} +func (x *DropSubscriptionCommand) Reset() { + *x = DropSubscriptionCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropSubscriptionCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropSubscriptionCommand) ProtoMessage() {} + +func (x *DropSubscriptionCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[33] + 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 DropSubscriptionCommand.ProtoReflect.Descriptor instead. func (*DropSubscriptionCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{33} -} -func (m *DropSubscriptionCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropSubscriptionCommand.Unmarshal(m, b) -} -func (m *DropSubscriptionCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropSubscriptionCommand.Marshal(b, m, deterministic) -} -func (m *DropSubscriptionCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropSubscriptionCommand.Merge(m, src) -} -func (m *DropSubscriptionCommand) XXX_Size() int { - return xxx_messageInfo_DropSubscriptionCommand.Size(m) -} -func (m *DropSubscriptionCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropSubscriptionCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{33} } -var xxx_messageInfo_DropSubscriptionCommand proto.InternalMessageInfo - -func (m *DropSubscriptionCommand) GetName() string { - if m != nil && m.Name != nil { - return *m.Name +func (x *DropSubscriptionCommand) GetName() string { + if x != nil && x.Name != nil { + return *x.Name } return "" } -func (m *DropSubscriptionCommand) GetDatabase() string { - if m != nil && m.Database != nil { - return *m.Database +func (x *DropSubscriptionCommand) GetDatabase() string { + if x != nil && x.Database != nil { + return *x.Database } return "" } -func (m *DropSubscriptionCommand) GetRetentionPolicy() string { - if m != nil && m.RetentionPolicy != nil { - return *m.RetentionPolicy +func (x *DropSubscriptionCommand) GetRetentionPolicy() string { + if x != nil && x.RetentionPolicy != nil { + return *x.RetentionPolicy } return "" } -var E_DropSubscriptionCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropSubscriptionCommand)(nil), - Field: 122, - Name: "internal.DropSubscriptionCommand.command", - Tag: "bytes,122,opt,name=command", - Filename: "internal/meta.proto", -} - type RemovePeerCommand struct { - ID *uint64 `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"` - Addr *string `protobuf:"bytes,2,req,name=Addr" json:"Addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"` + Addr *string `protobuf:"bytes,2,req,name=Addr" json:"Addr,omitempty"` } -func (m *RemovePeerCommand) Reset() { *m = RemovePeerCommand{} } -func (m *RemovePeerCommand) String() string { return proto.CompactTextString(m) } -func (*RemovePeerCommand) ProtoMessage() {} +func (x *RemovePeerCommand) Reset() { + *x = RemovePeerCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemovePeerCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemovePeerCommand) ProtoMessage() {} + +func (x *RemovePeerCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[34] + 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 RemovePeerCommand.ProtoReflect.Descriptor instead. func (*RemovePeerCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{34} -} -func (m *RemovePeerCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemovePeerCommand.Unmarshal(m, b) -} -func (m *RemovePeerCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemovePeerCommand.Marshal(b, m, deterministic) -} -func (m *RemovePeerCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemovePeerCommand.Merge(m, src) -} -func (m *RemovePeerCommand) XXX_Size() int { - return xxx_messageInfo_RemovePeerCommand.Size(m) -} -func (m *RemovePeerCommand) XXX_DiscardUnknown() { - xxx_messageInfo_RemovePeerCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{34} } -var xxx_messageInfo_RemovePeerCommand proto.InternalMessageInfo - -func (m *RemovePeerCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *RemovePeerCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *RemovePeerCommand) GetAddr() string { - if m != nil && m.Addr != nil { - return *m.Addr +func (x *RemovePeerCommand) GetAddr() string { + if x != nil && x.Addr != nil { + return *x.Addr } return "" } -var E_RemovePeerCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*RemovePeerCommand)(nil), - Field: 123, - Name: "internal.RemovePeerCommand.command", - Tag: "bytes,123,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateMetaNodeCommand struct { - HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` - TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` - Rand *uint64 `protobuf:"varint,3,req,name=Rand" json:"Rand,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` + TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` + Rand *uint64 `protobuf:"varint,3,req,name=Rand" json:"Rand,omitempty"` } -func (m *CreateMetaNodeCommand) Reset() { *m = CreateMetaNodeCommand{} } -func (m *CreateMetaNodeCommand) String() string { return proto.CompactTextString(m) } -func (*CreateMetaNodeCommand) ProtoMessage() {} +func (x *CreateMetaNodeCommand) Reset() { + *x = CreateMetaNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateMetaNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateMetaNodeCommand) ProtoMessage() {} + +func (x *CreateMetaNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[35] + 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 CreateMetaNodeCommand.ProtoReflect.Descriptor instead. func (*CreateMetaNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{35} -} -func (m *CreateMetaNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateMetaNodeCommand.Unmarshal(m, b) -} -func (m *CreateMetaNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateMetaNodeCommand.Marshal(b, m, deterministic) -} -func (m *CreateMetaNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateMetaNodeCommand.Merge(m, src) -} -func (m *CreateMetaNodeCommand) XXX_Size() int { - return xxx_messageInfo_CreateMetaNodeCommand.Size(m) -} -func (m *CreateMetaNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateMetaNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{35} } -var xxx_messageInfo_CreateMetaNodeCommand proto.InternalMessageInfo - -func (m *CreateMetaNodeCommand) GetHTTPAddr() string { - if m != nil && m.HTTPAddr != nil { - return *m.HTTPAddr +func (x *CreateMetaNodeCommand) GetHTTPAddr() string { + if x != nil && x.HTTPAddr != nil { + return *x.HTTPAddr } return "" } -func (m *CreateMetaNodeCommand) GetTCPAddr() string { - if m != nil && m.TCPAddr != nil { - return *m.TCPAddr +func (x *CreateMetaNodeCommand) GetTCPAddr() string { + if x != nil && x.TCPAddr != nil { + return *x.TCPAddr } return "" } -func (m *CreateMetaNodeCommand) GetRand() uint64 { - if m != nil && m.Rand != nil { - return *m.Rand +func (x *CreateMetaNodeCommand) GetRand() uint64 { + if x != nil && x.Rand != nil { + return *x.Rand } return 0 } -var E_CreateMetaNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateMetaNodeCommand)(nil), - Field: 124, - Name: "internal.CreateMetaNodeCommand.command", - Tag: "bytes,124,opt,name=command", - Filename: "internal/meta.proto", -} - type CreateDataNodeCommand struct { - HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` - TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` + TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` } -func (m *CreateDataNodeCommand) Reset() { *m = CreateDataNodeCommand{} } -func (m *CreateDataNodeCommand) String() string { return proto.CompactTextString(m) } -func (*CreateDataNodeCommand) ProtoMessage() {} +func (x *CreateDataNodeCommand) Reset() { + *x = CreateDataNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateDataNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateDataNodeCommand) ProtoMessage() {} + +func (x *CreateDataNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[36] + 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 CreateDataNodeCommand.ProtoReflect.Descriptor instead. func (*CreateDataNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{36} -} -func (m *CreateDataNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateDataNodeCommand.Unmarshal(m, b) -} -func (m *CreateDataNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateDataNodeCommand.Marshal(b, m, deterministic) -} -func (m *CreateDataNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDataNodeCommand.Merge(m, src) -} -func (m *CreateDataNodeCommand) XXX_Size() int { - return xxx_messageInfo_CreateDataNodeCommand.Size(m) -} -func (m *CreateDataNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_CreateDataNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{36} } -var xxx_messageInfo_CreateDataNodeCommand proto.InternalMessageInfo - -func (m *CreateDataNodeCommand) GetHTTPAddr() string { - if m != nil && m.HTTPAddr != nil { - return *m.HTTPAddr +func (x *CreateDataNodeCommand) GetHTTPAddr() string { + if x != nil && x.HTTPAddr != nil { + return *x.HTTPAddr } return "" } -func (m *CreateDataNodeCommand) GetTCPAddr() string { - if m != nil && m.TCPAddr != nil { - return *m.TCPAddr +func (x *CreateDataNodeCommand) GetTCPAddr() string { + if x != nil && x.TCPAddr != nil { + return *x.TCPAddr } return "" } -var E_CreateDataNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*CreateDataNodeCommand)(nil), - Field: 125, - Name: "internal.CreateDataNodeCommand.command", - Tag: "bytes,125,opt,name=command", - Filename: "internal/meta.proto", -} - type UpdateDataNodeCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` - TCPHost *string `protobuf:"bytes,3,req,name=TCPHost" json:"TCPHost,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` + Host *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"` + TCPHost *string `protobuf:"bytes,3,req,name=TCPHost" json:"TCPHost,omitempty"` } -func (m *UpdateDataNodeCommand) Reset() { *m = UpdateDataNodeCommand{} } -func (m *UpdateDataNodeCommand) String() string { return proto.CompactTextString(m) } -func (*UpdateDataNodeCommand) ProtoMessage() {} +func (x *UpdateDataNodeCommand) Reset() { + *x = UpdateDataNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDataNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDataNodeCommand) ProtoMessage() {} + +func (x *UpdateDataNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[37] + 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 UpdateDataNodeCommand.ProtoReflect.Descriptor instead. func (*UpdateDataNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{37} -} -func (m *UpdateDataNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateDataNodeCommand.Unmarshal(m, b) -} -func (m *UpdateDataNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateDataNodeCommand.Marshal(b, m, deterministic) -} -func (m *UpdateDataNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDataNodeCommand.Merge(m, src) -} -func (m *UpdateDataNodeCommand) XXX_Size() int { - return xxx_messageInfo_UpdateDataNodeCommand.Size(m) -} -func (m *UpdateDataNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateDataNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{37} } -var xxx_messageInfo_UpdateDataNodeCommand proto.InternalMessageInfo - -func (m *UpdateDataNodeCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *UpdateDataNodeCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -func (m *UpdateDataNodeCommand) GetHost() string { - if m != nil && m.Host != nil { - return *m.Host +func (x *UpdateDataNodeCommand) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host } return "" } -func (m *UpdateDataNodeCommand) GetTCPHost() string { - if m != nil && m.TCPHost != nil { - return *m.TCPHost +func (x *UpdateDataNodeCommand) GetTCPHost() string { + if x != nil && x.TCPHost != nil { + return *x.TCPHost } return "" } -var E_UpdateDataNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*UpdateDataNodeCommand)(nil), - Field: 126, - Name: "internal.UpdateDataNodeCommand.command", - Tag: "bytes,126,opt,name=command", - Filename: "internal/meta.proto", -} - type DeleteMetaNodeCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` } -func (m *DeleteMetaNodeCommand) Reset() { *m = DeleteMetaNodeCommand{} } -func (m *DeleteMetaNodeCommand) String() string { return proto.CompactTextString(m) } -func (*DeleteMetaNodeCommand) ProtoMessage() {} +func (x *DeleteMetaNodeCommand) Reset() { + *x = DeleteMetaNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteMetaNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteMetaNodeCommand) ProtoMessage() {} + +func (x *DeleteMetaNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[38] + 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 DeleteMetaNodeCommand.ProtoReflect.Descriptor instead. func (*DeleteMetaNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{38} -} -func (m *DeleteMetaNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteMetaNodeCommand.Unmarshal(m, b) -} -func (m *DeleteMetaNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteMetaNodeCommand.Marshal(b, m, deterministic) -} -func (m *DeleteMetaNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteMetaNodeCommand.Merge(m, src) -} -func (m *DeleteMetaNodeCommand) XXX_Size() int { - return xxx_messageInfo_DeleteMetaNodeCommand.Size(m) -} -func (m *DeleteMetaNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteMetaNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{38} } -var xxx_messageInfo_DeleteMetaNodeCommand proto.InternalMessageInfo - -func (m *DeleteMetaNodeCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *DeleteMetaNodeCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -var E_DeleteMetaNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DeleteMetaNodeCommand)(nil), - Field: 127, - Name: "internal.DeleteMetaNodeCommand.command", - Tag: "bytes,127,opt,name=command", - Filename: "internal/meta.proto", -} - type DeleteDataNodeCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` } -func (m *DeleteDataNodeCommand) Reset() { *m = DeleteDataNodeCommand{} } -func (m *DeleteDataNodeCommand) String() string { return proto.CompactTextString(m) } -func (*DeleteDataNodeCommand) ProtoMessage() {} +func (x *DeleteDataNodeCommand) Reset() { + *x = DeleteDataNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteDataNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteDataNodeCommand) ProtoMessage() {} + +func (x *DeleteDataNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[39] + 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 DeleteDataNodeCommand.ProtoReflect.Descriptor instead. func (*DeleteDataNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{39} -} -func (m *DeleteDataNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteDataNodeCommand.Unmarshal(m, b) -} -func (m *DeleteDataNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteDataNodeCommand.Marshal(b, m, deterministic) -} -func (m *DeleteDataNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDataNodeCommand.Merge(m, src) -} -func (m *DeleteDataNodeCommand) XXX_Size() int { - return xxx_messageInfo_DeleteDataNodeCommand.Size(m) -} -func (m *DeleteDataNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteDataNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{39} } -var xxx_messageInfo_DeleteDataNodeCommand proto.InternalMessageInfo - -func (m *DeleteDataNodeCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *DeleteDataNodeCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -var E_DeleteDataNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DeleteDataNodeCommand)(nil), - Field: 128, - Name: "internal.DeleteDataNodeCommand.command", - Tag: "bytes,128,opt,name=command", - Filename: "internal/meta.proto", -} - type Response struct { - OK *bool `protobuf:"varint,1,req,name=OK" json:"OK,omitempty"` - Error *string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"` - Index *uint64 `protobuf:"varint,3,opt,name=Index" json:"Index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OK *bool `protobuf:"varint,1,req,name=OK" json:"OK,omitempty"` + Error *string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"` + Index *uint64 `protobuf:"varint,3,opt,name=Index" json:"Index,omitempty"` } -func (m *Response) Reset() { *m = Response{} } -func (m *Response) String() string { return proto.CompactTextString(m) } -func (*Response) ProtoMessage() {} +func (x *Response) Reset() { + *x = Response{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Response) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Response) ProtoMessage() {} + +func (x *Response) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[40] + 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 Response.ProtoReflect.Descriptor instead. func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{40} -} -func (m *Response) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Response.Unmarshal(m, b) -} -func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Response.Marshal(b, m, deterministic) -} -func (m *Response) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response.Merge(m, src) -} -func (m *Response) XXX_Size() int { - return xxx_messageInfo_Response.Size(m) -} -func (m *Response) XXX_DiscardUnknown() { - xxx_messageInfo_Response.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{40} } -var xxx_messageInfo_Response proto.InternalMessageInfo - -func (m *Response) GetOK() bool { - if m != nil && m.OK != nil { - return *m.OK +func (x *Response) GetOK() bool { + if x != nil && x.OK != nil { + return *x.OK } return false } -func (m *Response) GetError() string { - if m != nil && m.Error != nil { - return *m.Error +func (x *Response) GetError() string { + if x != nil && x.Error != nil { + return *x.Error } return "" } -func (m *Response) GetIndex() uint64 { - if m != nil && m.Index != nil { - return *m.Index +func (x *Response) GetIndex() uint64 { + if x != nil && x.Index != nil { + return *x.Index } return 0 } @@ -2560,308 +2697,1578 @@ func (m *Response) GetIndex() uint64 { // SetMetaNodeCommand is for the initial metanode in a cluster or // if the single host restarts and its hostname changes, this will update it type SetMetaNodeCommand struct { - HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` - TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` - Rand *uint64 `protobuf:"varint,3,req,name=Rand" json:"Rand,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HTTPAddr *string `protobuf:"bytes,1,req,name=HTTPAddr" json:"HTTPAddr,omitempty"` + TCPAddr *string `protobuf:"bytes,2,req,name=TCPAddr" json:"TCPAddr,omitempty"` + Rand *uint64 `protobuf:"varint,3,req,name=Rand" json:"Rand,omitempty"` } -func (m *SetMetaNodeCommand) Reset() { *m = SetMetaNodeCommand{} } -func (m *SetMetaNodeCommand) String() string { return proto.CompactTextString(m) } -func (*SetMetaNodeCommand) ProtoMessage() {} +func (x *SetMetaNodeCommand) Reset() { + *x = SetMetaNodeCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMetaNodeCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMetaNodeCommand) ProtoMessage() {} + +func (x *SetMetaNodeCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[41] + 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 SetMetaNodeCommand.ProtoReflect.Descriptor instead. func (*SetMetaNodeCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{41} -} -func (m *SetMetaNodeCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMetaNodeCommand.Unmarshal(m, b) -} -func (m *SetMetaNodeCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMetaNodeCommand.Marshal(b, m, deterministic) -} -func (m *SetMetaNodeCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMetaNodeCommand.Merge(m, src) -} -func (m *SetMetaNodeCommand) XXX_Size() int { - return xxx_messageInfo_SetMetaNodeCommand.Size(m) -} -func (m *SetMetaNodeCommand) XXX_DiscardUnknown() { - xxx_messageInfo_SetMetaNodeCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{41} } -var xxx_messageInfo_SetMetaNodeCommand proto.InternalMessageInfo - -func (m *SetMetaNodeCommand) GetHTTPAddr() string { - if m != nil && m.HTTPAddr != nil { - return *m.HTTPAddr +func (x *SetMetaNodeCommand) GetHTTPAddr() string { + if x != nil && x.HTTPAddr != nil { + return *x.HTTPAddr } return "" } -func (m *SetMetaNodeCommand) GetTCPAddr() string { - if m != nil && m.TCPAddr != nil { - return *m.TCPAddr +func (x *SetMetaNodeCommand) GetTCPAddr() string { + if x != nil && x.TCPAddr != nil { + return *x.TCPAddr } return "" } -func (m *SetMetaNodeCommand) GetRand() uint64 { - if m != nil && m.Rand != nil { - return *m.Rand +func (x *SetMetaNodeCommand) GetRand() uint64 { + if x != nil && x.Rand != nil { + return *x.Rand } return 0 } -var E_SetMetaNodeCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*SetMetaNodeCommand)(nil), - Field: 129, - Name: "internal.SetMetaNodeCommand.command", - Tag: "bytes,129,opt,name=command", - Filename: "internal/meta.proto", -} - type DropShardCommand struct { - ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"` } -func (m *DropShardCommand) Reset() { *m = DropShardCommand{} } -func (m *DropShardCommand) String() string { return proto.CompactTextString(m) } -func (*DropShardCommand) ProtoMessage() {} +func (x *DropShardCommand) Reset() { + *x = DropShardCommand{} + if protoimpl.UnsafeEnabled { + mi := &file_meta_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DropShardCommand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DropShardCommand) ProtoMessage() {} + +func (x *DropShardCommand) ProtoReflect() protoreflect.Message { + mi := &file_meta_proto_msgTypes[42] + 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 DropShardCommand.ProtoReflect.Descriptor instead. func (*DropShardCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_59b0956366e72083, []int{42} -} -func (m *DropShardCommand) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DropShardCommand.Unmarshal(m, b) -} -func (m *DropShardCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DropShardCommand.Marshal(b, m, deterministic) -} -func (m *DropShardCommand) XXX_Merge(src proto.Message) { - xxx_messageInfo_DropShardCommand.Merge(m, src) -} -func (m *DropShardCommand) XXX_Size() int { - return xxx_messageInfo_DropShardCommand.Size(m) -} -func (m *DropShardCommand) XXX_DiscardUnknown() { - xxx_messageInfo_DropShardCommand.DiscardUnknown(m) + return file_meta_proto_rawDescGZIP(), []int{42} } -var xxx_messageInfo_DropShardCommand proto.InternalMessageInfo - -func (m *DropShardCommand) GetID() uint64 { - if m != nil && m.ID != nil { - return *m.ID +func (x *DropShardCommand) GetID() uint64 { + if x != nil && x.ID != nil { + return *x.ID } return 0 } -var E_DropShardCommand_Command = &proto.ExtensionDesc{ - ExtendedType: (*Command)(nil), - ExtensionType: (*DropShardCommand)(nil), - Field: 130, - Name: "internal.DropShardCommand.command", - Tag: "bytes,130,opt,name=command", - Filename: "internal/meta.proto", +var file_meta_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateNodeCommand)(nil), + Field: 101, + Name: "internal.CreateNodeCommand.command", + Tag: "bytes,101,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DeleteNodeCommand)(nil), + Field: 102, + Name: "internal.DeleteNodeCommand.command", + Tag: "bytes,102,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateDatabaseCommand)(nil), + Field: 103, + Name: "internal.CreateDatabaseCommand.command", + Tag: "bytes,103,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropDatabaseCommand)(nil), + Field: 104, + Name: "internal.DropDatabaseCommand.command", + Tag: "bytes,104,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateRetentionPolicyCommand)(nil), + Field: 105, + Name: "internal.CreateRetentionPolicyCommand.command", + Tag: "bytes,105,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropRetentionPolicyCommand)(nil), + Field: 106, + Name: "internal.DropRetentionPolicyCommand.command", + Tag: "bytes,106,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*SetDefaultRetentionPolicyCommand)(nil), + Field: 107, + Name: "internal.SetDefaultRetentionPolicyCommand.command", + Tag: "bytes,107,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*UpdateRetentionPolicyCommand)(nil), + Field: 108, + Name: "internal.UpdateRetentionPolicyCommand.command", + Tag: "bytes,108,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateShardGroupCommand)(nil), + Field: 109, + Name: "internal.CreateShardGroupCommand.command", + Tag: "bytes,109,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DeleteShardGroupCommand)(nil), + Field: 110, + Name: "internal.DeleteShardGroupCommand.command", + Tag: "bytes,110,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateContinuousQueryCommand)(nil), + Field: 111, + Name: "internal.CreateContinuousQueryCommand.command", + Tag: "bytes,111,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropContinuousQueryCommand)(nil), + Field: 112, + Name: "internal.DropContinuousQueryCommand.command", + Tag: "bytes,112,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateUserCommand)(nil), + Field: 113, + Name: "internal.CreateUserCommand.command", + Tag: "bytes,113,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropUserCommand)(nil), + Field: 114, + Name: "internal.DropUserCommand.command", + Tag: "bytes,114,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*UpdateUserCommand)(nil), + Field: 115, + Name: "internal.UpdateUserCommand.command", + Tag: "bytes,115,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*SetPrivilegeCommand)(nil), + Field: 116, + Name: "internal.SetPrivilegeCommand.command", + Tag: "bytes,116,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*SetDataCommand)(nil), + Field: 117, + Name: "internal.SetDataCommand.command", + Tag: "bytes,117,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*SetAdminPrivilegeCommand)(nil), + Field: 118, + Name: "internal.SetAdminPrivilegeCommand.command", + Tag: "bytes,118,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*UpdateNodeCommand)(nil), + Field: 119, + Name: "internal.UpdateNodeCommand.command", + Tag: "bytes,119,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateSubscriptionCommand)(nil), + Field: 121, + Name: "internal.CreateSubscriptionCommand.command", + Tag: "bytes,121,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropSubscriptionCommand)(nil), + Field: 122, + Name: "internal.DropSubscriptionCommand.command", + Tag: "bytes,122,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*RemovePeerCommand)(nil), + Field: 123, + Name: "internal.RemovePeerCommand.command", + Tag: "bytes,123,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateMetaNodeCommand)(nil), + Field: 124, + Name: "internal.CreateMetaNodeCommand.command", + Tag: "bytes,124,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*CreateDataNodeCommand)(nil), + Field: 125, + Name: "internal.CreateDataNodeCommand.command", + Tag: "bytes,125,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*UpdateDataNodeCommand)(nil), + Field: 126, + Name: "internal.UpdateDataNodeCommand.command", + Tag: "bytes,126,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DeleteMetaNodeCommand)(nil), + Field: 127, + Name: "internal.DeleteMetaNodeCommand.command", + Tag: "bytes,127,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DeleteDataNodeCommand)(nil), + Field: 128, + Name: "internal.DeleteDataNodeCommand.command", + Tag: "bytes,128,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*SetMetaNodeCommand)(nil), + Field: 129, + Name: "internal.SetMetaNodeCommand.command", + Tag: "bytes,129,opt,name=command", + Filename: "meta.proto", + }, + { + ExtendedType: (*Command)(nil), + ExtensionType: (*DropShardCommand)(nil), + Field: 130, + Name: "internal.DropShardCommand.command", + Tag: "bytes,130,opt,name=command", + Filename: "meta.proto", + }, } -func init() { - proto.RegisterEnum("internal.Command_Type", Command_Type_name, Command_Type_value) - proto.RegisterType((*Data)(nil), "internal.Data") - proto.RegisterType((*NodeInfo)(nil), "internal.NodeInfo") - proto.RegisterType((*DatabaseInfo)(nil), "internal.DatabaseInfo") - proto.RegisterType((*RetentionPolicySpec)(nil), "internal.RetentionPolicySpec") - proto.RegisterType((*RetentionPolicyInfo)(nil), "internal.RetentionPolicyInfo") - proto.RegisterType((*ShardGroupInfo)(nil), "internal.ShardGroupInfo") - proto.RegisterType((*ShardInfo)(nil), "internal.ShardInfo") - proto.RegisterType((*SubscriptionInfo)(nil), "internal.SubscriptionInfo") - proto.RegisterType((*ShardOwner)(nil), "internal.ShardOwner") - proto.RegisterType((*ContinuousQueryInfo)(nil), "internal.ContinuousQueryInfo") - proto.RegisterType((*UserInfo)(nil), "internal.UserInfo") - proto.RegisterType((*UserPrivilege)(nil), "internal.UserPrivilege") - proto.RegisterType((*Command)(nil), "internal.Command") - proto.RegisterExtension(E_CreateNodeCommand_Command) - proto.RegisterType((*CreateNodeCommand)(nil), "internal.CreateNodeCommand") - proto.RegisterExtension(E_DeleteNodeCommand_Command) - proto.RegisterType((*DeleteNodeCommand)(nil), "internal.DeleteNodeCommand") - proto.RegisterExtension(E_CreateDatabaseCommand_Command) - proto.RegisterType((*CreateDatabaseCommand)(nil), "internal.CreateDatabaseCommand") - proto.RegisterExtension(E_DropDatabaseCommand_Command) - proto.RegisterType((*DropDatabaseCommand)(nil), "internal.DropDatabaseCommand") - proto.RegisterExtension(E_CreateRetentionPolicyCommand_Command) - proto.RegisterType((*CreateRetentionPolicyCommand)(nil), "internal.CreateRetentionPolicyCommand") - proto.RegisterExtension(E_DropRetentionPolicyCommand_Command) - proto.RegisterType((*DropRetentionPolicyCommand)(nil), "internal.DropRetentionPolicyCommand") - proto.RegisterExtension(E_SetDefaultRetentionPolicyCommand_Command) - proto.RegisterType((*SetDefaultRetentionPolicyCommand)(nil), "internal.SetDefaultRetentionPolicyCommand") - proto.RegisterExtension(E_UpdateRetentionPolicyCommand_Command) - proto.RegisterType((*UpdateRetentionPolicyCommand)(nil), "internal.UpdateRetentionPolicyCommand") - proto.RegisterExtension(E_CreateShardGroupCommand_Command) - proto.RegisterType((*CreateShardGroupCommand)(nil), "internal.CreateShardGroupCommand") - proto.RegisterExtension(E_DeleteShardGroupCommand_Command) - proto.RegisterType((*DeleteShardGroupCommand)(nil), "internal.DeleteShardGroupCommand") - proto.RegisterExtension(E_CreateContinuousQueryCommand_Command) - proto.RegisterType((*CreateContinuousQueryCommand)(nil), "internal.CreateContinuousQueryCommand") - proto.RegisterExtension(E_DropContinuousQueryCommand_Command) - proto.RegisterType((*DropContinuousQueryCommand)(nil), "internal.DropContinuousQueryCommand") - proto.RegisterExtension(E_CreateUserCommand_Command) - proto.RegisterType((*CreateUserCommand)(nil), "internal.CreateUserCommand") - proto.RegisterExtension(E_DropUserCommand_Command) - proto.RegisterType((*DropUserCommand)(nil), "internal.DropUserCommand") - proto.RegisterExtension(E_UpdateUserCommand_Command) - proto.RegisterType((*UpdateUserCommand)(nil), "internal.UpdateUserCommand") - proto.RegisterExtension(E_SetPrivilegeCommand_Command) - proto.RegisterType((*SetPrivilegeCommand)(nil), "internal.SetPrivilegeCommand") - proto.RegisterExtension(E_SetDataCommand_Command) - proto.RegisterType((*SetDataCommand)(nil), "internal.SetDataCommand") - proto.RegisterExtension(E_SetAdminPrivilegeCommand_Command) - proto.RegisterType((*SetAdminPrivilegeCommand)(nil), "internal.SetAdminPrivilegeCommand") - proto.RegisterExtension(E_UpdateNodeCommand_Command) - proto.RegisterType((*UpdateNodeCommand)(nil), "internal.UpdateNodeCommand") - proto.RegisterExtension(E_CreateSubscriptionCommand_Command) - proto.RegisterType((*CreateSubscriptionCommand)(nil), "internal.CreateSubscriptionCommand") - proto.RegisterExtension(E_DropSubscriptionCommand_Command) - proto.RegisterType((*DropSubscriptionCommand)(nil), "internal.DropSubscriptionCommand") - proto.RegisterExtension(E_RemovePeerCommand_Command) - proto.RegisterType((*RemovePeerCommand)(nil), "internal.RemovePeerCommand") - proto.RegisterExtension(E_CreateMetaNodeCommand_Command) - proto.RegisterType((*CreateMetaNodeCommand)(nil), "internal.CreateMetaNodeCommand") - proto.RegisterExtension(E_CreateDataNodeCommand_Command) - proto.RegisterType((*CreateDataNodeCommand)(nil), "internal.CreateDataNodeCommand") - proto.RegisterExtension(E_UpdateDataNodeCommand_Command) - proto.RegisterType((*UpdateDataNodeCommand)(nil), "internal.UpdateDataNodeCommand") - proto.RegisterExtension(E_DeleteMetaNodeCommand_Command) - proto.RegisterType((*DeleteMetaNodeCommand)(nil), "internal.DeleteMetaNodeCommand") - proto.RegisterExtension(E_DeleteDataNodeCommand_Command) - proto.RegisterType((*DeleteDataNodeCommand)(nil), "internal.DeleteDataNodeCommand") - proto.RegisterType((*Response)(nil), "internal.Response") - proto.RegisterExtension(E_SetMetaNodeCommand_Command) - proto.RegisterType((*SetMetaNodeCommand)(nil), "internal.SetMetaNodeCommand") - proto.RegisterExtension(E_DropShardCommand_Command) - proto.RegisterType((*DropShardCommand)(nil), "internal.DropShardCommand") +// Extension fields to Command. +var ( + // optional internal.CreateNodeCommand command = 101; + E_CreateNodeCommand_Command = &file_meta_proto_extTypes[0] + // optional internal.DeleteNodeCommand command = 102; + E_DeleteNodeCommand_Command = &file_meta_proto_extTypes[1] + // optional internal.CreateDatabaseCommand command = 103; + E_CreateDatabaseCommand_Command = &file_meta_proto_extTypes[2] + // optional internal.DropDatabaseCommand command = 104; + E_DropDatabaseCommand_Command = &file_meta_proto_extTypes[3] + // optional internal.CreateRetentionPolicyCommand command = 105; + E_CreateRetentionPolicyCommand_Command = &file_meta_proto_extTypes[4] + // optional internal.DropRetentionPolicyCommand command = 106; + E_DropRetentionPolicyCommand_Command = &file_meta_proto_extTypes[5] + // optional internal.SetDefaultRetentionPolicyCommand command = 107; + E_SetDefaultRetentionPolicyCommand_Command = &file_meta_proto_extTypes[6] + // optional internal.UpdateRetentionPolicyCommand command = 108; + E_UpdateRetentionPolicyCommand_Command = &file_meta_proto_extTypes[7] + // optional internal.CreateShardGroupCommand command = 109; + E_CreateShardGroupCommand_Command = &file_meta_proto_extTypes[8] + // optional internal.DeleteShardGroupCommand command = 110; + E_DeleteShardGroupCommand_Command = &file_meta_proto_extTypes[9] + // optional internal.CreateContinuousQueryCommand command = 111; + E_CreateContinuousQueryCommand_Command = &file_meta_proto_extTypes[10] + // optional internal.DropContinuousQueryCommand command = 112; + E_DropContinuousQueryCommand_Command = &file_meta_proto_extTypes[11] + // optional internal.CreateUserCommand command = 113; + E_CreateUserCommand_Command = &file_meta_proto_extTypes[12] + // optional internal.DropUserCommand command = 114; + E_DropUserCommand_Command = &file_meta_proto_extTypes[13] + // optional internal.UpdateUserCommand command = 115; + E_UpdateUserCommand_Command = &file_meta_proto_extTypes[14] + // optional internal.SetPrivilegeCommand command = 116; + E_SetPrivilegeCommand_Command = &file_meta_proto_extTypes[15] + // optional internal.SetDataCommand command = 117; + E_SetDataCommand_Command = &file_meta_proto_extTypes[16] + // optional internal.SetAdminPrivilegeCommand command = 118; + E_SetAdminPrivilegeCommand_Command = &file_meta_proto_extTypes[17] + // optional internal.UpdateNodeCommand command = 119; + E_UpdateNodeCommand_Command = &file_meta_proto_extTypes[18] + // optional internal.CreateSubscriptionCommand command = 121; + E_CreateSubscriptionCommand_Command = &file_meta_proto_extTypes[19] + // optional internal.DropSubscriptionCommand command = 122; + E_DropSubscriptionCommand_Command = &file_meta_proto_extTypes[20] + // optional internal.RemovePeerCommand command = 123; + E_RemovePeerCommand_Command = &file_meta_proto_extTypes[21] + // optional internal.CreateMetaNodeCommand command = 124; + E_CreateMetaNodeCommand_Command = &file_meta_proto_extTypes[22] + // optional internal.CreateDataNodeCommand command = 125; + E_CreateDataNodeCommand_Command = &file_meta_proto_extTypes[23] + // optional internal.UpdateDataNodeCommand command = 126; + E_UpdateDataNodeCommand_Command = &file_meta_proto_extTypes[24] + // optional internal.DeleteMetaNodeCommand command = 127; + E_DeleteMetaNodeCommand_Command = &file_meta_proto_extTypes[25] + // optional internal.DeleteDataNodeCommand command = 128; + E_DeleteDataNodeCommand_Command = &file_meta_proto_extTypes[26] + // optional internal.SetMetaNodeCommand command = 129; + E_SetMetaNodeCommand_Command = &file_meta_proto_extTypes[27] + // optional internal.DropShardCommand command = 130; + E_DropShardCommand_Command = &file_meta_proto_extTypes[28] +) + +var File_meta_proto protoreflect.FileDescriptor + +var file_meta_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x22, 0xa4, 0x03, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x12, 0x0a, 0x04, 0x54, 0x65, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x54, + 0x65, 0x72, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x02, + 0x28, 0x04, 0x52, 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x05, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x4e, 0x6f, 0x64, 0x65, + 0x73, 0x12, 0x34, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x55, 0x73, 0x65, 0x72, + 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x61, 0x78, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x07, + 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x4d, 0x61, 0x78, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x12, + 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x78, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x44, 0x18, 0x08, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0f, 0x4d, 0x61, 0x78, 0x53, 0x68, 0x61, + 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x78, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x44, 0x18, 0x09, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x4d, + 0x61, 0x78, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x44, 0x12, 0x30, 0x0a, 0x09, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x09, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x09, 0x4d, + 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x48, 0x0a, + 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x6f, 0x73, + 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x54, 0x43, 0x50, 0x48, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x54, 0x43, 0x50, 0x48, 0x6f, 0x73, 0x74, 0x22, 0xf4, 0x01, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x16, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x16, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4b, 0x0a, 0x11, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, + 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, + 0x73, 0x12, 0x4b, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, + 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, + 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x43, 0x6f, 0x6e, + 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x91, + 0x01, 0x0a, 0x13, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x12, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x12, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x4e, 0x22, 0x8f, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, + 0x52, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x12, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x12, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4e, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4e, 0x12, 0x3a, 0x0a, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, + 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x07, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x02, + 0x28, 0x03, 0x52, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2b, 0x0a, + 0x06, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x72, + 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x69, 0x0a, 0x09, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x08, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x08, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x73, 0x12, 0x2c, 0x0a, 0x06, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, + 0x06, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x22, 0x5e, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4d, + 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x44, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x24, 0x0a, 0x0a, 0x53, 0x68, 0x61, 0x72, 0x64, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x22, 0x3f, 0x0a, + 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, + 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x22, 0x81, + 0x01, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x02, + 0x28, 0x08, 0x52, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x50, 0x72, 0x69, + 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x69, + 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x0a, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, + 0x65, 0x73, 0x22, 0x49, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, + 0x65, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x02, 0x20, 0x02, + 0x28, 0x05, 0x52, 0x09, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x22, 0xdd, 0x06, + 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x9b, 0x06, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, + 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x44, 0x72, 0x6f, 0x70, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x04, + 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x10, 0x06, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x10, 0x0a, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x0b, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, + 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x0c, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x0d, 0x12, 0x13, 0x0a, + 0x0f, 0x44, 0x72, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x10, 0x0e, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x0f, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x10, 0x10, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x11, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x10, 0x12, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, + 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x13, 0x12, 0x1d, 0x0a, 0x19, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x15, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x72, + 0x6f, 0x70, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x16, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x17, 0x12, 0x19, + 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x18, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x10, 0x19, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x1a, 0x12, + 0x19, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, + 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x1b, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x10, 0x1c, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x10, 0x1d, 0x12, 0x14, 0x0a, + 0x10, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x10, 0x1e, 0x2a, 0x08, 0x08, 0x64, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x85, 0x01, + 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, + 0x09, 0x52, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x64, 0x18, + 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x64, 0x32, 0x48, 0x0a, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x65, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x46, + 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x05, 0x46, 0x6f, 0x72, 0x63, + 0x65, 0x32, 0x48, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, + 0x66, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x15, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x52, 0x65, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x52, 0x65, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x32, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x18, 0x67, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x22, 0x75, 0x0a, 0x13, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x4a, 0x0a, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x68, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xd8, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x52, 0x65, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x32, 0x53, 0x0a, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x69, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x22, 0x9f, 0x01, 0x0a, 0x1a, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, + 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, + 0x65, 0x32, 0x51, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, + 0x6a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xab, 0x01, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x57, 0x0a, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x6b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x22, 0xf5, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x4e, 0x32, 0x53, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x6c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x17, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x02, + 0x28, 0x09, 0x52, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x02, 0x28, 0x03, 0x52, 0x09, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x4e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x6d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, + 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xc1, 0x01, 0x0a, 0x17, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, + 0x52, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, + 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0c, + 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x32, 0x4e, 0x0a, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x6e, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x68, 0x61, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xb9, 0x01, 0x0a, + 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, + 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, + 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x32, 0x53, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, + 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x18, 0x6f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, + 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x9f, 0x01, 0x0a, 0x1a, 0x44, 0x72, 0x6f, + 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, + 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, + 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, + 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x51, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x70, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x69, + 0x6e, 0x75, 0x6f, 0x75, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x02, + 0x28, 0x09, 0x52, 0x04, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x08, 0x52, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x32, 0x48, + 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x71, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x6d, 0x0a, 0x0f, 0x44, 0x72, 0x6f, 0x70, + 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, + 0x46, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x72, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, + 0x72, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, + 0x04, 0x48, 0x61, 0x73, 0x68, 0x32, 0x48, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x73, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, + 0xb7, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, + 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x03, 0x20, 0x02, + 0x28, 0x05, 0x52, 0x09, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x32, 0x4a, 0x0a, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x74, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x7b, 0x0a, 0x0e, 0x53, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x22, 0x0a, 0x04, 0x44, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x32, + 0x45, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x75, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, + 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x05, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x32, 0x4f, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x76, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, + 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, + 0x48, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x48, 0x6f, 0x73, 0x74, + 0x32, 0x48, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x77, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xff, 0x01, 0x0a, 0x19, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, + 0x09, 0x52, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, + 0x52, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x44, 0x65, + 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x50, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x79, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xc3, 0x01, 0x0a, + 0x17, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x02, 0x28, + 0x09, 0x52, 0x0f, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x32, 0x4e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x18, 0x7a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x65, 0x65, + 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x41, 0x64, 0x64, 0x72, + 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x41, 0x64, 0x64, 0x72, 0x32, 0x48, 0x0a, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x7b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xaf, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x54, 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x02, + 0x28, 0x09, 0x52, 0x08, 0x48, 0x54, 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x54, 0x43, 0x50, 0x41, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x54, + 0x43, 0x50, 0x41, 0x64, 0x64, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x64, 0x18, 0x03, + 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x52, 0x61, 0x6e, 0x64, 0x32, 0x4c, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x7c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x54, 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, + 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x48, 0x54, 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x54, 0x43, 0x50, 0x41, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, + 0x07, 0x54, 0x43, 0x50, 0x41, 0x64, 0x64, 0x72, 0x32, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x7d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, + 0x12, 0x12, 0x0a, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, + 0x48, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x43, 0x50, 0x48, 0x6f, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x54, 0x43, 0x50, 0x48, 0x6f, 0x73, 0x74, 0x32, 0x4c, + 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x7e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x75, 0x0a, 0x15, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, + 0x04, 0x52, 0x02, 0x49, 0x44, 0x32, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x7f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x22, 0x76, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x02, 0x49, 0x44, 0x32, 0x4d, 0x0a, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x80, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x46, 0x0a, 0x08, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x4b, 0x18, 0x01, 0x20, + 0x02, 0x28, 0x08, 0x52, 0x02, 0x4f, 0x4b, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x22, 0xaa, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x4e, + 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x54, + 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x48, 0x54, + 0x54, 0x50, 0x41, 0x64, 0x64, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x54, 0x43, 0x50, 0x41, 0x64, 0x64, + 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x07, 0x54, 0x43, 0x50, 0x41, 0x64, 0x64, 0x72, + 0x12, 0x12, 0x0a, 0x04, 0x52, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, + 0x52, 0x61, 0x6e, 0x64, 0x32, 0x4a, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, + 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x18, 0x81, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, + 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x22, 0x6c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, + 0x52, 0x02, 0x49, 0x44, 0x32, 0x48, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, + 0x11, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x18, 0x82, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x53, 0x68, 0x61, 0x72, 0x64, 0x43, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x12, + 0x5a, 0x10, 0x2e, 0x3b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, + 0x72, 0x65, } -func init() { proto.RegisterFile("internal/meta.proto", fileDescriptor_59b0956366e72083) } +var ( + file_meta_proto_rawDescOnce sync.Once + file_meta_proto_rawDescData = file_meta_proto_rawDesc +) -var fileDescriptor_59b0956366e72083 = []byte{ - // 1826 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcd, 0x6f, 0xdc, 0xc6, - 0x15, 0xc7, 0x70, 0x3f, 0xb4, 0xfb, 0xf4, 0x3d, 0x92, 0x25, 0x4a, 0x96, 0xd5, 0x2d, 0x6b, 0x14, - 0x0b, 0xb7, 0x50, 0x8b, 0x45, 0xd1, 0x02, 0xbd, 0xb4, 0xae, 0xd6, 0xb6, 0xb6, 0xae, 0x3e, 0xcc, - 0x95, 0xd1, 0x5b, 0x01, 0x5a, 0x3b, 0xb6, 0xb6, 0xdd, 0x25, 0xb7, 0x24, 0x57, 0xb6, 0xea, 0x7e, - 0xc8, 0x0d, 0x72, 0x0e, 0x72, 0x36, 0x82, 0x1c, 0x92, 0x53, 0x72, 0xc8, 0x31, 0x08, 0x72, 0x4a, - 0x82, 0xfc, 0x0f, 0xb9, 0xe4, 0xbf, 0x48, 0xce, 0x09, 0x66, 0xc8, 0xe1, 0x0c, 0x87, 0x43, 0x52, - 0x72, 0x9c, 0xdb, 0xce, 0xfb, 0x98, 0xf7, 0xfb, 0x3d, 0xbe, 0x99, 0x79, 0x33, 0x0b, 0x2b, 0x43, - 0x37, 0x24, 0xbe, 0xeb, 0x8c, 0x7e, 0x35, 0x26, 0xa1, 0xb3, 0x33, 0xf1, 0xbd, 0xd0, 0xc3, 0x0d, - 0x2e, 0xb4, 0xde, 0xaf, 0x40, 0xb5, 0xeb, 0x84, 0x0e, 0xc6, 0x50, 0x3d, 0x26, 0xfe, 0xd8, 0x44, - 0x2d, 0xa3, 0x5d, 0xb5, 0xd9, 0x6f, 0xbc, 0x0a, 0xb5, 0x9e, 0x3b, 0x20, 0xcf, 0x4c, 0x83, 0x09, - 0xa3, 0x01, 0xde, 0x82, 0xe6, 0xee, 0x68, 0x1a, 0x84, 0xc4, 0xef, 0x75, 0xcd, 0x0a, 0xd3, 0x08, - 0x01, 0x6e, 0x43, 0xed, 0xc0, 0x1b, 0x90, 0xc0, 0xac, 0xb6, 0x2a, 0xed, 0xd9, 0x0e, 0xde, 0xe1, - 0xa1, 0x76, 0xa8, 0xb8, 0xe7, 0x3e, 0xf6, 0xec, 0xc8, 0x00, 0xff, 0x06, 0x9a, 0x34, 0xf2, 0x23, - 0x27, 0x20, 0x81, 0x59, 0x63, 0xd6, 0x6b, 0xc2, 0x9a, 0xab, 0x98, 0x87, 0x30, 0xa4, 0xf3, 0x3f, - 0x0c, 0x88, 0x1f, 0x98, 0x75, 0x75, 0x7e, 0x2a, 0x8e, 0xe6, 0x67, 0x06, 0x14, 0xe7, 0xbe, 0xf3, - 0x8c, 0x45, 0xed, 0x9a, 0x33, 0x11, 0xce, 0x44, 0x80, 0xdb, 0xb0, 0xb8, 0xef, 0x3c, 0xeb, 0x9f, - 0x3a, 0xfe, 0xe0, 0x9e, 0xef, 0x4d, 0x27, 0xbd, 0xae, 0xd9, 0x60, 0x36, 0xaa, 0x18, 0x6f, 0x03, - 0x70, 0x51, 0xaf, 0x6b, 0x36, 0x99, 0x91, 0x24, 0xc1, 0xbf, 0x8e, 0x78, 0x44, 0xac, 0x21, 0x97, - 0xb5, 0x30, 0xa2, 0x1e, 0xfb, 0x84, 0x7b, 0xcc, 0xe6, 0x7b, 0x24, 0x46, 0xd6, 0x1e, 0x34, 0xb8, - 0x18, 0x2f, 0x80, 0xd1, 0xeb, 0xc6, 0xdf, 0xc9, 0xe8, 0x75, 0xe9, 0x97, 0xdb, 0xf3, 0x82, 0x90, - 0x7d, 0xa4, 0xa6, 0xcd, 0x7e, 0x63, 0x13, 0x66, 0x8e, 0x77, 0x8f, 0x98, 0xb8, 0xd2, 0x42, 0xed, - 0xa6, 0xcd, 0x87, 0xd6, 0x37, 0x08, 0xe6, 0xe4, 0xdc, 0x52, 0xf7, 0x03, 0x67, 0x4c, 0xd8, 0x84, - 0x4d, 0x9b, 0xfd, 0xc6, 0xbf, 0x85, 0xb5, 0x2e, 0x79, 0xec, 0x4c, 0x47, 0xa1, 0x4d, 0x42, 0xe2, - 0x86, 0x43, 0xcf, 0x3d, 0xf2, 0x46, 0xc3, 0x93, 0xf3, 0x38, 0x48, 0x8e, 0x16, 0xdf, 0x87, 0xe5, - 0xb4, 0x68, 0x48, 0x02, 0xb3, 0xc2, 0x08, 0xde, 0x10, 0x04, 0x15, 0x2f, 0xc6, 0x35, 0xeb, 0x47, - 0x27, 0xdb, 0xf5, 0xdc, 0x70, 0xe8, 0x4e, 0xbd, 0x69, 0xf0, 0x60, 0x4a, 0xfc, 0x61, 0x52, 0x55, - 0xd2, 0x64, 0x69, 0x93, 0x78, 0xb2, 0x8c, 0x9f, 0xf5, 0x36, 0x82, 0x15, 0x25, 0x6e, 0x7f, 0x42, - 0x4e, 0x24, 0xf6, 0x28, 0x61, 0xbf, 0x09, 0x8d, 0xee, 0xd4, 0x77, 0xa8, 0xa5, 0x69, 0xb4, 0x50, - 0xbb, 0x62, 0x27, 0x63, 0xbc, 0x03, 0x58, 0x14, 0x47, 0x62, 0x55, 0x61, 0x56, 0x1a, 0x0d, 0x9d, - 0xcb, 0x26, 0x93, 0xd1, 0xf0, 0xc4, 0x39, 0x30, 0xab, 0x2d, 0xd4, 0x9e, 0xb7, 0x93, 0xb1, 0xf5, - 0x96, 0x91, 0xc1, 0x94, 0xfb, 0x45, 0xd2, 0x98, 0x8c, 0x4b, 0x61, 0x32, 0x2e, 0x85, 0xc9, 0x90, - 0x31, 0xe1, 0xdf, 0xc3, 0xac, 0xf0, 0xe0, 0xcb, 0xd2, 0x14, 0xe9, 0x96, 0x56, 0x06, 0xcd, 0xb4, - 0x6c, 0x8c, 0xff, 0x08, 0xf3, 0xfd, 0xe9, 0xa3, 0xe0, 0xc4, 0x1f, 0x4e, 0x68, 0x1c, 0xbe, 0x44, - 0x37, 0x25, 0x6f, 0x49, 0xcd, 0xfc, 0xd3, 0x0e, 0xd6, 0x97, 0x08, 0x16, 0xd2, 0x11, 0x32, 0xd5, - 0xbe, 0x05, 0xcd, 0x7e, 0xe8, 0xf8, 0xe1, 0xf1, 0x70, 0x4c, 0xe2, 0x4c, 0x08, 0x01, 0xad, 0xfb, - 0x3b, 0xee, 0x80, 0xe9, 0x22, 0xfe, 0x7c, 0x48, 0xfd, 0xba, 0x64, 0x44, 0x42, 0x32, 0xb8, 0x1d, - 0x32, 0xd6, 0x15, 0x5b, 0x08, 0xf0, 0x2f, 0xa0, 0xce, 0xe2, 0x72, 0xc6, 0x2b, 0x0a, 0x63, 0x06, - 0x36, 0x36, 0xc1, 0x2d, 0x98, 0x3d, 0xf6, 0xa7, 0xee, 0x89, 0x13, 0x4d, 0x56, 0x67, 0x1f, 0x5f, - 0x16, 0x59, 0x43, 0x68, 0x26, 0x6e, 0x19, 0x06, 0xdb, 0xd0, 0x38, 0x7c, 0xea, 0xd2, 0xcd, 0x32, - 0x30, 0x8d, 0x56, 0xa5, 0x5d, 0xfd, 0x93, 0x61, 0x22, 0x3b, 0x91, 0xe1, 0x5f, 0x42, 0x9d, 0xfd, - 0xe6, 0x2b, 0x67, 0x55, 0xc1, 0xc2, 0x94, 0x76, 0x6c, 0x63, 0xfd, 0x0d, 0x96, 0xd4, 0xac, 0x6a, - 0x0b, 0x08, 0x43, 0x75, 0xdf, 0x1b, 0x10, 0xbe, 0x4b, 0xd0, 0xdf, 0xd8, 0x82, 0xb9, 0x2e, 0x09, - 0xc2, 0xa1, 0xeb, 0x44, 0xdf, 0x8b, 0xc6, 0x6b, 0xda, 0x29, 0x99, 0x75, 0x13, 0x40, 0x44, 0xc5, - 0x6b, 0x50, 0x8f, 0x37, 0xd4, 0x88, 0x4f, 0x3c, 0xb2, 0xfe, 0x00, 0x2b, 0x9a, 0x85, 0xa8, 0x05, - 0xb2, 0x0a, 0x35, 0x66, 0x10, 0x23, 0x89, 0x06, 0xd6, 0x0b, 0x04, 0x0d, 0xbe, 0x81, 0xe7, 0xe1, - 0xdf, 0x73, 0x82, 0xd3, 0x64, 0x97, 0x73, 0x82, 0x53, 0x3a, 0xd5, 0xed, 0xc1, 0x78, 0x18, 0xd5, - 0x7a, 0xc3, 0x8e, 0x06, 0xf8, 0x77, 0x00, 0x47, 0xfe, 0xf0, 0x6c, 0x38, 0x22, 0x4f, 0x92, 0x0d, - 0x63, 0x3d, 0x7d, 0x4c, 0x24, 0x7a, 0x5b, 0x32, 0xb5, 0x7a, 0x30, 0x9f, 0x52, 0xb2, 0x45, 0x17, - 0x6f, 0x95, 0x31, 0x96, 0x64, 0x4c, 0xeb, 0x29, 0x31, 0x64, 0xa0, 0x6a, 0xb6, 0x10, 0x58, 0x5f, - 0xd7, 0x61, 0x66, 0xd7, 0x1b, 0x8f, 0x1d, 0x77, 0x80, 0x6f, 0x41, 0x35, 0x3c, 0x9f, 0x44, 0x33, - 0x2c, 0xc8, 0x47, 0x5c, 0x6c, 0xb0, 0x73, 0x7c, 0x3e, 0x21, 0x36, 0xb3, 0xb1, 0x5e, 0xd6, 0xa1, - 0x4a, 0x87, 0xf8, 0x1a, 0x2c, 0xef, 0xfa, 0xc4, 0x09, 0x09, 0x4d, 0x70, 0x6c, 0xb8, 0x84, 0xa8, - 0x38, 0x2a, 0x5a, 0x59, 0x6c, 0xe0, 0x0d, 0xb8, 0x16, 0x59, 0x73, 0x78, 0x5c, 0x55, 0xc1, 0xeb, - 0xb0, 0xd2, 0xf5, 0xbd, 0x89, 0xaa, 0xa8, 0xe2, 0x16, 0x6c, 0x45, 0x3e, 0xca, 0x16, 0xc4, 0x2d, - 0x6a, 0x78, 0x1b, 0x36, 0xa9, 0x6b, 0x8e, 0xbe, 0x8e, 0x6f, 0x42, 0xab, 0x4f, 0x42, 0xfd, 0x51, - 0xc0, 0xad, 0x66, 0x68, 0x9c, 0x87, 0x93, 0x41, 0x7e, 0x9c, 0x06, 0xbe, 0x0e, 0xeb, 0x11, 0x12, - 0xb1, 0xf4, 0xb9, 0xb2, 0x49, 0x95, 0x11, 0xe3, 0xac, 0x12, 0x04, 0x07, 0xa5, 0xf8, 0xb8, 0xc5, - 0x2c, 0xe7, 0x90, 0xa3, 0x9f, 0x13, 0x79, 0xa6, 0x5f, 0x9e, 0x8b, 0xe7, 0xf1, 0x0a, 0x2c, 0x52, - 0x37, 0x59, 0xb8, 0x40, 0x6d, 0x23, 0x26, 0xb2, 0x78, 0x91, 0x66, 0xb8, 0x4f, 0xc2, 0xe4, 0xdb, - 0x73, 0xc5, 0x12, 0xc6, 0xb0, 0x40, 0xf3, 0xe3, 0x84, 0x0e, 0x97, 0x2d, 0xe3, 0x2d, 0x30, 0xfb, - 0x24, 0x64, 0x85, 0x9a, 0xf1, 0xc0, 0x22, 0x82, 0xfc, 0x79, 0x57, 0xf0, 0x0d, 0xd8, 0x88, 0x13, - 0x24, 0xad, 0x74, 0xae, 0xbe, 0xc6, 0x52, 0xe4, 0x7b, 0x13, 0x9d, 0x72, 0x8d, 0x4e, 0x69, 0x93, - 0xb1, 0x77, 0x46, 0x8e, 0x88, 0x00, 0xbd, 0x2e, 0x2a, 0x86, 0xf7, 0x18, 0x5c, 0x65, 0xa6, 0x8b, - 0x49, 0x56, 0x6d, 0x50, 0x55, 0x84, 0x4f, 0x55, 0x6d, 0x52, 0x55, 0xf4, 0x9d, 0xd4, 0x09, 0xaf, - 0x0b, 0x95, 0xea, 0xb5, 0x85, 0xd7, 0x00, 0xf7, 0x49, 0xa8, 0xba, 0xdc, 0xc0, 0xab, 0xb0, 0xc4, - 0x28, 0xd1, 0x6f, 0xce, 0xa5, 0xdb, 0xb7, 0x1a, 0x8d, 0xc1, 0xd2, 0xc5, 0xc5, 0xc5, 0x85, 0x61, - 0xbd, 0x89, 0x34, 0xeb, 0x23, 0xe9, 0x84, 0x90, 0xd4, 0x09, 0x61, 0xa8, 0xda, 0x8e, 0x3b, 0x88, - 0x5b, 0x58, 0xf6, 0xbb, 0xb3, 0x07, 0x33, 0x27, 0xb1, 0xcb, 0x72, 0x66, 0x39, 0x9a, 0xa4, 0x85, - 0xda, 0xb3, 0x9d, 0xeb, 0x92, 0x42, 0x0d, 0x64, 0x73, 0x77, 0xeb, 0x0d, 0xa4, 0x59, 0x90, 0x99, - 0x1d, 0x7f, 0x15, 0x6a, 0x77, 0x3d, 0xff, 0x24, 0xda, 0x27, 0x1a, 0x76, 0x34, 0x28, 0x41, 0xf1, - 0x58, 0x45, 0x91, 0x09, 0x23, 0x50, 0x7c, 0x8e, 0x72, 0xd6, 0xbf, 0x76, 0x27, 0xbd, 0x07, 0x8b, - 0xd9, 0xae, 0x0e, 0x95, 0xb7, 0x68, 0xaa, 0x57, 0xe7, 0x2f, 0x85, 0x04, 0x9e, 0xb0, 0x39, 0x7f, - 0xa2, 0xa6, 0x51, 0x41, 0x28, 0x48, 0x4c, 0xb5, 0x1b, 0x95, 0x8e, 0x41, 0xe7, 0xcf, 0x85, 0x81, - 0x4f, 0x55, 0x32, 0x9a, 0x69, 0x45, 0xd8, 0xaf, 0x50, 0xf1, 0x3e, 0x58, 0x78, 0x08, 0x68, 0x53, - 0x69, 0xbc, 0x42, 0x2a, 0xfb, 0x85, 0x8c, 0x86, 0x8c, 0xd1, 0xcf, 0xd5, 0x54, 0xea, 0x01, 0x0b, - 0x6a, 0xef, 0xa2, 0xa2, 0x0d, 0xbc, 0x90, 0x18, 0xcf, 0xba, 0x21, 0x65, 0xfd, 0x41, 0x21, 0xc6, - 0xbf, 0x33, 0x8c, 0x37, 0xd3, 0x59, 0x2f, 0x43, 0xf8, 0x21, 0x2a, 0x3f, 0x42, 0xae, 0x8c, 0xf3, - 0xaf, 0x85, 0x38, 0xff, 0xc1, 0x70, 0xde, 0x92, 0x7a, 0xaa, 0x92, 0xf8, 0x02, 0xed, 0xb7, 0xa8, - 0xf8, 0x28, 0xbb, 0x2a, 0x52, 0xda, 0xad, 0x1e, 0x90, 0xa7, 0x4c, 0x1c, 0xdf, 0xd2, 0xe2, 0x61, - 0xaa, 0xdd, 0xaf, 0x2a, 0x57, 0x10, 0xb9, 0x7d, 0xaf, 0xa5, 0xaf, 0x14, 0x25, 0x75, 0x34, 0x52, - 0xeb, 0xa8, 0x88, 0x8d, 0xe0, 0xfd, 0x29, 0xca, 0x3d, 0xa0, 0x0b, 0x29, 0xaf, 0x41, 0x3d, 0x75, - 0x6b, 0x8c, 0x47, 0xb4, 0x75, 0xa2, 0x2d, 0x79, 0x10, 0x3a, 0xe3, 0x49, 0xdc, 0xa6, 0x0b, 0x41, - 0xe7, 0xa0, 0x90, 0xc2, 0x98, 0x51, 0xf8, 0xa9, 0xba, 0x14, 0x32, 0xc0, 0x04, 0xfa, 0xcf, 0x50, - 0x6e, 0x07, 0xf1, 0x4a, 0xe8, 0x2d, 0x98, 0x4b, 0xbd, 0x1a, 0x44, 0x2f, 0x20, 0x29, 0x59, 0x09, - 0x07, 0x57, 0xe5, 0x90, 0x03, 0x4f, 0x70, 0xf8, 0x04, 0x15, 0x37, 0x3a, 0x57, 0xae, 0xbc, 0xa4, - 0x09, 0xaf, 0x48, 0x4d, 0x78, 0x49, 0xf5, 0x78, 0xfa, 0x5d, 0x48, 0x8f, 0x28, 0xbb, 0x0b, 0xbd, - 0x1e, 0xe4, 0x25, 0xbb, 0xd0, 0x44, 0xb7, 0x0b, 0x95, 0x21, 0x7c, 0x89, 0x34, 0x4d, 0xe0, 0x0f, - 0xbb, 0x84, 0x94, 0x1c, 0xee, 0xff, 0xd4, 0xb7, 0x18, 0x52, 0x78, 0x81, 0x6e, 0x9c, 0x69, 0x45, - 0xb5, 0x67, 0xe2, 0xdd, 0xc2, 0x80, 0x3e, 0x0b, 0xb8, 0x91, 0xce, 0x8b, 0x36, 0x1c, 0xed, 0xac, - 0x32, 0x5d, 0xee, 0x65, 0x93, 0x51, 0x42, 0x3b, 0x50, 0x69, 0x67, 0x02, 0x09, 0x1c, 0x1f, 0x23, - 0x6d, 0x5b, 0x4d, 0xeb, 0x85, 0xda, 0xbb, 0x02, 0x4d, 0x32, 0x4e, 0xd5, 0x92, 0x51, 0x74, 0x5f, - 0xab, 0x28, 0xf7, 0xb5, 0x92, 0x8e, 0x22, 0x54, 0x3b, 0x0a, 0x0d, 0x30, 0x81, 0xfc, 0xb9, 0xda, - 0xf6, 0x63, 0x2b, 0x7a, 0x63, 0x65, 0x78, 0x67, 0x3b, 0x0b, 0xe9, 0x47, 0x4e, 0x9b, 0xe9, 0x3a, - 0x77, 0x0a, 0x11, 0x4c, 0x19, 0x02, 0x33, 0x7d, 0x6a, 0x89, 0x08, 0x22, 0xf8, 0x3b, 0x28, 0xff, - 0x82, 0x51, 0x98, 0xbb, 0xa4, 0x8c, 0x0d, 0xb9, 0x8c, 0x0f, 0x0b, 0x51, 0x9d, 0x31, 0x54, 0x56, - 0x0a, 0x95, 0x36, 0xb2, 0xc0, 0xf7, 0x02, 0x69, 0xae, 0x38, 0x97, 0x79, 0xd2, 0x2c, 0x29, 0xad, - 0xa7, 0xfa, 0xd2, 0xd2, 0xb6, 0xcb, 0xdf, 0xa1, 0x82, 0xfb, 0x54, 0xee, 0xeb, 0x5b, 0x5e, 0x61, - 0xb5, 0xb3, 0x3d, 0x60, 0xb4, 0xa9, 0xaa, 0xe2, 0xe4, 0x09, 0xa6, 0x5a, 0xf0, 0x04, 0x53, 0xcb, - 0x3e, 0xc1, 0x74, 0x8e, 0x0a, 0x99, 0x9f, 0x33, 0xe6, 0x3f, 0xcb, 0x9c, 0x88, 0x59, 0x6a, 0x22, - 0x03, 0x5f, 0xa0, 0xdc, 0x2b, 0xe3, 0x8f, 0xc7, 0xbf, 0xe4, 0x54, 0xfc, 0x57, 0xe6, 0x54, 0xd4, - 0x03, 0x4c, 0xd7, 0x52, 0xe6, 0x6e, 0x9b, 0xd4, 0x12, 0x12, 0xb5, 0x74, 0x7b, 0x30, 0xf0, 0x79, - 0x2d, 0xd1, 0xdf, 0x25, 0xb5, 0xf4, 0x5c, 0xad, 0xa5, 0x4c, 0x10, 0x81, 0xe1, 0x23, 0x94, 0x73, - 0x91, 0xa6, 0x39, 0xdb, 0x3b, 0x3e, 0x3e, 0x62, 0xb1, 0xe3, 0xc5, 0xc6, 0xc7, 0xf1, 0xf3, 0xbc, - 0x04, 0x8b, 0x0f, 0x93, 0xeb, 0x6a, 0x45, 0xba, 0xae, 0x16, 0xdf, 0xb3, 0xfe, 0xad, 0xbf, 0x67, - 0x29, 0x70, 0x52, 0xa7, 0x9d, 0xfe, 0x7e, 0xff, 0x6a, 0x88, 0x4b, 0xd0, 0xfd, 0x27, 0xff, 0x16, - 0xa8, 0x45, 0xf7, 0x1e, 0xca, 0x79, 0x62, 0xb8, 0xfa, 0xdf, 0x1e, 0x86, 0xf4, 0xb7, 0x47, 0x09, - 0xca, 0xff, 0xaa, 0x28, 0xb5, 0x10, 0xe4, 0xbb, 0xaa, 0xfe, 0xb1, 0x43, 0x05, 0x59, 0x12, 0xf6, - 0x7f, 0x6a, 0x58, 0xed, 0xa4, 0x22, 0xec, 0x59, 0xce, 0x43, 0x4a, 0x26, 0xec, 0x7e, 0x61, 0xd8, - 0x0b, 0xa4, 0x8f, 0x9b, 0x4b, 0xf7, 0x2e, 0xbd, 0x71, 0x04, 0x13, 0xcf, 0x0d, 0x08, 0x0d, 0x75, - 0x78, 0x9f, 0x85, 0x6a, 0xd8, 0xc6, 0xe1, 0x7d, 0x7a, 0x6e, 0xdc, 0xf1, 0x7d, 0xcf, 0x67, 0x6f, - 0x08, 0x4d, 0x3b, 0x1a, 0x88, 0x7f, 0x0e, 0x2b, 0x6c, 0x1d, 0x46, 0x03, 0xeb, 0x03, 0xa4, 0x7b, - 0xee, 0x79, 0x8d, 0x2b, 0xa5, 0xf8, 0x18, 0x7f, 0x11, 0xf1, 0xde, 0x4a, 0x9d, 0x57, 0xb9, 0xc9, - 0x1e, 0x65, 0x9f, 0xa0, 0x32, 0x79, 0x2e, 0xde, 0x47, 0xfe, 0x1f, 0xc5, 0xdb, 0x54, 0xb6, 0x34, - 0x69, 0xc2, 0x24, 0xda, 0xf7, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x93, 0x44, 0x75, 0xa7, 0x1d, - 0x00, 0x00, +func file_meta_proto_rawDescGZIP() []byte { + file_meta_proto_rawDescOnce.Do(func() { + file_meta_proto_rawDescData = protoimpl.X.CompressGZIP(file_meta_proto_rawDescData) + }) + return file_meta_proto_rawDescData +} + +var file_meta_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_meta_proto_msgTypes = make([]protoimpl.MessageInfo, 43) +var file_meta_proto_goTypes = []interface{}{ + (Command_Type)(0), // 0: internal.Command.Type + (*Data)(nil), // 1: internal.Data + (*NodeInfo)(nil), // 2: internal.NodeInfo + (*DatabaseInfo)(nil), // 3: internal.DatabaseInfo + (*RetentionPolicySpec)(nil), // 4: internal.RetentionPolicySpec + (*RetentionPolicyInfo)(nil), // 5: internal.RetentionPolicyInfo + (*ShardGroupInfo)(nil), // 6: internal.ShardGroupInfo + (*ShardInfo)(nil), // 7: internal.ShardInfo + (*SubscriptionInfo)(nil), // 8: internal.SubscriptionInfo + (*ShardOwner)(nil), // 9: internal.ShardOwner + (*ContinuousQueryInfo)(nil), // 10: internal.ContinuousQueryInfo + (*UserInfo)(nil), // 11: internal.UserInfo + (*UserPrivilege)(nil), // 12: internal.UserPrivilege + (*Command)(nil), // 13: internal.Command + (*CreateNodeCommand)(nil), // 14: internal.CreateNodeCommand + (*DeleteNodeCommand)(nil), // 15: internal.DeleteNodeCommand + (*CreateDatabaseCommand)(nil), // 16: internal.CreateDatabaseCommand + (*DropDatabaseCommand)(nil), // 17: internal.DropDatabaseCommand + (*CreateRetentionPolicyCommand)(nil), // 18: internal.CreateRetentionPolicyCommand + (*DropRetentionPolicyCommand)(nil), // 19: internal.DropRetentionPolicyCommand + (*SetDefaultRetentionPolicyCommand)(nil), // 20: internal.SetDefaultRetentionPolicyCommand + (*UpdateRetentionPolicyCommand)(nil), // 21: internal.UpdateRetentionPolicyCommand + (*CreateShardGroupCommand)(nil), // 22: internal.CreateShardGroupCommand + (*DeleteShardGroupCommand)(nil), // 23: internal.DeleteShardGroupCommand + (*CreateContinuousQueryCommand)(nil), // 24: internal.CreateContinuousQueryCommand + (*DropContinuousQueryCommand)(nil), // 25: internal.DropContinuousQueryCommand + (*CreateUserCommand)(nil), // 26: internal.CreateUserCommand + (*DropUserCommand)(nil), // 27: internal.DropUserCommand + (*UpdateUserCommand)(nil), // 28: internal.UpdateUserCommand + (*SetPrivilegeCommand)(nil), // 29: internal.SetPrivilegeCommand + (*SetDataCommand)(nil), // 30: internal.SetDataCommand + (*SetAdminPrivilegeCommand)(nil), // 31: internal.SetAdminPrivilegeCommand + (*UpdateNodeCommand)(nil), // 32: internal.UpdateNodeCommand + (*CreateSubscriptionCommand)(nil), // 33: internal.CreateSubscriptionCommand + (*DropSubscriptionCommand)(nil), // 34: internal.DropSubscriptionCommand + (*RemovePeerCommand)(nil), // 35: internal.RemovePeerCommand + (*CreateMetaNodeCommand)(nil), // 36: internal.CreateMetaNodeCommand + (*CreateDataNodeCommand)(nil), // 37: internal.CreateDataNodeCommand + (*UpdateDataNodeCommand)(nil), // 38: internal.UpdateDataNodeCommand + (*DeleteMetaNodeCommand)(nil), // 39: internal.DeleteMetaNodeCommand + (*DeleteDataNodeCommand)(nil), // 40: internal.DeleteDataNodeCommand + (*Response)(nil), // 41: internal.Response + (*SetMetaNodeCommand)(nil), // 42: internal.SetMetaNodeCommand + (*DropShardCommand)(nil), // 43: internal.DropShardCommand +} +var file_meta_proto_depIdxs = []int32{ + 2, // 0: internal.Data.Nodes:type_name -> internal.NodeInfo + 3, // 1: internal.Data.Databases:type_name -> internal.DatabaseInfo + 11, // 2: internal.Data.Users:type_name -> internal.UserInfo + 2, // 3: internal.Data.DataNodes:type_name -> internal.NodeInfo + 2, // 4: internal.Data.MetaNodes:type_name -> internal.NodeInfo + 5, // 5: internal.DatabaseInfo.RetentionPolicies:type_name -> internal.RetentionPolicyInfo + 10, // 6: internal.DatabaseInfo.ContinuousQueries:type_name -> internal.ContinuousQueryInfo + 6, // 7: internal.RetentionPolicyInfo.ShardGroups:type_name -> internal.ShardGroupInfo + 8, // 8: internal.RetentionPolicyInfo.Subscriptions:type_name -> internal.SubscriptionInfo + 7, // 9: internal.ShardGroupInfo.Shards:type_name -> internal.ShardInfo + 9, // 10: internal.ShardInfo.Owners:type_name -> internal.ShardOwner + 12, // 11: internal.UserInfo.Privileges:type_name -> internal.UserPrivilege + 0, // 12: internal.Command.type:type_name -> internal.Command.Type + 5, // 13: internal.CreateDatabaseCommand.RetentionPolicy:type_name -> internal.RetentionPolicyInfo + 5, // 14: internal.CreateRetentionPolicyCommand.RetentionPolicy:type_name -> internal.RetentionPolicyInfo + 1, // 15: internal.SetDataCommand.Data:type_name -> internal.Data + 13, // 16: internal.CreateNodeCommand.command:extendee -> internal.Command + 13, // 17: internal.DeleteNodeCommand.command:extendee -> internal.Command + 13, // 18: internal.CreateDatabaseCommand.command:extendee -> internal.Command + 13, // 19: internal.DropDatabaseCommand.command:extendee -> internal.Command + 13, // 20: internal.CreateRetentionPolicyCommand.command:extendee -> internal.Command + 13, // 21: internal.DropRetentionPolicyCommand.command:extendee -> internal.Command + 13, // 22: internal.SetDefaultRetentionPolicyCommand.command:extendee -> internal.Command + 13, // 23: internal.UpdateRetentionPolicyCommand.command:extendee -> internal.Command + 13, // 24: internal.CreateShardGroupCommand.command:extendee -> internal.Command + 13, // 25: internal.DeleteShardGroupCommand.command:extendee -> internal.Command + 13, // 26: internal.CreateContinuousQueryCommand.command:extendee -> internal.Command + 13, // 27: internal.DropContinuousQueryCommand.command:extendee -> internal.Command + 13, // 28: internal.CreateUserCommand.command:extendee -> internal.Command + 13, // 29: internal.DropUserCommand.command:extendee -> internal.Command + 13, // 30: internal.UpdateUserCommand.command:extendee -> internal.Command + 13, // 31: internal.SetPrivilegeCommand.command:extendee -> internal.Command + 13, // 32: internal.SetDataCommand.command:extendee -> internal.Command + 13, // 33: internal.SetAdminPrivilegeCommand.command:extendee -> internal.Command + 13, // 34: internal.UpdateNodeCommand.command:extendee -> internal.Command + 13, // 35: internal.CreateSubscriptionCommand.command:extendee -> internal.Command + 13, // 36: internal.DropSubscriptionCommand.command:extendee -> internal.Command + 13, // 37: internal.RemovePeerCommand.command:extendee -> internal.Command + 13, // 38: internal.CreateMetaNodeCommand.command:extendee -> internal.Command + 13, // 39: internal.CreateDataNodeCommand.command:extendee -> internal.Command + 13, // 40: internal.UpdateDataNodeCommand.command:extendee -> internal.Command + 13, // 41: internal.DeleteMetaNodeCommand.command:extendee -> internal.Command + 13, // 42: internal.DeleteDataNodeCommand.command:extendee -> internal.Command + 13, // 43: internal.SetMetaNodeCommand.command:extendee -> internal.Command + 13, // 44: internal.DropShardCommand.command:extendee -> internal.Command + 14, // 45: internal.CreateNodeCommand.command:type_name -> internal.CreateNodeCommand + 15, // 46: internal.DeleteNodeCommand.command:type_name -> internal.DeleteNodeCommand + 16, // 47: internal.CreateDatabaseCommand.command:type_name -> internal.CreateDatabaseCommand + 17, // 48: internal.DropDatabaseCommand.command:type_name -> internal.DropDatabaseCommand + 18, // 49: internal.CreateRetentionPolicyCommand.command:type_name -> internal.CreateRetentionPolicyCommand + 19, // 50: internal.DropRetentionPolicyCommand.command:type_name -> internal.DropRetentionPolicyCommand + 20, // 51: internal.SetDefaultRetentionPolicyCommand.command:type_name -> internal.SetDefaultRetentionPolicyCommand + 21, // 52: internal.UpdateRetentionPolicyCommand.command:type_name -> internal.UpdateRetentionPolicyCommand + 22, // 53: internal.CreateShardGroupCommand.command:type_name -> internal.CreateShardGroupCommand + 23, // 54: internal.DeleteShardGroupCommand.command:type_name -> internal.DeleteShardGroupCommand + 24, // 55: internal.CreateContinuousQueryCommand.command:type_name -> internal.CreateContinuousQueryCommand + 25, // 56: internal.DropContinuousQueryCommand.command:type_name -> internal.DropContinuousQueryCommand + 26, // 57: internal.CreateUserCommand.command:type_name -> internal.CreateUserCommand + 27, // 58: internal.DropUserCommand.command:type_name -> internal.DropUserCommand + 28, // 59: internal.UpdateUserCommand.command:type_name -> internal.UpdateUserCommand + 29, // 60: internal.SetPrivilegeCommand.command:type_name -> internal.SetPrivilegeCommand + 30, // 61: internal.SetDataCommand.command:type_name -> internal.SetDataCommand + 31, // 62: internal.SetAdminPrivilegeCommand.command:type_name -> internal.SetAdminPrivilegeCommand + 32, // 63: internal.UpdateNodeCommand.command:type_name -> internal.UpdateNodeCommand + 33, // 64: internal.CreateSubscriptionCommand.command:type_name -> internal.CreateSubscriptionCommand + 34, // 65: internal.DropSubscriptionCommand.command:type_name -> internal.DropSubscriptionCommand + 35, // 66: internal.RemovePeerCommand.command:type_name -> internal.RemovePeerCommand + 36, // 67: internal.CreateMetaNodeCommand.command:type_name -> internal.CreateMetaNodeCommand + 37, // 68: internal.CreateDataNodeCommand.command:type_name -> internal.CreateDataNodeCommand + 38, // 69: internal.UpdateDataNodeCommand.command:type_name -> internal.UpdateDataNodeCommand + 39, // 70: internal.DeleteMetaNodeCommand.command:type_name -> internal.DeleteMetaNodeCommand + 40, // 71: internal.DeleteDataNodeCommand.command:type_name -> internal.DeleteDataNodeCommand + 42, // 72: internal.SetMetaNodeCommand.command:type_name -> internal.SetMetaNodeCommand + 43, // 73: internal.DropShardCommand.command:type_name -> internal.DropShardCommand + 74, // [74:74] is the sub-list for method output_type + 74, // [74:74] is the sub-list for method input_type + 45, // [45:74] is the sub-list for extension type_name + 16, // [16:45] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_meta_proto_init() } +func file_meta_proto_init() { + if File_meta_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_meta_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Data); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatabaseInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetentionPolicySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetentionPolicyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShardGroupInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscriptionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShardOwner); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContinuousQueryInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPrivilege); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Command); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_meta_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDatabaseCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropDatabaseCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRetentionPolicyCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropRetentionPolicyCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDefaultRetentionPolicyCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRetentionPolicyCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateShardGroupCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteShardGroupCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateContinuousQueryCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropContinuousQueryCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropUserCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPrivilegeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDataCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAdminPrivilegeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSubscriptionCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropSubscriptionCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemovePeerCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateMetaNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateDataNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDataNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteMetaNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteDataNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Response); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMetaNodeCommand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_meta_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropShardCommand); 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_meta_proto_rawDesc, + NumEnums: 1, + NumMessages: 43, + NumExtensions: 29, + NumServices: 0, + }, + GoTypes: file_meta_proto_goTypes, + DependencyIndexes: file_meta_proto_depIdxs, + EnumInfos: file_meta_proto_enumTypes, + MessageInfos: file_meta_proto_msgTypes, + ExtensionInfos: file_meta_proto_extTypes, + }.Build() + File_meta_proto = out.File + file_meta_proto_rawDesc = nil + file_meta_proto_goTypes = nil + file_meta_proto_depIdxs = nil } diff --git a/internal/backup_restore/meta.proto b/internal/backup_restore/meta.proto index b5b1996..af06d27 100644 --- a/internal/backup_restore/meta.proto +++ b/internal/backup_restore/meta.proto @@ -1,8 +1,10 @@ // NOTE: This is a snapshot of the schema used to serialize V1 database info // in the 2.0.x line of InfluxDB. The copy is here so we can support backing // up from older DB versions, it's not intended to be kept up-to-date. +syntax = "proto2"; package internal; +option go_package = ".;backup_restore"; //======================================================================== // diff --git a/tools.go b/tools.go index b89270a..830ccbc 100644 --- a/tools.go +++ b/tools.go @@ -12,8 +12,8 @@ package influxcli import ( _ "github.com/daixiang0/gci" - _ "github.com/gogo/protobuf/protoc-gen-gogo" _ "github.com/golang/mock/mockgen" _ "golang.org/x/tools/cmd/goimports" + _ "google.golang.org/protobuf/cmd/protoc-gen-go" _ "honnef.co/go/tools/cmd/staticcheck" )