From a6c3145fdb50093287d0d18237e3aa2f5729fa3c Mon Sep 17 00:00:00 2001 From: Gennady Lipenkov Date: Tue, 10 Sep 2019 18:52:55 +0300 Subject: [PATCH] update yandex-cloud/go-sdk & yandex-cloud/go-genproto --- go.mod | 4 +- go.sum | 4 + .../go-genproto/yandex/api/operation.pb.go | 27 +- .../yandex/cloud/access/access.pb.go | 93 +- .../yandex/cloud/compute/v1/disk.pb.go | 97 +- .../cloud/compute/v1/disk_service.pb.go | 341 +- .../yandex/cloud/compute/v1/disk_type.pb.go | 23 +- .../cloud/compute/v1/disk_type_service.pb.go | 121 +- .../yandex/cloud/compute/v1/image.pb.go | 44 +- .../cloud/compute/v1/image_service.pb.go | 395 +-- .../yandex/cloud/compute/v1/instance.pb.go | 251 +- .../cloud/compute/v1/instance_service.pb.go | 881 +++-- .../v1/instancegroup/instance_group.pb.go | 2296 ++++++++++++ .../instance_group_service.pb.go | 1770 ++++++++++ .../yandex/cloud/compute/v1/snapshot.pb.go | 31 +- .../cloud/compute/v1/snapshot_service.pb.go | 265 +- .../yandex/cloud/compute/v1/zone.pb.go | 31 +- .../cloud/compute/v1/zone_service.pb.go | 121 +- .../cloud/containerregistry/v1/blob.pb.go | 23 +- .../cloud/containerregistry/v1/image.pb.go | 25 +- .../containerregistry/v1/image_service.pb.go | 172 +- .../cloud/containerregistry/v1/registry.pb.go | 31 +- .../v1/registry_service.pb.go | 236 +- .../containerregistry/v1/repository.pb.go | 23 +- .../v1/repository_service.pb.go | 115 +- .../yandex/cloud/endpoint/api_endpoint.pb.go | 23 +- .../cloud/endpoint/api_endpoint_service.pb.go | 113 +- .../yandex/cloud/iam/v1/api_key.pb.go | 27 +- .../yandex/cloud/iam/v1/api_key_service.pb.go | 172 +- .../iam/v1/awscompatibility/access_key.pb.go | 27 +- .../awscompatibility/access_key_service.pb.go | 178 +- .../cloud/iam/v1/iam_token_service.pb.go | 173 +- .../go-genproto/yandex/cloud/iam/v1/key.pb.go | 97 +- .../yandex/cloud/iam/v1/key_service.pb.go | 188 +- .../yandex/cloud/iam/v1/role.pb.go | 25 +- .../yandex/cloud/iam/v1/role_service.pb.go | 121 +- .../yandex/cloud/iam/v1/service_account.pb.go | 29 +- .../iam/v1/service_account_service.pb.go | 280 +- .../yandex/cloud/iam/v1/user_account.pb.go | 86 +- .../cloud/iam/v1/user_account_service.pb.go | 86 +- ...yandex_passport_user_account_service.pb.go | 88 +- .../yandex/cloud/iot/devices/v1/device.pb.go | 206 ++ .../cloud/iot/devices/v1/device_service.pb.go | 1404 ++++++++ .../cloud/iot/devices/v1/registry.pb.go | 265 ++ .../iot/devices/v1/registry_service.pb.go | 1506 ++++++++ .../cloud/loadbalancer/v1/health_check.pb.go | 113 +- .../v1/network_load_balancer.pb.go | 231 +- .../v1/network_load_balancer_service.pb.go | 573 +-- .../cloud/loadbalancer/v1/target_group.pb.go | 36 +- .../v1/target_group_service.pb.go | 321 +- .../cloud/mdb/clickhouse/v1/backup.pb.go | 28 +- .../mdb/clickhouse/v1/backup_service.pb.go | 127 +- .../cloud/mdb/clickhouse/v1/cluster.pb.go | 396 ++- .../mdb/clickhouse/v1/cluster_service.pb.go | 1397 +++++--- .../mdb/clickhouse/v1/config/clickhouse.pb.go | 743 ++-- .../cloud/mdb/clickhouse/v1/database.pb.go | 32 +- .../mdb/clickhouse/v1/database_service.pb.go | 195 +- .../mdb/clickhouse/v1/resource_preset.pb.go | 23 +- .../v1/resource_preset_service.pb.go | 127 +- .../yandex/cloud/mdb/clickhouse/v1/user.pb.go | 611 +++- .../mdb/clickhouse/v1/user_service.pb.go | 294 +- .../yandex/cloud/mdb/mongodb/v1/backup.pb.go | 25 +- .../cloud/mdb/mongodb/v1/backup_service.pb.go | 137 +- .../yandex/cloud/mdb/mongodb/v1/cluster.pb.go | 708 ++-- .../mdb/mongodb/v1/cluster_service.pb.go | 1261 ++++--- .../mdb/mongodb/v1/config/mongodb3_6.pb.go | 205 +- .../mdb/mongodb/v1/config/mongodb4_0.pb.go | 1130 ++++++ .../cloud/mdb/mongodb/v1/database.pb.go | 49 +- .../mdb/mongodb/v1/database_service.pb.go | 204 +- .../mdb/mongodb/v1/resource_preset.pb.go | 23 +- .../mongodb/v1/resource_preset_service.pb.go | 125 +- .../yandex/cloud/mdb/mongodb/v1/user.pb.go | 39 +- .../cloud/mdb/mongodb/v1/user_service.pb.go | 282 +- .../yandex/cloud/mdb/mysql/v1/backup.pb.go | 130 + .../cloud/mdb/mysql/v1/backup_service.pb.go | 349 ++ .../yandex/cloud/mdb/mysql/v1/cluster.pb.go | 936 +++++ .../cloud/mdb/mysql/v1/cluster_service.pb.go | 3097 +++++++++++++++++ .../cloud/mdb/mysql/v1/config/mysql5_7.pb.go | 361 ++ .../yandex/cloud/mdb/mysql/v1/database.pb.go | 141 + .../cloud/mdb/mysql/v1/database_service.pb.go | 655 ++++ .../cloud/mdb/mysql/v1/resource_preset.pb.go | 114 + .../mysql/v1/resource_preset_service.pb.go | 339 ++ .../yandex/cloud/mdb/mysql/v1/user.pb.go | 341 ++ .../cloud/mdb/mysql/v1/user_service.pb.go | 1137 ++++++ .../cloud/mdb/postgresql/v1/backup.pb.go | 25 +- .../mdb/postgresql/v1/backup_service.pb.go | 127 +- .../cloud/mdb/postgresql/v1/cluster.pb.go | 564 ++- .../mdb/postgresql/v1/cluster_service.pb.go | 943 +++-- .../mdb/postgresql/v1/config/host10.pb.go | 467 ++- .../mdb/postgresql/v1/config/host11.pb.go | 463 ++- .../mdb/postgresql/v1/config/host9_6.pb.go | 69 +- .../postgresql/v1/config/postgresql10.pb.go | 587 ++-- .../postgresql/v1/config/postgresql11.pb.go | 583 ++-- .../postgresql/v1/config/postgresql9_6.pb.go | 86 +- .../cloud/mdb/postgresql/v1/database.pb.go | 41 +- .../mdb/postgresql/v1/database_service.pb.go | 240 +- .../mdb/postgresql/v1/resource_preset.pb.go | 23 +- .../v1/resource_preset_service.pb.go | 127 +- .../yandex/cloud/mdb/postgresql/v1/user.pb.go | 247 +- .../mdb/postgresql/v1/user_service.pb.go | 346 +- .../yandex/cloud/mdb/redis/v1/backup.pb.go | 80 +- .../cloud/mdb/redis/v1/backup_service.pb.go | 125 +- .../yandex/cloud/mdb/redis/v1/cluster.pb.go | 436 ++- .../cloud/mdb/redis/v1/cluster_service.pb.go | 1494 ++++++-- .../cloud/mdb/redis/v1/config/redis5_0.pb.go | 40 +- .../cloud/mdb/redis/v1/resource_preset.pb.go | 23 +- .../redis/v1/resource_preset_service.pb.go | 122 +- .../yandex/cloud/operation/operation.pb.go | 104 +- .../cloud/operation/operation_service.pb.go | 98 +- .../cloud/resourcemanager/v1/cloud.pb.go | 27 +- .../resourcemanager/v1/cloud_service.pb.go | 349 +- .../cloud/resourcemanager/v1/folder.pb.go | 33 +- .../resourcemanager/v1/folder_service.pb.go | 292 +- .../serverless/functions/v1/function.pb.go | 452 +++ .../functions/v1/function_service.pb.go | 2144 ++++++++++++ .../yandex/cloud/validation/validation.pb.go | 31 +- .../yandex/cloud/vpc/v1/network.pb.go | 27 +- .../yandex/cloud/vpc/v1/network_service.pb.go | 290 +- .../yandex/cloud/vpc/v1/route_table.pb.go | 181 +- .../cloud/vpc/v1/route_table_service.pb.go | 271 +- .../yandex/cloud/vpc/v1/subnet.pb.go | 27 +- .../yandex/cloud/vpc/v1/subnet_service.pb.go | 275 +- .../yandex-cloud/go-sdk/credentials.go | 123 +- .../yandex-cloud/go-sdk/dial/dialer.go | 4 +- .../yandex-cloud/go-sdk/functions.go | 13 + .../compute/instancegroup/instancegroup.go | 113 + .../instancegroup/instancegroup_group.go | 24 + .../go-sdk/gen/functions/function.go | 149 + .../go-sdk/gen/functions/functions_group.go | 24 + .../go-sdk/gen/iot/devices/device.go | 104 + .../go-sdk/gen/iot/devices/devices_group.go | 29 + .../go-sdk/gen/iot/devices/registry.go | 113 + .../go-sdk/gen/mdb/clickhouse/cluster.go | 27 + .../go-sdk/gen/mdb/mysql/backup.go | 40 + .../go-sdk/gen/mdb/mysql/cluster.go | 176 + .../go-sdk/gen/mdb/mysql/database.go | 59 + .../go-sdk/gen/mdb/mysql/mysql_group.go | 44 + .../go-sdk/gen/mdb/mysql/resourcepreset.go | 40 + .../yandex-cloud/go-sdk/gen/mdb/mysql/user.go | 86 + .../go-sdk/gen/mdb/redis/cluster.go | 54 + .../go-sdk/gen/resourcemanager/cloud.go | 9 + .../go-sdk/iamkey/generate_proto.sh | 2 +- .../yandex-cloud/go-sdk/instance_group.go | 10 + .../yandex-cloud/go-sdk/instance_metadata.go | 11 + vendor/github.com/yandex-cloud/go-sdk/iot.go | 24 + vendor/github.com/yandex-cloud/go-sdk/mdb.go | 6 + .../go-sdk/pkg/singleflight/singleflight.go | 31 +- .../yandex-cloud/go-sdk/rpc_credentials.go | 57 +- vendor/github.com/yandex-cloud/go-sdk/sdk.go | 40 +- .../go-sdk/sdkresolvers/base_resolver.go | 204 ++ .../go-sdk/sdkresolvers/cloud_resolver.go | 31 + .../container_registry_resolver.go | 36 + .../go-sdk/sdkresolvers/disk_resolver.go | 34 + .../go-sdk/sdkresolvers/folder_resolver.go | 37 + .../go-sdk/sdkresolvers/function_resolver.go | 37 + .../go-sdk/sdkresolvers/image_resolver.go | 64 + .../sdkresolvers/instance_group_resolver.go | 37 + .../go-sdk/sdkresolvers/instance_resolver.go | 37 + .../sdkresolvers/load_balancer_resolver.go | 61 + .../go-sdk/sdkresolvers/mdb_resolvers.go | 134 + .../go-sdk/sdkresolvers/net_resolver.go | 61 + .../sdkresolvers/route_table_resolver.go | 37 + .../sdkresolvers/service_account_resolver.go | 37 + .../go-sdk/sdkresolvers/snapshot_resolver.go | 34 + .../sdkresolvers/user_account_resolver.go | 29 + vendor/modules.txt | 14 +- 166 files changed, 34468 insertions(+), 9276 deletions(-) create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config/mysql5_7.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function_service.pb.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/functions.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup_group.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/functions/function.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/functions/functions_group.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/device.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/devices_group.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/registry.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/backup.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/cluster.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/database.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/mysql_group.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/resourcepreset.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/user.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/instance_group.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/instance_metadata.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/iot.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/base_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/cloud_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/container_registry_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/disk_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/folder_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/function_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/image_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_group_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/load_balancer_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/mdb_resolvers.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/net_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/route_table_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/service_account_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/snapshot_resolver.go create mode 100644 vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/user_account_resolver.go diff --git a/go.mod b/go.mod index 33eb56496..dbf1f0932 100644 --- a/go.mod +++ b/go.mod @@ -121,8 +121,8 @@ require ( github.com/ulikunitz/xz v0.5.5 github.com/vmware/govmomi v0.0.0-20170707011325-c2105a174311 github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0 - github.com/yandex-cloud/go-genproto v0.0.0-20190401174212-1db0ef3dce9b - github.com/yandex-cloud/go-sdk v0.0.0-20190402114215-3fc1d6947035 + github.com/yandex-cloud/go-genproto v0.0.0-20190802103534-6089d9ff8d82 + github.com/yandex-cloud/go-sdk v0.0.0-20190802103531-4ab1dac90bf7 golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 golang.org/x/net v0.0.0-20190620200207-3b0461eec859 golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 diff --git a/go.sum b/go.sum index 86ba555f2..cd1afbb76 100644 --- a/go.sum +++ b/go.sum @@ -365,8 +365,12 @@ github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0 h1:NJrcIkdzq0C github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0/go.mod h1:sBh287mCRwCz6zyXHMmw7sSZGPohVpnx+o+OY4M+i3A= github.com/yandex-cloud/go-genproto v0.0.0-20190401174212-1db0ef3dce9b h1:WcWw17zHjM1QoM5dPD2XUK9S0wSKlyohlCMeb1rwr0g= github.com/yandex-cloud/go-genproto v0.0.0-20190401174212-1db0ef3dce9b/go.mod h1:HEUYX/p8966tMUHHT+TsS0hF/Ca/NYwqprC5WXSDMfE= +github.com/yandex-cloud/go-genproto v0.0.0-20190802103534-6089d9ff8d82 h1:HLQoCLW2021qJKLrGQbcdEikBJ3gfYF94JYqZuw6Qxg= +github.com/yandex-cloud/go-genproto v0.0.0-20190802103534-6089d9ff8d82/go.mod h1:HEUYX/p8966tMUHHT+TsS0hF/Ca/NYwqprC5WXSDMfE= github.com/yandex-cloud/go-sdk v0.0.0-20190402114215-3fc1d6947035 h1:2ZLZeg6xp+kYYGR2iMWSZyTn6j8bphNguO3drw7S1l4= github.com/yandex-cloud/go-sdk v0.0.0-20190402114215-3fc1d6947035/go.mod h1:Eml0jFLU4VVHgIN8zPHMuNwZXVzUMILyO6lQZSfz854= +github.com/yandex-cloud/go-sdk v0.0.0-20190802103531-4ab1dac90bf7 h1:rWXARBMLHylvASK6spamDC8zSL5v2voZop3M6SBul9Y= +github.com/yandex-cloud/go-sdk v0.0.0-20190802103531-4ab1dac90bf7/go.mod h1:Eml0jFLU4VVHgIN8zPHMuNwZXVzUMILyO6lQZSfz854= go.opencensus.io v0.21.0 h1:mU6zScU4U1YAFPHEHYk+3JC4SY7JxgkqS10ZOSyksNg= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0 h1:C9hSCOW830chIVkdja34wa6Ky+IzWllkUinR+BtRZd4= diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/api/operation.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/api/operation.pb.go index e066b63e0..d212b3d06 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/api/operation.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/api/operation.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/api/operation.proto -package api // import "github.com/yandex-cloud/go-genproto/yandex/api" +package api -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Operation is annotation for rpc that returns longrunning operation, describes // message types that will be returned in metadata [google.protobuf.Any], and @@ -38,16 +40,17 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_743b45b46a739ce6, []int{0} + return fileDescriptor_6381fcb5e6de7913, []int{0} } + func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) } func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Operation.Marshal(b, m, deterministic) } -func (dst *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(dst, src) +func (m *Operation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Operation.Merge(m, src) } func (m *Operation) XXX_Size() int { return xxx_messageInfo_Operation.Size(m) @@ -86,11 +89,9 @@ func init() { proto.RegisterExtension(E_Operation) } -func init() { - proto.RegisterFile("yandex/api/operation.proto", fileDescriptor_operation_743b45b46a739ce6) -} +func init() { proto.RegisterFile("yandex/api/operation.proto", fileDescriptor_6381fcb5e6de7913) } -var fileDescriptor_operation_743b45b46a739ce6 = []byte{ +var fileDescriptor_6381fcb5e6de7913 = []byte{ // 217 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0x31, 0x4b, 0xc4, 0x40, 0x10, 0x85, 0x89, 0xa0, 0x98, 0xb5, 0x0b, 0x08, 0x21, 0x85, 0x04, 0xab, 0x6b, 0x6e, 0x16, 0x4e, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/access/access.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/access/access.pb.go index fb2d2d642..b7bc9d9e0 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/access/access.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/access/access.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/access/access.proto -package access // import "github.com/yandex-cloud/go-genproto/yandex/cloud/access" +package access -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type AccessBindingAction int32 @@ -34,17 +36,19 @@ var AccessBindingAction_name = map[int32]string{ 1: "ADD", 2: "REMOVE", } + var AccessBindingAction_value = map[string]int32{ "ACCESS_BINDING_ACTION_UNSPECIFIED": 0, - "ADD": 1, - "REMOVE": 2, + "ADD": 1, + "REMOVE": 2, } func (x AccessBindingAction) String() string { return proto.EnumName(AccessBindingAction_name, int32(x)) } + func (AccessBindingAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{0} + return fileDescriptor_f72fa1116199e82e, []int{0} } type Subject struct { @@ -75,16 +79,17 @@ func (m *Subject) Reset() { *m = Subject{} } func (m *Subject) String() string { return proto.CompactTextString(m) } func (*Subject) ProtoMessage() {} func (*Subject) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{0} + return fileDescriptor_f72fa1116199e82e, []int{0} } + func (m *Subject) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Subject.Unmarshal(m, b) } func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Subject.Marshal(b, m, deterministic) } -func (dst *Subject) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subject.Merge(dst, src) +func (m *Subject) XXX_Merge(src proto.Message) { + xxx_messageInfo_Subject.Merge(m, src) } func (m *Subject) XXX_Size() int { return xxx_messageInfo_Subject.Size(m) @@ -124,16 +129,17 @@ func (m *AccessBinding) Reset() { *m = AccessBinding{} } func (m *AccessBinding) String() string { return proto.CompactTextString(m) } func (*AccessBinding) ProtoMessage() {} func (*AccessBinding) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{1} + return fileDescriptor_f72fa1116199e82e, []int{1} } + func (m *AccessBinding) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessBinding.Unmarshal(m, b) } func (m *AccessBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessBinding.Marshal(b, m, deterministic) } -func (dst *AccessBinding) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessBinding.Merge(dst, src) +func (m *AccessBinding) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessBinding.Merge(m, src) } func (m *AccessBinding) XXX_Size() int { return xxx_messageInfo_AccessBinding.Size(m) @@ -183,16 +189,17 @@ func (m *ListAccessBindingsRequest) Reset() { *m = ListAccessBindingsReq func (m *ListAccessBindingsRequest) String() string { return proto.CompactTextString(m) } func (*ListAccessBindingsRequest) ProtoMessage() {} func (*ListAccessBindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{2} + return fileDescriptor_f72fa1116199e82e, []int{2} } + func (m *ListAccessBindingsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAccessBindingsRequest.Unmarshal(m, b) } func (m *ListAccessBindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAccessBindingsRequest.Marshal(b, m, deterministic) } -func (dst *ListAccessBindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessBindingsRequest.Merge(dst, src) +func (m *ListAccessBindingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessBindingsRequest.Merge(m, src) } func (m *ListAccessBindingsRequest) XXX_Size() int { return xxx_messageInfo_ListAccessBindingsRequest.Size(m) @@ -243,16 +250,17 @@ func (m *ListAccessBindingsResponse) Reset() { *m = ListAccessBindingsRe func (m *ListAccessBindingsResponse) String() string { return proto.CompactTextString(m) } func (*ListAccessBindingsResponse) ProtoMessage() {} func (*ListAccessBindingsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{3} + return fileDescriptor_f72fa1116199e82e, []int{3} } + func (m *ListAccessBindingsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAccessBindingsResponse.Unmarshal(m, b) } func (m *ListAccessBindingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAccessBindingsResponse.Marshal(b, m, deterministic) } -func (dst *ListAccessBindingsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessBindingsResponse.Merge(dst, src) +func (m *ListAccessBindingsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessBindingsResponse.Merge(m, src) } func (m *ListAccessBindingsResponse) XXX_Size() int { return xxx_messageInfo_ListAccessBindingsResponse.Size(m) @@ -293,16 +301,17 @@ func (m *SetAccessBindingsRequest) Reset() { *m = SetAccessBindingsReque func (m *SetAccessBindingsRequest) String() string { return proto.CompactTextString(m) } func (*SetAccessBindingsRequest) ProtoMessage() {} func (*SetAccessBindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{4} + return fileDescriptor_f72fa1116199e82e, []int{4} } + func (m *SetAccessBindingsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetAccessBindingsRequest.Unmarshal(m, b) } func (m *SetAccessBindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetAccessBindingsRequest.Marshal(b, m, deterministic) } -func (dst *SetAccessBindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAccessBindingsRequest.Merge(dst, src) +func (m *SetAccessBindingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAccessBindingsRequest.Merge(m, src) } func (m *SetAccessBindingsRequest) XXX_Size() int { return xxx_messageInfo_SetAccessBindingsRequest.Size(m) @@ -339,16 +348,17 @@ func (m *SetAccessBindingsMetadata) Reset() { *m = SetAccessBindingsMeta func (m *SetAccessBindingsMetadata) String() string { return proto.CompactTextString(m) } func (*SetAccessBindingsMetadata) ProtoMessage() {} func (*SetAccessBindingsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{5} + return fileDescriptor_f72fa1116199e82e, []int{5} } + func (m *SetAccessBindingsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SetAccessBindingsMetadata.Unmarshal(m, b) } func (m *SetAccessBindingsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SetAccessBindingsMetadata.Marshal(b, m, deterministic) } -func (dst *SetAccessBindingsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAccessBindingsMetadata.Merge(dst, src) +func (m *SetAccessBindingsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetAccessBindingsMetadata.Merge(m, src) } func (m *SetAccessBindingsMetadata) XXX_Size() int { return xxx_messageInfo_SetAccessBindingsMetadata.Size(m) @@ -380,16 +390,17 @@ func (m *UpdateAccessBindingsRequest) Reset() { *m = UpdateAccessBinding func (m *UpdateAccessBindingsRequest) String() string { return proto.CompactTextString(m) } func (*UpdateAccessBindingsRequest) ProtoMessage() {} func (*UpdateAccessBindingsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{6} + return fileDescriptor_f72fa1116199e82e, []int{6} } + func (m *UpdateAccessBindingsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAccessBindingsRequest.Unmarshal(m, b) } func (m *UpdateAccessBindingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateAccessBindingsRequest.Marshal(b, m, deterministic) } -func (dst *UpdateAccessBindingsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccessBindingsRequest.Merge(dst, src) +func (m *UpdateAccessBindingsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateAccessBindingsRequest.Merge(m, src) } func (m *UpdateAccessBindingsRequest) XXX_Size() int { return xxx_messageInfo_UpdateAccessBindingsRequest.Size(m) @@ -426,16 +437,17 @@ func (m *UpdateAccessBindingsMetadata) Reset() { *m = UpdateAccessBindin func (m *UpdateAccessBindingsMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateAccessBindingsMetadata) ProtoMessage() {} func (*UpdateAccessBindingsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{7} + return fileDescriptor_f72fa1116199e82e, []int{7} } + func (m *UpdateAccessBindingsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateAccessBindingsMetadata.Unmarshal(m, b) } func (m *UpdateAccessBindingsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateAccessBindingsMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateAccessBindingsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccessBindingsMetadata.Merge(dst, src) +func (m *UpdateAccessBindingsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateAccessBindingsMetadata.Merge(m, src) } func (m *UpdateAccessBindingsMetadata) XXX_Size() int { return xxx_messageInfo_UpdateAccessBindingsMetadata.Size(m) @@ -467,16 +479,17 @@ func (m *AccessBindingDelta) Reset() { *m = AccessBindingDelta{} } func (m *AccessBindingDelta) String() string { return proto.CompactTextString(m) } func (*AccessBindingDelta) ProtoMessage() {} func (*AccessBindingDelta) Descriptor() ([]byte, []int) { - return fileDescriptor_access_6c04a92fd5da6f4f, []int{8} + return fileDescriptor_f72fa1116199e82e, []int{8} } + func (m *AccessBindingDelta) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessBindingDelta.Unmarshal(m, b) } func (m *AccessBindingDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessBindingDelta.Marshal(b, m, deterministic) } -func (dst *AccessBindingDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessBindingDelta.Merge(dst, src) +func (m *AccessBindingDelta) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessBindingDelta.Merge(m, src) } func (m *AccessBindingDelta) XXX_Size() int { return xxx_messageInfo_AccessBindingDelta.Size(m) @@ -502,6 +515,7 @@ func (m *AccessBindingDelta) GetAccessBinding() *AccessBinding { } func init() { + proto.RegisterEnum("yandex.cloud.access.AccessBindingAction", AccessBindingAction_name, AccessBindingAction_value) proto.RegisterType((*Subject)(nil), "yandex.cloud.access.Subject") proto.RegisterType((*AccessBinding)(nil), "yandex.cloud.access.AccessBinding") proto.RegisterType((*ListAccessBindingsRequest)(nil), "yandex.cloud.access.ListAccessBindingsRequest") @@ -511,14 +525,11 @@ func init() { proto.RegisterType((*UpdateAccessBindingsRequest)(nil), "yandex.cloud.access.UpdateAccessBindingsRequest") proto.RegisterType((*UpdateAccessBindingsMetadata)(nil), "yandex.cloud.access.UpdateAccessBindingsMetadata") proto.RegisterType((*AccessBindingDelta)(nil), "yandex.cloud.access.AccessBindingDelta") - proto.RegisterEnum("yandex.cloud.access.AccessBindingAction", AccessBindingAction_name, AccessBindingAction_value) } -func init() { - proto.RegisterFile("yandex/cloud/access/access.proto", fileDescriptor_access_6c04a92fd5da6f4f) -} +func init() { proto.RegisterFile("yandex/cloud/access/access.proto", fileDescriptor_f72fa1116199e82e) } -var fileDescriptor_access_6c04a92fd5da6f4f = []byte{ +var fileDescriptor_f72fa1116199e82e = []byte{ // 579 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x6e, 0xd3, 0x4c, 0x14, 0xc5, 0x3f, 0x27, 0xfd, 0x92, 0xe6, 0x86, 0xa4, 0xd1, 0x44, 0x48, 0x6e, 0x29, 0x22, 0xb5, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk.pb.go index 381e72365..0f30c883c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/disk.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Disk_Status int32 @@ -40,6 +42,7 @@ var Disk_Status_name = map[int32]string{ 3: "ERROR", 4: "DELETING", } + var Disk_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, @@ -51,8 +54,9 @@ var Disk_Status_value = map[string]int32{ func (x Disk_Status) String() string { return proto.EnumName(Disk_Status_name, int32(x)) } + func (Disk_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_disk_de2270285e4895a2, []int{0, 0} + return fileDescriptor_6ed05fced9465d11, []int{0, 0} } // A Disk resource. For more information, see [Disks](/docs/compute/concepts/disk). @@ -100,16 +104,17 @@ func (m *Disk) Reset() { *m = Disk{} } func (m *Disk) String() string { return proto.CompactTextString(m) } func (*Disk) ProtoMessage() {} func (*Disk) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_de2270285e4895a2, []int{0} + return fileDescriptor_6ed05fced9465d11, []int{0} } + func (m *Disk) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Disk.Unmarshal(m, b) } func (m *Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Disk.Marshal(b, m, deterministic) } -func (dst *Disk) XXX_Merge(src proto.Message) { - xxx_messageInfo_Disk.Merge(dst, src) +func (m *Disk) XXX_Merge(src proto.Message) { + xxx_messageInfo_Disk.Merge(m, src) } func (m *Disk) XXX_Size() int { return xxx_messageInfo_Disk.Size(m) @@ -241,83 +246,23 @@ func (m *Disk) GetInstanceIds() []string { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Disk) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Disk_OneofMarshaler, _Disk_OneofUnmarshaler, _Disk_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Disk) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*Disk_SourceImageId)(nil), (*Disk_SourceSnapshotId)(nil), } } -func _Disk_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Disk) - // source - switch x := m.Source.(type) { - case *Disk_SourceImageId: - b.EncodeVarint(12<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SourceImageId) - case *Disk_SourceSnapshotId: - b.EncodeVarint(13<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SourceSnapshotId) - case nil: - default: - return fmt.Errorf("Disk.Source has unexpected type %T", x) - } - return nil -} - -func _Disk_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Disk) - switch tag { - case 12: // source.source_image_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &Disk_SourceImageId{x} - return true, err - case 13: // source.source_snapshot_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &Disk_SourceSnapshotId{x} - return true, err - default: - return false, nil - } -} - -func _Disk_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Disk) - // source - switch x := m.Source.(type) { - case *Disk_SourceImageId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SourceImageId))) - n += len(x.SourceImageId) - case *Disk_SourceSnapshotId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SourceSnapshotId))) - n += len(x.SourceSnapshotId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.Disk_Status", Disk_Status_name, Disk_Status_value) proto.RegisterType((*Disk)(nil), "yandex.cloud.compute.v1.Disk") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.Disk.LabelsEntry") - proto.RegisterEnum("yandex.cloud.compute.v1.Disk_Status", Disk_Status_name, Disk_Status_value) } -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/disk.proto", fileDescriptor_disk_de2270285e4895a2) -} +func init() { proto.RegisterFile("yandex/cloud/compute/v1/disk.proto", fileDescriptor_6ed05fced9465d11) } -var fileDescriptor_disk_de2270285e4895a2 = []byte{ +var fileDescriptor_6ed05fced9465d11 = []byte{ // 533 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x41, 0x4f, 0xdb, 0x3e, 0x18, 0xc6, 0x49, 0xd3, 0x86, 0xe6, 0x0d, 0xf0, 0x8f, 0xac, 0xbf, 0x46, 0xc4, 0x0e, 0x64, 0x68, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_service.pb.go index 3b1b2cb71..3e7addb6e 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/disk_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetDiskRequest struct { // ID of the Disk resource to return. @@ -41,16 +42,17 @@ func (m *GetDiskRequest) Reset() { *m = GetDiskRequest{} } func (m *GetDiskRequest) String() string { return proto.CompactTextString(m) } func (*GetDiskRequest) ProtoMessage() {} func (*GetDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{0} + return fileDescriptor_7733692e1b0587d9, []int{0} } + func (m *GetDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDiskRequest.Unmarshal(m, b) } func (m *GetDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDiskRequest.Marshal(b, m, deterministic) } -func (dst *GetDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskRequest.Merge(dst, src) +func (m *GetDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskRequest.Merge(m, src) } func (m *GetDiskRequest) XXX_Size() int { return xxx_messageInfo_GetDiskRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListDisksRequest) Reset() { *m = ListDisksRequest{} } func (m *ListDisksRequest) String() string { return proto.CompactTextString(m) } func (*ListDisksRequest) ProtoMessage() {} func (*ListDisksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{1} + return fileDescriptor_7733692e1b0587d9, []int{1} } + func (m *ListDisksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDisksRequest.Unmarshal(m, b) } func (m *ListDisksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDisksRequest.Marshal(b, m, deterministic) } -func (dst *ListDisksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDisksRequest.Merge(dst, src) +func (m *ListDisksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDisksRequest.Merge(m, src) } func (m *ListDisksRequest) XXX_Size() int { return xxx_messageInfo_ListDisksRequest.Size(m) @@ -162,16 +165,17 @@ func (m *ListDisksResponse) Reset() { *m = ListDisksResponse{} } func (m *ListDisksResponse) String() string { return proto.CompactTextString(m) } func (*ListDisksResponse) ProtoMessage() {} func (*ListDisksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{2} + return fileDescriptor_7733692e1b0587d9, []int{2} } + func (m *ListDisksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDisksResponse.Unmarshal(m, b) } func (m *ListDisksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDisksResponse.Marshal(b, m, deterministic) } -func (dst *ListDisksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDisksResponse.Merge(dst, src) +func (m *ListDisksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDisksResponse.Merge(m, src) } func (m *ListDisksResponse) XXX_Size() int { return xxx_messageInfo_ListDisksResponse.Size(m) @@ -229,16 +233,17 @@ func (m *CreateDiskRequest) Reset() { *m = CreateDiskRequest{} } func (m *CreateDiskRequest) String() string { return proto.CompactTextString(m) } func (*CreateDiskRequest) ProtoMessage() {} func (*CreateDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{3} + return fileDescriptor_7733692e1b0587d9, []int{3} } + func (m *CreateDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDiskRequest.Unmarshal(m, b) } func (m *CreateDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDiskRequest.Marshal(b, m, deterministic) } -func (dst *CreateDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDiskRequest.Merge(dst, src) +func (m *CreateDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDiskRequest.Merge(m, src) } func (m *CreateDiskRequest) XXX_Size() int { return xxx_messageInfo_CreateDiskRequest.Size(m) @@ -335,72 +340,14 @@ func (m *CreateDiskRequest) GetSnapshotId() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CreateDiskRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CreateDiskRequest_OneofMarshaler, _CreateDiskRequest_OneofUnmarshaler, _CreateDiskRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CreateDiskRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*CreateDiskRequest_ImageId)(nil), (*CreateDiskRequest_SnapshotId)(nil), } } -func _CreateDiskRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CreateDiskRequest) - // source - switch x := m.Source.(type) { - case *CreateDiskRequest_ImageId: - b.EncodeVarint(8<<3 | proto.WireBytes) - b.EncodeStringBytes(x.ImageId) - case *CreateDiskRequest_SnapshotId: - b.EncodeVarint(9<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SnapshotId) - case nil: - default: - return fmt.Errorf("CreateDiskRequest.Source has unexpected type %T", x) - } - return nil -} - -func _CreateDiskRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CreateDiskRequest) - switch tag { - case 8: // source.image_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateDiskRequest_ImageId{x} - return true, err - case 9: // source.snapshot_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateDiskRequest_SnapshotId{x} - return true, err - default: - return false, nil - } -} - -func _CreateDiskRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CreateDiskRequest) - // source - switch x := m.Source.(type) { - case *CreateDiskRequest_ImageId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.ImageId))) - n += len(x.ImageId) - case *CreateDiskRequest_SnapshotId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SnapshotId))) - n += len(x.SnapshotId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type CreateDiskMetadata struct { // ID of the disk that is being created. DiskId string `protobuf:"bytes,1,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` @@ -413,16 +360,17 @@ func (m *CreateDiskMetadata) Reset() { *m = CreateDiskMetadata{} } func (m *CreateDiskMetadata) String() string { return proto.CompactTextString(m) } func (*CreateDiskMetadata) ProtoMessage() {} func (*CreateDiskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{4} + return fileDescriptor_7733692e1b0587d9, []int{4} } + func (m *CreateDiskMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDiskMetadata.Unmarshal(m, b) } func (m *CreateDiskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDiskMetadata.Marshal(b, m, deterministic) } -func (dst *CreateDiskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDiskMetadata.Merge(dst, src) +func (m *CreateDiskMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDiskMetadata.Merge(m, src) } func (m *CreateDiskMetadata) XXX_Size() int { return xxx_messageInfo_CreateDiskMetadata.Size(m) @@ -465,16 +413,17 @@ func (m *UpdateDiskRequest) Reset() { *m = UpdateDiskRequest{} } func (m *UpdateDiskRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDiskRequest) ProtoMessage() {} func (*UpdateDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{5} + return fileDescriptor_7733692e1b0587d9, []int{5} } + func (m *UpdateDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDiskRequest.Unmarshal(m, b) } func (m *UpdateDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateDiskRequest.Marshal(b, m, deterministic) } -func (dst *UpdateDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDiskRequest.Merge(dst, src) +func (m *UpdateDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDiskRequest.Merge(m, src) } func (m *UpdateDiskRequest) XXX_Size() int { return xxx_messageInfo_UpdateDiskRequest.Size(m) @@ -539,16 +488,17 @@ func (m *UpdateDiskMetadata) Reset() { *m = UpdateDiskMetadata{} } func (m *UpdateDiskMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateDiskMetadata) ProtoMessage() {} func (*UpdateDiskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{6} + return fileDescriptor_7733692e1b0587d9, []int{6} } + func (m *UpdateDiskMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDiskMetadata.Unmarshal(m, b) } func (m *UpdateDiskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateDiskMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateDiskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDiskMetadata.Merge(dst, src) +func (m *UpdateDiskMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDiskMetadata.Merge(m, src) } func (m *UpdateDiskMetadata) XXX_Size() int { return xxx_messageInfo_UpdateDiskMetadata.Size(m) @@ -579,16 +529,17 @@ func (m *DeleteDiskRequest) Reset() { *m = DeleteDiskRequest{} } func (m *DeleteDiskRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDiskRequest) ProtoMessage() {} func (*DeleteDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{7} + return fileDescriptor_7733692e1b0587d9, []int{7} } + func (m *DeleteDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDiskRequest.Unmarshal(m, b) } func (m *DeleteDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDiskRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDiskRequest.Merge(dst, src) +func (m *DeleteDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDiskRequest.Merge(m, src) } func (m *DeleteDiskRequest) XXX_Size() int { return xxx_messageInfo_DeleteDiskRequest.Size(m) @@ -618,16 +569,17 @@ func (m *DeleteDiskMetadata) Reset() { *m = DeleteDiskMetadata{} } func (m *DeleteDiskMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteDiskMetadata) ProtoMessage() {} func (*DeleteDiskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{8} + return fileDescriptor_7733692e1b0587d9, []int{8} } + func (m *DeleteDiskMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDiskMetadata.Unmarshal(m, b) } func (m *DeleteDiskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDiskMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteDiskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDiskMetadata.Merge(dst, src) +func (m *DeleteDiskMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDiskMetadata.Merge(m, src) } func (m *DeleteDiskMetadata) XXX_Size() int { return xxx_messageInfo_DeleteDiskMetadata.Size(m) @@ -664,16 +616,17 @@ func (m *ListDiskOperationsRequest) Reset() { *m = ListDiskOperationsReq func (m *ListDiskOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListDiskOperationsRequest) ProtoMessage() {} func (*ListDiskOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{9} + return fileDescriptor_7733692e1b0587d9, []int{9} } + func (m *ListDiskOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDiskOperationsRequest.Unmarshal(m, b) } func (m *ListDiskOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDiskOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListDiskOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskOperationsRequest.Merge(dst, src) +func (m *ListDiskOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskOperationsRequest.Merge(m, src) } func (m *ListDiskOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListDiskOperationsRequest.Size(m) @@ -722,16 +675,17 @@ func (m *ListDiskOperationsResponse) Reset() { *m = ListDiskOperationsRe func (m *ListDiskOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListDiskOperationsResponse) ProtoMessage() {} func (*ListDiskOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_service_314d5b4ba085ca45, []int{10} + return fileDescriptor_7733692e1b0587d9, []int{10} } + func (m *ListDiskOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDiskOperationsResponse.Unmarshal(m, b) } func (m *ListDiskOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDiskOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListDiskOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskOperationsResponse.Merge(dst, src) +func (m *ListDiskOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskOperationsResponse.Merge(m, src) } func (m *ListDiskOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListDiskOperationsResponse.Size(m) @@ -772,6 +726,82 @@ func init() { proto.RegisterType((*ListDiskOperationsResponse)(nil), "yandex.cloud.compute.v1.ListDiskOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/disk_service.proto", fileDescriptor_7733692e1b0587d9) +} + +var fileDescriptor_7733692e1b0587d9 = []byte{ + // 1084 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x73, 0xdb, 0x44, + 0x14, 0x46, 0xb1, 0xa2, 0xd8, 0xcf, 0x50, 0x92, 0x85, 0x52, 0x47, 0x90, 0x99, 0x44, 0x4c, 0xd3, + 0xd4, 0x45, 0x92, 0x65, 0x3b, 0xa6, 0x49, 0xdb, 0x61, 0x70, 0x13, 0x8a, 0x67, 0xda, 0x81, 0x51, + 0xe1, 0x42, 0xa6, 0x93, 0x51, 0xac, 0x8d, 0xab, 0xb1, 0x2c, 0x09, 0xad, 0xec, 0x89, 0x5d, 0x7a, + 0xe9, 0x85, 0x99, 0x70, 0xe0, 0xd0, 0xe1, 0xc8, 0x1f, 0xc0, 0x70, 0xcb, 0xf0, 0x3f, 0x38, 0xc3, + 0xb1, 0x1c, 0xf8, 0x07, 0x38, 0x70, 0xee, 0xb1, 0x27, 0x66, 0x57, 0xf2, 0xef, 0x9f, 0xa1, 0x70, + 0x93, 0xf4, 0xbe, 0xb7, 0xfa, 0xf6, 0xdb, 0xef, 0xbd, 0xb7, 0x90, 0x6e, 0x1a, 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c, 0x85, 0x72, 0x22, 0xeb, + 0x29, 0x8c, 0xe0, 0x16, 0xda, 0x9c, 0x42, 0xb0, 0x77, 0x4b, 0x26, 0xc5, 0xfd, 0x6f, 0xee, 0x56, + 0xac, 0xe0, 0x71, 0xfd, 0x88, 0xae, 0xaf, 0x86, 0x3f, 0x94, 0xc3, 0xdb, 0x72, 0xc5, 0x95, 0x2b, + 0xd8, 0x61, 0xdb, 0x57, 0x27, 0x5c, 0xc9, 0x6f, 0x45, 0x8f, 0x47, 0x02, 0x83, 0xe5, 0xfe, 0x09, + 0x00, 0x00, 0xff, 0xff, 0x64, 0xb4, 0x34, 0x53, 0x5d, 0x0c, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -896,6 +926,29 @@ type DiskServiceServer interface { ListOperations(context.Context, *ListDiskOperationsRequest) (*ListDiskOperationsResponse, error) } +// UnimplementedDiskServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDiskServiceServer struct { +} + +func (*UnimplementedDiskServiceServer) Get(ctx context.Context, req *GetDiskRequest) (*Disk, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDiskServiceServer) List(ctx context.Context, req *ListDisksRequest) (*ListDisksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDiskServiceServer) Create(ctx context.Context, req *CreateDiskRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDiskServiceServer) Update(ctx context.Context, req *UpdateDiskRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedDiskServiceServer) Delete(ctx context.Context, req *DeleteDiskRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedDiskServiceServer) ListOperations(ctx context.Context, req *ListDiskOperationsRequest) (*ListDiskOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterDiskServiceServer(s *grpc.Server, srv DiskServiceServer) { s.RegisterService(&_DiskService_serviceDesc, srv) } @@ -1040,79 +1093,3 @@ var _DiskService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/disk_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/disk_service.proto", fileDescriptor_disk_service_314d5b4ba085ca45) -} - -var fileDescriptor_disk_service_314d5b4ba085ca45 = []byte{ - // 1084 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x73, 0xdb, 0x44, - 0x14, 0x46, 0xb1, 0xa2, 0xd8, 0xcf, 0x50, 0x92, 0x85, 0x52, 0x47, 0x90, 0x99, 0x44, 0x4c, 0xd3, - 0xd4, 0x45, 0x92, 0x65, 0x3b, 0xa6, 0x49, 0xdb, 0x61, 0x70, 0x13, 0x8a, 0x67, 0xda, 0x81, 0x51, - 0xe1, 0x42, 0xa6, 0x93, 0x51, 0xac, 0x8d, 0xab, 0xb1, 0x2c, 0x09, 0xad, 0xec, 0x89, 0x5d, 0x7a, - 0xe9, 0x85, 0x99, 0x70, 0xe0, 0xd0, 0xe1, 0xc8, 0x1f, 0xc0, 0x70, 0xcb, 0xf0, 0x3f, 0x38, 0xc3, - 0xb1, 0x1c, 0xf8, 0x07, 0x38, 0x70, 0xee, 0xb1, 0x27, 0x66, 0x57, 0xf2, 0xef, 0x9f, 0xa1, 0x70, - 0x93, 0xf4, 0xbe, 0xb7, 0xfa, 0xf6, 0xdb, 0xef, 0xbd, 0xb7, 0x90, 0x6e, 0x1a, 0x8e, 0x89, 0x4f, - 0xd4, 0xb2, 0xed, 0xd6, 0x4d, 0xb5, 0xec, 0xd6, 0xbc, 0x7a, 0x80, 0xd5, 0x86, 0xa6, 0x9a, 0x16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 0x56, - 0xac, 0xe0, 0x71, 0xfd, 0x88, 0xae, 0xaf, 0x86, 0x3f, 0x94, 0xc3, 0xdb, 0x72, 0xc5, 0x95, 0x2b, - 0xd8, 0x61, 0xdb, 0x57, 0x27, 0x5c, 0xc9, 0x6f, 0x45, 0x8f, 0x47, 0x02, 0x83, 0xe5, 0xfe, 0x09, - 0x00, 0x00, 0xff, 0xff, 0x64, 0xb4, 0x34, 0x53, 0x5d, 0x0c, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type.pb.go index 3df948330..1b9232941 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/disk_type.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type DiskType struct { // ID of the disk type. @@ -34,16 +36,17 @@ func (m *DiskType) Reset() { *m = DiskType{} } func (m *DiskType) String() string { return proto.CompactTextString(m) } func (*DiskType) ProtoMessage() {} func (*DiskType) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_type_5be272c1e4d4338f, []int{0} + return fileDescriptor_1766b4de885b3ba4, []int{0} } + func (m *DiskType) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DiskType.Unmarshal(m, b) } func (m *DiskType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DiskType.Marshal(b, m, deterministic) } -func (dst *DiskType) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskType.Merge(dst, src) +func (m *DiskType) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiskType.Merge(m, src) } func (m *DiskType) XXX_Size() int { return xxx_messageInfo_DiskType.Size(m) @@ -80,10 +83,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/compute/v1/disk_type.proto", fileDescriptor_disk_type_5be272c1e4d4338f) + proto.RegisterFile("yandex/cloud/compute/v1/disk_type.proto", fileDescriptor_1766b4de885b3ba4) } -var fileDescriptor_disk_type_5be272c1e4d4338f = []byte{ +var fileDescriptor_1766b4de885b3ba4 = []byte{ // 190 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xaf, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xce, 0xcf, 0x2d, 0x28, 0x2d, 0x49, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type_service.pb.go index 76faa5a84..c690ad1a8 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/disk_type_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/disk_type_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetDiskTypeRequest struct { // ID of the disk type to return information about. @@ -38,16 +39,17 @@ func (m *GetDiskTypeRequest) Reset() { *m = GetDiskTypeRequest{} } func (m *GetDiskTypeRequest) String() string { return proto.CompactTextString(m) } func (*GetDiskTypeRequest) ProtoMessage() {} func (*GetDiskTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_type_service_42656155dbce67c7, []int{0} + return fileDescriptor_0433b2f525f69d83, []int{0} } + func (m *GetDiskTypeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDiskTypeRequest.Unmarshal(m, b) } func (m *GetDiskTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDiskTypeRequest.Marshal(b, m, deterministic) } -func (dst *GetDiskTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDiskTypeRequest.Merge(dst, src) +func (m *GetDiskTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDiskTypeRequest.Merge(m, src) } func (m *GetDiskTypeRequest) XXX_Size() int { return xxx_messageInfo_GetDiskTypeRequest.Size(m) @@ -83,16 +85,17 @@ func (m *ListDiskTypesRequest) Reset() { *m = ListDiskTypesRequest{} } func (m *ListDiskTypesRequest) String() string { return proto.CompactTextString(m) } func (*ListDiskTypesRequest) ProtoMessage() {} func (*ListDiskTypesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_type_service_42656155dbce67c7, []int{1} + return fileDescriptor_0433b2f525f69d83, []int{1} } + func (m *ListDiskTypesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDiskTypesRequest.Unmarshal(m, b) } func (m *ListDiskTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDiskTypesRequest.Marshal(b, m, deterministic) } -func (dst *ListDiskTypesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskTypesRequest.Merge(dst, src) +func (m *ListDiskTypesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskTypesRequest.Merge(m, src) } func (m *ListDiskTypesRequest) XXX_Size() int { return xxx_messageInfo_ListDiskTypesRequest.Size(m) @@ -136,16 +139,17 @@ func (m *ListDiskTypesResponse) Reset() { *m = ListDiskTypesResponse{} } func (m *ListDiskTypesResponse) String() string { return proto.CompactTextString(m) } func (*ListDiskTypesResponse) ProtoMessage() {} func (*ListDiskTypesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_disk_type_service_42656155dbce67c7, []int{2} + return fileDescriptor_0433b2f525f69d83, []int{2} } + func (m *ListDiskTypesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDiskTypesResponse.Unmarshal(m, b) } func (m *ListDiskTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDiskTypesResponse.Marshal(b, m, deterministic) } -func (dst *ListDiskTypesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDiskTypesResponse.Merge(dst, src) +func (m *ListDiskTypesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDiskTypesResponse.Merge(m, src) } func (m *ListDiskTypesResponse) XXX_Size() int { return xxx_messageInfo_ListDiskTypesResponse.Size(m) @@ -176,6 +180,41 @@ func init() { proto.RegisterType((*ListDiskTypesResponse)(nil), "yandex.cloud.compute.v1.ListDiskTypesResponse") } +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/disk_type_service.proto", fileDescriptor_0433b2f525f69d83) +} + +var fileDescriptor_0433b2f525f69d83 = []byte{ + // 427 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0xaa, 0xd3, 0x40, + 0x14, 0xc6, 0x49, 0x7b, 0xbd, 0x98, 0xa3, 0x72, 0x61, 0xf0, 0x72, 0x4b, 0xf0, 0xc2, 0x35, 0x48, + 0x5b, 0xd0, 0x66, 0x9a, 0xba, 0xb4, 0x82, 0x54, 0xa5, 0x08, 0x2e, 0x24, 0xed, 0xca, 0x4d, 0x48, + 0x9b, 0x43, 0x1c, 0x5a, 0x67, 0x62, 0x67, 0x12, 0xda, 0x8a, 0x0b, 0xff, 0xac, 0xdc, 0xba, 0xf7, + 0x75, 0xea, 0xde, 0x57, 0x70, 0xe1, 0x33, 0xb8, 0x92, 0x4c, 0x92, 0xaa, 0xb5, 0xa1, 0x77, 0x17, + 0x72, 0xbe, 0xef, 0x9c, 0xdf, 0x9c, 0x6f, 0x06, 0xe8, 0x2a, 0xe0, 0x21, 0x2e, 0xe9, 0x74, 0x2e, + 0x92, 0x90, 0x4e, 0xc5, 0xeb, 0x38, 0x51, 0x48, 0x53, 0x97, 0x86, 0x4c, 0xce, 0x7c, 0xb5, 0x8a, + 0xd1, 0x97, 0xb8, 0x48, 0xd9, 0x14, 0x9d, 0x78, 0x21, 0x94, 0x20, 0x67, 0xb9, 0xc1, 0xd1, 0x06, + 0xa7, 0x30, 0x38, 0xa9, 0x6b, 0xdd, 0x8a, 0x84, 0x88, 0xe6, 0x48, 0x83, 0x98, 0xd1, 0x80, 0x73, + 0xa1, 0x02, 0xc5, 0x04, 0x97, 0xb9, 0xcd, 0x6a, 0x1d, 0x9c, 0x53, 0x08, 0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3e, 0x7c, 0xff, 0xf1, 0xa5, 0xd6, 0x24, 0x77, 0x76, 0xc3, 0xd5, 0xc8, 0xf4, 0xed, 0xdf, + 0xf9, 0xbc, 0x23, 0x9f, 0x0c, 0x38, 0xca, 0xb6, 0x43, 0x3a, 0x95, 0x9d, 0xf7, 0x05, 0x65, 0x39, + 0x97, 0x95, 0xe7, 0xbb, 0xb6, 0xcf, 0x35, 0xd5, 0x19, 0x39, 0xdd, 0x4b, 0x35, 0x78, 0xfa, 0xf2, + 0x71, 0xc4, 0xd4, 0xab, 0x64, 0x92, 0x75, 0x2a, 0x9e, 0x42, 0x27, 0xbf, 0x79, 0x91, 0xe8, 0x44, + 0xc8, 0xf5, 0xa5, 0xab, 0x7a, 0x23, 0x0f, 0x8a, 0xcf, 0xc9, 0xb1, 0x96, 0xdd, 0xff, 0x1d, 0x00, + 0x00, 0xff, 0xff, 0xf1, 0x82, 0x37, 0x5b, 0x4d, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -232,6 +271,17 @@ type DiskTypeServiceServer interface { List(context.Context, *ListDiskTypesRequest) (*ListDiskTypesResponse, error) } +// UnimplementedDiskTypeServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDiskTypeServiceServer struct { +} + +func (*UnimplementedDiskTypeServiceServer) Get(ctx context.Context, req *GetDiskTypeRequest) (*DiskType, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDiskTypeServiceServer) List(ctx context.Context, req *ListDiskTypesRequest) (*ListDiskTypesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterDiskTypeServiceServer(s *grpc.Server, srv DiskTypeServiceServer) { s.RegisterService(&_DiskTypeService_serviceDesc, srv) } @@ -288,38 +338,3 @@ var _DiskTypeService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/disk_type_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/disk_type_service.proto", fileDescriptor_disk_type_service_42656155dbce67c7) -} - -var fileDescriptor_disk_type_service_42656155dbce67c7 = []byte{ - // 427 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0xaa, 0xd3, 0x40, - 0x14, 0xc6, 0x49, 0x7b, 0xbd, 0x98, 0xa3, 0x72, 0x61, 0xf0, 0x72, 0x4b, 0xf0, 0xc2, 0x35, 0x48, - 0x5b, 0xd0, 0x66, 0x9a, 0xba, 0xb4, 0x82, 0x54, 0xa5, 0x08, 0x2e, 0x24, 0xed, 0xca, 0x4d, 0x48, - 0x9b, 0x43, 0x1c, 0x5a, 0x67, 0x62, 0x67, 0x12, 0xda, 0x8a, 0x0b, 0xff, 0xac, 0xdc, 0xba, 0xf7, - 0x75, 0xea, 0xde, 0x57, 0x70, 0xe1, 0x33, 0xb8, 0x92, 0x4c, 0x92, 0xaa, 0xb5, 0xa1, 0x77, 0x17, - 0x72, 0xbe, 0xef, 0x9c, 0xdf, 0x9c, 0x6f, 0x06, 0xe8, 0x2a, 0xe0, 0x21, 0x2e, 0xe9, 0x74, 0x2e, - 0x92, 0x90, 0x4e, 0xc5, 0xeb, 0x38, 0x51, 0x48, 0x53, 0x97, 0x86, 0x4c, 0xce, 0x7c, 0xb5, 0x8a, - 0xd1, 0x97, 0xb8, 0x48, 0xd9, 0x14, 0x9d, 0x78, 0x21, 0x94, 0x20, 0x67, 0xb9, 0xc1, 0xd1, 0x06, - 0xa7, 0x30, 0x38, 0xa9, 0x6b, 0xdd, 0x8a, 0x84, 0x88, 0xe6, 0x48, 0x83, 0x98, 0xd1, 0x80, 0x73, - 0xa1, 0x02, 0xc5, 0x04, 0x97, 0xb9, 0xcd, 0x6a, 0x1d, 0x9c, 0x53, 0x08, 0xcf, 0xff, 0x11, 0xa6, - 0xc1, 0x9c, 0x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, 0x77, 0x76, 0xc3, 0xd5, 0xc8, 0xf4, 0xed, 0xdf, - 0xf9, 0xbc, 0x23, 0x9f, 0x0c, 0x38, 0xca, 0xb6, 0x43, 0x3a, 0x95, 0x9d, 0xf7, 0x05, 0x65, 0x39, - 0x97, 0x95, 0xe7, 0xbb, 0xb6, 0xcf, 0x35, 0xd5, 0x19, 0x39, 0xdd, 0x4b, 0x35, 0x78, 0xfa, 0xf2, - 0x71, 0xc4, 0xd4, 0xab, 0x64, 0x92, 0x75, 0x2a, 0x9e, 0x42, 0x27, 0xbf, 0x79, 0x91, 0xe8, 0x44, - 0xc8, 0xf5, 0xa5, 0xab, 0x7a, 0x23, 0x0f, 0x8a, 0xcf, 0xc9, 0xb1, 0x96, 0xdd, 0xff, 0x1d, 0x00, - 0x00, 0xff, 0xff, 0xf1, 0x82, 0x37, 0x5b, 0x4d, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image.pb.go index 0c17ee362..01226d9a6 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/image.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Image_Status int32 @@ -40,6 +42,7 @@ var Image_Status_name = map[int32]string{ 3: "ERROR", 4: "DELETING", } + var Image_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, @@ -51,8 +54,9 @@ var Image_Status_value = map[string]int32{ func (x Image_Status) String() string { return proto.EnumName(Image_Status_name, int32(x)) } + func (Image_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_50f442d51c07b7d7, []int{0, 0} + return fileDescriptor_c226a196eae12730, []int{0, 0} } type Os_Type int32 @@ -70,6 +74,7 @@ var Os_Type_name = map[int32]string{ 1: "LINUX", 2: "WINDOWS", } + var Os_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "LINUX": 1, @@ -79,8 +84,9 @@ var Os_Type_value = map[string]int32{ func (x Os_Type) String() string { return proto.EnumName(Os_Type_name, int32(x)) } + func (Os_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_image_50f442d51c07b7d7, []int{1, 0} + return fileDescriptor_c226a196eae12730, []int{1, 0} } // An Image resource. @@ -128,16 +134,17 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_50f442d51c07b7d7, []int{0} + return fileDescriptor_c226a196eae12730, []int{0} } + func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) } func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Image.Marshal(b, m, deterministic) } -func (dst *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(dst, src) +func (m *Image) XXX_Merge(src proto.Message) { + xxx_messageInfo_Image.Merge(m, src) } func (m *Image) XXX_Size() int { return xxx_messageInfo_Image.Size(m) @@ -244,16 +251,17 @@ func (m *Os) Reset() { *m = Os{} } func (m *Os) String() string { return proto.CompactTextString(m) } func (*Os) ProtoMessage() {} func (*Os) Descriptor() ([]byte, []int) { - return fileDescriptor_image_50f442d51c07b7d7, []int{1} + return fileDescriptor_c226a196eae12730, []int{1} } + func (m *Os) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Os.Unmarshal(m, b) } func (m *Os) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Os.Marshal(b, m, deterministic) } -func (dst *Os) XXX_Merge(src proto.Message) { - xxx_messageInfo_Os.Merge(dst, src) +func (m *Os) XXX_Merge(src proto.Message) { + xxx_messageInfo_Os.Merge(m, src) } func (m *Os) XXX_Size() int { return xxx_messageInfo_Os.Size(m) @@ -272,18 +280,18 @@ func (m *Os) GetType() Os_Type { } func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.Image_Status", Image_Status_name, Image_Status_value) + proto.RegisterEnum("yandex.cloud.compute.v1.Os_Type", Os_Type_name, Os_Type_value) proto.RegisterType((*Image)(nil), "yandex.cloud.compute.v1.Image") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.Image.LabelsEntry") proto.RegisterType((*Os)(nil), "yandex.cloud.compute.v1.Os") - proto.RegisterEnum("yandex.cloud.compute.v1.Image_Status", Image_Status_name, Image_Status_value) - proto.RegisterEnum("yandex.cloud.compute.v1.Os_Type", Os_Type_name, Os_Type_value) } func init() { - proto.RegisterFile("yandex/cloud/compute/v1/image.proto", fileDescriptor_image_50f442d51c07b7d7) + proto.RegisterFile("yandex/cloud/compute/v1/image.proto", fileDescriptor_c226a196eae12730) } -var fileDescriptor_image_50f442d51c07b7d7 = []byte{ +var fileDescriptor_c226a196eae12730 = []byte{ // 555 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6b, 0x9c, 0x40, 0x10, 0xc7, 0xab, 0xf7, 0x23, 0x71, 0x4c, 0x83, 0x2c, 0x21, 0x95, 0xe4, 0x21, 0xf6, 0x4a, 0xe1, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image_service.pb.go index a42c5a8e2..96ccf1d28 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/image_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/image_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetImageRequest struct { // ID of the Image resource to return. @@ -41,16 +42,17 @@ func (m *GetImageRequest) Reset() { *m = GetImageRequest{} } func (m *GetImageRequest) String() string { return proto.CompactTextString(m) } func (*GetImageRequest) ProtoMessage() {} func (*GetImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{0} + return fileDescriptor_9ecf47590268c610, []int{0} } + func (m *GetImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetImageRequest.Unmarshal(m, b) } func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetImageRequest.Marshal(b, m, deterministic) } -func (dst *GetImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetImageRequest.Merge(dst, src) +func (m *GetImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetImageRequest.Merge(m, src) } func (m *GetImageRequest) XXX_Size() int { return xxx_messageInfo_GetImageRequest.Size(m) @@ -83,16 +85,17 @@ func (m *GetImageLatestByFamilyRequest) Reset() { *m = GetImageLatestByF func (m *GetImageLatestByFamilyRequest) String() string { return proto.CompactTextString(m) } func (*GetImageLatestByFamilyRequest) ProtoMessage() {} func (*GetImageLatestByFamilyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{1} + return fileDescriptor_9ecf47590268c610, []int{1} } + func (m *GetImageLatestByFamilyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetImageLatestByFamilyRequest.Unmarshal(m, b) } func (m *GetImageLatestByFamilyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetImageLatestByFamilyRequest.Marshal(b, m, deterministic) } -func (dst *GetImageLatestByFamilyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetImageLatestByFamilyRequest.Merge(dst, src) +func (m *GetImageLatestByFamilyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetImageLatestByFamilyRequest.Merge(m, src) } func (m *GetImageLatestByFamilyRequest) XXX_Size() int { return xxx_messageInfo_GetImageLatestByFamilyRequest.Size(m) @@ -144,16 +147,17 @@ func (m *ListImagesRequest) Reset() { *m = ListImagesRequest{} } func (m *ListImagesRequest) String() string { return proto.CompactTextString(m) } func (*ListImagesRequest) ProtoMessage() {} func (*ListImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{2} + return fileDescriptor_9ecf47590268c610, []int{2} } + func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImagesRequest.Unmarshal(m, b) } func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImagesRequest.Marshal(b, m, deterministic) } -func (dst *ListImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImagesRequest.Merge(dst, src) +func (m *ListImagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImagesRequest.Merge(m, src) } func (m *ListImagesRequest) XXX_Size() int { return xxx_messageInfo_ListImagesRequest.Size(m) @@ -211,16 +215,17 @@ func (m *ListImagesResponse) Reset() { *m = ListImagesResponse{} } func (m *ListImagesResponse) String() string { return proto.CompactTextString(m) } func (*ListImagesResponse) ProtoMessage() {} func (*ListImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{3} + return fileDescriptor_9ecf47590268c610, []int{3} } + func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImagesResponse.Unmarshal(m, b) } func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImagesResponse.Marshal(b, m, deterministic) } -func (dst *ListImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImagesResponse.Merge(dst, src) +func (m *ListImagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImagesResponse.Merge(m, src) } func (m *ListImagesResponse) XXX_Size() int { return xxx_messageInfo_ListImagesResponse.Size(m) @@ -287,16 +292,17 @@ func (m *CreateImageRequest) Reset() { *m = CreateImageRequest{} } func (m *CreateImageRequest) String() string { return proto.CompactTextString(m) } func (*CreateImageRequest) ProtoMessage() {} func (*CreateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{4} + return fileDescriptor_9ecf47590268c610, []int{4} } + func (m *CreateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateImageRequest.Unmarshal(m, b) } func (m *CreateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateImageRequest.Marshal(b, m, deterministic) } -func (dst *CreateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateImageRequest.Merge(dst, src) +func (m *CreateImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateImageRequest.Merge(m, src) } func (m *CreateImageRequest) XXX_Size() int { return xxx_messageInfo_CreateImageRequest.Size(m) @@ -426,9 +432,9 @@ func (m *CreateImageRequest) GetOs() *Os { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CreateImageRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CreateImageRequest_OneofMarshaler, _CreateImageRequest_OneofUnmarshaler, _CreateImageRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CreateImageRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*CreateImageRequest_ImageId)(nil), (*CreateImageRequest_DiskId)(nil), (*CreateImageRequest_SnapshotId)(nil), @@ -436,92 +442,6 @@ func (*CreateImageRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Bu } } -func _CreateImageRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CreateImageRequest) - // source - switch x := m.Source.(type) { - case *CreateImageRequest_ImageId: - b.EncodeVarint(8<<3 | proto.WireBytes) - b.EncodeStringBytes(x.ImageId) - case *CreateImageRequest_DiskId: - b.EncodeVarint(9<<3 | proto.WireBytes) - b.EncodeStringBytes(x.DiskId) - case *CreateImageRequest_SnapshotId: - b.EncodeVarint(10<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SnapshotId) - case *CreateImageRequest_Uri: - b.EncodeVarint(11<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Uri) - case nil: - default: - return fmt.Errorf("CreateImageRequest.Source has unexpected type %T", x) - } - return nil -} - -func _CreateImageRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CreateImageRequest) - switch tag { - case 8: // source.image_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateImageRequest_ImageId{x} - return true, err - case 9: // source.disk_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateImageRequest_DiskId{x} - return true, err - case 10: // source.snapshot_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateImageRequest_SnapshotId{x} - return true, err - case 11: // source.uri - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &CreateImageRequest_Uri{x} - return true, err - default: - return false, nil - } -} - -func _CreateImageRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CreateImageRequest) - // source - switch x := m.Source.(type) { - case *CreateImageRequest_ImageId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.ImageId))) - n += len(x.ImageId) - case *CreateImageRequest_DiskId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.DiskId))) - n += len(x.DiskId) - case *CreateImageRequest_SnapshotId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SnapshotId))) - n += len(x.SnapshotId) - case *CreateImageRequest_Uri: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Uri))) - n += len(x.Uri) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type CreateImageMetadata struct { // ID of the image that is being created. ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` @@ -534,16 +454,17 @@ func (m *CreateImageMetadata) Reset() { *m = CreateImageMetadata{} } func (m *CreateImageMetadata) String() string { return proto.CompactTextString(m) } func (*CreateImageMetadata) ProtoMessage() {} func (*CreateImageMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{5} + return fileDescriptor_9ecf47590268c610, []int{5} } + func (m *CreateImageMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateImageMetadata.Unmarshal(m, b) } func (m *CreateImageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateImageMetadata.Marshal(b, m, deterministic) } -func (dst *CreateImageMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateImageMetadata.Merge(dst, src) +func (m *CreateImageMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateImageMetadata.Merge(m, src) } func (m *CreateImageMetadata) XXX_Size() int { return xxx_messageInfo_CreateImageMetadata.Size(m) @@ -587,16 +508,17 @@ func (m *UpdateImageRequest) Reset() { *m = UpdateImageRequest{} } func (m *UpdateImageRequest) String() string { return proto.CompactTextString(m) } func (*UpdateImageRequest) ProtoMessage() {} func (*UpdateImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{6} + return fileDescriptor_9ecf47590268c610, []int{6} } + func (m *UpdateImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateImageRequest.Unmarshal(m, b) } func (m *UpdateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateImageRequest.Marshal(b, m, deterministic) } -func (dst *UpdateImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateImageRequest.Merge(dst, src) +func (m *UpdateImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateImageRequest.Merge(m, src) } func (m *UpdateImageRequest) XXX_Size() int { return xxx_messageInfo_UpdateImageRequest.Size(m) @@ -661,16 +583,17 @@ func (m *UpdateImageMetadata) Reset() { *m = UpdateImageMetadata{} } func (m *UpdateImageMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateImageMetadata) ProtoMessage() {} func (*UpdateImageMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{7} + return fileDescriptor_9ecf47590268c610, []int{7} } + func (m *UpdateImageMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateImageMetadata.Unmarshal(m, b) } func (m *UpdateImageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateImageMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateImageMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateImageMetadata.Merge(dst, src) +func (m *UpdateImageMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateImageMetadata.Merge(m, src) } func (m *UpdateImageMetadata) XXX_Size() int { return xxx_messageInfo_UpdateImageMetadata.Size(m) @@ -701,16 +624,17 @@ func (m *DeleteImageRequest) Reset() { *m = DeleteImageRequest{} } func (m *DeleteImageRequest) String() string { return proto.CompactTextString(m) } func (*DeleteImageRequest) ProtoMessage() {} func (*DeleteImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{8} + return fileDescriptor_9ecf47590268c610, []int{8} } + func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteImageRequest.Unmarshal(m, b) } func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteImageRequest.Marshal(b, m, deterministic) } -func (dst *DeleteImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteImageRequest.Merge(dst, src) +func (m *DeleteImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteImageRequest.Merge(m, src) } func (m *DeleteImageRequest) XXX_Size() int { return xxx_messageInfo_DeleteImageRequest.Size(m) @@ -740,16 +664,17 @@ func (m *DeleteImageMetadata) Reset() { *m = DeleteImageMetadata{} } func (m *DeleteImageMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteImageMetadata) ProtoMessage() {} func (*DeleteImageMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{9} + return fileDescriptor_9ecf47590268c610, []int{9} } + func (m *DeleteImageMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteImageMetadata.Unmarshal(m, b) } func (m *DeleteImageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteImageMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteImageMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteImageMetadata.Merge(dst, src) +func (m *DeleteImageMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteImageMetadata.Merge(m, src) } func (m *DeleteImageMetadata) XXX_Size() int { return xxx_messageInfo_DeleteImageMetadata.Size(m) @@ -786,16 +711,17 @@ func (m *ListImageOperationsRequest) Reset() { *m = ListImageOperationsR func (m *ListImageOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListImageOperationsRequest) ProtoMessage() {} func (*ListImageOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{10} + return fileDescriptor_9ecf47590268c610, []int{10} } + func (m *ListImageOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImageOperationsRequest.Unmarshal(m, b) } func (m *ListImageOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImageOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListImageOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImageOperationsRequest.Merge(dst, src) +func (m *ListImageOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImageOperationsRequest.Merge(m, src) } func (m *ListImageOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListImageOperationsRequest.Size(m) @@ -844,16 +770,17 @@ func (m *ListImageOperationsResponse) Reset() { *m = ListImageOperations func (m *ListImageOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListImageOperationsResponse) ProtoMessage() {} func (*ListImageOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_bc437c5b9fae1fa8, []int{11} + return fileDescriptor_9ecf47590268c610, []int{11} } + func (m *ListImageOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImageOperationsResponse.Unmarshal(m, b) } func (m *ListImageOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImageOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListImageOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImageOperationsResponse.Merge(dst, src) +func (m *ListImageOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImageOperationsResponse.Merge(m, src) } func (m *ListImageOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListImageOperationsResponse.Size(m) @@ -895,6 +822,90 @@ func init() { proto.RegisterType((*ListImageOperationsResponse)(nil), "yandex.cloud.compute.v1.ListImageOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/image_service.proto", fileDescriptor_9ecf47590268c610) +} + +var fileDescriptor_9ecf47590268c610 = []byte{ + // 1209 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xbf, 0x6f, 0xdb, 0xd6, + 0x13, 0x0f, 0x2d, 0x89, 0x96, 0x4e, 0xce, 0xaf, 0xf7, 0x4d, 0x10, 0x85, 0x89, 0xbf, 0xb5, 0x69, + 0x24, 0x91, 0xe5, 0x48, 0x22, 0x65, 0x59, 0x8d, 0x9c, 0x18, 0x45, 0x95, 0x38, 0xb6, 0x00, 0x07, + 0x29, 0x98, 0x66, 0xa9, 0x11, 0x08, 0xb4, 0xf8, 0xac, 0x10, 0xa2, 0x48, 0x96, 0x8f, 0x12, 0x22, + 0xbb, 0x59, 0x02, 0x14, 0x28, 0x3c, 0x15, 0x28, 0xd0, 0x76, 0xee, 0x5e, 0x14, 0x30, 0xd0, 0xb1, + 0x40, 0x3b, 0xd9, 0x73, 0xfa, 0x0f, 0x74, 0xe8, 0x50, 0xa0, 0x5b, 0xc6, 0x4c, 0x05, 0x1f, 0x29, + 0x99, 0x32, 0xf5, 0x33, 0x69, 0x37, 0x52, 0xf7, 0xb9, 0x7b, 0x1f, 0xde, 0x7d, 0xee, 0xee, 0x09, + 0x96, 0xda, 0xb2, 0xae, 0xe0, 0x17, 0xd9, 0xaa, 0x66, 0x34, 0x95, 0x6c, 0xd5, 0x68, 0x98, 0x4d, + 0x1b, 0x67, 0x5b, 0x62, 0x56, 0x6d, 0xc8, 0x35, 0x5c, 0x21, 0xd8, 0x6a, 0xa9, 0x55, 0x9c, 0x31, + 0x2d, 0xc3, 0x36, 0xd0, 0x15, 0x17, 0x9c, 0xa1, 0xe0, 0x8c, 0x07, 0xce, 0xb4, 0x44, 0xee, 0x7a, + 0xcd, 0x30, 0x6a, 0x1a, 0xce, 0xca, 0xa6, 0x9a, 0x95, 0x75, 0xdd, 0xb0, 0x65, 0x5b, 0x35, 0x74, + 0xe2, 0xba, 0x71, 0x73, 0x9e, 0x95, 0xbe, 0xed, 0x34, 0x77, 0xb3, 0xbb, 0x2a, 0xd6, 0x94, 0x4a, + 0x43, 0x26, 0x75, 0x0f, 0xc1, 0x79, 0x2c, 0x1c, 0x7f, 0xc3, 0xc4, 0x16, 0x75, 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 0xe9, 0xa5, 0xb5, 0xde, 0x30, 0xed, + 0xb6, 0xdb, 0x06, 0xa9, 0x11, 0x6d, 0xf0, 0x23, 0x03, 0xe7, 0x1c, 0x8d, 0x9c, 0x4c, 0x05, 0xb4, + 0x3c, 0x5a, 0x4c, 0x81, 0xf1, 0xc6, 0xe5, 0x27, 0x73, 0xf2, 0xa4, 0x28, 0x50, 0x92, 0x29, 0x94, + 0x1c, 0x4a, 0xf2, 0xe4, 0x1f, 0x12, 0x29, 0xad, 0x7f, 0x76, 0xbf, 0xa6, 0xda, 0xcf, 0x9b, 0x3b, + 0xce, 0x11, 0x59, 0xf7, 0xcc, 0xb4, 0xfb, 0x4f, 0xa9, 0x66, 0xa4, 0x6b, 0x58, 0xa7, 0x49, 0xc8, + 0x0e, 0xf8, 0x3f, 0x76, 0xd7, 0x7b, 0xdc, 0x61, 0x29, 0x6c, 0xf9, 0x9f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xad, 0x67, 0x8e, 0x3a, 0x5b, 0x0e, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -1026,6 +1037,32 @@ type ImageServiceServer interface { ListOperations(context.Context, *ListImageOperationsRequest) (*ListImageOperationsResponse, error) } +// UnimplementedImageServiceServer can be embedded to have forward compatible implementations. +type UnimplementedImageServiceServer struct { +} + +func (*UnimplementedImageServiceServer) Get(ctx context.Context, req *GetImageRequest) (*Image, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedImageServiceServer) GetLatestByFamily(ctx context.Context, req *GetImageLatestByFamilyRequest) (*Image, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLatestByFamily not implemented") +} +func (*UnimplementedImageServiceServer) List(ctx context.Context, req *ListImagesRequest) (*ListImagesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedImageServiceServer) Create(ctx context.Context, req *CreateImageRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedImageServiceServer) Update(ctx context.Context, req *UpdateImageRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedImageServiceServer) Delete(ctx context.Context, req *DeleteImageRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedImageServiceServer) ListOperations(ctx context.Context, req *ListImageOperationsRequest) (*ListImageOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer) { s.RegisterService(&_ImageService_serviceDesc, srv) } @@ -1192,87 +1229,3 @@ var _ImageService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/image_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/image_service.proto", fileDescriptor_image_service_bc437c5b9fae1fa8) -} - -var fileDescriptor_image_service_bc437c5b9fae1fa8 = []byte{ - // 1209 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xbf, 0x6f, 0xdb, 0xd6, - 0x13, 0x0f, 0x2d, 0x89, 0x96, 0x4e, 0xce, 0xaf, 0xf7, 0x4d, 0x10, 0x85, 0x89, 0xbf, 0xb5, 0x69, - 0x24, 0x91, 0xe5, 0x48, 0x22, 0x65, 0x59, 0x8d, 0x9c, 0x18, 0x45, 0x95, 0x38, 0xb6, 0x00, 0x07, - 0x29, 0x98, 0x66, 0xa9, 0x11, 0x08, 0xb4, 0xf8, 0xac, 0x10, 0xa2, 0x48, 0x96, 0x8f, 0x12, 0x22, - 0xbb, 0x59, 0x02, 0x14, 0x28, 0x3c, 0x15, 0x28, 0xd0, 0x76, 0xee, 0x5e, 0x14, 0x30, 0xd0, 0xb1, - 0x40, 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, 0xb4, 0xfb, 0x4f, 0xa9, 0x66, 0xa4, 0x6b, 0x58, 0xa7, 0x49, 0xc8, - 0x0e, 0xf8, 0x3f, 0x76, 0xd7, 0x7b, 0xdc, 0x61, 0x29, 0x6c, 0xf9, 0x9f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xad, 0x67, 0x8e, 0x3a, 0x5b, 0x0e, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance.pb.go index 5b284a619..ec399dba1 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/instance.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type IpVersion int32 @@ -34,17 +36,19 @@ var IpVersion_name = map[int32]string{ 1: "IPV4", 2: "IPV6", } + var IpVersion_value = map[string]int32{ "IP_VERSION_UNSPECIFIED": 0, - "IPV4": 1, - "IPV6": 2, + "IPV4": 1, + "IPV6": 2, } func (x IpVersion) String() string { return proto.EnumName(IpVersion_name, int32(x)) } + func (IpVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{0} + return fileDescriptor_212f781fc401ff8e, []int{0} } type Instance_Status int32 @@ -86,6 +90,7 @@ var Instance_Status_name = map[int32]string{ 9: "CRASHED", 10: "DELETING", } + var Instance_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, @@ -103,8 +108,9 @@ var Instance_Status_value = map[string]int32{ func (x Instance_Status) String() string { return proto.EnumName(Instance_Status_name, int32(x)) } + func (Instance_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{0, 0} + return fileDescriptor_212f781fc401ff8e, []int{0, 0} } type AttachedDisk_Mode int32 @@ -122,6 +128,7 @@ var AttachedDisk_Mode_name = map[int32]string{ 1: "READ_ONLY", 2: "READ_WRITE", } + var AttachedDisk_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, @@ -131,8 +138,9 @@ var AttachedDisk_Mode_value = map[string]int32{ func (x AttachedDisk_Mode) String() string { return proto.EnumName(AttachedDisk_Mode_name, int32(x)) } + func (AttachedDisk_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{2, 0} + return fileDescriptor_212f781fc401ff8e, []int{2, 0} } // An Instance resource. For more information, see [Instances](/docs/compute/concepts/vm). @@ -172,27 +180,30 @@ type Instance struct { // If the hostname were not specified when the instance was created, FQDN would be `.auto.internal`. Fqdn string `protobuf:"bytes,16,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Scheduling policy configuration. - SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,17,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` - ServiceAccountId string `protobuf:"bytes,18,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,17,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` + // ID of the service account to use for [authentication inside the instance](/docs/compute/operations/vm-connect/auth-inside-vm). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,18,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Instance) Reset() { *m = Instance{} } func (m *Instance) String() string { return proto.CompactTextString(m) } func (*Instance) ProtoMessage() {} func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{0} + return fileDescriptor_212f781fc401ff8e, []int{0} } + func (m *Instance) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Instance.Unmarshal(m, b) } func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Instance.Marshal(b, m, deterministic) } -func (dst *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(dst, src) +func (m *Instance) XXX_Merge(src proto.Message) { + xxx_messageInfo_Instance.Merge(m, src) } func (m *Instance) XXX_Size() int { return xxx_messageInfo_Instance.Size(m) @@ -329,7 +340,9 @@ type Resources struct { Cores int64 `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"` // Baseline level of CPU performance with the ability to burst performance above that baseline level. // This field sets baseline performance for each core. - CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` + CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` + // The number of GPUs available to the instance. + Gpus int64 `protobuf:"varint,4,opt,name=gpus,proto3" json:"gpus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -339,16 +352,17 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{1} + return fileDescriptor_212f781fc401ff8e, []int{1} } + func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) } func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Resources.Marshal(b, m, deterministic) } -func (dst *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(dst, src) +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) } func (m *Resources) XXX_Size() int { return xxx_messageInfo_Resources.Size(m) @@ -380,6 +394,13 @@ func (m *Resources) GetCoreFraction() int64 { return 0 } +func (m *Resources) GetGpus() int64 { + if m != nil { + return m.Gpus + } + return 0 +} + type AttachedDisk struct { // Access mode to the Disk resource. Mode AttachedDisk_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.compute.v1.AttachedDisk_Mode" json:"mode,omitempty"` @@ -401,16 +422,17 @@ func (m *AttachedDisk) Reset() { *m = AttachedDisk{} } func (m *AttachedDisk) String() string { return proto.CompactTextString(m) } func (*AttachedDisk) ProtoMessage() {} func (*AttachedDisk) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{2} + return fileDescriptor_212f781fc401ff8e, []int{2} } + func (m *AttachedDisk) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachedDisk.Unmarshal(m, b) } func (m *AttachedDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachedDisk.Marshal(b, m, deterministic) } -func (dst *AttachedDisk) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachedDisk.Merge(dst, src) +func (m *AttachedDisk) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedDisk.Merge(m, src) } func (m *AttachedDisk) XXX_Size() int { return xxx_messageInfo_AttachedDisk.Size(m) @@ -470,16 +492,17 @@ func (m *NetworkInterface) Reset() { *m = NetworkInterface{} } func (m *NetworkInterface) String() string { return proto.CompactTextString(m) } func (*NetworkInterface) ProtoMessage() {} func (*NetworkInterface) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{3} + return fileDescriptor_212f781fc401ff8e, []int{3} } + func (m *NetworkInterface) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkInterface.Unmarshal(m, b) } func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkInterface.Marshal(b, m, deterministic) } -func (dst *NetworkInterface) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkInterface.Merge(dst, src) +func (m *NetworkInterface) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkInterface.Merge(m, src) } func (m *NetworkInterface) XXX_Size() int { return xxx_messageInfo_NetworkInterface.Size(m) @@ -539,16 +562,17 @@ func (m *PrimaryAddress) Reset() { *m = PrimaryAddress{} } func (m *PrimaryAddress) String() string { return proto.CompactTextString(m) } func (*PrimaryAddress) ProtoMessage() {} func (*PrimaryAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{4} + return fileDescriptor_212f781fc401ff8e, []int{4} } + func (m *PrimaryAddress) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PrimaryAddress.Unmarshal(m, b) } func (m *PrimaryAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PrimaryAddress.Marshal(b, m, deterministic) } -func (dst *PrimaryAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrimaryAddress.Merge(dst, src) +func (m *PrimaryAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrimaryAddress.Merge(m, src) } func (m *PrimaryAddress) XXX_Size() int { return xxx_messageInfo_PrimaryAddress.Size(m) @@ -587,16 +611,17 @@ func (m *OneToOneNat) Reset() { *m = OneToOneNat{} } func (m *OneToOneNat) String() string { return proto.CompactTextString(m) } func (*OneToOneNat) ProtoMessage() {} func (*OneToOneNat) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{5} + return fileDescriptor_212f781fc401ff8e, []int{5} } + func (m *OneToOneNat) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OneToOneNat.Unmarshal(m, b) } func (m *OneToOneNat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OneToOneNat.Marshal(b, m, deterministic) } -func (dst *OneToOneNat) XXX_Merge(src proto.Message) { - xxx_messageInfo_OneToOneNat.Merge(dst, src) +func (m *OneToOneNat) XXX_Merge(src proto.Message) { + xxx_messageInfo_OneToOneNat.Merge(m, src) } func (m *OneToOneNat) XXX_Size() int { return xxx_messageInfo_OneToOneNat.Size(m) @@ -633,16 +658,17 @@ func (m *SchedulingPolicy) Reset() { *m = SchedulingPolicy{} } func (m *SchedulingPolicy) String() string { return proto.CompactTextString(m) } func (*SchedulingPolicy) ProtoMessage() {} func (*SchedulingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_da800a4f3ac3c9a8, []int{6} + return fileDescriptor_212f781fc401ff8e, []int{6} } + func (m *SchedulingPolicy) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SchedulingPolicy.Unmarshal(m, b) } func (m *SchedulingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_SchedulingPolicy.Marshal(b, m, deterministic) } -func (dst *SchedulingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_SchedulingPolicy.Merge(dst, src) +func (m *SchedulingPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_SchedulingPolicy.Merge(m, src) } func (m *SchedulingPolicy) XXX_Size() int { return xxx_messageInfo_SchedulingPolicy.Size(m) @@ -661,6 +687,9 @@ func (m *SchedulingPolicy) GetPreemptible() bool { } func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.IpVersion", IpVersion_name, IpVersion_value) + proto.RegisterEnum("yandex.cloud.compute.v1.Instance_Status", Instance_Status_name, Instance_Status_value) + proto.RegisterEnum("yandex.cloud.compute.v1.AttachedDisk_Mode", AttachedDisk_Mode_name, AttachedDisk_Mode_value) proto.RegisterType((*Instance)(nil), "yandex.cloud.compute.v1.Instance") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.Instance.LabelsEntry") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.Instance.MetadataEntry") @@ -670,83 +699,81 @@ func init() { proto.RegisterType((*PrimaryAddress)(nil), "yandex.cloud.compute.v1.PrimaryAddress") proto.RegisterType((*OneToOneNat)(nil), "yandex.cloud.compute.v1.OneToOneNat") proto.RegisterType((*SchedulingPolicy)(nil), "yandex.cloud.compute.v1.SchedulingPolicy") - proto.RegisterEnum("yandex.cloud.compute.v1.IpVersion", IpVersion_name, IpVersion_value) - proto.RegisterEnum("yandex.cloud.compute.v1.Instance_Status", Instance_Status_name, Instance_Status_value) - proto.RegisterEnum("yandex.cloud.compute.v1.AttachedDisk_Mode", AttachedDisk_Mode_name, AttachedDisk_Mode_value) } func init() { - proto.RegisterFile("yandex/cloud/compute/v1/instance.proto", fileDescriptor_instance_da800a4f3ac3c9a8) + proto.RegisterFile("yandex/cloud/compute/v1/instance.proto", fileDescriptor_212f781fc401ff8e) } -var fileDescriptor_instance_da800a4f3ac3c9a8 = []byte{ - // 1081 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xeb, 0x6e, 0xe2, 0xc6, - 0x17, 0xff, 0x73, 0x09, 0xc1, 0x87, 0x84, 0xbf, 0x33, 0x5a, 0x65, 0xad, 0xf4, 0x43, 0x22, 0x7a, - 0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e8, 0xae, 0x44, 0x08, 0xaa, 0x31, 0x89, 0x98, 0x53, 0xd5, - 0x90, 0x5a, 0x46, 0x27, 0xd0, 0xa0, 0x4c, 0x04, 0x69, 0x98, 0xc8, 0x90, 0xc7, 0xce, 0x8e, 0x76, - 0xad, 0x9b, 0x90, 0x0b, 0xb5, 0x05, 0x99, 0xb2, 0x85, 0x70, 0x6a, 0x27, 0x95, 0xd3, 0xc6, 0xf9, - 0x59, 0x7b, 0x4b, 0xd7, 0xed, 0xa2, 0xa1, 0xf6, 0x8d, 0x8e, 0x77, 0x63, 0x99, 0x3e, 0xe0, 0x3c, - 0x19, 0x3d, 0x86, 0xdd, 0xdf, 0x78, 0xcc, 0x54, 0x4b, 0xbb, 0xba, 0x48, 0x4d, 0xa9, 0x1e, 0x45, - 0xc7, 0xd0, 0x48, 0x16, 0x44, 0xce, 0x78, 0x1a, 0x29, 0x67, 0x5d, 0x3b, 0xa1, 0x30, 0x79, 0x14, - 0x3d, 0x07, 0x2b, 0x65, 0x82, 0x67, 0x69, 0xc0, 0x84, 0x63, 0xe9, 0x86, 0x5b, 0x5b, 0xcf, 0x80, - 0x8b, 0x48, 0xfc, 0x3a, 0x09, 0x3d, 0x87, 0x9a, 0x90, 0x44, 0x66, 0xc2, 0x81, 0x93, 0xd2, 0x69, - 0xf3, 0xfc, 0xf4, 0xed, 0x2d, 0x8c, 0x74, 0x3c, 0xce, 0xf3, 0xd0, 0x37, 0x50, 0x8f, 0x98, 0x24, - 0x94, 0x48, 0xe2, 0x34, 0xf4, 0x18, 0x3a, 0x6f, 0xc7, 0xb8, 0xcd, 0x33, 0xcc, 0x20, 0x56, 0x00, - 0xe8, 0x05, 0x58, 0x53, 0xce, 0xa5, 0x4f, 0x43, 0x71, 0xef, 0xec, 0xe9, 0x86, 0x3e, 0xdc, 0x8a, - 0xd6, 0x95, 0x92, 0x04, 0xaf, 0x18, 0xed, 0x85, 0xe2, 0x1e, 0xd7, 0x55, 0x9e, 0x92, 0x50, 0x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- 0x3e, 0x91, 0xb8, 0xc1, 0x5f, 0x2b, 0xad, 0x9f, 0xa0, 0xb1, 0xe6, 0xfb, 0x87, 0x9a, 0x5d, 0x80, - 0x30, 0xf1, 0x97, 0x2c, 0x15, 0x8a, 0xc1, 0x65, 0x4d, 0xca, 0xed, 0x0f, 0x90, 0x97, 0x4c, 0x4c, - 0x24, 0xb6, 0xc2, 0x42, 0x6c, 0x5d, 0x80, 0xbd, 0xb9, 0xbd, 0xd4, 0xcb, 0x9b, 0xa4, 0x8c, 0x45, - 0x89, 0x0c, 0xa7, 0x0b, 0x43, 0xf6, 0x3a, 0x5e, 0x37, 0x3d, 0xb9, 0x02, 0x6b, 0x85, 0x86, 0x8e, - 0xe0, 0xd0, 0x1b, 0xfa, 0x13, 0x17, 0xab, 0x95, 0xb0, 0xc1, 0xbb, 0x3a, 0x54, 0xbd, 0xe1, 0xe4, - 0xc2, 0x2e, 0xe5, 0xd2, 0xa5, 0x5d, 0x7e, 0xe1, 0xfe, 0x70, 0x3d, 0x0f, 0xe5, 0xab, 0x6c, 0xaa, - 0x0e, 0xd7, 0x31, 0xa7, 0x3d, 0x33, 0x1f, 0x34, 0x73, 0x7e, 0x36, 0x67, 0xb1, 0xfe, 0x56, 0xe8, - 0x6c, 0xf9, 0xd2, 0xb9, 0xca, 0xc5, 0x69, 0x4d, 0x87, 0x7d, 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x84, 0xeb, 0xeb, 0x65, 0x13, 0x09, 0x00, 0x00, +var fileDescriptor_212f781fc401ff8e = []byte{ + // 1089 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xeb, 0x6e, 0xe3, 0x44, + 0x14, 0x26, 0x97, 0xa6, 0xf1, 0x49, 0x1b, 0xdc, 0xd1, 0xaa, 0x6b, 0x95, 0x1f, 0xad, 0xc2, 0xad, + 0xac, 0x68, 0xa2,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, 0x68, 0x90, 0x4c, 0x72, 0x9f, + 0xb2, 0x05, 0x93, 0x4c, 0x1f, 0xb4, 0x8e, 0x41, 0x99, 0x7a, 0xda, 0xa2, 0x16, 0x98, 0xba, 0x67, + 0x8a, 0x50, 0x66, 0x81, 0xd6, 0x94, 0xea, 0xd1, 0xd6, 0x15, 0x54, 0x55, 0x21, 0xf4, 0x08, 0xec, + 0xdb, 0x41, 0xcf, 0xdd, 0xf8, 0x92, 0xfb, 0x60, 0x61, 0xb7, 0xdb, 0xf3, 0x07, 0xfd, 0x9b, 0x1f, + 0xed, 0x92, 0xf9, 0x20, 0xdd, 0x9e, 0xff, 0x3d, 0xf6, 0xc6, 0xae, 0x5d, 0x6e, 0xfd, 0x51, 0x06, + 0x7b, 0xf3, 0x16, 0xa9, 0x61, 0x86, 0xaa, 0xbd, 0x9c, 0x4e, 0x46, 0x51, 0x27, 0x8c, 0x48, 0xe0, + 0x13, 0x4a, 0x53, 0x26, 0x44, 0xd1, 0x42, 0x44, 0x82, 0xae, 0xb1, 0xa8, 0x77, 0x43, 0x64, 0xd3, + 0x98, 0x69, 0xd2, 0x57, 0xcc, 0xbb, 0x61, 0x0c, 0x1e, 0x45, 0x77, 0x80, 0x92, 0x34, 0x8c, 0xd4, + 0xba, 0x58, 0x5e, 0xac, 0x40, 0xaa, 0xfa, 0xce, 0x7d, 0xba, 0x75, 0x9c, 0x43, 0x93, 0x92, 0x57, + 0xc0, 0x76, 0x0e, 0x31, 0xb9, 0x28, 0x6a, 0xae, 0xc3, 0x5e, 0xae, 0x60, 0x77, 0xfe, 0x27, 0xec, + 0x65, 0x6e, 0x69, 0x65, 0xd0, 0x7c, 0x33, 0x06, 0x39, 0xb0, 0x5b, 0xa0, 0x9b, 0xa9, 0x14, 0x2a, + 0xf2, 0xa0, 0xa9, 0x1e, 0x16, 0xc9, 0x7d, 0xf5, 0x13, 0x13, 0xa9, 0x47, 0xd3, 0x38, 0xff, 0x68, + 0x6b, 0xf9, 0x41, 0xcc, 0xc6, 0x7c, 0x10, 0xb3, 0x3e, 0x91, 0xb8, 0xc1, 0x5f, 0x2b, 0xad, 0x9f, + 0xa1, 0xb1, 0xe6, 0xfb, 0x97, 0x9a, 0x5d, 0x80, 0x30, 0xf1, 0x97, 0x2c, 0x15, 0x8a, 0xd5, 0x65, + 0x4d, 0xca, 0xed, 0x8f, 0x92, 0x97, 0x4c, 0x4c, 0x24, 0xb6, 0xc2, 0x42, 0x6c, 0x5d, 0x80, 0xbd, + 0xb9, 0xd1, 0xd4, 0x6b, 0x9c, 0xa4, 0x8c, 0x45, 0x89, 0x0c, 0xa7, 0x0b, 0x43, 0xf6, 0x3a, 0x5e, + 0x37, 0x3d, 0xb9, 0x02, 0x6b, 0x85, 0x86, 0x8e, 0xe0, 0xd0, 0x1b, 0xfa, 0x13, 0x17, 0xab, 0x35, + 0xb1, 0xc1, 0xbb, 0x3a, 0x54, 0xbd, 0xe1, 0xe4, 0xc2, 0x2e, 0xe5, 0xd2, 0xa5, 0x5d, 0x7e, 0xe1, + 0xfe, 0x74, 0x3d, 0x0f, 0xe5, 0xab, 0x6c, 0xaa, 0x0e, 0xd7, 0x31, 0xa7, 0x3d, 0x33, 0x7f, 0x72, + 0xe6, 0xfc, 0x6c, 0xce, 0x62, 0xfd, 0xff, 0xa1, 0xb3, 0xe5, 0xdf, 0xcf, 0x55, 0x2e, 0x4e, 0x6b, + 0x3a, 0xec, 0x8b, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x58, 0x39, 0xd8, 0x4c, 0x27, 0x09, 0x00, + 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance_service.pb.go index a4c9dd2e2..48da2ef32 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instance_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/instance_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,14 +27,14 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type InstanceView int32 const ( - // Doesn't include the metadata field in the server response. + // Doesn't include the metadata of the instance in the server response. InstanceView_BASIC InstanceView = 0 - // Returns the full representation of the instance in the server response, including metadata. + // Returns the metadata of the instance in the server response. InstanceView_FULL InstanceView = 1 ) @@ -41,6 +42,7 @@ var InstanceView_name = map[int32]string{ 0: "BASIC", 1: "FULL", } + var InstanceView_value = map[string]int32{ "BASIC": 0, "FULL": 1, @@ -49,8 +51,9 @@ var InstanceView_value = map[string]int32{ func (x InstanceView) String() string { return proto.EnumName(InstanceView_name, int32(x)) } + func (InstanceView) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{0} + return fileDescriptor_f767221f90c06403, []int{0} } type AttachedDiskSpec_Mode int32 @@ -68,6 +71,7 @@ var AttachedDiskSpec_Mode_name = map[int32]string{ 1: "READ_ONLY", 2: "READ_WRITE", } + var AttachedDiskSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, @@ -77,8 +81,9 @@ var AttachedDiskSpec_Mode_value = map[string]int32{ func (x AttachedDiskSpec_Mode) String() string { return proto.EnumName(AttachedDiskSpec_Mode_name, int32(x)) } + func (AttachedDiskSpec_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{26, 0} + return fileDescriptor_f767221f90c06403, []int{26, 0} } type GetInstanceRequest struct { @@ -96,16 +101,17 @@ func (m *GetInstanceRequest) Reset() { *m = GetInstanceRequest{} } func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceRequest) ProtoMessage() {} func (*GetInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{0} + return fileDescriptor_f767221f90c06403, []int{0} } + func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b) } func (m *GetInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetInstanceRequest.Marshal(b, m, deterministic) } -func (dst *GetInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceRequest.Merge(dst, src) +func (m *GetInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInstanceRequest.Merge(m, src) } func (m *GetInstanceRequest) XXX_Size() int { return xxx_messageInfo_GetInstanceRequest.Size(m) @@ -158,16 +164,17 @@ func (m *ListInstancesRequest) Reset() { *m = ListInstancesRequest{} } func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) } func (*ListInstancesRequest) ProtoMessage() {} func (*ListInstancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{1} + return fileDescriptor_f767221f90c06403, []int{1} } + func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b) } func (m *ListInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListInstancesRequest.Marshal(b, m, deterministic) } -func (dst *ListInstancesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesRequest.Merge(dst, src) +func (m *ListInstancesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstancesRequest.Merge(m, src) } func (m *ListInstancesRequest) XXX_Size() int { return xxx_messageInfo_ListInstancesRequest.Size(m) @@ -225,16 +232,17 @@ func (m *ListInstancesResponse) Reset() { *m = ListInstancesResponse{} } func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) } func (*ListInstancesResponse) ProtoMessage() {} func (*ListInstancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{2} + return fileDescriptor_f767221f90c06403, []int{2} } + func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b) } func (m *ListInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListInstancesResponse.Marshal(b, m, deterministic) } -func (dst *ListInstancesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstancesResponse.Merge(dst, src) +func (m *ListInstancesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstancesResponse.Merge(m, src) } func (m *ListInstancesResponse) XXX_Size() int { return xxx_messageInfo_ListInstancesResponse.Size(m) @@ -275,12 +283,13 @@ type CreateInstanceRequest struct { // ID of the hardware platform configuration for the instance. // This field affects the available values in [resources_spec] field. // - // Currently only one platform is available - `standard-v1`. This platform is suitable for most tasks. - // This platform allows you to create various types of instances: with a large amount of memory, + // Currently only several platforms is available - `standard-v1`, `standard-v2`. These platforms are suitable for most tasks. + // These platforms allows you to create various types of instances: with a large amount of memory, // with a large number of cores, with a burstable performance. + // For more information, see [Platforms](/docs/compute/concepts/vm-platforms). PlatformId string `protobuf:"bytes,6,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` // Computing resources of the instance, such as the amount of memory and number of cores. - // To get a list of available values, see [Computing resources](/docs/compute/concepts/vm-types). + // To get a list of available values, see [Levels of core performance](/docs/compute/concepts/performance-levels). ResourcesSpec *ResourcesSpec `protobuf:"bytes,7,opt,name=resources_spec,json=resourcesSpec,proto3" json:"resources_spec,omitempty"` // The metadata `key:value` pairs that will be assigned to this instance. This includes custom metadata and predefined keys. // The total size of all keys and values must be less than 512 KB. @@ -306,27 +315,30 @@ type CreateInstanceRequest struct { // and FQDN will be `.auto.internal`. Otherwise FQDN will be `..internal`. Hostname string `protobuf:"bytes,12,opt,name=hostname,proto3" json:"hostname,omitempty"` // Scheduling policy configuration. - SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,13,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` - ServiceAccountId string `protobuf:"bytes,14,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,13,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` + // ID of the service account to use for [authentication inside the instance](/docs/compute/operations/vm-connect/auth-inside-vm). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,14,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CreateInstanceRequest) Reset() { *m = CreateInstanceRequest{} } func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*CreateInstanceRequest) ProtoMessage() {} func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{3} + return fileDescriptor_f767221f90c06403, []int{3} } + func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b) } func (m *CreateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateInstanceRequest.Marshal(b, m, deterministic) } -func (dst *CreateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceRequest.Merge(dst, src) +func (m *CreateInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceRequest.Merge(m, src) } func (m *CreateInstanceRequest) XXX_Size() int { return xxx_messageInfo_CreateInstanceRequest.Size(m) @@ -447,16 +459,17 @@ func (m *CreateInstanceMetadata) Reset() { *m = CreateInstanceMetadata{} func (m *CreateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*CreateInstanceMetadata) ProtoMessage() {} func (*CreateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{4} + return fileDescriptor_f767221f90c06403, []int{4} } + func (m *CreateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateInstanceMetadata.Unmarshal(m, b) } func (m *CreateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *CreateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateInstanceMetadata.Merge(dst, src) +func (m *CreateInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceMetadata.Merge(m, src) } func (m *CreateInstanceMetadata) XXX_Size() int { return xxx_messageInfo_CreateInstanceMetadata.Size(m) @@ -491,12 +504,13 @@ type UpdateInstanceRequest struct { // ID of the hardware platform configuration for the instance. // This field affects the available values in [resources_spec] field. // - // Currently only one platform is available - `standard-v1`. This platform is suitable for most tasks. - // This platform allows you to create various types of instances: with a large amount of memory, + // Currently only several platforms is available - `standard-v1`, `standard-v2`. These platforms are suitable for most tasks. + // These platforms allows you to create various types of instances: with a large amount of memory, // with a large number of cores, with a burstable performance. + // For more information, see [Platforms](/docs/compute/concepts/vm-platforms). PlatformId string `protobuf:"bytes,6,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` // Computing resources of the instance, such as the amount of memory and number of cores. - // To get a list of available values, see [Computing resources](/docs/compute/concepts/vm-types). + // To get a list of available values, see [Levels of core performance](/docs/compute/concepts/performance-levels). ResourcesSpec *ResourcesSpec `protobuf:"bytes,7,opt,name=resources_spec,json=resourcesSpec,proto3" json:"resources_spec,omitempty"` // The metadata `key:value` pairs that will be assigned to this instance. This includes custom metadata and predefined keys. // The total size of all keys and values must be less than 512 KB. @@ -508,26 +522,30 @@ type UpdateInstanceRequest struct { // // For example, you may use the metadata in order to provide your public SSH key to the instance. // For more information, see [Metadata](/docs/compute/concepts/vm-metadata). - Metadata map[string]string `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metadata map[string]string `protobuf:"bytes,8,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // ID of the service account to use for [authentication inside the instance](/docs/compute/operations/vm-connect/auth-inside-vm). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,9,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateInstanceRequest) Reset() { *m = UpdateInstanceRequest{} } func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceRequest) ProtoMessage() {} func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{5} + return fileDescriptor_f767221f90c06403, []int{5} } + func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b) } func (m *UpdateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateInstanceRequest.Marshal(b, m, deterministic) } -func (dst *UpdateInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceRequest.Merge(dst, src) +func (m *UpdateInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceRequest.Merge(m, src) } func (m *UpdateInstanceRequest) XXX_Size() int { return xxx_messageInfo_UpdateInstanceRequest.Size(m) @@ -594,6 +612,13 @@ func (m *UpdateInstanceRequest) GetMetadata() map[string]string { return nil } +func (m *UpdateInstanceRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + type UpdateInstanceMetadata struct { // ID of the Instance resource that is being updated. InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` @@ -606,16 +631,17 @@ func (m *UpdateInstanceMetadata) Reset() { *m = UpdateInstanceMetadata{} func (m *UpdateInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceMetadata) ProtoMessage() {} func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{6} + return fileDescriptor_f767221f90c06403, []int{6} } + func (m *UpdateInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceMetadata.Unmarshal(m, b) } func (m *UpdateInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceMetadata.Merge(dst, src) +func (m *UpdateInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceMetadata.Merge(m, src) } func (m *UpdateInstanceMetadata) XXX_Size() int { return xxx_messageInfo_UpdateInstanceMetadata.Size(m) @@ -646,16 +672,17 @@ func (m *DeleteInstanceRequest) Reset() { *m = DeleteInstanceRequest{} } func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceRequest) ProtoMessage() {} func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{7} + return fileDescriptor_f767221f90c06403, []int{7} } + func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b) } func (m *DeleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteInstanceRequest.Marshal(b, m, deterministic) } -func (dst *DeleteInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceRequest.Merge(dst, src) +func (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstanceRequest.Merge(m, src) } func (m *DeleteInstanceRequest) XXX_Size() int { return xxx_messageInfo_DeleteInstanceRequest.Size(m) @@ -685,16 +712,17 @@ func (m *DeleteInstanceMetadata) Reset() { *m = DeleteInstanceMetadata{} func (m *DeleteInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteInstanceMetadata) ProtoMessage() {} func (*DeleteInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{8} + return fileDescriptor_f767221f90c06403, []int{8} } + func (m *DeleteInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteInstanceMetadata.Unmarshal(m, b) } func (m *DeleteInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteInstanceMetadata.Merge(dst, src) +func (m *DeleteInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstanceMetadata.Merge(m, src) } func (m *DeleteInstanceMetadata) XXX_Size() int { return xxx_messageInfo_DeleteInstanceMetadata.Size(m) @@ -728,16 +756,17 @@ func (m *UpdateInstanceMetadataRequest) Reset() { *m = UpdateInstanceMet func (m *UpdateInstanceMetadataRequest) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceMetadataRequest) ProtoMessage() {} func (*UpdateInstanceMetadataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{9} + return fileDescriptor_f767221f90c06403, []int{9} } + func (m *UpdateInstanceMetadataRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceMetadataRequest.Unmarshal(m, b) } func (m *UpdateInstanceMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateInstanceMetadataRequest.Marshal(b, m, deterministic) } -func (dst *UpdateInstanceMetadataRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceMetadataRequest.Merge(dst, src) +func (m *UpdateInstanceMetadataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceMetadataRequest.Merge(m, src) } func (m *UpdateInstanceMetadataRequest) XXX_Size() int { return xxx_messageInfo_UpdateInstanceMetadataRequest.Size(m) @@ -781,16 +810,17 @@ func (m *UpdateInstanceMetadataMetadata) Reset() { *m = UpdateInstanceMe func (m *UpdateInstanceMetadataMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateInstanceMetadataMetadata) ProtoMessage() {} func (*UpdateInstanceMetadataMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{10} + return fileDescriptor_f767221f90c06403, []int{10} } + func (m *UpdateInstanceMetadataMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateInstanceMetadataMetadata.Unmarshal(m, b) } func (m *UpdateInstanceMetadataMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateInstanceMetadataMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateInstanceMetadataMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateInstanceMetadataMetadata.Merge(dst, src) +func (m *UpdateInstanceMetadataMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceMetadataMetadata.Merge(m, src) } func (m *UpdateInstanceMetadataMetadata) XXX_Size() int { return xxx_messageInfo_UpdateInstanceMetadataMetadata.Size(m) @@ -810,7 +840,9 @@ func (m *UpdateInstanceMetadataMetadata) GetInstanceId() string { type GetInstanceSerialPortOutputRequest struct { // ID of the instance to return the serial port output for. - InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + // Serial port to retrieve data from. The default is 1. + Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -820,16 +852,17 @@ func (m *GetInstanceSerialPortOutputRequest) Reset() { *m = GetInstanceS func (m *GetInstanceSerialPortOutputRequest) String() string { return proto.CompactTextString(m) } func (*GetInstanceSerialPortOutputRequest) ProtoMessage() {} func (*GetInstanceSerialPortOutputRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{11} + return fileDescriptor_f767221f90c06403, []int{11} } + func (m *GetInstanceSerialPortOutputRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceSerialPortOutputRequest.Unmarshal(m, b) } func (m *GetInstanceSerialPortOutputRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetInstanceSerialPortOutputRequest.Marshal(b, m, deterministic) } -func (dst *GetInstanceSerialPortOutputRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceSerialPortOutputRequest.Merge(dst, src) +func (m *GetInstanceSerialPortOutputRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInstanceSerialPortOutputRequest.Merge(m, src) } func (m *GetInstanceSerialPortOutputRequest) XXX_Size() int { return xxx_messageInfo_GetInstanceSerialPortOutputRequest.Size(m) @@ -847,6 +880,13 @@ func (m *GetInstanceSerialPortOutputRequest) GetInstanceId() string { return "" } +func (m *GetInstanceSerialPortOutputRequest) GetPort() int64 { + if m != nil { + return m.Port + } + return 0 +} + type GetInstanceSerialPortOutputResponse struct { // The contents of the serial port output, starting from the time when the instance // started to boot. @@ -860,16 +900,17 @@ func (m *GetInstanceSerialPortOutputResponse) Reset() { *m = GetInstance func (m *GetInstanceSerialPortOutputResponse) String() string { return proto.CompactTextString(m) } func (*GetInstanceSerialPortOutputResponse) ProtoMessage() {} func (*GetInstanceSerialPortOutputResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{12} + return fileDescriptor_f767221f90c06403, []int{12} } + func (m *GetInstanceSerialPortOutputResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetInstanceSerialPortOutputResponse.Unmarshal(m, b) } func (m *GetInstanceSerialPortOutputResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetInstanceSerialPortOutputResponse.Marshal(b, m, deterministic) } -func (dst *GetInstanceSerialPortOutputResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInstanceSerialPortOutputResponse.Merge(dst, src) +func (m *GetInstanceSerialPortOutputResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInstanceSerialPortOutputResponse.Merge(m, src) } func (m *GetInstanceSerialPortOutputResponse) XXX_Size() int { return xxx_messageInfo_GetInstanceSerialPortOutputResponse.Size(m) @@ -900,16 +941,17 @@ func (m *StopInstanceRequest) Reset() { *m = StopInstanceRequest{} } func (m *StopInstanceRequest) String() string { return proto.CompactTextString(m) } func (*StopInstanceRequest) ProtoMessage() {} func (*StopInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{13} + return fileDescriptor_f767221f90c06403, []int{13} } + func (m *StopInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopInstanceRequest.Unmarshal(m, b) } func (m *StopInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopInstanceRequest.Marshal(b, m, deterministic) } -func (dst *StopInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopInstanceRequest.Merge(dst, src) +func (m *StopInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopInstanceRequest.Merge(m, src) } func (m *StopInstanceRequest) XXX_Size() int { return xxx_messageInfo_StopInstanceRequest.Size(m) @@ -939,16 +981,17 @@ func (m *StopInstanceMetadata) Reset() { *m = StopInstanceMetadata{} } func (m *StopInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*StopInstanceMetadata) ProtoMessage() {} func (*StopInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{14} + return fileDescriptor_f767221f90c06403, []int{14} } + func (m *StopInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopInstanceMetadata.Unmarshal(m, b) } func (m *StopInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *StopInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopInstanceMetadata.Merge(dst, src) +func (m *StopInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopInstanceMetadata.Merge(m, src) } func (m *StopInstanceMetadata) XXX_Size() int { return xxx_messageInfo_StopInstanceMetadata.Size(m) @@ -979,16 +1022,17 @@ func (m *StartInstanceRequest) Reset() { *m = StartInstanceRequest{} } func (m *StartInstanceRequest) String() string { return proto.CompactTextString(m) } func (*StartInstanceRequest) ProtoMessage() {} func (*StartInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{15} + return fileDescriptor_f767221f90c06403, []int{15} } + func (m *StartInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartInstanceRequest.Unmarshal(m, b) } func (m *StartInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartInstanceRequest.Marshal(b, m, deterministic) } -func (dst *StartInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartInstanceRequest.Merge(dst, src) +func (m *StartInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartInstanceRequest.Merge(m, src) } func (m *StartInstanceRequest) XXX_Size() int { return xxx_messageInfo_StartInstanceRequest.Size(m) @@ -1018,16 +1062,17 @@ func (m *StartInstanceMetadata) Reset() { *m = StartInstanceMetadata{} } func (m *StartInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*StartInstanceMetadata) ProtoMessage() {} func (*StartInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{16} + return fileDescriptor_f767221f90c06403, []int{16} } + func (m *StartInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartInstanceMetadata.Unmarshal(m, b) } func (m *StartInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *StartInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartInstanceMetadata.Merge(dst, src) +func (m *StartInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartInstanceMetadata.Merge(m, src) } func (m *StartInstanceMetadata) XXX_Size() int { return xxx_messageInfo_StartInstanceMetadata.Size(m) @@ -1058,16 +1103,17 @@ func (m *RestartInstanceRequest) Reset() { *m = RestartInstanceRequest{} func (m *RestartInstanceRequest) String() string { return proto.CompactTextString(m) } func (*RestartInstanceRequest) ProtoMessage() {} func (*RestartInstanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{17} + return fileDescriptor_f767221f90c06403, []int{17} } + func (m *RestartInstanceRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestartInstanceRequest.Unmarshal(m, b) } func (m *RestartInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestartInstanceRequest.Marshal(b, m, deterministic) } -func (dst *RestartInstanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestartInstanceRequest.Merge(dst, src) +func (m *RestartInstanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestartInstanceRequest.Merge(m, src) } func (m *RestartInstanceRequest) XXX_Size() int { return xxx_messageInfo_RestartInstanceRequest.Size(m) @@ -1097,16 +1143,17 @@ func (m *RestartInstanceMetadata) Reset() { *m = RestartInstanceMetadata func (m *RestartInstanceMetadata) String() string { return proto.CompactTextString(m) } func (*RestartInstanceMetadata) ProtoMessage() {} func (*RestartInstanceMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{18} + return fileDescriptor_f767221f90c06403, []int{18} } + func (m *RestartInstanceMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestartInstanceMetadata.Unmarshal(m, b) } func (m *RestartInstanceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestartInstanceMetadata.Marshal(b, m, deterministic) } -func (dst *RestartInstanceMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestartInstanceMetadata.Merge(dst, src) +func (m *RestartInstanceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestartInstanceMetadata.Merge(m, src) } func (m *RestartInstanceMetadata) XXX_Size() int { return xxx_messageInfo_RestartInstanceMetadata.Size(m) @@ -1139,16 +1186,17 @@ func (m *AttachInstanceDiskRequest) Reset() { *m = AttachInstanceDiskReq func (m *AttachInstanceDiskRequest) String() string { return proto.CompactTextString(m) } func (*AttachInstanceDiskRequest) ProtoMessage() {} func (*AttachInstanceDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{19} + return fileDescriptor_f767221f90c06403, []int{19} } + func (m *AttachInstanceDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachInstanceDiskRequest.Unmarshal(m, b) } func (m *AttachInstanceDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachInstanceDiskRequest.Marshal(b, m, deterministic) } -func (dst *AttachInstanceDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachInstanceDiskRequest.Merge(dst, src) +func (m *AttachInstanceDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachInstanceDiskRequest.Merge(m, src) } func (m *AttachInstanceDiskRequest) XXX_Size() int { return xxx_messageInfo_AttachInstanceDiskRequest.Size(m) @@ -1187,16 +1235,17 @@ func (m *AttachInstanceDiskMetadata) Reset() { *m = AttachInstanceDiskMe func (m *AttachInstanceDiskMetadata) String() string { return proto.CompactTextString(m) } func (*AttachInstanceDiskMetadata) ProtoMessage() {} func (*AttachInstanceDiskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{20} + return fileDescriptor_f767221f90c06403, []int{20} } + func (m *AttachInstanceDiskMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachInstanceDiskMetadata.Unmarshal(m, b) } func (m *AttachInstanceDiskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachInstanceDiskMetadata.Marshal(b, m, deterministic) } -func (dst *AttachInstanceDiskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachInstanceDiskMetadata.Merge(dst, src) +func (m *AttachInstanceDiskMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachInstanceDiskMetadata.Merge(m, src) } func (m *AttachInstanceDiskMetadata) XXX_Size() int { return xxx_messageInfo_AttachInstanceDiskMetadata.Size(m) @@ -1238,16 +1287,17 @@ func (m *DetachInstanceDiskRequest) Reset() { *m = DetachInstanceDiskReq func (m *DetachInstanceDiskRequest) String() string { return proto.CompactTextString(m) } func (*DetachInstanceDiskRequest) ProtoMessage() {} func (*DetachInstanceDiskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{21} + return fileDescriptor_f767221f90c06403, []int{21} } + func (m *DetachInstanceDiskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetachInstanceDiskRequest.Unmarshal(m, b) } func (m *DetachInstanceDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DetachInstanceDiskRequest.Marshal(b, m, deterministic) } -func (dst *DetachInstanceDiskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetachInstanceDiskRequest.Merge(dst, src) +func (m *DetachInstanceDiskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachInstanceDiskRequest.Merge(m, src) } func (m *DetachInstanceDiskRequest) XXX_Size() int { return xxx_messageInfo_DetachInstanceDiskRequest.Size(m) @@ -1302,72 +1352,14 @@ func (m *DetachInstanceDiskRequest) GetDeviceName() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*DetachInstanceDiskRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _DetachInstanceDiskRequest_OneofMarshaler, _DetachInstanceDiskRequest_OneofUnmarshaler, _DetachInstanceDiskRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DetachInstanceDiskRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*DetachInstanceDiskRequest_DiskId)(nil), (*DetachInstanceDiskRequest_DeviceName)(nil), } } -func _DetachInstanceDiskRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*DetachInstanceDiskRequest) - // disk - switch x := m.Disk.(type) { - case *DetachInstanceDiskRequest_DiskId: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.DiskId) - case *DetachInstanceDiskRequest_DeviceName: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.DeviceName) - case nil: - default: - return fmt.Errorf("DetachInstanceDiskRequest.Disk has unexpected type %T", x) - } - return nil -} - -func _DetachInstanceDiskRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*DetachInstanceDiskRequest) - switch tag { - case 2: // disk.disk_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Disk = &DetachInstanceDiskRequest_DiskId{x} - return true, err - case 3: // disk.device_name - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Disk = &DetachInstanceDiskRequest_DeviceName{x} - return true, err - default: - return false, nil - } -} - -func _DetachInstanceDiskRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*DetachInstanceDiskRequest) - // disk - switch x := m.Disk.(type) { - case *DetachInstanceDiskRequest_DiskId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.DiskId))) - n += len(x.DiskId) - case *DetachInstanceDiskRequest_DeviceName: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.DeviceName))) - n += len(x.DeviceName) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type DetachInstanceDiskMetadata struct { // ID of the instance. InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` @@ -1382,16 +1374,17 @@ func (m *DetachInstanceDiskMetadata) Reset() { *m = DetachInstanceDiskMe func (m *DetachInstanceDiskMetadata) String() string { return proto.CompactTextString(m) } func (*DetachInstanceDiskMetadata) ProtoMessage() {} func (*DetachInstanceDiskMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{22} + return fileDescriptor_f767221f90c06403, []int{22} } + func (m *DetachInstanceDiskMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetachInstanceDiskMetadata.Unmarshal(m, b) } func (m *DetachInstanceDiskMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DetachInstanceDiskMetadata.Marshal(b, m, deterministic) } -func (dst *DetachInstanceDiskMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetachInstanceDiskMetadata.Merge(dst, src) +func (m *DetachInstanceDiskMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachInstanceDiskMetadata.Merge(m, src) } func (m *DetachInstanceDiskMetadata) XXX_Size() int { return xxx_messageInfo_DetachInstanceDiskMetadata.Size(m) @@ -1435,16 +1428,17 @@ func (m *ListInstanceOperationsRequest) Reset() { *m = ListInstanceOpera func (m *ListInstanceOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListInstanceOperationsRequest) ProtoMessage() {} func (*ListInstanceOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{23} + return fileDescriptor_f767221f90c06403, []int{23} } + func (m *ListInstanceOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstanceOperationsRequest.Unmarshal(m, b) } func (m *ListInstanceOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListInstanceOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListInstanceOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstanceOperationsRequest.Merge(dst, src) +func (m *ListInstanceOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceOperationsRequest.Merge(m, src) } func (m *ListInstanceOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListInstanceOperationsRequest.Size(m) @@ -1493,16 +1487,17 @@ func (m *ListInstanceOperationsResponse) Reset() { *m = ListInstanceOper func (m *ListInstanceOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListInstanceOperationsResponse) ProtoMessage() {} func (*ListInstanceOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{24} + return fileDescriptor_f767221f90c06403, []int{24} } + func (m *ListInstanceOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListInstanceOperationsResponse.Unmarshal(m, b) } func (m *ListInstanceOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListInstanceOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListInstanceOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInstanceOperationsResponse.Merge(dst, src) +func (m *ListInstanceOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceOperationsResponse.Merge(m, src) } func (m *ListInstanceOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListInstanceOperationsResponse.Size(m) @@ -1536,8 +1531,10 @@ type ResourcesSpec struct { // This field sets baseline performance for each core. // // For example, if you need only 5% of the CPU performance, you can set core_fraction=5. - // For more information, see [documentation](/docs/compute/concepts/vm-types#light-vms). - CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` + // For more information, see [Levels of core performance](/docs/compute/concepts/performance-levels). + CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` + // The number of GPUs available to the instance. + Gpus int64 `protobuf:"varint,4,opt,name=gpus,proto3" json:"gpus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1547,16 +1544,17 @@ func (m *ResourcesSpec) Reset() { *m = ResourcesSpec{} } func (m *ResourcesSpec) String() string { return proto.CompactTextString(m) } func (*ResourcesSpec) ProtoMessage() {} func (*ResourcesSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{25} + return fileDescriptor_f767221f90c06403, []int{25} } + func (m *ResourcesSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourcesSpec.Unmarshal(m, b) } func (m *ResourcesSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResourcesSpec.Marshal(b, m, deterministic) } -func (dst *ResourcesSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcesSpec.Merge(dst, src) +func (m *ResourcesSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcesSpec.Merge(m, src) } func (m *ResourcesSpec) XXX_Size() int { return xxx_messageInfo_ResourcesSpec.Size(m) @@ -1588,6 +1586,13 @@ func (m *ResourcesSpec) GetCoreFraction() int64 { return 0 } +func (m *ResourcesSpec) GetGpus() int64 { + if m != nil { + return m.Gpus + } + return 0 +} + type AttachedDiskSpec struct { // The mode in which to attach this disk. Mode AttachedDiskSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.compute.v1.AttachedDiskSpec_Mode" json:"mode,omitempty"` @@ -1612,16 +1617,17 @@ func (m *AttachedDiskSpec) Reset() { *m = AttachedDiskSpec{} } func (m *AttachedDiskSpec) String() string { return proto.CompactTextString(m) } func (*AttachedDiskSpec) ProtoMessage() {} func (*AttachedDiskSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{26} + return fileDescriptor_f767221f90c06403, []int{26} } + func (m *AttachedDiskSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachedDiskSpec.Unmarshal(m, b) } func (m *AttachedDiskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachedDiskSpec.Marshal(b, m, deterministic) } -func (dst *AttachedDiskSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachedDiskSpec.Merge(dst, src) +func (m *AttachedDiskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedDiskSpec.Merge(m, src) } func (m *AttachedDiskSpec) XXX_Size() int { return xxx_messageInfo_AttachedDiskSpec.Size(m) @@ -1690,76 +1696,14 @@ func (m *AttachedDiskSpec) GetDiskId() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*AttachedDiskSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _AttachedDiskSpec_OneofMarshaler, _AttachedDiskSpec_OneofUnmarshaler, _AttachedDiskSpec_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*AttachedDiskSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*AttachedDiskSpec_DiskSpec_)(nil), (*AttachedDiskSpec_DiskId)(nil), } } -func _AttachedDiskSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*AttachedDiskSpec) - // disk - switch x := m.Disk.(type) { - case *AttachedDiskSpec_DiskSpec_: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.DiskSpec); err != nil { - return err - } - case *AttachedDiskSpec_DiskId: - b.EncodeVarint(5<<3 | proto.WireBytes) - b.EncodeStringBytes(x.DiskId) - case nil: - default: - return fmt.Errorf("AttachedDiskSpec.Disk has unexpected type %T", x) - } - return nil -} - -func _AttachedDiskSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*AttachedDiskSpec) - switch tag { - case 4: // disk.disk_spec - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(AttachedDiskSpec_DiskSpec) - err := b.DecodeMessage(msg) - m.Disk = &AttachedDiskSpec_DiskSpec_{msg} - return true, err - case 5: // disk.disk_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Disk = &AttachedDiskSpec_DiskId{x} - return true, err - default: - return false, nil - } -} - -func _AttachedDiskSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*AttachedDiskSpec) - // disk - switch x := m.Disk.(type) { - case *AttachedDiskSpec_DiskSpec_: - s := proto.Size(x.DiskSpec) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *AttachedDiskSpec_DiskId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.DiskId))) - n += len(x.DiskId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type AttachedDiskSpec_DiskSpec struct { // Name of the disk. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -1783,16 +1727,17 @@ func (m *AttachedDiskSpec_DiskSpec) Reset() { *m = AttachedDiskSpec_Disk func (m *AttachedDiskSpec_DiskSpec) String() string { return proto.CompactTextString(m) } func (*AttachedDiskSpec_DiskSpec) ProtoMessage() {} func (*AttachedDiskSpec_DiskSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{26, 0} + return fileDescriptor_f767221f90c06403, []int{26, 0} } + func (m *AttachedDiskSpec_DiskSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Unmarshal(m, b) } func (m *AttachedDiskSpec_DiskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Marshal(b, m, deterministic) } -func (dst *AttachedDiskSpec_DiskSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachedDiskSpec_DiskSpec.Merge(dst, src) +func (m *AttachedDiskSpec_DiskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedDiskSpec_DiskSpec.Merge(m, src) } func (m *AttachedDiskSpec_DiskSpec) XXX_Size() int { return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Size(m) @@ -1868,72 +1813,14 @@ func (m *AttachedDiskSpec_DiskSpec) GetSnapshotId() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*AttachedDiskSpec_DiskSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _AttachedDiskSpec_DiskSpec_OneofMarshaler, _AttachedDiskSpec_DiskSpec_OneofUnmarshaler, _AttachedDiskSpec_DiskSpec_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*AttachedDiskSpec_DiskSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*AttachedDiskSpec_DiskSpec_ImageId)(nil), (*AttachedDiskSpec_DiskSpec_SnapshotId)(nil), } } -func _AttachedDiskSpec_DiskSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*AttachedDiskSpec_DiskSpec) - // source - switch x := m.Source.(type) { - case *AttachedDiskSpec_DiskSpec_ImageId: - b.EncodeVarint(5<<3 | proto.WireBytes) - b.EncodeStringBytes(x.ImageId) - case *AttachedDiskSpec_DiskSpec_SnapshotId: - b.EncodeVarint(6<<3 | proto.WireBytes) - b.EncodeStringBytes(x.SnapshotId) - case nil: - default: - return fmt.Errorf("AttachedDiskSpec_DiskSpec.Source has unexpected type %T", x) - } - return nil -} - -func _AttachedDiskSpec_DiskSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*AttachedDiskSpec_DiskSpec) - switch tag { - case 5: // source.image_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &AttachedDiskSpec_DiskSpec_ImageId{x} - return true, err - case 6: // source.snapshot_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Source = &AttachedDiskSpec_DiskSpec_SnapshotId{x} - return true, err - default: - return false, nil - } -} - -func _AttachedDiskSpec_DiskSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*AttachedDiskSpec_DiskSpec) - // source - switch x := m.Source.(type) { - case *AttachedDiskSpec_DiskSpec_ImageId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.ImageId))) - n += len(x.ImageId) - case *AttachedDiskSpec_DiskSpec_SnapshotId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.SnapshotId))) - n += len(x.SnapshotId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type NetworkInterfaceSpec struct { // ID of the subnet. SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` @@ -1950,16 +1837,17 @@ func (m *NetworkInterfaceSpec) Reset() { *m = NetworkInterfaceSpec{} } func (m *NetworkInterfaceSpec) String() string { return proto.CompactTextString(m) } func (*NetworkInterfaceSpec) ProtoMessage() {} func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{27} + return fileDescriptor_f767221f90c06403, []int{27} } + func (m *NetworkInterfaceSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkInterfaceSpec.Unmarshal(m, b) } func (m *NetworkInterfaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkInterfaceSpec.Marshal(b, m, deterministic) } -func (dst *NetworkInterfaceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkInterfaceSpec.Merge(dst, src) +func (m *NetworkInterfaceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkInterfaceSpec.Merge(m, src) } func (m *NetworkInterfaceSpec) XXX_Size() int { return xxx_messageInfo_NetworkInterfaceSpec.Size(m) @@ -2007,16 +1895,17 @@ func (m *PrimaryAddressSpec) Reset() { *m = PrimaryAddressSpec{} } func (m *PrimaryAddressSpec) String() string { return proto.CompactTextString(m) } func (*PrimaryAddressSpec) ProtoMessage() {} func (*PrimaryAddressSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{28} + return fileDescriptor_f767221f90c06403, []int{28} } + func (m *PrimaryAddressSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PrimaryAddressSpec.Unmarshal(m, b) } func (m *PrimaryAddressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PrimaryAddressSpec.Marshal(b, m, deterministic) } -func (dst *PrimaryAddressSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrimaryAddressSpec.Merge(dst, src) +func (m *PrimaryAddressSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrimaryAddressSpec.Merge(m, src) } func (m *PrimaryAddressSpec) XXX_Size() int { return xxx_messageInfo_PrimaryAddressSpec.Size(m) @@ -2053,16 +1942,17 @@ func (m *OneToOneNatSpec) Reset() { *m = OneToOneNatSpec{} } func (m *OneToOneNatSpec) String() string { return proto.CompactTextString(m) } func (*OneToOneNatSpec) ProtoMessage() {} func (*OneToOneNatSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_instance_service_0205831efb8574f1, []int{29} + return fileDescriptor_f767221f90c06403, []int{29} } + func (m *OneToOneNatSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_OneToOneNatSpec.Unmarshal(m, b) } func (m *OneToOneNatSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_OneToOneNatSpec.Marshal(b, m, deterministic) } -func (dst *OneToOneNatSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_OneToOneNatSpec.Merge(dst, src) +func (m *OneToOneNatSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_OneToOneNatSpec.Merge(m, src) } func (m *OneToOneNatSpec) XXX_Size() int { return xxx_messageInfo_OneToOneNatSpec.Size(m) @@ -2081,6 +1971,8 @@ func (m *OneToOneNatSpec) GetIpVersion() IpVersion { } func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.InstanceView", InstanceView_name, InstanceView_value) + proto.RegisterEnum("yandex.cloud.compute.v1.AttachedDiskSpec_Mode", AttachedDiskSpec_Mode_name, AttachedDiskSpec_Mode_value) proto.RegisterType((*GetInstanceRequest)(nil), "yandex.cloud.compute.v1.GetInstanceRequest") proto.RegisterType((*ListInstancesRequest)(nil), "yandex.cloud.compute.v1.ListInstancesRequest") proto.RegisterType((*ListInstancesResponse)(nil), "yandex.cloud.compute.v1.ListInstancesResponse") @@ -2117,8 +2009,165 @@ func init() { proto.RegisterType((*NetworkInterfaceSpec)(nil), "yandex.cloud.compute.v1.NetworkInterfaceSpec") proto.RegisterType((*PrimaryAddressSpec)(nil), "yandex.cloud.compute.v1.PrimaryAddressSpec") proto.RegisterType((*OneToOneNatSpec)(nil), "yandex.cloud.compute.v1.OneToOneNatSpec") - proto.RegisterEnum("yandex.cloud.compute.v1.InstanceView", InstanceView_name, InstanceView_value) - proto.RegisterEnum("yandex.cloud.compute.v1.AttachedDiskSpec_Mode", AttachedDiskSpec_Mode_name, AttachedDiskSpec_Mode_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/instance_service.proto", fileDescriptor_f767221f90c06403) +} + +var fileDescriptor_f767221f90c06403 = []byte{ + // 2409 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8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18, 0x67, 0x0d, 0x49, 0x30, + 0x6a, 0xe0, 0x86, 0x4a, 0x2c, 0xb4, 0x73, 0x24, 0xdb, 0x48, 0x01, 0x05, 0x7f, 0x0a, 0xe1, 0x83, + 0xbb, 0x07, 0x7c, 0x68, 0xfe, 0xce, 0xb4, 0x80, 0x3a, 0xf2, 0x9c, 0x3d, 0x03, 0x35, 0x61, 0x5c, + 0xc1, 0xe6, 0x4b, 0x55, 0xdf, 0xaa, 0xcb, 0x8a, 0x89, 0xf5, 0x0d, 0x91, 0x24, 0x73, 0x7a, 0x50, + 0x82, 0x1e, 0x94, 0xf5, 0x3d, 0xe8, 0xa1, 0xc5, 0x57, 0x73, 0xd8, 0xe8, 0x61, 0x91, 0xdd, 0x03, + 0x9e, 0xe1, 0x85, 0x31, 0xc5, 0x63, 0xd3, 0x40, 0x77, 0x20, 0xf6, 0x42, 0x35, 0x4c, 0x1a, 0x34, + 0x43, 0x41, 0x83, 0xa6, 0xc3, 0x82, 0xd6, 0xe0, 0x23, 0x83, 0xa8, 0xd6, 0x6e, 0xca, 0xca, 0x66, + 0x5d, 0x53, 0x9b, 0x72, 0x63, 0x27, 0x35, 0x7c, 0x82, 0xb1, 0x57, 0x3b, 0x1c, 0x8f, 0x28, 0x83, + 0x90, 0x34, 0x7a, 0x56, 0x10, 0x07, 0xc8, 0xae, 0x5f, 0x75, 0xb1, 0xd1, 0x50, 0xdb, 0x8a, 0x49, + 0xbc, 0x75, 0x84, 0xe6, 0x8d, 0xa4, 0xbd, 0xb3, 0x60, 0x6d, 0xd4, 0xa4, 0x74, 0x05, 0x12, 0xae, + 0x98, 0x42, 0x49, 0x08, 0x6d, 0xe1, 0x1d, 0x2b, 0x53, 0x08, 0xe4, 0x11, 0x8d, 0x42, 0x64, 0x5b, + 0x6c, 0xb6, 0xed, 0xbc, 0x20, 0x58, 0x2f, 0xb7, 0x06, 0xe6, 0x98, 0xf4, 0x6d, 0x18, 0xee, 0xf2, + 0xa2, 0xd3, 0x30, 0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x19, 0x65, 0xd7, 0x2a, 0xfb, 0x53, 0x06, 0xd0, 0x71, 0x62, 0x94, 0x82, 0x41, + 0xfb, 0x3c, 0xbb, 0x1e, 0x38, 0xaf, 0x68, 0x0d, 0x2e, 0xa9, 0x0a, 0xc9, 0x71, 0x75, 0xf2, 0xa3, + 0x88, 0xa6, 0x5b, 0xe9, 0x29, 0x5f, 0x40, 0x2b, 0x0a, 0x7e, 0xac, 0xae, 0x28, 0xf8, 0xa1, 0x68, + 0x52, 0x34, 0x17, 0xd5, 0xee, 0x05, 0xf6, 0x29, 0x5c, 0xec, 0xa1, 0x41, 0xf7, 0x00, 0x64, 0xad, + 0xbe, 0x8d, 0x75, 0x83, 0xb8, 0xb4, 0x95, 0x35, 0x58, 0xff, 0xbb, 0x50, 0x6d, 0xcd, 0xa2, 0xb4, + 0x7b, 0x83, 0xb8, 0xec, 0x2c, 0x64, 0xae, 0xc2, 0x90, 0xfb, 0xfa, 0x18, 0xc5, 0x21, 0x52, 0x5d, + 0x58, 0xad, 0xdd, 0x4d, 0x5e, 0x40, 0x31, 0x08, 0x2f, 0x3f, 0xb9, 0x7f, 0x3f, 0xc9, 0x14, 0xff, + 0x85, 0xe0, 0xa2, 0xab, 0x57, 0x25, 0x69, 0x03, 0xed, 0x32, 0x10, 0xba, 0x87, 0x4d, 0xe4, 0x6f, + 0xe8, 0xe3, 0x17, 0xe0, 0xe9, 0x93, 0xaf, 0x6b, 0xd9, 0x9b, 0xbb, 0x7f, 0xfd, 0xfb, 0x97, 0x03, + 0xd7, 0xd0, 0x55, 0xaf, 0x4b, 0x7a, 0x23, 0xff, 0xda, 0x55, 0x33, 0xdf, 0xa0, 0x9f, 0x30, 0x10, + 0x26, 0x15, 0x0c, 0xf9, 0x5f, 0x44, 0x79, 0xdd, 0x82, 0xa7, 0x73, 0x41, 0xc9, 0xad, 0x32, 0xc8, + 0x4e, 0x50, 0x50, 0xe3, 0x68, 0xcc, 0x13, 0x14, 0xfa, 0x35, 0x03, 0x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69, 0xb0, 0xa9, 0x66, 0x37, 0xb1, 0x42, 0x9d, 0x36, + 0xef, 0xf3, 0x97, 0x86, 0xdb, 0xf6, 0xe3, 0x7a, 0x94, 0x92, 0x4d, 0xff, 0x37, 0x00, 0x00, 0xff, + 0xff, 0xf1, 0x06, 0xb1, 0xb3, 0xa1, 0x21, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2326,6 +2375,50 @@ type InstanceServiceServer interface { ListOperations(context.Context, *ListInstanceOperationsRequest) (*ListInstanceOperationsResponse, error) } +// UnimplementedInstanceServiceServer can be embedded to have forward compatible implementations. +type UnimplementedInstanceServiceServer struct { +} + +func (*UnimplementedInstanceServiceServer) Get(ctx context.Context, req *GetInstanceRequest) (*Instance, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedInstanceServiceServer) List(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedInstanceServiceServer) Create(ctx context.Context, req *CreateInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedInstanceServiceServer) Update(ctx context.Context, req *UpdateInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedInstanceServiceServer) Delete(ctx context.Context, req *DeleteInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedInstanceServiceServer) UpdateMetadata(ctx context.Context, req *UpdateInstanceMetadataRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateMetadata not implemented") +} +func (*UnimplementedInstanceServiceServer) GetSerialPortOutput(ctx context.Context, req *GetInstanceSerialPortOutputRequest) (*GetInstanceSerialPortOutputResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSerialPortOutput not implemented") +} +func (*UnimplementedInstanceServiceServer) Stop(ctx context.Context, req *StopInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedInstanceServiceServer) Start(ctx context.Context, req *StartInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedInstanceServiceServer) Restart(ctx context.Context, req *RestartInstanceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restart not implemented") +} +func (*UnimplementedInstanceServiceServer) AttachDisk(ctx context.Context, req *AttachInstanceDiskRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AttachDisk not implemented") +} +func (*UnimplementedInstanceServiceServer) DetachDisk(ctx context.Context, req *DetachInstanceDiskRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DetachDisk not implemented") +} +func (*UnimplementedInstanceServiceServer) ListOperations(ctx context.Context, req *ListInstanceOperationsRequest) (*ListInstanceOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterInstanceServiceServer(s *grpc.Server, srv InstanceServiceServer) { s.RegisterService(&_InstanceService_serviceDesc, srv) } @@ -2624,159 +2717,3 @@ var _InstanceService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/instance_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/instance_service.proto", fileDescriptor_instance_service_0205831efb8574f1) -} - -var fileDescriptor_instance_service_0205831efb8574f1 = []byte{ - // 2359 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcd, 0x4f, 0x1b, 0xdb, - 0x15, 0xcf, 0xe0, 0x0f, 0xec, 0x63, 0x20, 0xee, 0x0d, 0x04, 0x3f, 0xab, 0xbc, 0x92, 0x89, 0x92, - 0x12, 0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xef, 0x5d, 0x3f, 0x09, 0xa4, 0x27, 0x5d, - 0x47, 0xca, 0x31, 0x79, 0x13, 0x5d, 0x74, 0xdb, 0x62, 0x53, 0x96, 0x5c, 0xdb, 0xec, 0x4f, 0x00, - 0xdd, 0xc3, 0x66, 0xcd, 0x96, 0x2d, 0xe0, 0x1f, 0xb5, 0xb1, 0x61, 0xa2, 0x2c, 0x24, 0x3a, 0x36, - 0x91, 0xa5, 0x14, 0x33, 0xc9, 0x4c, 0xc5, 0xab, 0x43, 0xff, 0xd9, 0xe7, 0x99, 0x77, 0x07, 0x7c, - 0x78, 0xfe, 0xce, 0x4c, 0x41, 0x00, 0x87, 0xa0, 0x26, 0xa1, 0x0a, 0x84, 0xb7, 0x65, 0xfc, 0x2a, - 0x35, 0x30, 0xc9, 0x4c, 0x8d, 0x14, 0xaf, 0xe5, 0x7c, 0xec, 0x96, 0x73, 0x8e, 0x59, 0x93, 0xf1, - 0x2b, 0x81, 0xb2, 0xb0, 0x7f, 0x64, 0x60, 0xf4, 0x81, 0x6c, 0x74, 0x10, 0x18, 0x0e, 0x84, 0x1b, - 0x10, 0xdf, 0x50, 0x9b, 0x12, 0xd6, 0xfd, 0x00, 0xc4, 0xac, 0xed, 0x9a, 0x84, 0xbe, 0x0d, 0x71, - 0x4d, 0xdc, 0xc4, 0x75, 0x43, 0x7e, 0x8d, 0x29, 0x86, 0x50, 0x15, 0x3e, 0xec, 0xf3, 0xd1, 0xf9, - 0x3b, 0x7c, 0xa1, 0x50, 0x10, 0x62, 0x64, 0x73, 0x55, 0x7e, 0x8d, 0xd1, 0x14, 0x00, 0x25, 0x34, - 0xd5, 0x2d, 0xac, 0xa4, 0x42, 0x54, 0x68, 0xfc, 0xdd, 0x01, 0x1f, 0xa1, 0x94, 0x02, 0x95, 0xf2, - 0x84, 0xec, 0x21, 0x16, 0xa2, 0x1b, 0x72, 0xd3, 0xc4, 0x7a, 0x2a, 0x4c, 0xa9, 0xe0, 0xdd, 0x41, - 0x47, 0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xb4, 0x95, 0xe9, 0xd0, 0x0b, 0x36, 0x14, 0x74, 0x0d, - 0x06, 0x5f, 0xab, 0x0a, 0x75, 0xf1, 0x88, 0x87, 0x89, 0xa2, 0x64, 0xb3, 0x26, 0xa1, 0x12, 0x24, - 0xb4, 0xa6, 0x68, 0x6e, 0xa8, 0x7a, 0x8b, 0x90, 0x46, 0x29, 0xe9, 0x25, 0x42, 0x4a, 0x80, 0x10, - 0x9c, 0x92, 0xa8, 0x4b, 0xd9, 0x6d, 0x5e, 0x00, 0x87, 0xae, 0x26, 0xa1, 0x55, 0x18, 0xd1, 0xb1, - 0xa1, 0xb6, 0xf5, 0x06, 0x36, 0xea, 0x86, 0x86, 0x1b, 0xa9, 0xc1, 0x49, 0x66, 0x2a, 0x51, 0xbc, - 0xee, 0xab, 0xb9, 0xe0, 0x90, 0xaf, 0x6a, 0xb8, 0x51, 0x0d, 0x93, 0x03, 0x84, 0x61, 0xdd, 0xbd, - 0x88, 0xbe, 0x0f, 0xb1, 0x16, 0x36, 0x45, 0x49, 0x34, 0xc5, 0x54, 0x8c, 0x1a, 0x72, 0xfe, 0x94, - 0x86, 0x7c, 0x68, 0xb3, 0x53, 0x53, 0x0a, 0x1d, 0x69, 0xe8, 0x29, 0x8c, 0xac, 0xab, 0xaa, 0x59, - 0x97, 0x64, 0x63, 0xcb, 0x82, 0x1b, 0xa7, 0x70, 0x6f, 0xf8, 0xca, 0x5f, 0x30, 0x4d, 0xb1, 0xf1, - 0x12, 0x4b, 0x8b, 0xb2, 0xb1, 0xe5, 0x42, 0x3c, 0x44, 0xc4, 0x38, 0x6b, 0x48, 0x82, 0x51, 0x03, - 0x37, 0x54, 0x62, 0xa1, 0x9d, 0x23, 0xd9, 0x46, 0x0a, 0x28, 0xf8, 0x53, 0x08, 0x1f, 0xdc, 0x3d, - 0xe0, 0x43, 0xf3, 0x77, 0xa6, 0x05, 0xd4, 0x91, 0xe7, 0xec, 0x19, 0xa8, 0x09, 0xe3, 0x0a, 0x36, - 0x5f, 0xa9, 0xfa, 0x56, 0x5d, 0x56, 0x4c, 0xac, 0x6f, 0x88, 0x24, 0x99, 0xd3, 0x83, 0x12, 0xf4, - 0xa0, 0xac, 0xef, 0x41, 0x8f, 0x2c, 0xbe, 0x9a, 0xc3, 0x46, 0x0f, 0x8b, 0xec, 0x1e, 0xf0, 0x0c, - 0x2f, 0x8c, 0x29, 0x1e, 0x9b, 0x06, 0xba, 0x03, 0xb1, 0x97, 0xaa, 0x61, 0xd2, 0xa0, 0x19, 0x0a, - 0x1a, 0x34, 0x1d, 0x16, 0xb4, 0x06, 0xdf, 0x30, 0x88, 0x6a, 0xed, 0xa6, 0xac, 0x6c, 0xd6, 0x35, - 0xb5, 0x29, 0x37, 0x76, 0x52, 0xc3, 0x27, 0x18, 0x7b, 0xb5, 0xc3, 0xf1, 0x98, 0x32, 0x08, 0x49, - 0xa3, 0x67, 0x05, 0x71, 0x80, 0xec, 0xfa, 0x55, 0x17, 0x1b, 0x0d, 0xb5, 0xad, 0x98, 0xc4, 0x5b, - 0x47, 0x68, 0xde, 0x48, 0xda, 0x3b, 0x0b, 0xd6, 0x46, 0x4d, 0x4a, 0x57, 0x20, 0xe1, 0x8a, 0x29, - 0x94, 0x84, 0xd0, 0x16, 0xde, 0xb1, 0x32, 0x85, 0x40, 0x7e, 0xa2, 0x51, 0x88, 0x6c, 0x8b, 0xcd, - 0xb6, 0x9d, 0x17, 0x04, 0xeb, 0xe3, 0xd6, 0xc0, 0x1c, 0x93, 0xbe, 0x0d, 0xc3, 0x5d, 0x5e, 0x74, - 0x1a, 0x66, 0xf6, 0x2e, 0x5c, 0xee, 0x76, 0x4c, 0x47, 0x14, 0xba, 0xe1, 0x55, 0x74, 0x62, 0x5e, - 0x05, 0x87, 0xfd, 0x47, 0x04, 0xc6, 0x9e, 0x6a, 0x92, 0x47, 0xde, 0x3b, 0x65, 0xe5, 0xba, 0x0d, - 0x89, 0x36, 0x95, 0x43, 0xcb, 0x33, 0x45, 0x9b,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, 0x69, - 0x88, 0x35, 0x54, 0xc5, 0xc4, 0x8a, 0x69, 0xd8, 0xc8, 0x3a, 0xdf, 0xec, 0x22, 0x5c, 0x5a, 0x35, - 0x55, 0xed, 0x9c, 0xde, 0x34, 0x0b, 0xa3, 0x6e, 0x29, 0xc1, 0xcd, 0xb2, 0x44, 0x18, 0x45, 0xfd, - 0x9c, 0x43, 0x09, 0x3b, 0x07, 0x63, 0x5d, 0x62, 0x82, 0x03, 0xb8, 0x07, 0x97, 0x05, 0x6c, 0x7c, - 0x04, 0x08, 0xb7, 0x60, 0xbc, 0x47, 0x50, 0x70, 0x10, 0xbf, 0x63, 0xe0, 0x13, 0xab, 0x09, 0x72, - 0x78, 0x49, 0xbb, 0x73, 0xc6, 0x32, 0xf7, 0x02, 0x90, 0x68, 0x37, 0x54, 0xae, 0x06, 0x6f, 0xe0, - 0x6c, 0x0d, 0x5e, 0x52, 0xec, 0x59, 0x67, 0xd7, 0x20, 0x7d, 0x1c, 0x6a, 0x60, 0x55, 0xd1, 0x38, - 0x0c, 0x52, 0x50, 0xb2, 0x64, 0x87, 0x59, 0x94, 0x7c, 0xd6, 0x24, 0xf6, 0x4b, 0x06, 0x3e, 0x59, - 0xc4, 0x1f, 0xc9, 0x06, 0x57, 0x7b, 0x4e, 0x39, 0x6a, 0x2d, 0xee, 0x5f, 0x70, 0x4e, 0x24, 0xfd, - 0x80, 0x84, 0x69, 0x0b, 0xe5, 0xaa, 0xec, 0xa9, 0xf7, 0xfb, 0xfc, 0xa8, 0x55, 0x0b, 0xad, 0x4a, - 0x9e, 0xad, 0xbf, 0x78, 0xc3, 0xf1, 0x95, 0xb7, 0xf7, 0x2f, 0x08, 0x60, 0x91, 0x3f, 0x12, 0x5b, - 0xb8, 0x3a, 0x04, 0x61, 0x22, 0x06, 0x85, 0xff, 0xf2, 0x57, 0x9e, 0x21, 0x46, 0x39, 0x8e, 0xfd, - 0x23, 0x18, 0xe5, 0xd7, 0x0c, 0x4c, 0xb8, 0xc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0x6a, 0x92, 0x3d, 0x46, 0xe1, 0xa0, 0x77, 0x72, 0xbd, - 0xef, 0x9c, 0xde, 0x1d, 0xe6, 0xd3, 0x6c, 0x2e, 0x88, 0x12, 0x62, 0x07, 0x38, 0x09, 0x71, 0xa2, - 0x8a, 0x35, 0xf4, 0x9e, 0xa0, 0x8a, 0xef, 0x54, 0x7f, 0x0a, 0x55, 0xfa, 0x4c, 0xd7, 0x67, 0x52, - 0x45, 0xc2, 0x6e, 0x55, 0xfe, 0xc4, 0xc0, 0x08, 0xa9, 0xec, 0x47, 0xa3, 0x6b, 0x9f, 0x44, 0xdc, - 0x77, 0x1e, 0x4f, 0xcf, 0x9e, 0x9a, 0xcf, 0x4e, 0x4f, 0x65, 0x0a, 0xbf, 0x80, 0x82, 0xc0, 0x3f, - 0xfa, 0x8f, 0x7f, 0xa3, 0xba, 0xf4, 0xec, 0xee, 0xa6, 0x6c, 0xbe, 0x6c, 0xaf, 0x93, 0xb3, 0xf2, - 0xd6, 0xe1, 0x59, 0xeb, 0x0f, 0x00, 0x36, 0xd5, 0xec, 0x26, 0x56, 0xa8, 0xd3, 0xe6, 0x7d, 0xfe, - 0xd2, 0xe0, 0xb6, 0xfd, 0x73, 0x3d, 0x4a, 0xc9, 0xa6, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xa6, - 0x53, 0x64, 0x28, 0x38, 0x21, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group.pb.go new file mode 100644 index 000000000..52ca09fbd --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group.pb.go @@ -0,0 +1,2296 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/compute/v1/instancegroup/instance_group.proto + +package instancegroup + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type IpVersion int32 + +const ( + IpVersion_IP_VERSION_UNSPECIFIED IpVersion = 0 + // IPv4 address, for example 192.168.0.0. + IpVersion_IPV4 IpVersion = 1 + // IPv6 address, not available yet. + IpVersion_IPV6 IpVersion = 2 +) + +var IpVersion_name = map[int32]string{ + 0: "IP_VERSION_UNSPECIFIED", + 1: "IPV4", + 2: "IPV6", +} + +var IpVersion_value = map[string]int32{ + "IP_VERSION_UNSPECIFIED": 0, + "IPV4": 1, + "IPV6": 2, +} + +func (x IpVersion) String() string { + return proto.EnumName(IpVersion_name, int32(x)) +} + +func (IpVersion) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{0} +} + +type AttachedDiskSpec_Mode int32 + +const ( + AttachedDiskSpec_MODE_UNSPECIFIED AttachedDiskSpec_Mode = 0 + // Read-only access. + AttachedDiskSpec_READ_ONLY AttachedDiskSpec_Mode = 1 + // Read/Write access. + AttachedDiskSpec_READ_WRITE AttachedDiskSpec_Mode = 2 +) + +var AttachedDiskSpec_Mode_name = map[int32]string{ + 0: "MODE_UNSPECIFIED", + 1: "READ_ONLY", + 2: "READ_WRITE", +} + +var AttachedDiskSpec_Mode_value = map[string]int32{ + "MODE_UNSPECIFIED": 0, + "READ_ONLY": 1, + "READ_WRITE": 2, +} + +func (x AttachedDiskSpec_Mode) String() string { + return proto.EnumName(AttachedDiskSpec_Mode_name, int32(x)) +} + +func (AttachedDiskSpec_Mode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{8, 0} +} + +type ManagedInstance_Status int32 + +const ( + ManagedInstance_STATUS_UNSPECIFIED ManagedInstance_Status = 0 + // Instance is being created. + ManagedInstance_CREATING_INSTANCE ManagedInstance_Status = 11 + // Instance is being updated. + ManagedInstance_UPDATING_INSTANCE ManagedInstance_Status = 12 + // Instance is being deleted. + ManagedInstance_DELETING_INSTANCE ManagedInstance_Status = 13 + // Instance is being started. + ManagedInstance_STARTING_INSTANCE ManagedInstance_Status = 14 + // Instance is being stopped. + ManagedInstance_STOPPING_INSTANCE ManagedInstance_Status = 15 + // Instance has been created successfully, but startup duration has not elapsed yet. + ManagedInstance_AWAITING_STARTUP_DURATION ManagedInstance_Status = 16 + // Instance has been created successfully and startup duration has elapsed, but health checks have not passed yet and the managed instance is not ready to receive traffic. + ManagedInstance_CHECKING_HEALTH ManagedInstance_Status = 17 + // Instance Groups is initiating health checks and routing traffic to the instances. + ManagedInstance_OPENING_TRAFFIC ManagedInstance_Status = 18 + // Instance is now receiving traffic, but warmup duration has not elapsed yet. + ManagedInstance_AWAITING_WARMUP_DURATION ManagedInstance_Status = 19 + // Instance Groups has initiated the process of stopping routing traffic to the instances. + ManagedInstance_CLOSING_TRAFFIC ManagedInstance_Status = 20 + // Instance is running normally and its attributes match the current InstanceTemplate. + ManagedInstance_RUNNING_ACTUAL ManagedInstance_Status = 21 + // Instance is running normally, but its attributes do not match the current InstanceTemplate. + // It will be updated, recreated or deleted shortly. + ManagedInstance_RUNNING_OUTDATED ManagedInstance_Status = 22 + // Instance was stopped. + ManagedInstance_STOPPED ManagedInstance_Status = 23 + // Instance was deleted. + ManagedInstance_DELETED ManagedInstance_Status = 24 +) + +var ManagedInstance_Status_name = map[int32]string{ + 0: "STATUS_UNSPECIFIED", + 11: "CREATING_INSTANCE", + 12: "UPDATING_INSTANCE", + 13: "DELETING_INSTANCE", + 14: "STARTING_INSTANCE", + 15: "STOPPING_INSTANCE", + 16: "AWAITING_STARTUP_DURATION", + 17: "CHECKING_HEALTH", + 18: "OPENING_TRAFFIC", + 19: "AWAITING_WARMUP_DURATION", + 20: "CLOSING_TRAFFIC", + 21: "RUNNING_ACTUAL", + 22: "RUNNING_OUTDATED", + 23: "STOPPED", + 24: "DELETED", +} + +var ManagedInstance_Status_value = map[string]int32{ + "STATUS_UNSPECIFIED": 0, + "CREATING_INSTANCE": 11, + "UPDATING_INSTANCE": 12, + "DELETING_INSTANCE": 13, + "STARTING_INSTANCE": 14, + "STOPPING_INSTANCE": 15, + "AWAITING_STARTUP_DURATION": 16, + "CHECKING_HEALTH": 17, + "OPENING_TRAFFIC": 18, + "AWAITING_WARMUP_DURATION": 19, + "CLOSING_TRAFFIC": 20, + "RUNNING_ACTUAL": 21, + "RUNNING_OUTDATED": 22, + "STOPPED": 23, + "DELETED": 24, +} + +func (x ManagedInstance_Status) String() string { + return proto.EnumName(ManagedInstance_Status_name, int32(x)) +} + +func (ManagedInstance_Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{17, 0} +} + +type InstanceGroup struct { + // ID of the instance group. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // ID of the folder that the instance group belongs to. + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + // Name of the instance group. + // The name is unique within the folder. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // Description of the instance group. + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // Resource labels as `key:value` pairs. + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Instance template for creating the instance group. + // For more information, see [Instance Templates](/docs/compute/concepts/ig-instance-templates). + InstanceTemplate *InstanceTemplate `protobuf:"bytes,7,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` + // Scaling policy of the instance group. + ScalePolicy *ScalePolicy `protobuf:"bytes,8,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` + // Deployment policy of the instance group. + DeployPolicy *DeployPolicy `protobuf:"bytes,9,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` + // Allocation policy of the instance group by zones and regions. + AllocationPolicy *AllocationPolicy `protobuf:"bytes,10,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` + // Information that indicates which entities can be related to this load balancer. + LoadBalancerState *LoadBalancerState `protobuf:"bytes,11,opt,name=load_balancer_state,json=loadBalancerState,proto3" json:"load_balancer_state,omitempty"` + // States of instances for this instance group. + ManagedInstancesState *ManagedInstancesState `protobuf:"bytes,12,opt,name=managed_instances_state,json=managedInstancesState,proto3" json:"managed_instances_state,omitempty"` + // Load balancing specification. + LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,14,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` + // Health checking specification. For more information, see [Health check](/docs/load-balancer/concepts/health-check). + HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,15,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` + // ID of the service account. The service account will be used for all API calls + // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,16,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstanceGroup) Reset() { *m = InstanceGroup{} } +func (m *InstanceGroup) String() string { return proto.CompactTextString(m) } +func (*InstanceGroup) ProtoMessage() {} +func (*InstanceGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{0} +} + +func (m *InstanceGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstanceGroup.Unmarshal(m, b) +} +func (m *InstanceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstanceGroup.Marshal(b, m, deterministic) +} +func (m *InstanceGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstanceGroup.Merge(m, src) +} +func (m *InstanceGroup) XXX_Size() int { + return xxx_messageInfo_InstanceGroup.Size(m) +} +func (m *InstanceGroup) XXX_DiscardUnknown() { + xxx_messageInfo_InstanceGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_InstanceGroup proto.InternalMessageInfo + +func (m *InstanceGroup) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *InstanceGroup) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *InstanceGroup) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *InstanceGroup) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *InstanceGroup) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *InstanceGroup) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *InstanceGroup) GetInstanceTemplate() *InstanceTemplate { + if m != nil { + return m.InstanceTemplate + } + return nil +} + +func (m *InstanceGroup) GetScalePolicy() *ScalePolicy { + if m != nil { + return m.ScalePolicy + } + return nil +} + +func (m *InstanceGroup) GetDeployPolicy() *DeployPolicy { + if m != nil { + return m.DeployPolicy + } + return nil +} + +func (m *InstanceGroup) GetAllocationPolicy() *AllocationPolicy { + if m != nil { + return m.AllocationPolicy + } + return nil +} + +func (m *InstanceGroup) GetLoadBalancerState() *LoadBalancerState { + if m != nil { + return m.LoadBalancerState + } + return nil +} + +func (m *InstanceGroup) GetManagedInstancesState() *ManagedInstancesState { + if m != nil { + return m.ManagedInstancesState + } + return nil +} + +func (m *InstanceGroup) GetLoadBalancerSpec() *LoadBalancerSpec { + if m != nil { + return m.LoadBalancerSpec + } + return nil +} + +func (m *InstanceGroup) GetHealthChecksSpec() *HealthChecksSpec { + if m != nil { + return m.HealthChecksSpec + } + return nil +} + +func (m *InstanceGroup) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +type LoadBalancerState struct { + // ID of the target group used for load balancing. + TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"` + // Status message of the target group. + StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LoadBalancerState) Reset() { *m = LoadBalancerState{} } +func (m *LoadBalancerState) String() string { return proto.CompactTextString(m) } +func (*LoadBalancerState) ProtoMessage() {} +func (*LoadBalancerState) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{1} +} + +func (m *LoadBalancerState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoadBalancerState.Unmarshal(m, b) +} +func (m *LoadBalancerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoadBalancerState.Marshal(b, m, deterministic) +} +func (m *LoadBalancerState) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadBalancerState.Merge(m, src) +} +func (m *LoadBalancerState) XXX_Size() int { + return xxx_messageInfo_LoadBalancerState.Size(m) +} +func (m *LoadBalancerState) XXX_DiscardUnknown() { + xxx_messageInfo_LoadBalancerState.DiscardUnknown(m) +} + +var xxx_messageInfo_LoadBalancerState proto.InternalMessageInfo + +func (m *LoadBalancerState) GetTargetGroupId() string { + if m != nil { + return m.TargetGroupId + } + return "" +} + +func (m *LoadBalancerState) GetStatusMessage() string { + if m != nil { + return m.StatusMessage + } + return "" +} + +type ManagedInstancesState struct { + // Target number of instances for this instance group. + TargetSize int64 `protobuf:"varint,1,opt,name=target_size,json=targetSize,proto3" json:"target_size,omitempty"` + // The number of running instances that match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_ACTUAL]. + RunningActualCount int64 `protobuf:"varint,4,opt,name=running_actual_count,json=runningActualCount,proto3" json:"running_actual_count,omitempty"` + // The number of running instances that does not match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_OUTDATED]. + RunningOutdatedCount int64 `protobuf:"varint,5,opt,name=running_outdated_count,json=runningOutdatedCount,proto3" json:"running_outdated_count,omitempty"` + // The number of instances in flight (for example, updating, starting, deleting). For more information, see [ManagedInstance.Status]. + ProcessingCount int64 `protobuf:"varint,6,opt,name=processing_count,json=processingCount,proto3" json:"processing_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagedInstancesState) Reset() { *m = ManagedInstancesState{} } +func (m *ManagedInstancesState) String() string { return proto.CompactTextString(m) } +func (*ManagedInstancesState) ProtoMessage() {} +func (*ManagedInstancesState) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{2} +} + +func (m *ManagedInstancesState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagedInstancesState.Unmarshal(m, b) +} +func (m *ManagedInstancesState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagedInstancesState.Marshal(b, m, deterministic) +} +func (m *ManagedInstancesState) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedInstancesState.Merge(m, src) +} +func (m *ManagedInstancesState) XXX_Size() int { + return xxx_messageInfo_ManagedInstancesState.Size(m) +} +func (m *ManagedInstancesState) XXX_DiscardUnknown() { + xxx_messageInfo_ManagedInstancesState.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagedInstancesState proto.InternalMessageInfo + +func (m *ManagedInstancesState) GetTargetSize() int64 { + if m != nil { + return m.TargetSize + } + return 0 +} + +func (m *ManagedInstancesState) GetRunningActualCount() int64 { + if m != nil { + return m.RunningActualCount + } + return 0 +} + +func (m *ManagedInstancesState) GetRunningOutdatedCount() int64 { + if m != nil { + return m.RunningOutdatedCount + } + return 0 +} + +func (m *ManagedInstancesState) GetProcessingCount() int64 { + if m != nil { + return m.ProcessingCount + } + return 0 +} + +type ManagedInstancesState_Statuses struct { + // Instance is being created. + Creating int64 `protobuf:"varint,1,opt,name=creating,proto3" json:"creating,omitempty"` + // Instance is being started. + Starting int64 `protobuf:"varint,2,opt,name=starting,proto3" json:"starting,omitempty"` + // Instance is being opened to receive traffic. + Opening int64 `protobuf:"varint,3,opt,name=opening,proto3" json:"opening,omitempty"` + // Instance is being warmed. + Warming int64 `protobuf:"varint,4,opt,name=warming,proto3" json:"warming,omitempty"` + // Instance is running normally. + Running int64 `protobuf:"varint,5,opt,name=running,proto3" json:"running,omitempty"` + // Instance is being closed to traffic. + Closing int64 `protobuf:"varint,6,opt,name=closing,proto3" json:"closing,omitempty"` + // Instance is being stopped. + Stopping int64 `protobuf:"varint,7,opt,name=stopping,proto3" json:"stopping,omitempty"` + // Instance is being updated. + Updating int64 `protobuf:"varint,8,opt,name=updating,proto3" json:"updating,omitempty"` + // Instance is being deleted. + Deleting int64 `protobuf:"varint,9,opt,name=deleting,proto3" json:"deleting,omitempty"` + // Instance failed and needs to be recreated. + Failed int64 `protobuf:"varint,10,opt,name=failed,proto3" json:"failed,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagedInstancesState_Statuses) Reset() { *m = ManagedInstancesState_Statuses{} } +func (m *ManagedInstancesState_Statuses) String() string { return proto.CompactTextString(m) } +func (*ManagedInstancesState_Statuses) ProtoMessage() {} +func (*ManagedInstancesState_Statuses) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{2, 0} +} + +func (m *ManagedInstancesState_Statuses) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagedInstancesState_Statuses.Unmarshal(m, b) +} +func (m *ManagedInstancesState_Statuses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagedInstancesState_Statuses.Marshal(b, m, deterministic) +} +func (m *ManagedInstancesState_Statuses) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedInstancesState_Statuses.Merge(m, src) +} +func (m *ManagedInstancesState_Statuses) XXX_Size() int { + return xxx_messageInfo_ManagedInstancesState_Statuses.Size(m) +} +func (m *ManagedInstancesState_Statuses) XXX_DiscardUnknown() { + xxx_messageInfo_ManagedInstancesState_Statuses.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagedInstancesState_Statuses proto.InternalMessageInfo + +func (m *ManagedInstancesState_Statuses) GetCreating() int64 { + if m != nil { + return m.Creating + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetStarting() int64 { + if m != nil { + return m.Starting + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetOpening() int64 { + if m != nil { + return m.Opening + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetWarming() int64 { + if m != nil { + return m.Warming + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetRunning() int64 { + if m != nil { + return m.Running + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetClosing() int64 { + if m != nil { + return m.Closing + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetStopping() int64 { + if m != nil { + return m.Stopping + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetUpdating() int64 { + if m != nil { + return m.Updating + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetDeleting() int64 { + if m != nil { + return m.Deleting + } + return 0 +} + +func (m *ManagedInstancesState_Statuses) GetFailed() int64 { + if m != nil { + return m.Failed + } + return 0 +} + +type ScalePolicy struct { + // Types that are valid to be assigned to ScaleType: + // *ScalePolicy_FixedScale_ + ScaleType isScalePolicy_ScaleType `protobuf_oneof:"scale_type"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScalePolicy) Reset() { *m = ScalePolicy{} } +func (m *ScalePolicy) String() string { return proto.CompactTextString(m) } +func (*ScalePolicy) ProtoMessage() {} +func (*ScalePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{3} +} + +func (m *ScalePolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ScalePolicy.Unmarshal(m, b) +} +func (m *ScalePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ScalePolicy.Marshal(b, m, deterministic) +} +func (m *ScalePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScalePolicy.Merge(m, src) +} +func (m *ScalePolicy) XXX_Size() int { + return xxx_messageInfo_ScalePolicy.Size(m) +} +func (m *ScalePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_ScalePolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_ScalePolicy proto.InternalMessageInfo + +type isScalePolicy_ScaleType interface { + isScalePolicy_ScaleType() +} + +type ScalePolicy_FixedScale_ struct { + FixedScale *ScalePolicy_FixedScale `protobuf:"bytes,1,opt,name=fixed_scale,json=fixedScale,proto3,oneof"` +} + +func (*ScalePolicy_FixedScale_) isScalePolicy_ScaleType() {} + +func (m *ScalePolicy) GetScaleType() isScalePolicy_ScaleType { + if m != nil { + return m.ScaleType + } + return nil +} + +func (m *ScalePolicy) GetFixedScale() *ScalePolicy_FixedScale { + if x, ok := m.GetScaleType().(*ScalePolicy_FixedScale_); ok { + return x.FixedScale + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ScalePolicy) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ScalePolicy_FixedScale_)(nil), + } +} + +type ScalePolicy_FixedScale struct { + // Number of instances in the instance group. + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScalePolicy_FixedScale) Reset() { *m = ScalePolicy_FixedScale{} } +func (m *ScalePolicy_FixedScale) String() string { return proto.CompactTextString(m) } +func (*ScalePolicy_FixedScale) ProtoMessage() {} +func (*ScalePolicy_FixedScale) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{3, 0} +} + +func (m *ScalePolicy_FixedScale) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ScalePolicy_FixedScale.Unmarshal(m, b) +} +func (m *ScalePolicy_FixedScale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ScalePolicy_FixedScale.Marshal(b, m, deterministic) +} +func (m *ScalePolicy_FixedScale) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScalePolicy_FixedScale.Merge(m, src) +} +func (m *ScalePolicy_FixedScale) XXX_Size() int { + return xxx_messageInfo_ScalePolicy_FixedScale.Size(m) +} +func (m *ScalePolicy_FixedScale) XXX_DiscardUnknown() { + xxx_messageInfo_ScalePolicy_FixedScale.DiscardUnknown(m) +} + +var xxx_messageInfo_ScalePolicy_FixedScale proto.InternalMessageInfo + +func (m *ScalePolicy_FixedScale) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +type DeployPolicy struct { + // The maximum number of running instances that can be taken offline (i.e., stopped or deleted) at the same time + // during the update process. + // If [max_expansion] is not specified or set to zero, [max_unavailable] must be set to a non-zero value. + MaxUnavailable int64 `protobuf:"varint,1,opt,name=max_unavailable,json=maxUnavailable,proto3" json:"max_unavailable,omitempty"` + // The maximum number of instances that can be deleted at the same time. + MaxDeleting int64 `protobuf:"varint,2,opt,name=max_deleting,json=maxDeleting,proto3" json:"max_deleting,omitempty"` + // The maximum number of instances that can be created at the same time. + MaxCreating int64 `protobuf:"varint,3,opt,name=max_creating,json=maxCreating,proto3" json:"max_creating,omitempty"` + // The maximum number of instances that can be temporarily allocated above the group's target size + // during the update process. + // If [max_unavailable] is not specified or set to zero, [max_expansion] must be set to a non-zero value. + MaxExpansion int64 `protobuf:"varint,6,opt,name=max_expansion,json=maxExpansion,proto3" json:"max_expansion,omitempty"` + // Instance startup duration. + // Instance will be considered up and running (and start receiving traffic) only after startup_duration + // has elapsed and all health checks are passed. + // See [yandex.cloud.compute.v1.instancegroup.ManagedInstance.Status] for more information. + StartupDuration *duration.Duration `protobuf:"bytes,7,opt,name=startup_duration,json=startupDuration,proto3" json:"startup_duration,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeployPolicy) Reset() { *m = DeployPolicy{} } +func (m *DeployPolicy) String() string { return proto.CompactTextString(m) } +func (*DeployPolicy) ProtoMessage() {} +func (*DeployPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{4} +} + +func (m *DeployPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeployPolicy.Unmarshal(m, b) +} +func (m *DeployPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeployPolicy.Marshal(b, m, deterministic) +} +func (m *DeployPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeployPolicy.Merge(m, src) +} +func (m *DeployPolicy) XXX_Size() int { + return xxx_messageInfo_DeployPolicy.Size(m) +} +func (m *DeployPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_DeployPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_DeployPolicy proto.InternalMessageInfo + +func (m *DeployPolicy) GetMaxUnavailable() int64 { + if m != nil { + return m.MaxUnavailable + } + return 0 +} + +func (m *DeployPolicy) GetMaxDeleting() int64 { + if m != nil { + return m.MaxDeleting + } + return 0 +} + +func (m *DeployPolicy) GetMaxCreating() int64 { + if m != nil { + return m.MaxCreating + } + return 0 +} + +func (m *DeployPolicy) GetMaxExpansion() int64 { + if m != nil { + return m.MaxExpansion + } + return 0 +} + +func (m *DeployPolicy) GetStartupDuration() *duration.Duration { + if m != nil { + return m.StartupDuration + } + return nil +} + +type AllocationPolicy struct { + // List of availability zones. + Zones []*AllocationPolicy_Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AllocationPolicy) Reset() { *m = AllocationPolicy{} } +func (m *AllocationPolicy) String() string { return proto.CompactTextString(m) } +func (*AllocationPolicy) ProtoMessage() {} +func (*AllocationPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{5} +} + +func (m *AllocationPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AllocationPolicy.Unmarshal(m, b) +} +func (m *AllocationPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AllocationPolicy.Marshal(b, m, deterministic) +} +func (m *AllocationPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllocationPolicy.Merge(m, src) +} +func (m *AllocationPolicy) XXX_Size() int { + return xxx_messageInfo_AllocationPolicy.Size(m) +} +func (m *AllocationPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AllocationPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AllocationPolicy proto.InternalMessageInfo + +func (m *AllocationPolicy) GetZones() []*AllocationPolicy_Zone { + if m != nil { + return m.Zones + } + return nil +} + +type AllocationPolicy_Zone struct { + // ID of the availability zone where the instance resides. + ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AllocationPolicy_Zone) Reset() { *m = AllocationPolicy_Zone{} } +func (m *AllocationPolicy_Zone) String() string { return proto.CompactTextString(m) } +func (*AllocationPolicy_Zone) ProtoMessage() {} +func (*AllocationPolicy_Zone) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{5, 0} +} + +func (m *AllocationPolicy_Zone) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AllocationPolicy_Zone.Unmarshal(m, b) +} +func (m *AllocationPolicy_Zone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AllocationPolicy_Zone.Marshal(b, m, deterministic) +} +func (m *AllocationPolicy_Zone) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllocationPolicy_Zone.Merge(m, src) +} +func (m *AllocationPolicy_Zone) XXX_Size() int { + return xxx_messageInfo_AllocationPolicy_Zone.Size(m) +} +func (m *AllocationPolicy_Zone) XXX_DiscardUnknown() { + xxx_messageInfo_AllocationPolicy_Zone.DiscardUnknown(m) +} + +var xxx_messageInfo_AllocationPolicy_Zone proto.InternalMessageInfo + +func (m *AllocationPolicy_Zone) GetZoneId() string { + if m != nil { + return m.ZoneId + } + return "" +} + +type InstanceTemplate struct { + // Description of the instance template. + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + // Resource labels as `key:value` pairs. + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // ID of the hardware platform configuration for the instance. + // Currently only several platforms is available - `standard-v1`, `standard-v2`. These platforms are suitable for most tasks. + // These platforms allows you to create various types of instances: with a large amount of memory, + // with a large number of cores, with a burstable performance. + // For more information, see [Platforms](/docs/compute/concepts/vm-platforms). + PlatformId string `protobuf:"bytes,3,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` + // Computing resources of the instance such as the amount of memory and number of cores. + ResourcesSpec *ResourcesSpec `protobuf:"bytes,4,opt,name=resources_spec,json=resourcesSpec,proto3" json:"resources_spec,omitempty"` + // The metadata `key:value` pairs assigned to this instance template. This includes custom metadata and predefined keys. + // + // For example, you may use the metadata in order to provide your public SSH key to the instance. + // For more information, see [Metadata](/docs/compute/concepts/vm-metadata). + Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Boot disk specification that will be attached to the instance. + BootDiskSpec *AttachedDiskSpec `protobuf:"bytes,6,opt,name=boot_disk_spec,json=bootDiskSpec,proto3" json:"boot_disk_spec,omitempty"` + // Array of secondary disks that will be attached to the instance. + SecondaryDiskSpecs []*AttachedDiskSpec `protobuf:"bytes,7,rep,name=secondary_disk_specs,json=secondaryDiskSpecs,proto3" json:"secondary_disk_specs,omitempty"` + // Array of network interfaces that will be attached to the instance. + NetworkInterfaceSpecs []*NetworkInterfaceSpec `protobuf:"bytes,8,rep,name=network_interface_specs,json=networkInterfaceSpecs,proto3" json:"network_interface_specs,omitempty"` + // Scheduling policy for the instance. + SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,9,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` + // Service account ID for the instance. + ServiceAccountId string `protobuf:"bytes,10,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InstanceTemplate) Reset() { *m = InstanceTemplate{} } +func (m *InstanceTemplate) String() string { return proto.CompactTextString(m) } +func (*InstanceTemplate) ProtoMessage() {} +func (*InstanceTemplate) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{6} +} + +func (m *InstanceTemplate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InstanceTemplate.Unmarshal(m, b) +} +func (m *InstanceTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InstanceTemplate.Marshal(b, m, deterministic) +} +func (m *InstanceTemplate) XXX_Merge(src proto.Message) { + xxx_messageInfo_InstanceTemplate.Merge(m, src) +} +func (m *InstanceTemplate) XXX_Size() int { + return xxx_messageInfo_InstanceTemplate.Size(m) +} +func (m *InstanceTemplate) XXX_DiscardUnknown() { + xxx_messageInfo_InstanceTemplate.DiscardUnknown(m) +} + +var xxx_messageInfo_InstanceTemplate proto.InternalMessageInfo + +func (m *InstanceTemplate) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *InstanceTemplate) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *InstanceTemplate) GetPlatformId() string { + if m != nil { + return m.PlatformId + } + return "" +} + +func (m *InstanceTemplate) GetResourcesSpec() *ResourcesSpec { + if m != nil { + return m.ResourcesSpec + } + return nil +} + +func (m *InstanceTemplate) GetMetadata() map[string]string { + if m != nil { + return m.Metadata + } + return nil +} + +func (m *InstanceTemplate) GetBootDiskSpec() *AttachedDiskSpec { + if m != nil { + return m.BootDiskSpec + } + return nil +} + +func (m *InstanceTemplate) GetSecondaryDiskSpecs() []*AttachedDiskSpec { + if m != nil { + return m.SecondaryDiskSpecs + } + return nil +} + +func (m *InstanceTemplate) GetNetworkInterfaceSpecs() []*NetworkInterfaceSpec { + if m != nil { + return m.NetworkInterfaceSpecs + } + return nil +} + +func (m *InstanceTemplate) GetSchedulingPolicy() *SchedulingPolicy { + if m != nil { + return m.SchedulingPolicy + } + return nil +} + +func (m *InstanceTemplate) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +type ResourcesSpec struct { + // The amount of memory available to the instance, specified in bytes. + Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"` + // The number of cores available to the instance. + Cores int64 `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"` + // Baseline level of CPU performance with the ability to burst performance above that baseline level. + // This field sets baseline performance for each core. + CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` + // The number of GPUs available to the instance. + Gpus int64 `protobuf:"varint,4,opt,name=gpus,proto3" json:"gpus,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResourcesSpec) Reset() { *m = ResourcesSpec{} } +func (m *ResourcesSpec) String() string { return proto.CompactTextString(m) } +func (*ResourcesSpec) ProtoMessage() {} +func (*ResourcesSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{7} +} + +func (m *ResourcesSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourcesSpec.Unmarshal(m, b) +} +func (m *ResourcesSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourcesSpec.Marshal(b, m, deterministic) +} +func (m *ResourcesSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcesSpec.Merge(m, src) +} +func (m *ResourcesSpec) XXX_Size() int { + return xxx_messageInfo_ResourcesSpec.Size(m) +} +func (m *ResourcesSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ResourcesSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourcesSpec proto.InternalMessageInfo + +func (m *ResourcesSpec) GetMemory() int64 { + if m != nil { + return m.Memory + } + return 0 +} + +func (m *ResourcesSpec) GetCores() int64 { + if m != nil { + return m.Cores + } + return 0 +} + +func (m *ResourcesSpec) GetCoreFraction() int64 { + if m != nil { + return m.CoreFraction + } + return 0 +} + +func (m *ResourcesSpec) GetGpus() int64 { + if m != nil { + return m.Gpus + } + return 0 +} + +type AttachedDiskSpec struct { + // Access mode to the Disk resource. + Mode AttachedDiskSpec_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.compute.v1.instancegroup.AttachedDiskSpec_Mode" json:"mode,omitempty"` + // Serial number that is reflected in the /dev/disk/by-id/ tree + // of a Linux operating system running within the instance. + // + // This value can be used to reference the device for mounting, resizing, and so on, from within the instance. + DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` + // Disk specification that is attached to the instance. For more information, see [Disks](/docs/compute/concepts/disk). + DiskSpec *AttachedDiskSpec_DiskSpec `protobuf:"bytes,3,opt,name=disk_spec,json=diskSpec,proto3" json:"disk_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AttachedDiskSpec) Reset() { *m = AttachedDiskSpec{} } +func (m *AttachedDiskSpec) String() string { return proto.CompactTextString(m) } +func (*AttachedDiskSpec) ProtoMessage() {} +func (*AttachedDiskSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{8} +} + +func (m *AttachedDiskSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AttachedDiskSpec.Unmarshal(m, b) +} +func (m *AttachedDiskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AttachedDiskSpec.Marshal(b, m, deterministic) +} +func (m *AttachedDiskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedDiskSpec.Merge(m, src) +} +func (m *AttachedDiskSpec) XXX_Size() int { + return xxx_messageInfo_AttachedDiskSpec.Size(m) +} +func (m *AttachedDiskSpec) XXX_DiscardUnknown() { + xxx_messageInfo_AttachedDiskSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachedDiskSpec proto.InternalMessageInfo + +func (m *AttachedDiskSpec) GetMode() AttachedDiskSpec_Mode { + if m != nil { + return m.Mode + } + return AttachedDiskSpec_MODE_UNSPECIFIED +} + +func (m *AttachedDiskSpec) GetDeviceName() string { + if m != nil { + return m.DeviceName + } + return "" +} + +func (m *AttachedDiskSpec) GetDiskSpec() *AttachedDiskSpec_DiskSpec { + if m != nil { + return m.DiskSpec + } + return nil +} + +type AttachedDiskSpec_DiskSpec struct { + // Description of the disk. + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + // ID of the disk type. + TypeId string `protobuf:"bytes,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` + // Size of the disk, specified in bytes. + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + // Types that are valid to be assigned to SourceOneof: + // *AttachedDiskSpec_DiskSpec_ImageId + // *AttachedDiskSpec_DiskSpec_SnapshotId + SourceOneof isAttachedDiskSpec_DiskSpec_SourceOneof `protobuf_oneof:"source_oneof"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AttachedDiskSpec_DiskSpec) Reset() { *m = AttachedDiskSpec_DiskSpec{} } +func (m *AttachedDiskSpec_DiskSpec) String() string { return proto.CompactTextString(m) } +func (*AttachedDiskSpec_DiskSpec) ProtoMessage() {} +func (*AttachedDiskSpec_DiskSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{8, 0} +} + +func (m *AttachedDiskSpec_DiskSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Unmarshal(m, b) +} +func (m *AttachedDiskSpec_DiskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Marshal(b, m, deterministic) +} +func (m *AttachedDiskSpec_DiskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedDiskSpec_DiskSpec.Merge(m, src) +} +func (m *AttachedDiskSpec_DiskSpec) XXX_Size() int { + return xxx_messageInfo_AttachedDiskSpec_DiskSpec.Size(m) +} +func (m *AttachedDiskSpec_DiskSpec) XXX_DiscardUnknown() { + xxx_messageInfo_AttachedDiskSpec_DiskSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachedDiskSpec_DiskSpec proto.InternalMessageInfo + +func (m *AttachedDiskSpec_DiskSpec) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *AttachedDiskSpec_DiskSpec) GetTypeId() string { + if m != nil { + return m.TypeId + } + return "" +} + +func (m *AttachedDiskSpec_DiskSpec) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +type isAttachedDiskSpec_DiskSpec_SourceOneof interface { + isAttachedDiskSpec_DiskSpec_SourceOneof() +} + +type AttachedDiskSpec_DiskSpec_ImageId struct { + ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3,oneof"` +} + +type AttachedDiskSpec_DiskSpec_SnapshotId struct { + SnapshotId string `protobuf:"bytes,5,opt,name=snapshot_id,json=snapshotId,proto3,oneof"` +} + +func (*AttachedDiskSpec_DiskSpec_ImageId) isAttachedDiskSpec_DiskSpec_SourceOneof() {} + +func (*AttachedDiskSpec_DiskSpec_SnapshotId) isAttachedDiskSpec_DiskSpec_SourceOneof() {} + +func (m *AttachedDiskSpec_DiskSpec) GetSourceOneof() isAttachedDiskSpec_DiskSpec_SourceOneof { + if m != nil { + return m.SourceOneof + } + return nil +} + +func (m *AttachedDiskSpec_DiskSpec) GetImageId() string { + if x, ok := m.GetSourceOneof().(*AttachedDiskSpec_DiskSpec_ImageId); ok { + return x.ImageId + } + return "" +} + +func (m *AttachedDiskSpec_DiskSpec) GetSnapshotId() string { + if x, ok := m.GetSourceOneof().(*AttachedDiskSpec_DiskSpec_SnapshotId); ok { + return x.SnapshotId + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*AttachedDiskSpec_DiskSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*AttachedDiskSpec_DiskSpec_ImageId)(nil), + (*AttachedDiskSpec_DiskSpec_SnapshotId)(nil), + } +} + +type NetworkInterfaceSpec struct { + // ID of the network. + NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // IDs of the subnets. + SubnetIds []string `protobuf:"bytes,2,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"` + // Primary IPv4 address that is assigned to the instance for this network interface. + PrimaryV4AddressSpec *PrimaryAddressSpec `protobuf:"bytes,3,opt,name=primary_v4_address_spec,json=primaryV4AddressSpec,proto3" json:"primary_v4_address_spec,omitempty"` + // Primary IPv6 address that is assigned to the instance for this network interface. IPv6 not available yet. + PrimaryV6AddressSpec *PrimaryAddressSpec `protobuf:"bytes,4,opt,name=primary_v6_address_spec,json=primaryV6AddressSpec,proto3" json:"primary_v6_address_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NetworkInterfaceSpec) Reset() { *m = NetworkInterfaceSpec{} } +func (m *NetworkInterfaceSpec) String() string { return proto.CompactTextString(m) } +func (*NetworkInterfaceSpec) ProtoMessage() {} +func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{9} +} + +func (m *NetworkInterfaceSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NetworkInterfaceSpec.Unmarshal(m, b) +} +func (m *NetworkInterfaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NetworkInterfaceSpec.Marshal(b, m, deterministic) +} +func (m *NetworkInterfaceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkInterfaceSpec.Merge(m, src) +} +func (m *NetworkInterfaceSpec) XXX_Size() int { + return xxx_messageInfo_NetworkInterfaceSpec.Size(m) +} +func (m *NetworkInterfaceSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkInterfaceSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkInterfaceSpec proto.InternalMessageInfo + +func (m *NetworkInterfaceSpec) GetNetworkId() string { + if m != nil { + return m.NetworkId + } + return "" +} + +func (m *NetworkInterfaceSpec) GetSubnetIds() []string { + if m != nil { + return m.SubnetIds + } + return nil +} + +func (m *NetworkInterfaceSpec) GetPrimaryV4AddressSpec() *PrimaryAddressSpec { + if m != nil { + return m.PrimaryV4AddressSpec + } + return nil +} + +func (m *NetworkInterfaceSpec) GetPrimaryV6AddressSpec() *PrimaryAddressSpec { + if m != nil { + return m.PrimaryV6AddressSpec + } + return nil +} + +type PrimaryAddressSpec struct { + // An external IP address configuration. + // If not specified, then this managed instance will have no external internet access. + OneToOneNatSpec *OneToOneNatSpec `protobuf:"bytes,1,opt,name=one_to_one_nat_spec,json=oneToOneNatSpec,proto3" json:"one_to_one_nat_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrimaryAddressSpec) Reset() { *m = PrimaryAddressSpec{} } +func (m *PrimaryAddressSpec) String() string { return proto.CompactTextString(m) } +func (*PrimaryAddressSpec) ProtoMessage() {} +func (*PrimaryAddressSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{10} +} + +func (m *PrimaryAddressSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrimaryAddressSpec.Unmarshal(m, b) +} +func (m *PrimaryAddressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrimaryAddressSpec.Marshal(b, m, deterministic) +} +func (m *PrimaryAddressSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrimaryAddressSpec.Merge(m, src) +} +func (m *PrimaryAddressSpec) XXX_Size() int { + return xxx_messageInfo_PrimaryAddressSpec.Size(m) +} +func (m *PrimaryAddressSpec) XXX_DiscardUnknown() { + xxx_messageInfo_PrimaryAddressSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_PrimaryAddressSpec proto.InternalMessageInfo + +func (m *PrimaryAddressSpec) GetOneToOneNatSpec() *OneToOneNatSpec { + if m != nil { + return m.OneToOneNatSpec + } + return nil +} + +type OneToOneNatSpec struct { + // IP version for the public IP address. + IpVersion IpVersion `protobuf:"varint,1,opt,name=ip_version,json=ipVersion,proto3,enum=yandex.cloud.compute.v1.instancegroup.IpVersion" json:"ip_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OneToOneNatSpec) Reset() { *m = OneToOneNatSpec{} } +func (m *OneToOneNatSpec) String() string { return proto.CompactTextString(m) } +func (*OneToOneNatSpec) ProtoMessage() {} +func (*OneToOneNatSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{11} +} + +func (m *OneToOneNatSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OneToOneNatSpec.Unmarshal(m, b) +} +func (m *OneToOneNatSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OneToOneNatSpec.Marshal(b, m, deterministic) +} +func (m *OneToOneNatSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_OneToOneNatSpec.Merge(m, src) +} +func (m *OneToOneNatSpec) XXX_Size() int { + return xxx_messageInfo_OneToOneNatSpec.Size(m) +} +func (m *OneToOneNatSpec) XXX_DiscardUnknown() { + xxx_messageInfo_OneToOneNatSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_OneToOneNatSpec proto.InternalMessageInfo + +func (m *OneToOneNatSpec) GetIpVersion() IpVersion { + if m != nil { + return m.IpVersion + } + return IpVersion_IP_VERSION_UNSPECIFIED +} + +type SchedulingPolicy struct { + // Preemptible instances are stopped at least once every 24 hours, and can be stopped at any time + // if their resources are needed by Compute. + // For more information, see [Preemptible Virtual Machines](/docs/compute/concepts/preemptible-vm). + Preemptible bool `protobuf:"varint,1,opt,name=preemptible,proto3" json:"preemptible,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SchedulingPolicy) Reset() { *m = SchedulingPolicy{} } +func (m *SchedulingPolicy) String() string { return proto.CompactTextString(m) } +func (*SchedulingPolicy) ProtoMessage() {} +func (*SchedulingPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{12} +} + +func (m *SchedulingPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SchedulingPolicy.Unmarshal(m, b) +} +func (m *SchedulingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SchedulingPolicy.Marshal(b, m, deterministic) +} +func (m *SchedulingPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_SchedulingPolicy.Merge(m, src) +} +func (m *SchedulingPolicy) XXX_Size() int { + return xxx_messageInfo_SchedulingPolicy.Size(m) +} +func (m *SchedulingPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_SchedulingPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_SchedulingPolicy proto.InternalMessageInfo + +func (m *SchedulingPolicy) GetPreemptible() bool { + if m != nil { + return m.Preemptible + } + return false +} + +type LoadBalancerSpec struct { + // Specification of the target group that the instance group will be added to. For more information, see [Target groups and resources](/docs/load-balancer/target-resources). + TargetGroupSpec *TargetGroupSpec `protobuf:"bytes,1,opt,name=target_group_spec,json=targetGroupSpec,proto3" json:"target_group_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LoadBalancerSpec) Reset() { *m = LoadBalancerSpec{} } +func (m *LoadBalancerSpec) String() string { return proto.CompactTextString(m) } +func (*LoadBalancerSpec) ProtoMessage() {} +func (*LoadBalancerSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{13} +} + +func (m *LoadBalancerSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LoadBalancerSpec.Unmarshal(m, b) +} +func (m *LoadBalancerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LoadBalancerSpec.Marshal(b, m, deterministic) +} +func (m *LoadBalancerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadBalancerSpec.Merge(m, src) +} +func (m *LoadBalancerSpec) XXX_Size() int { + return xxx_messageInfo_LoadBalancerSpec.Size(m) +} +func (m *LoadBalancerSpec) XXX_DiscardUnknown() { + xxx_messageInfo_LoadBalancerSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_LoadBalancerSpec proto.InternalMessageInfo + +func (m *LoadBalancerSpec) GetTargetGroupSpec() *TargetGroupSpec { + if m != nil { + return m.TargetGroupSpec + } + return nil +} + +type TargetGroupSpec struct { + // Name of the target group. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Description of the target group. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Resource labels as `key:value` pairs. + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TargetGroupSpec) Reset() { *m = TargetGroupSpec{} } +func (m *TargetGroupSpec) String() string { return proto.CompactTextString(m) } +func (*TargetGroupSpec) ProtoMessage() {} +func (*TargetGroupSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{14} +} + +func (m *TargetGroupSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TargetGroupSpec.Unmarshal(m, b) +} +func (m *TargetGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TargetGroupSpec.Marshal(b, m, deterministic) +} +func (m *TargetGroupSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetGroupSpec.Merge(m, src) +} +func (m *TargetGroupSpec) XXX_Size() int { + return xxx_messageInfo_TargetGroupSpec.Size(m) +} +func (m *TargetGroupSpec) XXX_DiscardUnknown() { + xxx_messageInfo_TargetGroupSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_TargetGroupSpec proto.InternalMessageInfo + +func (m *TargetGroupSpec) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *TargetGroupSpec) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *TargetGroupSpec) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +type HealthChecksSpec struct { + // Health checking specification. For more information, see [Health check](/docs/load-balancer/concepts/health-check). + HealthCheckSpecs []*HealthCheckSpec `protobuf:"bytes,1,rep,name=health_check_specs,json=healthCheckSpecs,proto3" json:"health_check_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthChecksSpec) Reset() { *m = HealthChecksSpec{} } +func (m *HealthChecksSpec) String() string { return proto.CompactTextString(m) } +func (*HealthChecksSpec) ProtoMessage() {} +func (*HealthChecksSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{15} +} + +func (m *HealthChecksSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HealthChecksSpec.Unmarshal(m, b) +} +func (m *HealthChecksSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HealthChecksSpec.Marshal(b, m, deterministic) +} +func (m *HealthChecksSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthChecksSpec.Merge(m, src) +} +func (m *HealthChecksSpec) XXX_Size() int { + return xxx_messageInfo_HealthChecksSpec.Size(m) +} +func (m *HealthChecksSpec) XXX_DiscardUnknown() { + xxx_messageInfo_HealthChecksSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthChecksSpec proto.InternalMessageInfo + +func (m *HealthChecksSpec) GetHealthCheckSpecs() []*HealthCheckSpec { + if m != nil { + return m.HealthCheckSpecs + } + return nil +} + +type HealthCheckSpec struct { + // The interval between health checks. The default is 2 seconds. + Interval *duration.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` + // Timeout for the managed instance to return a response for the health check. The default is 1 second. + Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` + // The number of failed health checks for the managed instance to be considered unhealthy. The default (0) is 2. + UnhealthyThreshold int64 `protobuf:"varint,3,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` + // The number of successful health checks required in order for the managed instance to be considered healthy. The default (0) is 2. + HealthyThreshold int64 `protobuf:"varint,4,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` + // Types that are valid to be assigned to HealthCheckOptions: + // *HealthCheckSpec_TcpOptions_ + // *HealthCheckSpec_HttpOptions_ + HealthCheckOptions isHealthCheckSpec_HealthCheckOptions `protobuf_oneof:"health_check_options"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthCheckSpec) Reset() { *m = HealthCheckSpec{} } +func (m *HealthCheckSpec) String() string { return proto.CompactTextString(m) } +func (*HealthCheckSpec) ProtoMessage() {} +func (*HealthCheckSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{16} +} + +func (m *HealthCheckSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HealthCheckSpec.Unmarshal(m, b) +} +func (m *HealthCheckSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HealthCheckSpec.Marshal(b, m, deterministic) +} +func (m *HealthCheckSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckSpec.Merge(m, src) +} +func (m *HealthCheckSpec) XXX_Size() int { + return xxx_messageInfo_HealthCheckSpec.Size(m) +} +func (m *HealthCheckSpec) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckSpec proto.InternalMessageInfo + +func (m *HealthCheckSpec) GetInterval() *duration.Duration { + if m != nil { + return m.Interval + } + return nil +} + +func (m *HealthCheckSpec) GetTimeout() *duration.Duration { + if m != nil { + return m.Timeout + } + return nil +} + +func (m *HealthCheckSpec) GetUnhealthyThreshold() int64 { + if m != nil { + return m.UnhealthyThreshold + } + return 0 +} + +func (m *HealthCheckSpec) GetHealthyThreshold() int64 { + if m != nil { + return m.HealthyThreshold + } + return 0 +} + +type isHealthCheckSpec_HealthCheckOptions interface { + isHealthCheckSpec_HealthCheckOptions() +} + +type HealthCheckSpec_TcpOptions_ struct { + TcpOptions *HealthCheckSpec_TcpOptions `protobuf:"bytes,5,opt,name=tcp_options,json=tcpOptions,proto3,oneof"` +} + +type HealthCheckSpec_HttpOptions_ struct { + HttpOptions *HealthCheckSpec_HttpOptions `protobuf:"bytes,6,opt,name=http_options,json=httpOptions,proto3,oneof"` +} + +func (*HealthCheckSpec_TcpOptions_) isHealthCheckSpec_HealthCheckOptions() {} + +func (*HealthCheckSpec_HttpOptions_) isHealthCheckSpec_HealthCheckOptions() {} + +func (m *HealthCheckSpec) GetHealthCheckOptions() isHealthCheckSpec_HealthCheckOptions { + if m != nil { + return m.HealthCheckOptions + } + return nil +} + +func (m *HealthCheckSpec) GetTcpOptions() *HealthCheckSpec_TcpOptions { + if x, ok := m.GetHealthCheckOptions().(*HealthCheckSpec_TcpOptions_); ok { + return x.TcpOptions + } + return nil +} + +func (m *HealthCheckSpec) GetHttpOptions() *HealthCheckSpec_HttpOptions { + if x, ok := m.GetHealthCheckOptions().(*HealthCheckSpec_HttpOptions_); ok { + return x.HttpOptions + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*HealthCheckSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*HealthCheckSpec_TcpOptions_)(nil), + (*HealthCheckSpec_HttpOptions_)(nil), + } +} + +type HealthCheckSpec_TcpOptions struct { + // Port to use for TCP health checks. + Port int64 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthCheckSpec_TcpOptions) Reset() { *m = HealthCheckSpec_TcpOptions{} } +func (m *HealthCheckSpec_TcpOptions) String() string { return proto.CompactTextString(m) } +func (*HealthCheckSpec_TcpOptions) ProtoMessage() {} +func (*HealthCheckSpec_TcpOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{16, 0} +} + +func (m *HealthCheckSpec_TcpOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HealthCheckSpec_TcpOptions.Unmarshal(m, b) +} +func (m *HealthCheckSpec_TcpOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HealthCheckSpec_TcpOptions.Marshal(b, m, deterministic) +} +func (m *HealthCheckSpec_TcpOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckSpec_TcpOptions.Merge(m, src) +} +func (m *HealthCheckSpec_TcpOptions) XXX_Size() int { + return xxx_messageInfo_HealthCheckSpec_TcpOptions.Size(m) +} +func (m *HealthCheckSpec_TcpOptions) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckSpec_TcpOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckSpec_TcpOptions proto.InternalMessageInfo + +func (m *HealthCheckSpec_TcpOptions) GetPort() int64 { + if m != nil { + return m.Port + } + return 0 +} + +type HealthCheckSpec_HttpOptions struct { + // Port to use for HTTP health checks. + Port int64 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` + // URL path to set for health checking requests. + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthCheckSpec_HttpOptions) Reset() { *m = HealthCheckSpec_HttpOptions{} } +func (m *HealthCheckSpec_HttpOptions) String() string { return proto.CompactTextString(m) } +func (*HealthCheckSpec_HttpOptions) ProtoMessage() {} +func (*HealthCheckSpec_HttpOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{16, 1} +} + +func (m *HealthCheckSpec_HttpOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HealthCheckSpec_HttpOptions.Unmarshal(m, b) +} +func (m *HealthCheckSpec_HttpOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HealthCheckSpec_HttpOptions.Marshal(b, m, deterministic) +} +func (m *HealthCheckSpec_HttpOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckSpec_HttpOptions.Merge(m, src) +} +func (m *HealthCheckSpec_HttpOptions) XXX_Size() int { + return xxx_messageInfo_HealthCheckSpec_HttpOptions.Size(m) +} +func (m *HealthCheckSpec_HttpOptions) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckSpec_HttpOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckSpec_HttpOptions proto.InternalMessageInfo + +func (m *HealthCheckSpec_HttpOptions) GetPort() int64 { + if m != nil { + return m.Port + } + return 0 +} + +func (m *HealthCheckSpec_HttpOptions) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +// A ManagedInstance resource. For more information, see [Instance Groups Concepts](/docs/instance-groups/concepts). +type ManagedInstance struct { + // ID of the managed instance. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // Status of the managed instance. + Status ManagedInstance_Status `protobuf:"varint,2,opt,name=status,proto3,enum=yandex.cloud.compute.v1.instancegroup.ManagedInstance_Status" json:"status,omitempty"` + // ID of the instance. + InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + // Fully Qualified Domain Name. + Fqdn string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"` + // The name of the managed instance. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // Status message for the managed instance. + StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` + // ID of the availability zone where the instance resides. + ZoneId string `protobuf:"bytes,7,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` + // Array of network interfaces that are attached to the managed instance. + NetworkInterfaces []*NetworkInterface `protobuf:"bytes,8,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"` + // The timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format when the status of the managed instance was last changed. + StatusChangedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=status_changed_at,json=statusChangedAt,proto3" json:"status_changed_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManagedInstance) Reset() { *m = ManagedInstance{} } +func (m *ManagedInstance) String() string { return proto.CompactTextString(m) } +func (*ManagedInstance) ProtoMessage() {} +func (*ManagedInstance) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{17} +} + +func (m *ManagedInstance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManagedInstance.Unmarshal(m, b) +} +func (m *ManagedInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManagedInstance.Marshal(b, m, deterministic) +} +func (m *ManagedInstance) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagedInstance.Merge(m, src) +} +func (m *ManagedInstance) XXX_Size() int { + return xxx_messageInfo_ManagedInstance.Size(m) +} +func (m *ManagedInstance) XXX_DiscardUnknown() { + xxx_messageInfo_ManagedInstance.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagedInstance proto.InternalMessageInfo + +func (m *ManagedInstance) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *ManagedInstance) GetStatus() ManagedInstance_Status { + if m != nil { + return m.Status + } + return ManagedInstance_STATUS_UNSPECIFIED +} + +func (m *ManagedInstance) GetInstanceId() string { + if m != nil { + return m.InstanceId + } + return "" +} + +func (m *ManagedInstance) GetFqdn() string { + if m != nil { + return m.Fqdn + } + return "" +} + +func (m *ManagedInstance) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ManagedInstance) GetStatusMessage() string { + if m != nil { + return m.StatusMessage + } + return "" +} + +func (m *ManagedInstance) GetZoneId() string { + if m != nil { + return m.ZoneId + } + return "" +} + +func (m *ManagedInstance) GetNetworkInterfaces() []*NetworkInterface { + if m != nil { + return m.NetworkInterfaces + } + return nil +} + +func (m *ManagedInstance) GetStatusChangedAt() *timestamp.Timestamp { + if m != nil { + return m.StatusChangedAt + } + return nil +} + +type NetworkInterface struct { + // The index of the network interface, generated by the server, 0,1,2... etc. + // Currently only one network interface is supported per instance. + Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` + // MAC address that is assigned to the network interface. + MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` + // ID of the subnet. + SubnetId string `protobuf:"bytes,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` + // Primary IPv4 address that is assigned to the instance for this network interface. + PrimaryV4Address *PrimaryAddress `protobuf:"bytes,4,opt,name=primary_v4_address,json=primaryV4Address,proto3" json:"primary_v4_address,omitempty"` + // Primary IPv6 address that is assigned to the instance for this network interface. IPv6 is not available yet. + PrimaryV6Address *PrimaryAddress `protobuf:"bytes,5,opt,name=primary_v6_address,json=primaryV6Address,proto3" json:"primary_v6_address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NetworkInterface) Reset() { *m = NetworkInterface{} } +func (m *NetworkInterface) String() string { return proto.CompactTextString(m) } +func (*NetworkInterface) ProtoMessage() {} +func (*NetworkInterface) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{18} +} + +func (m *NetworkInterface) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NetworkInterface.Unmarshal(m, b) +} +func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NetworkInterface.Marshal(b, m, deterministic) +} +func (m *NetworkInterface) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkInterface.Merge(m, src) +} +func (m *NetworkInterface) XXX_Size() int { + return xxx_messageInfo_NetworkInterface.Size(m) +} +func (m *NetworkInterface) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkInterface.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkInterface proto.InternalMessageInfo + +func (m *NetworkInterface) GetIndex() string { + if m != nil { + return m.Index + } + return "" +} + +func (m *NetworkInterface) GetMacAddress() string { + if m != nil { + return m.MacAddress + } + return "" +} + +func (m *NetworkInterface) GetSubnetId() string { + if m != nil { + return m.SubnetId + } + return "" +} + +func (m *NetworkInterface) GetPrimaryV4Address() *PrimaryAddress { + if m != nil { + return m.PrimaryV4Address + } + return nil +} + +func (m *NetworkInterface) GetPrimaryV6Address() *PrimaryAddress { + if m != nil { + return m.PrimaryV6Address + } + return nil +} + +type PrimaryAddress struct { + // An IPv4 internal network address that is assigned to the managed instance for this network interface. + // If not specified by the user, an unused internal IP is assigned by the system. + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // One-to-one NAT configuration. If missing, NAT has not been set up. + OneToOneNat *OneToOneNat `protobuf:"bytes,2,opt,name=one_to_one_nat,json=oneToOneNat,proto3" json:"one_to_one_nat,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrimaryAddress) Reset() { *m = PrimaryAddress{} } +func (m *PrimaryAddress) String() string { return proto.CompactTextString(m) } +func (*PrimaryAddress) ProtoMessage() {} +func (*PrimaryAddress) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{19} +} + +func (m *PrimaryAddress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrimaryAddress.Unmarshal(m, b) +} +func (m *PrimaryAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrimaryAddress.Marshal(b, m, deterministic) +} +func (m *PrimaryAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrimaryAddress.Merge(m, src) +} +func (m *PrimaryAddress) XXX_Size() int { + return xxx_messageInfo_PrimaryAddress.Size(m) +} +func (m *PrimaryAddress) XXX_DiscardUnknown() { + xxx_messageInfo_PrimaryAddress.DiscardUnknown(m) +} + +var xxx_messageInfo_PrimaryAddress proto.InternalMessageInfo + +func (m *PrimaryAddress) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *PrimaryAddress) GetOneToOneNat() *OneToOneNat { + if m != nil { + return m.OneToOneNat + } + return nil +} + +type OneToOneNat struct { + // An IPv4 external network address that is assigned to the managed instance for this network interface. + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // External IP address version. + IpVersion IpVersion `protobuf:"varint,2,opt,name=ip_version,json=ipVersion,proto3,enum=yandex.cloud.compute.v1.instancegroup.IpVersion" json:"ip_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OneToOneNat) Reset() { *m = OneToOneNat{} } +func (m *OneToOneNat) String() string { return proto.CompactTextString(m) } +func (*OneToOneNat) ProtoMessage() {} +func (*OneToOneNat) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{20} +} + +func (m *OneToOneNat) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OneToOneNat.Unmarshal(m, b) +} +func (m *OneToOneNat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OneToOneNat.Marshal(b, m, deterministic) +} +func (m *OneToOneNat) XXX_Merge(src proto.Message) { + xxx_messageInfo_OneToOneNat.Merge(m, src) +} +func (m *OneToOneNat) XXX_Size() int { + return xxx_messageInfo_OneToOneNat.Size(m) +} +func (m *OneToOneNat) XXX_DiscardUnknown() { + xxx_messageInfo_OneToOneNat.DiscardUnknown(m) +} + +var xxx_messageInfo_OneToOneNat proto.InternalMessageInfo + +func (m *OneToOneNat) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *OneToOneNat) GetIpVersion() IpVersion { + if m != nil { + return m.IpVersion + } + return IpVersion_IP_VERSION_UNSPECIFIED +} + +type LogRecord struct { + // Log timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // The log message. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LogRecord) Reset() { *m = LogRecord{} } +func (m *LogRecord) String() string { return proto.CompactTextString(m) } +func (*LogRecord) ProtoMessage() {} +func (*LogRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_993454707bf70b9b, []int{21} +} + +func (m *LogRecord) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LogRecord.Unmarshal(m, b) +} +func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) +} +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) +} +func (m *LogRecord) XXX_Size() int { + return xxx_messageInfo_LogRecord.Size(m) +} +func (m *LogRecord) XXX_DiscardUnknown() { + xxx_messageInfo_LogRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_LogRecord proto.InternalMessageInfo + +func (m *LogRecord) GetTimestamp() *timestamp.Timestamp { + if m != nil { + return m.Timestamp + } + return nil +} + +func (m *LogRecord) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + +func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.instancegroup.IpVersion", IpVersion_name, IpVersion_value) + proto.RegisterEnum("yandex.cloud.compute.v1.instancegroup.AttachedDiskSpec_Mode", AttachedDiskSpec_Mode_name, AttachedDiskSpec_Mode_value) + proto.RegisterEnum("yandex.cloud.compute.v1.instancegroup.ManagedInstance_Status", ManagedInstance_Status_name, ManagedInstance_Status_value) + proto.RegisterType((*InstanceGroup)(nil), "yandex.cloud.compute.v1.instancegroup.InstanceGroup") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.InstanceGroup.LabelsEntry") + proto.RegisterType((*LoadBalancerState)(nil), "yandex.cloud.compute.v1.instancegroup.LoadBalancerState") + proto.RegisterType((*ManagedInstancesState)(nil), "yandex.cloud.compute.v1.instancegroup.ManagedInstancesState") + proto.RegisterType((*ManagedInstancesState_Statuses)(nil), "yandex.cloud.compute.v1.instancegroup.ManagedInstancesState.Statuses") + proto.RegisterType((*ScalePolicy)(nil), "yandex.cloud.compute.v1.instancegroup.ScalePolicy") + proto.RegisterType((*ScalePolicy_FixedScale)(nil), "yandex.cloud.compute.v1.instancegroup.ScalePolicy.FixedScale") + proto.RegisterType((*DeployPolicy)(nil), "yandex.cloud.compute.v1.instancegroup.DeployPolicy") + proto.RegisterType((*AllocationPolicy)(nil), "yandex.cloud.compute.v1.instancegroup.AllocationPolicy") + proto.RegisterType((*AllocationPolicy_Zone)(nil), "yandex.cloud.compute.v1.instancegroup.AllocationPolicy.Zone") + proto.RegisterType((*InstanceTemplate)(nil), "yandex.cloud.compute.v1.instancegroup.InstanceTemplate") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.InstanceTemplate.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.InstanceTemplate.MetadataEntry") + proto.RegisterType((*ResourcesSpec)(nil), "yandex.cloud.compute.v1.instancegroup.ResourcesSpec") + proto.RegisterType((*AttachedDiskSpec)(nil), "yandex.cloud.compute.v1.instancegroup.AttachedDiskSpec") + proto.RegisterType((*AttachedDiskSpec_DiskSpec)(nil), "yandex.cloud.compute.v1.instancegroup.AttachedDiskSpec.DiskSpec") + proto.RegisterType((*NetworkInterfaceSpec)(nil), "yandex.cloud.compute.v1.instancegroup.NetworkInterfaceSpec") + proto.RegisterType((*PrimaryAddressSpec)(nil), "yandex.cloud.compute.v1.instancegroup.PrimaryAddressSpec") + proto.RegisterType((*OneToOneNatSpec)(nil), "yandex.cloud.compute.v1.instancegroup.OneToOneNatSpec") + proto.RegisterType((*SchedulingPolicy)(nil), "yandex.cloud.compute.v1.instancegroup.SchedulingPolicy") + proto.RegisterType((*LoadBalancerSpec)(nil), "yandex.cloud.compute.v1.instancegroup.LoadBalancerSpec") + proto.RegisterType((*TargetGroupSpec)(nil), "yandex.cloud.compute.v1.instancegroup.TargetGroupSpec") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.TargetGroupSpec.LabelsEntry") + proto.RegisterType((*HealthChecksSpec)(nil), "yandex.cloud.compute.v1.instancegroup.HealthChecksSpec") + proto.RegisterType((*HealthCheckSpec)(nil), "yandex.cloud.compute.v1.instancegroup.HealthCheckSpec") + proto.RegisterType((*HealthCheckSpec_TcpOptions)(nil), "yandex.cloud.compute.v1.instancegroup.HealthCheckSpec.TcpOptions") + proto.RegisterType((*HealthCheckSpec_HttpOptions)(nil), "yandex.cloud.compute.v1.instancegroup.HealthCheckSpec.HttpOptions") + proto.RegisterType((*ManagedInstance)(nil), "yandex.cloud.compute.v1.instancegroup.ManagedInstance") + proto.RegisterType((*NetworkInterface)(nil), "yandex.cloud.compute.v1.instancegroup.NetworkInterface") + proto.RegisterType((*PrimaryAddress)(nil), "yandex.cloud.compute.v1.instancegroup.PrimaryAddress") + proto.RegisterType((*OneToOneNat)(nil), "yandex.cloud.compute.v1.instancegroup.OneToOneNat") + proto.RegisterType((*LogRecord)(nil), "yandex.cloud.compute.v1.instancegroup.LogRecord") +} + +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/instancegroup/instance_group.proto", fileDescriptor_993454707bf70b9b) +} + +var fileDescriptor_993454707bf70b9b = []byte{ + // 2830 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, + 0x15, 0x0f, 0x29, 0x8a, 0x22, 0x1f, 0x25, 0x6a, 0x35, 0x96, 0x6d, 0x86, 0x89, 0x6b, 0x97, 0x80, + 0x8b, 0x34, 0x59, 0x52, 0x5c, 0x8a, 0xa2, 0xa4, 0x58, 0x6e, 0x42, 0x4a, 0x74, 0x4c, 0x54, 0x16, + 0x85, 0x15, 0x65, 0x27, 0x31, 0x82, 0xed, 0x68, 0x77, 0x44, 0x2e, 0x4c, 0xee, 0x6e, 0x77, 0x97, + 0x8a, 0xa5, 0x24, 0x87, 0xba, 0x87, 0x16, 0xf9, 0x03, 0x82, 0x02, 0x29, 0xd0, 0x7f, 0x21, 0x28, + 0x50, 0xa0, 0xc7, 0xf6, 0x24, 0x9f, 0x7a, 0xe9, 0xb9, 0xb7, 0x1e, 0xda, 0xab, 0x8f, 0xea, 0xa5, + 0x98, 0x8f, 0xe5, 0xc7, 0xca, 0xb5, 0x29, 0x25, 0x3d, 0x91, 0xef, 0xfb, 0xcd, 0xd7, 0x7b, 0xbf, + 0x99, 0x85, 0xf7, 0x8f, 0xb1, 0x65, 0x90, 0xa7, 0x4b, 0x7a, 0xd7, 0xee, 0x1b, 0x4b, 0xba, 0xdd, + 0x73, 0xfa, 0x3e, 0x59, 0x3a, 0x52, 0x96, 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7c, 0xca, 0x02, 0x12, 0x3d, + 0x82, 0xf4, 0x38, 0x82, 0x14, 0x3d, 0xaa, 0x74, 0x71, 0xf0, 0xa8, 0xa6, 0x46, 0x80, 0x63, 0xee, + 0x29, 0xa4, 0x46, 0x64, 0xaf, 0xc8, 0x60, 0x1c, 0x4a, 0x46, 0xbf, 0x3f, 0x94, 0xd4, 0x20, 0xb9, + 0x6d, 0xb7, 0x55, 0xa2, 0xdb, 0xae, 0x81, 0xd6, 0x20, 0x39, 0xf8, 0x24, 0x2b, 0x3a, 0xf8, 0x2b, + 0xbf, 0x8f, 0x0e, 0x94, 0x69, 0xc6, 0xe3, 0xdf, 0x2d, 0x02, 0xf2, 0xdd, 0x3b, 0x90, 0x1c, 0x04, + 0x46, 0x59, 0xb8, 0xd6, 0xd8, 0xd5, 0x1e, 0xd6, 0xd5, 0xbd, 0x46, 0x73, 0x27, 0x74, 0xde, 0x13, + 0x10, 0x6b, 0xec, 0x3e, 0x2c, 0x4b, 0x11, 0xf1, 0xaf, 0x22, 0x45, 0x6b, 0x9f, 0x7c, 0xfa, 0xa8, + 0x6d, 0xfa, 0x9d, 0xfe, 0x01, 0x1d, 0xd5, 0x12, 0x1f, 0x66, 0x9e, 0x7f, 0x5d, 0x6e, 0xdb, 0xf9, + 0x36, 0xb1, 0x58, 0x56, 0x4b, 0x13, 0x7d, 0xd9, 0xbe, 0x33, 0x46, 0x1d, 0xc4, 0x99, 0xe9, 0xf2, + 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xdf, 0x6e, 0xdb, 0x17, 0x1f, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group_service.pb.go new file mode 100644 index 000000000..c3a5ff66f --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup/instance_group_service.pb.go @@ -0,0 +1,1770 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/compute/v1/instancegroup/instance_group_service.proto + +package instancegroup + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type InstanceGroupView int32 + +const ( + // Doesn't include the metadata of the instance template in the server response. + InstanceGroupView_BASIC InstanceGroupView = 0 + // Returns the metadata of the instance template in the server response. + InstanceGroupView_FULL InstanceGroupView = 1 +) + +var InstanceGroupView_name = map[int32]string{ + 0: "BASIC", + 1: "FULL", +} + +var InstanceGroupView_value = map[string]int32{ + "BASIC": 0, + "FULL": 1, +} + +func (x InstanceGroupView) String() string { + return proto.EnumName(InstanceGroupView_name, int32(x)) +} + +func (InstanceGroupView) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{0} +} + +type GetInstanceGroupRequest struct { + // ID of the InstanceGroup resource to return. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // Defines which information about the Instance template should be returned in the server response. + View InstanceGroupView `protobuf:"varint,2,opt,name=view,proto3,enum=yandex.cloud.compute.v1.instancegroup.InstanceGroupView" json:"view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetInstanceGroupRequest) Reset() { *m = GetInstanceGroupRequest{} } +func (m *GetInstanceGroupRequest) String() string { return proto.CompactTextString(m) } +func (*GetInstanceGroupRequest) ProtoMessage() {} +func (*GetInstanceGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{0} +} + +func (m *GetInstanceGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetInstanceGroupRequest.Unmarshal(m, b) +} +func (m *GetInstanceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetInstanceGroupRequest.Marshal(b, m, deterministic) +} +func (m *GetInstanceGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInstanceGroupRequest.Merge(m, src) +} +func (m *GetInstanceGroupRequest) XXX_Size() int { + return xxx_messageInfo_GetInstanceGroupRequest.Size(m) +} +func (m *GetInstanceGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetInstanceGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetInstanceGroupRequest proto.InternalMessageInfo + +func (m *GetInstanceGroupRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *GetInstanceGroupRequest) GetView() InstanceGroupView { + if m != nil { + return m.View + } + return InstanceGroupView_BASIC +} + +type CreateInstanceGroupRequest struct { + // ID of the folder to create an instance group in. + // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // Name of the instance group. + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // Description of the instance group. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // Resource labels as `key:value` pairs. + Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Instance template that the instance group belongs to. + InstanceTemplate *InstanceTemplate `protobuf:"bytes,6,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` + // Scaling policy of the instance group. + ScalePolicy *ScalePolicy `protobuf:"bytes,7,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` + // Deployment policy of the instance group. + DeployPolicy *DeployPolicy `protobuf:"bytes,8,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` + // Allocation policy of the instance group by zones and regions. + AllocationPolicy *AllocationPolicy `protobuf:"bytes,9,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` + // Load balancing specification. + LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,10,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` + // Health checking specification. For more information, see [Health check](/docs/load-balancer/concepts/health-check). + HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,11,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` + // ID of the service account. The service account will be used for all API calls + // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,12,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInstanceGroupRequest) Reset() { *m = CreateInstanceGroupRequest{} } +func (m *CreateInstanceGroupRequest) String() string { return proto.CompactTextString(m) } +func (*CreateInstanceGroupRequest) ProtoMessage() {} +func (*CreateInstanceGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{1} +} + +func (m *CreateInstanceGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInstanceGroupRequest.Unmarshal(m, b) +} +func (m *CreateInstanceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInstanceGroupRequest.Marshal(b, m, deterministic) +} +func (m *CreateInstanceGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceGroupRequest.Merge(m, src) +} +func (m *CreateInstanceGroupRequest) XXX_Size() int { + return xxx_messageInfo_CreateInstanceGroupRequest.Size(m) +} +func (m *CreateInstanceGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInstanceGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInstanceGroupRequest proto.InternalMessageInfo + +func (m *CreateInstanceGroupRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *CreateInstanceGroupRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CreateInstanceGroupRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateInstanceGroupRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate { + if m != nil { + return m.InstanceTemplate + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetScalePolicy() *ScalePolicy { + if m != nil { + return m.ScalePolicy + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy { + if m != nil { + return m.DeployPolicy + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy { + if m != nil { + return m.AllocationPolicy + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec { + if m != nil { + return m.LoadBalancerSpec + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec { + if m != nil { + return m.HealthChecksSpec + } + return nil +} + +func (m *CreateInstanceGroupRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +type CreateInstanceGroupFromYamlRequest struct { + // ID of the folder to create an instance group in. + // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // CreateInstanceGroupRequest in YAML format. + InstanceGroupYaml string `protobuf:"bytes,2,opt,name=instance_group_yaml,json=instanceGroupYaml,proto3" json:"instance_group_yaml,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInstanceGroupFromYamlRequest) Reset() { *m = CreateInstanceGroupFromYamlRequest{} } +func (m *CreateInstanceGroupFromYamlRequest) String() string { return proto.CompactTextString(m) } +func (*CreateInstanceGroupFromYamlRequest) ProtoMessage() {} +func (*CreateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{2} +} + +func (m *CreateInstanceGroupFromYamlRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInstanceGroupFromYamlRequest.Unmarshal(m, b) +} +func (m *CreateInstanceGroupFromYamlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInstanceGroupFromYamlRequest.Marshal(b, m, deterministic) +} +func (m *CreateInstanceGroupFromYamlRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceGroupFromYamlRequest.Merge(m, src) +} +func (m *CreateInstanceGroupFromYamlRequest) XXX_Size() int { + return xxx_messageInfo_CreateInstanceGroupFromYamlRequest.Size(m) +} +func (m *CreateInstanceGroupFromYamlRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInstanceGroupFromYamlRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInstanceGroupFromYamlRequest proto.InternalMessageInfo + +func (m *CreateInstanceGroupFromYamlRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *CreateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string { + if m != nil { + return m.InstanceGroupYaml + } + return "" +} + +type CreateInstanceGroupMetadata struct { + // ID of the instance group that is being created. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateInstanceGroupMetadata) Reset() { *m = CreateInstanceGroupMetadata{} } +func (m *CreateInstanceGroupMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateInstanceGroupMetadata) ProtoMessage() {} +func (*CreateInstanceGroupMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{3} +} + +func (m *CreateInstanceGroupMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateInstanceGroupMetadata.Unmarshal(m, b) +} +func (m *CreateInstanceGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateInstanceGroupMetadata.Marshal(b, m, deterministic) +} +func (m *CreateInstanceGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateInstanceGroupMetadata.Merge(m, src) +} +func (m *CreateInstanceGroupMetadata) XXX_Size() int { + return xxx_messageInfo_CreateInstanceGroupMetadata.Size(m) +} +func (m *CreateInstanceGroupMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateInstanceGroupMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateInstanceGroupMetadata proto.InternalMessageInfo + +func (m *CreateInstanceGroupMetadata) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +type UpdateInstanceGroupRequest struct { + // ID of the instance group to update. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // Field mask that specifies which fields of the InstanceGroup resource are going to be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Name of the instance group. + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // Description of the instance group. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // Resource labels as `key:value` pairs. + // + // The existing set of `labels` is completely replaced by the provided set. + Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Instance template that the instance group belongs to. + InstanceTemplate *InstanceTemplate `protobuf:"bytes,6,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` + // Scaling policy of the instance group. + ScalePolicy *ScalePolicy `protobuf:"bytes,7,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` + // Deployment policy of the instance group. + DeployPolicy *DeployPolicy `protobuf:"bytes,8,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` + // Allocation policy of the instance group by zones and regions. + AllocationPolicy *AllocationPolicy `protobuf:"bytes,9,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` + // Health checking specification. For more information, see [Health check](/docs/load-balancer/concepts/health-check). + HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,11,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` + // ID of the service account. The service account will be used for all API calls + // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). + // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. + ServiceAccountId string `protobuf:"bytes,12,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + // Load Balancer specification for load balancing support. + LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,14,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateInstanceGroupRequest) Reset() { *m = UpdateInstanceGroupRequest{} } +func (m *UpdateInstanceGroupRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateInstanceGroupRequest) ProtoMessage() {} +func (*UpdateInstanceGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{4} +} + +func (m *UpdateInstanceGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInstanceGroupRequest.Unmarshal(m, b) +} +func (m *UpdateInstanceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInstanceGroupRequest.Marshal(b, m, deterministic) +} +func (m *UpdateInstanceGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceGroupRequest.Merge(m, src) +} +func (m *UpdateInstanceGroupRequest) XXX_Size() int { + return xxx_messageInfo_UpdateInstanceGroupRequest.Size(m) +} +func (m *UpdateInstanceGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInstanceGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateInstanceGroupRequest proto.InternalMessageInfo + +func (m *UpdateInstanceGroupRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *UpdateInstanceGroupRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateInstanceGroupRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateInstanceGroupRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate { + if m != nil { + return m.InstanceTemplate + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetScalePolicy() *ScalePolicy { + if m != nil { + return m.ScalePolicy + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy { + if m != nil { + return m.DeployPolicy + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy { + if m != nil { + return m.AllocationPolicy + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec { + if m != nil { + return m.HealthChecksSpec + } + return nil +} + +func (m *UpdateInstanceGroupRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +func (m *UpdateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec { + if m != nil { + return m.LoadBalancerSpec + } + return nil +} + +type UpdateInstanceGroupFromYamlRequest struct { + // ID of the instance group to update. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // UpdateInstanceGroupRequest in YAML format. + InstanceGroupYaml string `protobuf:"bytes,2,opt,name=instance_group_yaml,json=instanceGroupYaml,proto3" json:"instance_group_yaml,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateInstanceGroupFromYamlRequest) Reset() { *m = UpdateInstanceGroupFromYamlRequest{} } +func (m *UpdateInstanceGroupFromYamlRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateInstanceGroupFromYamlRequest) ProtoMessage() {} +func (*UpdateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{5} +} + +func (m *UpdateInstanceGroupFromYamlRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInstanceGroupFromYamlRequest.Unmarshal(m, b) +} +func (m *UpdateInstanceGroupFromYamlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInstanceGroupFromYamlRequest.Marshal(b, m, deterministic) +} +func (m *UpdateInstanceGroupFromYamlRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceGroupFromYamlRequest.Merge(m, src) +} +func (m *UpdateInstanceGroupFromYamlRequest) XXX_Size() int { + return xxx_messageInfo_UpdateInstanceGroupFromYamlRequest.Size(m) +} +func (m *UpdateInstanceGroupFromYamlRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInstanceGroupFromYamlRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateInstanceGroupFromYamlRequest proto.InternalMessageInfo + +func (m *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string { + if m != nil { + return m.InstanceGroupYaml + } + return "" +} + +type UpdateInstanceGroupMetadata struct { + // ID of the InstanceGroup resource that is being updated. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateInstanceGroupMetadata) Reset() { *m = UpdateInstanceGroupMetadata{} } +func (m *UpdateInstanceGroupMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateInstanceGroupMetadata) ProtoMessage() {} +func (*UpdateInstanceGroupMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{6} +} + +func (m *UpdateInstanceGroupMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateInstanceGroupMetadata.Unmarshal(m, b) +} +func (m *UpdateInstanceGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateInstanceGroupMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateInstanceGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateInstanceGroupMetadata.Merge(m, src) +} +func (m *UpdateInstanceGroupMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateInstanceGroupMetadata.Size(m) +} +func (m *UpdateInstanceGroupMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateInstanceGroupMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateInstanceGroupMetadata proto.InternalMessageInfo + +func (m *UpdateInstanceGroupMetadata) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +type DeleteInstanceGroupRequest struct { + // ID of the instance group to delete. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteInstanceGroupRequest) Reset() { *m = DeleteInstanceGroupRequest{} } +func (m *DeleteInstanceGroupRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteInstanceGroupRequest) ProtoMessage() {} +func (*DeleteInstanceGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{7} +} + +func (m *DeleteInstanceGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteInstanceGroupRequest.Unmarshal(m, b) +} +func (m *DeleteInstanceGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteInstanceGroupRequest.Marshal(b, m, deterministic) +} +func (m *DeleteInstanceGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstanceGroupRequest.Merge(m, src) +} +func (m *DeleteInstanceGroupRequest) XXX_Size() int { + return xxx_messageInfo_DeleteInstanceGroupRequest.Size(m) +} +func (m *DeleteInstanceGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteInstanceGroupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteInstanceGroupRequest proto.InternalMessageInfo + +func (m *DeleteInstanceGroupRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +type DeleteInstanceGroupMetadata struct { + // ID of the instance group that is being deleted. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteInstanceGroupMetadata) Reset() { *m = DeleteInstanceGroupMetadata{} } +func (m *DeleteInstanceGroupMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteInstanceGroupMetadata) ProtoMessage() {} +func (*DeleteInstanceGroupMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{8} +} + +func (m *DeleteInstanceGroupMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteInstanceGroupMetadata.Unmarshal(m, b) +} +func (m *DeleteInstanceGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteInstanceGroupMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteInstanceGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstanceGroupMetadata.Merge(m, src) +} +func (m *DeleteInstanceGroupMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteInstanceGroupMetadata.Size(m) +} +func (m *DeleteInstanceGroupMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteInstanceGroupMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteInstanceGroupMetadata proto.InternalMessageInfo + +func (m *DeleteInstanceGroupMetadata) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +type DeleteInstancesMetadata struct { + // ID of the instance group that the instances are being deleted from. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteInstancesMetadata) Reset() { *m = DeleteInstancesMetadata{} } +func (m *DeleteInstancesMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteInstancesMetadata) ProtoMessage() {} +func (*DeleteInstancesMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{9} +} + +func (m *DeleteInstancesMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteInstancesMetadata.Unmarshal(m, b) +} +func (m *DeleteInstancesMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteInstancesMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteInstancesMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteInstancesMetadata.Merge(m, src) +} +func (m *DeleteInstancesMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteInstancesMetadata.Size(m) +} +func (m *DeleteInstancesMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteInstancesMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteInstancesMetadata proto.InternalMessageInfo + +func (m *DeleteInstancesMetadata) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +type ListInstanceGroupsRequest struct { + // ID of the folder to list instance groups in. + // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], + // the service returns a [ListInstanceGroupsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, + // set [page_token] to the [ListInstanceGroupsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // A filter expression that filters resources listed in the response. + // Currently you can use filtering only on the [InstanceGroup.name] field. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + // Defines which information about the Instance template should be returned in the server response. + View InstanceGroupView `protobuf:"varint,5,opt,name=view,proto3,enum=yandex.cloud.compute.v1.instancegroup.InstanceGroupView" json:"view,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupsRequest) Reset() { *m = ListInstanceGroupsRequest{} } +func (m *ListInstanceGroupsRequest) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupsRequest) ProtoMessage() {} +func (*ListInstanceGroupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{10} +} + +func (m *ListInstanceGroupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupsRequest.Unmarshal(m, b) +} +func (m *ListInstanceGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupsRequest.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupsRequest.Merge(m, src) +} +func (m *ListInstanceGroupsRequest) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupsRequest.Size(m) +} +func (m *ListInstanceGroupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupsRequest proto.InternalMessageInfo + +func (m *ListInstanceGroupsRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *ListInstanceGroupsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListInstanceGroupsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListInstanceGroupsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +func (m *ListInstanceGroupsRequest) GetView() InstanceGroupView { + if m != nil { + return m.View + } + return InstanceGroupView_BASIC +} + +type ListInstanceGroupsResponse struct { + // Lists instance groups for the specified folder. + InstanceGroups []*InstanceGroup `protobuf:"bytes,1,rep,name=instance_groups,json=instanceGroups,proto3" json:"instance_groups,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListInstanceGroupsRequest.page_size], use + // [next_page_token] as the value + // for the [ListInstanceGroupsRequest.page_token] query parameter + // in the next list request. Each subsequent list request will have its own + // [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupsResponse) Reset() { *m = ListInstanceGroupsResponse{} } +func (m *ListInstanceGroupsResponse) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupsResponse) ProtoMessage() {} +func (*ListInstanceGroupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{11} +} + +func (m *ListInstanceGroupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupsResponse.Unmarshal(m, b) +} +func (m *ListInstanceGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupsResponse.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupsResponse.Merge(m, src) +} +func (m *ListInstanceGroupsResponse) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupsResponse.Size(m) +} +func (m *ListInstanceGroupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupsResponse proto.InternalMessageInfo + +func (m *ListInstanceGroupsResponse) GetInstanceGroups() []*InstanceGroup { + if m != nil { + return m.InstanceGroups + } + return nil +} + +func (m *ListInstanceGroupsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListInstanceGroupInstancesRequest struct { + // ID of the InstanceGroup resource to list instances for. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], + // the service returns a [ListInstanceGroupInstancesResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, + // set [page_token] to the [ListInstanceGroupInstancesResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // A filter expression that filters resources listed in the response. + // Currently you can use filtering only on the [InstanceGroup.name] field. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupInstancesRequest) Reset() { *m = ListInstanceGroupInstancesRequest{} } +func (m *ListInstanceGroupInstancesRequest) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupInstancesRequest) ProtoMessage() {} +func (*ListInstanceGroupInstancesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{12} +} + +func (m *ListInstanceGroupInstancesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupInstancesRequest.Unmarshal(m, b) +} +func (m *ListInstanceGroupInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupInstancesRequest.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupInstancesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupInstancesRequest.Merge(m, src) +} +func (m *ListInstanceGroupInstancesRequest) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupInstancesRequest.Size(m) +} +func (m *ListInstanceGroupInstancesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupInstancesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupInstancesRequest proto.InternalMessageInfo + +func (m *ListInstanceGroupInstancesRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *ListInstanceGroupInstancesRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListInstanceGroupInstancesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListInstanceGroupInstancesRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListInstanceGroupInstancesResponse struct { + // Lists instances for the specified instance group. + Instances []*ManagedInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is more than [ListInstanceGroupInstancesRequest.page_size], use + // [next_page_token] as the value + // for the [ListInstanceGroupInstancesRequest.page_token] query parameter + // in the next list request. Each subsequent list request will have its own + // [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupInstancesResponse) Reset() { *m = ListInstanceGroupInstancesResponse{} } +func (m *ListInstanceGroupInstancesResponse) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupInstancesResponse) ProtoMessage() {} +func (*ListInstanceGroupInstancesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{13} +} + +func (m *ListInstanceGroupInstancesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupInstancesResponse.Unmarshal(m, b) +} +func (m *ListInstanceGroupInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupInstancesResponse.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupInstancesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupInstancesResponse.Merge(m, src) +} +func (m *ListInstanceGroupInstancesResponse) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupInstancesResponse.Size(m) +} +func (m *ListInstanceGroupInstancesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupInstancesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupInstancesResponse proto.InternalMessageInfo + +func (m *ListInstanceGroupInstancesResponse) GetInstances() []*ManagedInstance { + if m != nil { + return m.Instances + } + return nil +} + +func (m *ListInstanceGroupInstancesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListInstanceGroupOperationsRequest struct { + // ID of the InstanceGroup resource to list operations for. + // To get the instance group ID, use a [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is more than [page_size], the service returns a [ListInstanceGroupOperationsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the + // [ListInstanceGroupOperationsResponse.next_page_token] returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // A filter expression that filters resources listed in the response. + // Currently you can use filtering only on the [InstanceGroup.name] field. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupOperationsRequest) Reset() { *m = ListInstanceGroupOperationsRequest{} } +func (m *ListInstanceGroupOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupOperationsRequest) ProtoMessage() {} +func (*ListInstanceGroupOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{14} +} + +func (m *ListInstanceGroupOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupOperationsRequest.Unmarshal(m, b) +} +func (m *ListInstanceGroupOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupOperationsRequest.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupOperationsRequest.Merge(m, src) +} +func (m *ListInstanceGroupOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupOperationsRequest.Size(m) +} +func (m *ListInstanceGroupOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupOperationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupOperationsRequest proto.InternalMessageInfo + +func (m *ListInstanceGroupOperationsRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *ListInstanceGroupOperationsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListInstanceGroupOperationsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListInstanceGroupOperationsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListInstanceGroupOperationsResponse struct { + // Lists operations for the specified instance group. + Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is more than [ListInstanceGroupOperationsRequest.page_size], use the [next_page_token] as the value + // for the [ListInstanceGroupOperationsRequest.page_token] query parameter in the next list request. + // Each subsequent list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupOperationsResponse) Reset() { *m = ListInstanceGroupOperationsResponse{} } +func (m *ListInstanceGroupOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupOperationsResponse) ProtoMessage() {} +func (*ListInstanceGroupOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{15} +} + +func (m *ListInstanceGroupOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupOperationsResponse.Unmarshal(m, b) +} +func (m *ListInstanceGroupOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupOperationsResponse.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupOperationsResponse.Merge(m, src) +} +func (m *ListInstanceGroupOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupOperationsResponse.Size(m) +} +func (m *ListInstanceGroupOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupOperationsResponse proto.InternalMessageInfo + +func (m *ListInstanceGroupOperationsResponse) GetOperations() []*operation.Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListInstanceGroupOperationsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListInstanceGroupLogRecordsRequest struct { + // ID of the InstanceGroup resource to list logs for. + // To get the instance group ID, use an [InstanceGroupService.List] request. + InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], + // the service returns a [ListInstanceGroupLogRecordsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, + // set [page_token] to the [ListInstanceGroupLogRecordsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // A filter expression that filters resources listed in the response. + // Currently you can use filtering only on the [InstanceGroup.name] field. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupLogRecordsRequest) Reset() { *m = ListInstanceGroupLogRecordsRequest{} } +func (m *ListInstanceGroupLogRecordsRequest) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupLogRecordsRequest) ProtoMessage() {} +func (*ListInstanceGroupLogRecordsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{16} +} + +func (m *ListInstanceGroupLogRecordsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupLogRecordsRequest.Unmarshal(m, b) +} +func (m *ListInstanceGroupLogRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupLogRecordsRequest.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupLogRecordsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupLogRecordsRequest.Merge(m, src) +} +func (m *ListInstanceGroupLogRecordsRequest) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupLogRecordsRequest.Size(m) +} +func (m *ListInstanceGroupLogRecordsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupLogRecordsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupLogRecordsRequest proto.InternalMessageInfo + +func (m *ListInstanceGroupLogRecordsRequest) GetInstanceGroupId() string { + if m != nil { + return m.InstanceGroupId + } + return "" +} + +func (m *ListInstanceGroupLogRecordsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListInstanceGroupLogRecordsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListInstanceGroupLogRecordsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListInstanceGroupLogRecordsResponse struct { + // Lists logs for the specified instance group. + LogRecords []*LogRecord `protobuf:"bytes,1,rep,name=log_records,json=logRecords,proto3" json:"log_records,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListInstanceGroupLogRecordsRequest.page_size], use + // [next_page_token] as the value + // for the [ListInstanceGroupLogRecordsRequest.page_token] query parameter + // in the next list request. Each subsequent list request will have its own + // [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListInstanceGroupLogRecordsResponse) Reset() { *m = ListInstanceGroupLogRecordsResponse{} } +func (m *ListInstanceGroupLogRecordsResponse) String() string { return proto.CompactTextString(m) } +func (*ListInstanceGroupLogRecordsResponse) ProtoMessage() {} +func (*ListInstanceGroupLogRecordsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fc51cd26b96eed88, []int{17} +} + +func (m *ListInstanceGroupLogRecordsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListInstanceGroupLogRecordsResponse.Unmarshal(m, b) +} +func (m *ListInstanceGroupLogRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListInstanceGroupLogRecordsResponse.Marshal(b, m, deterministic) +} +func (m *ListInstanceGroupLogRecordsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListInstanceGroupLogRecordsResponse.Merge(m, src) +} +func (m *ListInstanceGroupLogRecordsResponse) XXX_Size() int { + return xxx_messageInfo_ListInstanceGroupLogRecordsResponse.Size(m) +} +func (m *ListInstanceGroupLogRecordsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListInstanceGroupLogRecordsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListInstanceGroupLogRecordsResponse proto.InternalMessageInfo + +func (m *ListInstanceGroupLogRecordsResponse) GetLogRecords() []*LogRecord { + if m != nil { + return m.LogRecords + } + return nil +} + +func (m *ListInstanceGroupLogRecordsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.instancegroup.InstanceGroupView", InstanceGroupView_name, InstanceGroupView_value) + proto.RegisterType((*GetInstanceGroupRequest)(nil), "yandex.cloud.compute.v1.instancegroup.GetInstanceGroupRequest") + proto.RegisterType((*CreateInstanceGroupRequest)(nil), "yandex.cloud.compute.v1.instancegroup.CreateInstanceGroupRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.CreateInstanceGroupRequest.LabelsEntry") + proto.RegisterType((*CreateInstanceGroupFromYamlRequest)(nil), "yandex.cloud.compute.v1.instancegroup.CreateInstanceGroupFromYamlRequest") + proto.RegisterType((*CreateInstanceGroupMetadata)(nil), "yandex.cloud.compute.v1.instancegroup.CreateInstanceGroupMetadata") + proto.RegisterType((*UpdateInstanceGroupRequest)(nil), "yandex.cloud.compute.v1.instancegroup.UpdateInstanceGroupRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.instancegroup.UpdateInstanceGroupRequest.LabelsEntry") + proto.RegisterType((*UpdateInstanceGroupFromYamlRequest)(nil), "yandex.cloud.compute.v1.instancegroup.UpdateInstanceGroupFromYamlRequest") + proto.RegisterType((*UpdateInstanceGroupMetadata)(nil), "yandex.cloud.compute.v1.instancegroup.UpdateInstanceGroupMetadata") + proto.RegisterType((*DeleteInstanceGroupRequest)(nil), "yandex.cloud.compute.v1.instancegroup.DeleteInstanceGroupRequest") + proto.RegisterType((*DeleteInstanceGroupMetadata)(nil), "yandex.cloud.compute.v1.instancegroup.DeleteInstanceGroupMetadata") + proto.RegisterType((*DeleteInstancesMetadata)(nil), "yandex.cloud.compute.v1.instancegroup.DeleteInstancesMetadata") + proto.RegisterType((*ListInstanceGroupsRequest)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupsRequest") + proto.RegisterType((*ListInstanceGroupsResponse)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupsResponse") + proto.RegisterType((*ListInstanceGroupInstancesRequest)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupInstancesRequest") + proto.RegisterType((*ListInstanceGroupInstancesResponse)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupInstancesResponse") + proto.RegisterType((*ListInstanceGroupOperationsRequest)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupOperationsRequest") + proto.RegisterType((*ListInstanceGroupOperationsResponse)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupOperationsResponse") + proto.RegisterType((*ListInstanceGroupLogRecordsRequest)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupLogRecordsRequest") + proto.RegisterType((*ListInstanceGroupLogRecordsResponse)(nil), "yandex.cloud.compute.v1.instancegroup.ListInstanceGroupLogRecordsResponse") +} + +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/instancegroup/instance_group_service.proto", fileDescriptor_fc51cd26b96eed88) +} + +var fileDescriptor_fc51cd26b96eed88 = []byte{ + // 1557 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x1b, 0x45, + 0x1b, 0x7f, 0x37, 0x71, 0xfc, 0xc6, 0x8f, 0x93, 0xd4, 0x99, 0xb7, 0xaf, 0x6a, 0xb6, 0xad, 0x9a, + 0x2c, 0x50, 0xa2, 0x50, 0x7f, 0xe6, 0xa3, 0xf9, 0x68, 0xa1, 0x76, 0x3f, 0x8d, 0x12, 0x51, 0x36, + 0x6d, 0x51, 0x1b, 0x15, 0x6b, 0xb2, 0x3b, 0x71, 0x96, 0xac, 0x77, 0x17, 0xef, 0x3a, 0x6d, 0x52, + 0x7a, 0x29, 0xb7, 0x1c, 0x10, 0x12, 0x17, 0x8e, 0x14, 0x24, 0xae, 0x48, 0xe5, 0x6f, 0x40, 0xc9, + 0x85, 0x0b, 0x1f, 0x07, 0x38, 0x70, 0xaa, 0x10, 0x42, 0x88, 0x43, 0x8f, 0x9c, 0xd0, 0xce, 0x8c, + 0x1d, 0xaf, 0xbf, 0xba, 0x76, 0x52, 0x51, 0x09, 0x6e, 0xde, 0x99, 0x79, 0x3e, 0x7e, 0xbf, 0x67, + 0xe7, 0x37, 0xcf, 0xac, 0x21, 0xbb, 0x89, 0x0d, 0x95, 0xdc, 0x4d, 0x28, 0xba, 0x59, 0x56, 0x13, + 0x8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af, 0xff, 0x1e, 0x73, 0xb1, + 0x68, 0x39, 0x9b, 0x4c, 0x04, 0xc7, 0x3b, 0x15, 0xc1, 0x5f, 0x04, 0x18, 0xac, 0x55, 0x25, 0x1b, + 0x5d, 0xe9, 0x56, 0xcb, 0xea, 0xbb, 0x51, 0x31, 0x77, 0x00, 0x9e, 0xb8, 0x3a, 0x9e, 0xa3, 0xf0, + 0xe6, 0xd0, 0x4c, 0x67, 0xf0, 0x12, 0x7b, 0xcd, 0xde, 0x6f, 0x02, 0x0c, 0xb9, 0x81, 0xf6, 0xfa, + 0x1b, 0xd4, 0x75, 0x7e, 0x0d, 0xbd, 0x9f, 0xf8, 0xc6, 0x41, 0xb8, 0xe2, 0x58, 0x33, 0x14, 0xeb, + 0x3c, 0x9a, 0xed, 0x10, 0x6b, 0x4d, 0xbb, 0xf5, 0x98, 0x83, 0xdd, 0xeb, 0x34, 0xba, 0x07, 0xdb, + 0xd0, 0x7d, 0x75, 0x0f, 0xb6, 0xb1, 0xf1, 0x91, 0xe6, 0x29, 0xd8, 0x29, 0xd4, 0xe9, 0x06, 0xd5, + 0xcd, 0x82, 0x9d, 0xbd, 0x79, 0xeb, 0xed, 0x82, 0xe6, 0xac, 0x95, 0x57, 0xdc, 0x1c, 0x12, 0x2c, + 0xa9, 0x18, 0xfb, 0x57, 0xab, 0x60, 0xc6, 0x0a, 0xc4, 0xa0, 0x5b, 0x24, 0xe1, 0xeb, 0x2f, 0xb5, + 0x79, 0xcf, 0xd3, 0x4a, 0x90, 0x9a, 0x4e, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0xc6, 0xa0, 0x9e, + 0xf8, 0x57, 0x1c, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// InstanceGroupServiceClient is the client API for InstanceGroupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type InstanceGroupServiceClient interface { + // Returns the specified InstanceGroup resource. + // + // To get the list of available InstanceGroup resources, make a [List] request. + Get(ctx context.Context, in *GetInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) + // Retrieves the list of InstanceGroup resources in the specified folder. + List(ctx context.Context, in *ListInstanceGroupsRequest, opts ...grpc.CallOption) (*ListInstanceGroupsResponse, error) + // Creates an instance group in the specified folder. + // This method starts an operation that can be cancelled by another operation. + Create(ctx context.Context, in *CreateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Creates an instance group in the specified folder from a YAML file. + // This method starts an operation that can be cancelled by another operation. + CreateFromYaml(ctx context.Context, in *CreateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Updates the specified instance group. + // This method starts an operation that can be cancelled by another operation. + Update(ctx context.Context, in *UpdateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Updates the specified instance group from a YAML file. + // This method starts an operation that can be cancelled by another operation. + UpdateFromYaml(ctx context.Context, in *UpdateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified instance group. + Delete(ctx context.Context, in *DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Lists instances for the specified instance group. + ListInstances(ctx context.Context, in *ListInstanceGroupInstancesRequest, opts ...grpc.CallOption) (*ListInstanceGroupInstancesResponse, error) + // Lists operations for the specified instance group. + ListOperations(ctx context.Context, in *ListInstanceGroupOperationsRequest, opts ...grpc.CallOption) (*ListInstanceGroupOperationsResponse, error) + // Lists logs for the specified instance group. + ListLogRecords(ctx context.Context, in *ListInstanceGroupLogRecordsRequest, opts ...grpc.CallOption) (*ListInstanceGroupLogRecordsResponse, error) +} + +type instanceGroupServiceClient struct { + cc *grpc.ClientConn +} + +func NewInstanceGroupServiceClient(cc *grpc.ClientConn) InstanceGroupServiceClient { + return &instanceGroupServiceClient{cc} +} + +func (c *instanceGroupServiceClient) Get(ctx context.Context, in *GetInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) { + out := new(InstanceGroup) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) List(ctx context.Context, in *ListInstanceGroupsRequest, opts ...grpc.CallOption) (*ListInstanceGroupsResponse, error) { + out := new(ListInstanceGroupsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) Create(ctx context.Context, in *CreateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) CreateFromYaml(ctx context.Context, in *CreateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/CreateFromYaml", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) Update(ctx context.Context, in *UpdateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) UpdateFromYaml(ctx context.Context, in *UpdateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/UpdateFromYaml", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) Delete(ctx context.Context, in *DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) ListInstances(ctx context.Context, in *ListInstanceGroupInstancesRequest, opts ...grpc.CallOption) (*ListInstanceGroupInstancesResponse, error) { + out := new(ListInstanceGroupInstancesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListInstances", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) ListOperations(ctx context.Context, in *ListInstanceGroupOperationsRequest, opts ...grpc.CallOption) (*ListInstanceGroupOperationsResponse, error) { + out := new(ListInstanceGroupOperationsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListOperations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *instanceGroupServiceClient) ListLogRecords(ctx context.Context, in *ListInstanceGroupLogRecordsRequest, opts ...grpc.CallOption) (*ListInstanceGroupLogRecordsResponse, error) { + out := new(ListInstanceGroupLogRecordsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListLogRecords", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// InstanceGroupServiceServer is the server API for InstanceGroupService service. +type InstanceGroupServiceServer interface { + // Returns the specified InstanceGroup resource. + // + // To get the list of available InstanceGroup resources, make a [List] request. + Get(context.Context, *GetInstanceGroupRequest) (*InstanceGroup, error) + // Retrieves the list of InstanceGroup resources in the specified folder. + List(context.Context, *ListInstanceGroupsRequest) (*ListInstanceGroupsResponse, error) + // Creates an instance group in the specified folder. + // This method starts an operation that can be cancelled by another operation. + Create(context.Context, *CreateInstanceGroupRequest) (*operation.Operation, error) + // Creates an instance group in the specified folder from a YAML file. + // This method starts an operation that can be cancelled by another operation. + CreateFromYaml(context.Context, *CreateInstanceGroupFromYamlRequest) (*operation.Operation, error) + // Updates the specified instance group. + // This method starts an operation that can be cancelled by another operation. + Update(context.Context, *UpdateInstanceGroupRequest) (*operation.Operation, error) + // Updates the specified instance group from a YAML file. + // This method starts an operation that can be cancelled by another operation. + UpdateFromYaml(context.Context, *UpdateInstanceGroupFromYamlRequest) (*operation.Operation, error) + // Deletes the specified instance group. + Delete(context.Context, *DeleteInstanceGroupRequest) (*operation.Operation, error) + // Lists instances for the specified instance group. + ListInstances(context.Context, *ListInstanceGroupInstancesRequest) (*ListInstanceGroupInstancesResponse, error) + // Lists operations for the specified instance group. + ListOperations(context.Context, *ListInstanceGroupOperationsRequest) (*ListInstanceGroupOperationsResponse, error) + // Lists logs for the specified instance group. + ListLogRecords(context.Context, *ListInstanceGroupLogRecordsRequest) (*ListInstanceGroupLogRecordsResponse, error) +} + +// UnimplementedInstanceGroupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedInstanceGroupServiceServer struct { +} + +func (*UnimplementedInstanceGroupServiceServer) Get(ctx context.Context, req *GetInstanceGroupRequest) (*InstanceGroup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) List(ctx context.Context, req *ListInstanceGroupsRequest) (*ListInstanceGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) Create(ctx context.Context, req *CreateInstanceGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) CreateFromYaml(ctx context.Context, req *CreateInstanceGroupFromYamlRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateFromYaml not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) Update(ctx context.Context, req *UpdateInstanceGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) UpdateFromYaml(ctx context.Context, req *UpdateInstanceGroupFromYamlRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateFromYaml not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) Delete(ctx context.Context, req *DeleteInstanceGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) ListInstances(ctx context.Context, req *ListInstanceGroupInstancesRequest) (*ListInstanceGroupInstancesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) ListOperations(ctx context.Context, req *ListInstanceGroupOperationsRequest) (*ListInstanceGroupOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedInstanceGroupServiceServer) ListLogRecords(ctx context.Context, req *ListInstanceGroupLogRecordsRequest) (*ListInstanceGroupLogRecordsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogRecords not implemented") +} + +func RegisterInstanceGroupServiceServer(s *grpc.Server, srv InstanceGroupServiceServer) { + s.RegisterService(&_InstanceGroupService_serviceDesc, srv) +} + +func _InstanceGroupService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetInstanceGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).Get(ctx, req.(*GetInstanceGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInstanceGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).List(ctx, req.(*ListInstanceGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateInstanceGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).Create(ctx, req.(*CreateInstanceGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_CreateFromYaml_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateInstanceGroupFromYamlRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).CreateFromYaml(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/CreateFromYaml", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).CreateFromYaml(ctx, req.(*CreateInstanceGroupFromYamlRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateInstanceGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).Update(ctx, req.(*UpdateInstanceGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_UpdateFromYaml_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateInstanceGroupFromYamlRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).UpdateFromYaml(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/UpdateFromYaml", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).UpdateFromYaml(ctx, req.(*UpdateInstanceGroupFromYamlRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteInstanceGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).Delete(ctx, req.(*DeleteInstanceGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInstanceGroupInstancesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).ListInstances(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListInstances", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).ListInstances(ctx, req.(*ListInstanceGroupInstancesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInstanceGroupOperationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).ListOperations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListOperations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).ListOperations(ctx, req.(*ListInstanceGroupOperationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _InstanceGroupService_ListLogRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListInstanceGroupLogRecordsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(InstanceGroupServiceServer).ListLogRecords(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListLogRecords", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(InstanceGroupServiceServer).ListLogRecords(ctx, req.(*ListInstanceGroupLogRecordsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _InstanceGroupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.compute.v1.instancegroup.InstanceGroupService", + HandlerType: (*InstanceGroupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _InstanceGroupService_Get_Handler, + }, + { + MethodName: "List", + Handler: _InstanceGroupService_List_Handler, + }, + { + MethodName: "Create", + Handler: _InstanceGroupService_Create_Handler, + }, + { + MethodName: "CreateFromYaml", + Handler: _InstanceGroupService_CreateFromYaml_Handler, + }, + { + MethodName: "Update", + Handler: _InstanceGroupService_Update_Handler, + }, + { + MethodName: "UpdateFromYaml", + Handler: _InstanceGroupService_UpdateFromYaml_Handler, + }, + { + MethodName: "Delete", + Handler: _InstanceGroupService_Delete_Handler, + }, + { + MethodName: "ListInstances", + Handler: _InstanceGroupService_ListInstances_Handler, + }, + { + MethodName: "ListOperations", + Handler: _InstanceGroupService_ListOperations_Handler, + }, + { + MethodName: "ListLogRecords", + Handler: _InstanceGroupService_ListLogRecords_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/compute/v1/instancegroup/instance_group_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot.pb.go index 63971e5e1..29de348cd 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/snapshot.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Snapshot_Status int32 @@ -40,6 +42,7 @@ var Snapshot_Status_name = map[int32]string{ 3: "ERROR", 4: "DELETING", } + var Snapshot_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, @@ -51,8 +54,9 @@ var Snapshot_Status_value = map[string]int32{ func (x Snapshot_Status) String() string { return proto.EnumName(Snapshot_Status_name, int32(x)) } + func (Snapshot_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_snapshot_451e295e1dfe1b62, []int{0, 0} + return fileDescriptor_cac027a1005d8550, []int{0, 0} } // A Snapshot resource. For more information, see [Snapshots](/docs/compute/concepts/snapshot). @@ -94,16 +98,17 @@ func (m *Snapshot) Reset() { *m = Snapshot{} } func (m *Snapshot) String() string { return proto.CompactTextString(m) } func (*Snapshot) ProtoMessage() {} func (*Snapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_451e295e1dfe1b62, []int{0} + return fileDescriptor_cac027a1005d8550, []int{0} } + func (m *Snapshot) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Snapshot.Unmarshal(m, b) } func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) } -func (dst *Snapshot) XXX_Merge(src proto.Message) { - xxx_messageInfo_Snapshot.Merge(dst, src) +func (m *Snapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_Snapshot.Merge(m, src) } func (m *Snapshot) XXX_Size() int { return xxx_messageInfo_Snapshot.Size(m) @@ -192,16 +197,16 @@ func (m *Snapshot) GetSourceDiskId() string { } func init() { + proto.RegisterEnum("yandex.cloud.compute.v1.Snapshot_Status", Snapshot_Status_name, Snapshot_Status_value) proto.RegisterType((*Snapshot)(nil), "yandex.cloud.compute.v1.Snapshot") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.compute.v1.Snapshot.LabelsEntry") - proto.RegisterEnum("yandex.cloud.compute.v1.Snapshot_Status", Snapshot_Status_name, Snapshot_Status_value) } func init() { - proto.RegisterFile("yandex/cloud/compute/v1/snapshot.proto", fileDescriptor_snapshot_451e295e1dfe1b62) + proto.RegisterFile("yandex/cloud/compute/v1/snapshot.proto", fileDescriptor_cac027a1005d8550) } -var fileDescriptor_snapshot_451e295e1dfe1b62 = []byte{ +var fileDescriptor_cac027a1005d8550 = []byte{ // 484 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x8f, 0x9b, 0x3e, 0x10, 0xc5, 0xff, 0x84, 0x24, 0xff, 0x30, 0x44, 0x11, 0xb2, 0xaa, 0x16, 0xa5, 0x87, 0xa5, 0xab, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot_service.pb.go index 33a49663a..76da9bbe1 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/snapshot_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/snapshot_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetSnapshotRequest struct { // ID of the Snapshot resource to return. @@ -41,16 +42,17 @@ func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*GetSnapshotRequest) ProtoMessage() {} func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{0} + return fileDescriptor_b3c8b118c8b9bc9c, []int{0} } + func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) } func (m *GetSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetSnapshotRequest.Marshal(b, m, deterministic) } -func (dst *GetSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSnapshotRequest.Merge(dst, src) +func (m *GetSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSnapshotRequest.Merge(m, src) } func (m *GetSnapshotRequest) XXX_Size() int { return xxx_messageInfo_GetSnapshotRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListSnapshotsRequest) Reset() { *m = ListSnapshotsRequest{} } func (m *ListSnapshotsRequest) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsRequest) ProtoMessage() {} func (*ListSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{1} + return fileDescriptor_b3c8b118c8b9bc9c, []int{1} } + func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) } func (m *ListSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSnapshotsRequest.Marshal(b, m, deterministic) } -func (dst *ListSnapshotsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsRequest.Merge(dst, src) +func (m *ListSnapshotsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSnapshotsRequest.Merge(m, src) } func (m *ListSnapshotsRequest) XXX_Size() int { return xxx_messageInfo_ListSnapshotsRequest.Size(m) @@ -162,16 +165,17 @@ func (m *ListSnapshotsResponse) Reset() { *m = ListSnapshotsResponse{} } func (m *ListSnapshotsResponse) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsResponse) ProtoMessage() {} func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{2} + return fileDescriptor_b3c8b118c8b9bc9c, []int{2} } + func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) } func (m *ListSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSnapshotsResponse.Marshal(b, m, deterministic) } -func (dst *ListSnapshotsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotsResponse.Merge(dst, src) +func (m *ListSnapshotsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSnapshotsResponse.Merge(m, src) } func (m *ListSnapshotsResponse) XXX_Size() int { return xxx_messageInfo_ListSnapshotsResponse.Size(m) @@ -218,16 +222,17 @@ func (m *CreateSnapshotRequest) Reset() { *m = CreateSnapshotRequest{} } func (m *CreateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*CreateSnapshotRequest) ProtoMessage() {} func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{3} + return fileDescriptor_b3c8b118c8b9bc9c, []int{3} } + func (m *CreateSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSnapshotRequest.Unmarshal(m, b) } func (m *CreateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSnapshotRequest.Marshal(b, m, deterministic) } -func (dst *CreateSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSnapshotRequest.Merge(dst, src) +func (m *CreateSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSnapshotRequest.Merge(m, src) } func (m *CreateSnapshotRequest) XXX_Size() int { return xxx_messageInfo_CreateSnapshotRequest.Size(m) @@ -287,16 +292,17 @@ func (m *CreateSnapshotMetadata) Reset() { *m = CreateSnapshotMetadata{} func (m *CreateSnapshotMetadata) String() string { return proto.CompactTextString(m) } func (*CreateSnapshotMetadata) ProtoMessage() {} func (*CreateSnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{4} + return fileDescriptor_b3c8b118c8b9bc9c, []int{4} } + func (m *CreateSnapshotMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSnapshotMetadata.Unmarshal(m, b) } func (m *CreateSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSnapshotMetadata.Marshal(b, m, deterministic) } -func (dst *CreateSnapshotMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSnapshotMetadata.Merge(dst, src) +func (m *CreateSnapshotMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSnapshotMetadata.Merge(m, src) } func (m *CreateSnapshotMetadata) XXX_Size() int { return xxx_messageInfo_CreateSnapshotMetadata.Size(m) @@ -344,16 +350,17 @@ func (m *UpdateSnapshotRequest) Reset() { *m = UpdateSnapshotRequest{} } func (m *UpdateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSnapshotRequest) ProtoMessage() {} func (*UpdateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{5} + return fileDescriptor_b3c8b118c8b9bc9c, []int{5} } + func (m *UpdateSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSnapshotRequest.Unmarshal(m, b) } func (m *UpdateSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSnapshotRequest.Marshal(b, m, deterministic) } -func (dst *UpdateSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSnapshotRequest.Merge(dst, src) +func (m *UpdateSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSnapshotRequest.Merge(m, src) } func (m *UpdateSnapshotRequest) XXX_Size() int { return xxx_messageInfo_UpdateSnapshotRequest.Size(m) @@ -411,16 +418,17 @@ func (m *UpdateSnapshotMetadata) Reset() { *m = UpdateSnapshotMetadata{} func (m *UpdateSnapshotMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateSnapshotMetadata) ProtoMessage() {} func (*UpdateSnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{6} + return fileDescriptor_b3c8b118c8b9bc9c, []int{6} } + func (m *UpdateSnapshotMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSnapshotMetadata.Unmarshal(m, b) } func (m *UpdateSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSnapshotMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateSnapshotMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSnapshotMetadata.Merge(dst, src) +func (m *UpdateSnapshotMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSnapshotMetadata.Merge(m, src) } func (m *UpdateSnapshotMetadata) XXX_Size() int { return xxx_messageInfo_UpdateSnapshotMetadata.Size(m) @@ -451,16 +459,17 @@ func (m *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} } func (m *DeleteSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotRequest) ProtoMessage() {} func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{7} + return fileDescriptor_b3c8b118c8b9bc9c, []int{7} } + func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) } func (m *DeleteSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSnapshotRequest.Marshal(b, m, deterministic) } -func (dst *DeleteSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSnapshotRequest.Merge(dst, src) +func (m *DeleteSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSnapshotRequest.Merge(m, src) } func (m *DeleteSnapshotRequest) XXX_Size() int { return xxx_messageInfo_DeleteSnapshotRequest.Size(m) @@ -490,16 +499,17 @@ func (m *DeleteSnapshotMetadata) Reset() { *m = DeleteSnapshotMetadata{} func (m *DeleteSnapshotMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotMetadata) ProtoMessage() {} func (*DeleteSnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{8} + return fileDescriptor_b3c8b118c8b9bc9c, []int{8} } + func (m *DeleteSnapshotMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotMetadata.Unmarshal(m, b) } func (m *DeleteSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSnapshotMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteSnapshotMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSnapshotMetadata.Merge(dst, src) +func (m *DeleteSnapshotMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSnapshotMetadata.Merge(m, src) } func (m *DeleteSnapshotMetadata) XXX_Size() int { return xxx_messageInfo_DeleteSnapshotMetadata.Size(m) @@ -536,16 +546,17 @@ func (m *ListSnapshotOperationsRequest) Reset() { *m = ListSnapshotOpera func (m *ListSnapshotOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListSnapshotOperationsRequest) ProtoMessage() {} func (*ListSnapshotOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{9} + return fileDescriptor_b3c8b118c8b9bc9c, []int{9} } + func (m *ListSnapshotOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotOperationsRequest.Unmarshal(m, b) } func (m *ListSnapshotOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSnapshotOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListSnapshotOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotOperationsRequest.Merge(dst, src) +func (m *ListSnapshotOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSnapshotOperationsRequest.Merge(m, src) } func (m *ListSnapshotOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListSnapshotOperationsRequest.Size(m) @@ -594,16 +605,17 @@ func (m *ListSnapshotOperationsResponse) Reset() { *m = ListSnapshotOper func (m *ListSnapshotOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListSnapshotOperationsResponse) ProtoMessage() {} func (*ListSnapshotOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_snapshot_service_fcde162cfe51d598, []int{10} + return fileDescriptor_b3c8b118c8b9bc9c, []int{10} } + func (m *ListSnapshotOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotOperationsResponse.Unmarshal(m, b) } func (m *ListSnapshotOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSnapshotOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListSnapshotOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSnapshotOperationsResponse.Merge(dst, src) +func (m *ListSnapshotOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSnapshotOperationsResponse.Merge(m, src) } func (m *ListSnapshotOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListSnapshotOperationsResponse.Size(m) @@ -644,6 +656,76 @@ func init() { proto.RegisterType((*ListSnapshotOperationsResponse)(nil), "yandex.cloud.compute.v1.ListSnapshotOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/snapshot_service.proto", fileDescriptor_b3c8b118c8b9bc9c) +} + +var fileDescriptor_b3c8b118c8b9bc9c = []byte{ + // 984 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x41, 0x6f, 0xdc, 0x44, + 0x14, 0xd6, 0x64, 0x13, 0x37, 0xfb, 0x16, 0x68, 0x35, 0xea, 0x36, 0x2b, 0x8b, 0x40, 0x6a, 0xd4, + 0xb2, 0x6c, 0xb0, 0xbd, 0xde, 0x92, 0x85, 0xa4, 0xad, 0x2a, 0x12, 0x92, 0x2a, 0x52, 0x2b, 0x90, + 0x53, 0x2e, 0x44, 0x65, 0x35, 0x89, 0x27, 0x5b, 0x6b, 0x1d, 0xdb, 0xec, 0x78, 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6, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xfd, 0xcf, 0xec, 0x9e, 0x7a, 0x0c, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -760,6 +842,29 @@ type SnapshotServiceServer interface { ListOperations(context.Context, *ListSnapshotOperationsRequest) (*ListSnapshotOperationsResponse, error) } +// UnimplementedSnapshotServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSnapshotServiceServer struct { +} + +func (*UnimplementedSnapshotServiceServer) Get(ctx context.Context, req *GetSnapshotRequest) (*Snapshot, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedSnapshotServiceServer) List(ctx context.Context, req *ListSnapshotsRequest) (*ListSnapshotsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedSnapshotServiceServer) Create(ctx context.Context, req *CreateSnapshotRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedSnapshotServiceServer) Update(ctx context.Context, req *UpdateSnapshotRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedSnapshotServiceServer) Delete(ctx context.Context, req *DeleteSnapshotRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedSnapshotServiceServer) ListOperations(ctx context.Context, req *ListSnapshotOperationsRequest) (*ListSnapshotOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterSnapshotServiceServer(s *grpc.Server, srv SnapshotServiceServer) { s.RegisterService(&_SnapshotService_serviceDesc, srv) } @@ -904,73 +1009,3 @@ var _SnapshotService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/snapshot_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/snapshot_service.proto", fileDescriptor_snapshot_service_fcde162cfe51d598) -} - -var fileDescriptor_snapshot_service_fcde162cfe51d598 = []byte{ - // 984 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xd6, 0x64, 0x13, 0x37, 0xfb, 0x16, 0x68, 0x35, 0xea, 0x36, 0x2b, 0x8b, 0x40, 0x6a, 0xd4, - 0xb2, 0x6c, 0xb0, 0xbd, 0xde, 0x92, 0x85, 0xa4, 0xad, 0x2a, 0x12, 0x92, 0x2a, 0x52, 0x2b, 0x90, - 0x53, 0x2e, 0x44, 0x65, 0x35, 0x89, 0x27, 0x5b, 0x6b, 0x1d, 0xdb, 0xec, 0x78, 0x57, 0x4d, 0x4a, - 0x25, 0x14, 0x71, 0x0a, 0xc7, 0xde, 0x91, 0x10, 0xbf, 0x80, 0x9c, 0x8a, 0xf8, 0x01, 0xc9, 0xb9, - 0xfc, 0x05, 0x0e, 0x5c, 0xe9, 0x91, 0x13, 0xf2, 0xcc, 0x78, 0xb3, 0x9b, 0xd8, 0x8d, 0x03, 0x08, - 0x71, 0x1b, 0xfb, 0x7d, 0xef, 0xcd, 0x37, 0xef, 0xbd, 0xf9, 0xde, 0x80, 0xb1, 0x43, 0x7c, 0x87, - 0x3e, 0x36, 0x37, 0xbd, 0xa0, 0xe7, 0x98, 0x9b, 0xc1, 0x76, 0xd8, 0x8b, 0xa8, 0xd9, 0xb7, 0x4c, - 0xe6, 0x93, 0x90, 0x3d, 0x0a, 0xa2, 0x16, 0xa3, 0xdd, 0xbe, 0xbb, 0x49, 0x8d, 0xb0, 0x1b, 0x44, - 0x01, 0x9e, 0x12, 0x78, 0x83, 0xe3, 0x0d, 0x89, 0x37, 0xfa, 0x96, 0xfa, 0x66, 0x3b, 0x08, 0xda, - 0x1e, 0x35, 0x49, 0xe8, 0x9a, 0xc4, 0xf7,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0x46, - 0x3b, 0xa2, 0x3d, 0x6b, 0xb9, 0xda, 0xf3, 0x67, 0x04, 0x6f, 0xc4, 0x0d, 0x75, 0x7c, 0x7b, 0x71, - 0x33, 0x57, 0xe7, 0x9d, 0x92, 0x24, 0xf5, 0xc3, 0x73, 0xfb, 0xc9, 0xd6, 0x6d, 0x72, 0xc2, 0x75, - 0x6c, 0xe4, 0x20, 0x7c, 0xfc, 0x74, 0x66, 0x8b, 0xcb, 0x5f, 0x2c, 0xb5, 0xdd, 0xe8, 0x51, 0x6f, - 0x23, 0xde, 0xcb, 0x14, 0x9b, 0xeb, 0xe2, 0x09, 0xdd, 0x0e, 0xf4, 0x36, 0xf5, 0x79, 0x5a, 0xcc, - 0x8c, 0xb7, 0xfa, 0x4d, 0xb9, 0xdc, 0x50, 0x38, 0xec, 0xc6, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xfd, 0xcf, 0xec, 0x9e, 0x7a, 0x0c, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone.pb.go index e35f70673..333181bf8 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/zone.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" +package compute -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Zone_Status int32 @@ -33,6 +35,7 @@ var Zone_Status_name = map[int32]string{ 1: "UP", 2: "DOWN", } + var Zone_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "UP": 1, @@ -42,8 +45,9 @@ var Zone_Status_value = map[string]int32{ func (x Zone_Status) String() string { return proto.EnumName(Zone_Status_name, int32(x)) } + func (Zone_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_zone_f47efd8ae474576f, []int{0, 0} + return fileDescriptor_65f3e219794453a2, []int{0, 0} } // Availability zone. For more information, see [Availability zones](/docs/overview/concepts/geo-scope). @@ -63,16 +67,17 @@ func (m *Zone) Reset() { *m = Zone{} } func (m *Zone) String() string { return proto.CompactTextString(m) } func (*Zone) ProtoMessage() {} func (*Zone) Descriptor() ([]byte, []int) { - return fileDescriptor_zone_f47efd8ae474576f, []int{0} + return fileDescriptor_65f3e219794453a2, []int{0} } + func (m *Zone) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Zone.Unmarshal(m, b) } func (m *Zone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Zone.Marshal(b, m, deterministic) } -func (dst *Zone) XXX_Merge(src proto.Message) { - xxx_messageInfo_Zone.Merge(dst, src) +func (m *Zone) XXX_Merge(src proto.Message) { + xxx_messageInfo_Zone.Merge(m, src) } func (m *Zone) XXX_Size() int { return xxx_messageInfo_Zone.Size(m) @@ -105,15 +110,13 @@ func (m *Zone) GetStatus() Zone_Status { } func init() { - proto.RegisterType((*Zone)(nil), "yandex.cloud.compute.v1.Zone") proto.RegisterEnum("yandex.cloud.compute.v1.Zone_Status", Zone_Status_name, Zone_Status_value) + proto.RegisterType((*Zone)(nil), "yandex.cloud.compute.v1.Zone") } -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/zone.proto", fileDescriptor_zone_f47efd8ae474576f) -} +func init() { proto.RegisterFile("yandex/cloud/compute/v1/zone.proto", fileDescriptor_65f3e219794453a2) } -var fileDescriptor_zone_f47efd8ae474576f = []byte{ +var fileDescriptor_65f3e219794453a2 = []byte{ // 237 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xaa, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xce, 0xcf, 0x2d, 0x28, 0x2d, 0x49, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone_service.pb.go index 653c2da44..5adb33fa3 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/zone_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/compute/v1/zone_service.proto -package compute // import "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package compute import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListZonesRequest struct { // The maximum number of results per page to return. If the number of available @@ -43,16 +44,17 @@ func (m *ListZonesRequest) Reset() { *m = ListZonesRequest{} } func (m *ListZonesRequest) String() string { return proto.CompactTextString(m) } func (*ListZonesRequest) ProtoMessage() {} func (*ListZonesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_zone_service_e9c86d533e92d608, []int{0} + return fileDescriptor_c45093f3209cbc9e, []int{0} } + func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListZonesRequest.Unmarshal(m, b) } func (m *ListZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListZonesRequest.Marshal(b, m, deterministic) } -func (dst *ListZonesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListZonesRequest.Merge(dst, src) +func (m *ListZonesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListZonesRequest.Merge(m, src) } func (m *ListZonesRequest) XXX_Size() int { return xxx_messageInfo_ListZonesRequest.Size(m) @@ -96,16 +98,17 @@ func (m *ListZonesResponse) Reset() { *m = ListZonesResponse{} } func (m *ListZonesResponse) String() string { return proto.CompactTextString(m) } func (*ListZonesResponse) ProtoMessage() {} func (*ListZonesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_zone_service_e9c86d533e92d608, []int{1} + return fileDescriptor_c45093f3209cbc9e, []int{1} } + func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListZonesResponse.Unmarshal(m, b) } func (m *ListZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListZonesResponse.Marshal(b, m, deterministic) } -func (dst *ListZonesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListZonesResponse.Merge(dst, src) +func (m *ListZonesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListZonesResponse.Merge(m, src) } func (m *ListZonesResponse) XXX_Size() int { return xxx_messageInfo_ListZonesResponse.Size(m) @@ -142,16 +145,17 @@ func (m *GetZoneRequest) Reset() { *m = GetZoneRequest{} } func (m *GetZoneRequest) String() string { return proto.CompactTextString(m) } func (*GetZoneRequest) ProtoMessage() {} func (*GetZoneRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_zone_service_e9c86d533e92d608, []int{2} + return fileDescriptor_c45093f3209cbc9e, []int{2} } + func (m *GetZoneRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetZoneRequest.Unmarshal(m, b) } func (m *GetZoneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetZoneRequest.Marshal(b, m, deterministic) } -func (dst *GetZoneRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetZoneRequest.Merge(dst, src) +func (m *GetZoneRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetZoneRequest.Merge(m, src) } func (m *GetZoneRequest) XXX_Size() int { return xxx_messageInfo_GetZoneRequest.Size(m) @@ -175,6 +179,41 @@ func init() { proto.RegisterType((*GetZoneRequest)(nil), "yandex.cloud.compute.v1.GetZoneRequest") } +func init() { + proto.RegisterFile("yandex/cloud/compute/v1/zone_service.proto", fileDescriptor_c45093f3209cbc9e) +} + +var fileDescriptor_c45093f3209cbc9e = []byte{ + // 421 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x8b, 0xd3, 0x40, + 0x18, 0xc6, 0xc9, 0x76, 0xb7, 0x9a, 0x59, 0xff, 0xed, 0x78, 0xb0, 0x46, 0x0b, 0x25, 0xa2, 0x1b, + 0x17, 0x36, 0x93, 0x6c, 0x11, 0x0f, 0xb6, 0x97, 0x88, 0x14, 0xc1, 0x83, 0xa4, 0x9e, 0x7a, 0x29, + 0x69, 0xf3, 0x12, 0x07, 0xeb, 0x4c, 0xec, 0x4c, 0x42, 0xad, 0x78, 0xf1, 0xd8, 0xab, 0x1f, 0xaa, + 0xbd, 0xfb, 0x15, 0x3c, 0xf8, 0x19, 0xf4, 0x22, 0x33, 0x13, 0xc5, 0x56, 0x52, 0xf6, 0x16, 0xf2, + 0xfe, 0xe6, 0x79, 0x9e, 0xf7, 0x0f, 0x3a, 0xfb, 0x98, 0xb0, 0x14, 0x16, 0x64, 0x3a, 0xe3, 0x45, + 0x4a, 0xa6, 0xfc, 0x7d, 0x5e, 0x48, 0x20, 0x65, 0x48, 0x96, 0x9c, 0xc1, 0x58, 0xc0, 0xbc, 0xa4, + 0x53, 0xf0, 0xf3, 0x39, 0x97, 0x1c, 0xdf, 0x31, 0xac, 0xaf, 0x59, 0xbf, 0x62, 0xfd, 0x32, 0x74, + 0xee, 0x67, 0x9c, 0x67, 0x33, 0x20, 0x49, 0x4e, 0x49, 0xc2, 0x18, 0x97, 0x89, 0xa4, 0x9c, 0x09, + 0xf3, 0xcc, 0x71, 0xf7, 0x59, 0x54, 0x4c, 0x7b, 0x8b, 0x29, 0x93, 0x19, 0x4d, 0xb5, 0x86, 0x29, + 0xbb, 0x80, 0x6e, 0xbd, 0xa2, 0x42, 0x8e, 0x38, 0x03, 0x11, 0xc3, 0x87, 0x02, 0x84, 0xc4, 0xa7, + 0xc8, 0xce, 0x93, 0x0c, 0xc6, 0x82, 0x2e, 0xa1, 0x65, 0x75, 0x2c, 0xaf, 0x11, 0xa1, 0x9f, 0xeb, + 0xb0, 0xd9, 0xeb, 0x87, 0x41, 0x10, 0xc4, 0x57, 0x55, 0x71, 0x48, 0x97, 0x80, 0x3d, 0x84, 0x34, + 0x28, 0xf9, 0x3b, 0x60, 0xad, 0x83, 0x8e, 0xe5, 0xd9, 0x91, 0xbd, 0xda, 0x84, 0x47, 0x9a, 0x8c, + 0xb5, 0xca, 0x1b, 0x55, 0x73, 0x73, 0x74, 0xf2, 0x8f, 0x8d, 0xc8, 0x39, 0x13, 0x80, 0xbb, 0xe8, + 0x48, 0x05, 0x15, 0x2d, 0xab, 0xd3, 0xf0, 0x8e, 0x2f, 0xda, 0x7e, 0xcd, 0x14, 0x7c, 0xf5, 0x2c, + 0x36, 0x2c, 0x7e, 0x84, 0x6e, 0x32, 0x58, 0xc8, 0xf1, 0xae, 0x71, 0x7c, 0x5d, 0xfd, 0x7e, 0xfd, + 0xd7, 0xf1, 0x29, 0xba, 0x31, 0x00, 0x6d, 0xf8, 0xa7, 0xad, 0x87, 0xe8, 0x8a, 0x1e, 0x3d, 0x4d, + 0x75, 0x53, 0x76, 0x74, 0xed, 0xc7, 0x3a, 0xb4, 0x56, 0x9b, 0xf0, 0xb0, 0xd7, 0x7f, 0x12, 0xc4, + 0x4d, 0x55, 0x7c, 0x99, 0x5e, 0xfc, 0xb2, 0xd0, 0xb1, 0x7a, 0x36, 0x34, 0x1b, 0xc2, 0x73, 0xd4, + 0x18, 0x80, 0xc4, 0xa7, 0xb5, 0xe9, 0xb6, 0x6d, 0x9c, 0xfd, 0x6d, 0xb8, 0x0f, 0xbe, 0x7c, 0xfb, + 0xfe, 0xf5, 0xa0, 0x8d, 0xef, 0xed, 0xee, 0x4b, 0x90, 0x4f, 0x55, 0xbc, 0xcf, 0x78, 0x81, 0x0e, + 0xd5, 0xb8, 0xf0, 0xe3, 0x5a, 0xad, 0xdd, 0xa5, 0x39, 0x67, 0x97, 0x41, 0xcd, 0xe0, 0xdd, 0xbb, + 0x3a, 0xc3, 0x6d, 0x7c, 0xf2, 0x5f, 0x86, 0xe8, 0xc5, 0xe8, 0x79, 0x46, 0xe5, 0xdb, 0x62, 0xa2, + 0x14, 0x88, 0x91, 0x3c, 0x37, 0xb7, 0x93, 0xf1, 0xf3, 0x0c, 0x98, 0x3e, 0x1b, 0x52, 0x73, 0x78, + 0xcf, 0xaa, 0xcf, 0x49, 0x53, 0x63, 0xdd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x18, 0x19, 0x69, + 0xb4, 0x05, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -231,6 +270,17 @@ type ZoneServiceServer interface { List(context.Context, *ListZonesRequest) (*ListZonesResponse, error) } +// UnimplementedZoneServiceServer can be embedded to have forward compatible implementations. +type UnimplementedZoneServiceServer struct { +} + +func (*UnimplementedZoneServiceServer) Get(ctx context.Context, req *GetZoneRequest) (*Zone, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedZoneServiceServer) List(ctx context.Context, req *ListZonesRequest) (*ListZonesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterZoneServiceServer(s *grpc.Server, srv ZoneServiceServer) { s.RegisterService(&_ZoneService_serviceDesc, srv) } @@ -287,38 +337,3 @@ var _ZoneService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/zone_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/compute/v1/zone_service.proto", fileDescriptor_zone_service_e9c86d533e92d608) -} - -var fileDescriptor_zone_service_e9c86d533e92d608 = []byte{ - // 421 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x8b, 0xd3, 0x40, - 0x18, 0xc6, 0xc9, 0x76, 0xb7, 0x9a, 0x59, 0xff, 0xed, 0x78, 0xb0, 0x46, 0x0b, 0x25, 0xa2, 0x1b, - 0x17, 0x36, 0x93, 0x6c, 0x11, 0x0f, 0xb6, 0x97, 0x88, 0x14, 0xc1, 0x83, 0xa4, 0x9e, 0x7a, 0x29, - 0x69, 0xf3, 0x12, 0x07, 0xeb, 0x4c, 0xec, 0x4c, 0x42, 0xad, 0x78, 0xf1, 0xd8, 0xab, 0x1f, 0xaa, - 0xbd, 0xfb, 0x15, 0x3c, 0xf8, 0x19, 0xf4, 0x22, 0x33, 0x13, 0xc5, 0x56, 0x52, 0xf6, 0x16, 0xf2, - 0xfe, 0xe6, 0x79, 0x9e, 0xf7, 0x0f, 0x3a, 0xfb, 0x98, 0xb0, 0x14, 0x16, 0x64, 0x3a, 0xe3, 0x45, - 0x4a, 0xa6, 0xfc, 0x7d, 0x5e, 0x48, 0x20, 0x65, 0x48, 0x96, 0x9c, 0xc1, 0x58, 0xc0, 0xbc, 0xa4, - 0x53, 0xf0, 0xf3, 0x39, 0x97, 0x1c, 0xdf, 0x31, 0xac, 0xaf, 0x59, 0xbf, 0x62, 0xfd, 0x32, 0x74, - 0xee, 0x67, 0x9c, 0x67, 0x33, 0x20, 0x49, 0x4e, 0x49, 0xc2, 0x18, 0x97, 0x89, 0xa4, 0x9c, 0x09, - 0xf3, 0xcc, 0x71, 0xf7, 0x59, 0x54, 0x4c, 0x7b, 0x8b, 0x29, 0x93, 0x19, 0x4d, 0xb5, 0x86, 0x29, - 0xbb, 0x80, 0x6e, 0xbd, 0xa2, 0x42, 0x8e, 0x38, 0x03, 0x11, 0xc3, 0x87, 0x02, 0x84, 0xc4, 0xa7, - 0xc8, 0xce, 0x93, 0x0c, 0xc6, 0x82, 0x2e, 0xa1, 0x65, 0x75, 0x2c, 0xaf, 0x11, 0xa1, 0x9f, 0xeb, - 0xb0, 0xd9, 0xeb, 0x87, 0x41, 0x10, 0xc4, 0x57, 0x55, 0x71, 0x48, 0x97, 0x80, 0x3d, 0x84, 0x34, - 0x28, 0xf9, 0x3b, 0x60, 0xad, 0x83, 0x8e, 0xe5, 0xd9, 0x91, 0xbd, 0xda, 0x84, 0x47, 0x9a, 0x8c, - 0xb5, 0xca, 0x1b, 0x55, 0x73, 0x73, 0x74, 0xf2, 0x8f, 0x8d, 0xc8, 0x39, 0x13, 0x80, 0xbb, 0xe8, - 0x48, 0x05, 0x15, 0x2d, 0xab, 0xd3, 0xf0, 0x8e, 0x2f, 0xda, 0x7e, 0xcd, 0x14, 0x7c, 0xf5, 0x2c, - 0x36, 0x2c, 0x7e, 0x84, 0x6e, 0x32, 0x58, 0xc8, 0xf1, 0xae, 0x71, 0x7c, 0x5d, 0xfd, 0x7e, 0xfd, - 0xd7, 0xf1, 0x29, 0xba, 0x31, 0x00, 0x6d, 0xf8, 0xa7, 0xad, 0x87, 0xe8, 0x8a, 0x1e, 0x3d, 0x4d, - 0x75, 0x53, 0x76, 0x74, 0xed, 0xc7, 0x3a, 0xb4, 0x56, 0x9b, 0xf0, 0xb0, 0xd7, 0x7f, 0x12, 0xc4, - 0x4d, 0x55, 0x7c, 0x99, 0x5e, 0xfc, 0xb2, 0xd0, 0xb1, 0x7a, 0x36, 0x34, 0x1b, 0xc2, 0x73, 0xd4, - 0x18, 0x80, 0xc4, 0xa7, 0xb5, 0xe9, 0xb6, 0x6d, 0x9c, 0xfd, 0x6d, 0xb8, 0x0f, 0xbe, 0x7c, 0xfb, - 0xfe, 0xf5, 0xa0, 0x8d, 0xef, 0xed, 0xee, 0x4b, 0x90, 0x4f, 0x55, 0xbc, 0xcf, 0x78, 0x81, 0x0e, - 0xd5, 0xb8, 0xf0, 0xe3, 0x5a, 0xad, 0xdd, 0xa5, 0x39, 0x67, 0x97, 0x41, 0xcd, 0xe0, 0xdd, 0xbb, - 0x3a, 0xc3, 0x6d, 0x7c, 0xf2, 0x5f, 0x86, 0xe8, 0xc5, 0xe8, 0x79, 0x46, 0xe5, 0xdb, 0x62, 0xa2, - 0x14, 0x88, 0x91, 0x3c, 0x37, 0xb7, 0x93, 0xf1, 0xf3, 0x0c, 0x98, 0x3e, 0x1b, 0x52, 0x73, 0x78, - 0xcf, 0xaa, 0xcf, 0x49, 0x53, 0x63, 0xdd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x18, 0x19, 0x69, - 0xb4, 0x05, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/blob.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/blob.pb.go index e6ff75080..54761d8ee 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/blob.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/blob.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/blob.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" +package containerregistry -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Blob resource. type Blob struct { @@ -35,16 +37,17 @@ func (m *Blob) Reset() { *m = Blob{} } func (m *Blob) String() string { return proto.CompactTextString(m) } func (*Blob) ProtoMessage() {} func (*Blob) Descriptor() ([]byte, []int) { - return fileDescriptor_blob_6676eeac21262de6, []int{0} + return fileDescriptor_22e64e0090128e6c, []int{0} } + func (m *Blob) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Blob.Unmarshal(m, b) } func (m *Blob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Blob.Marshal(b, m, deterministic) } -func (dst *Blob) XXX_Merge(src proto.Message) { - xxx_messageInfo_Blob.Merge(dst, src) +func (m *Blob) XXX_Merge(src proto.Message) { + xxx_messageInfo_Blob.Merge(m, src) } func (m *Blob) XXX_Size() int { return xxx_messageInfo_Blob.Size(m) @@ -81,10 +84,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/blob.proto", fileDescriptor_blob_6676eeac21262de6) + proto.RegisterFile("yandex/cloud/containerregistry/v1/blob.proto", fileDescriptor_22e64e0090128e6c) } -var fileDescriptor_blob_6676eeac21262de6 = []byte{ +var fileDescriptor_22e64e0090128e6c = []byte{ // 180 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa9, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image.pb.go index 137a895c7..8d32105b2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/image.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" +package containerregistry -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // An Image resource. For more information, see [Docker image](/docs/cloud/container-registry/docker-image). type Image struct { @@ -49,16 +51,17 @@ func (m *Image) Reset() { *m = Image{} } func (m *Image) String() string { return proto.CompactTextString(m) } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_image_cab1ec775e9195d2, []int{0} + return fileDescriptor_0fedf978b00ec0da, []int{0} } + func (m *Image) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Image.Unmarshal(m, b) } func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Image.Marshal(b, m, deterministic) } -func (dst *Image) XXX_Merge(src proto.Message) { - xxx_messageInfo_Image.Merge(dst, src) +func (m *Image) XXX_Merge(src proto.Message) { + xxx_messageInfo_Image.Merge(m, src) } func (m *Image) XXX_Size() int { return xxx_messageInfo_Image.Size(m) @@ -130,10 +133,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/image.proto", fileDescriptor_image_cab1ec775e9195d2) + proto.RegisterFile("yandex/cloud/containerregistry/v1/image.proto", fileDescriptor_0fedf978b00ec0da) } -var fileDescriptor_image_cab1ec775e9195d2 = []byte{ +var fileDescriptor_0fedf978b00ec0da = []byte{ // 321 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0x41, 0x4b, 0x33, 0x31, 0x14, 0x64, 0x77, 0xdb, 0xfd, 0xbe, 0x46, 0xa8, 0x90, 0x83, 0x84, 0x5e, 0x5c, 0xbd, 0xb4, 0x07, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image_service.pb.go index cdc4fe380..837fd67f1 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/image_service.pb.go @@ -1,19 +1,20 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/image_service.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package containerregistry import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -25,7 +26,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListImagesRequest struct { // ID of the registry to list Docker images in. @@ -69,16 +70,17 @@ func (m *ListImagesRequest) Reset() { *m = ListImagesRequest{} } func (m *ListImagesRequest) String() string { return proto.CompactTextString(m) } func (*ListImagesRequest) ProtoMessage() {} func (*ListImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_181142b342f3b95f, []int{0} + return fileDescriptor_77801365b55bb588, []int{0} } + func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImagesRequest.Unmarshal(m, b) } func (m *ListImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImagesRequest.Marshal(b, m, deterministic) } -func (dst *ListImagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImagesRequest.Merge(dst, src) +func (m *ListImagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImagesRequest.Merge(m, src) } func (m *ListImagesRequest) XXX_Size() int { return xxx_messageInfo_ListImagesRequest.Size(m) @@ -157,16 +159,17 @@ func (m *ListImagesResponse) Reset() { *m = ListImagesResponse{} } func (m *ListImagesResponse) String() string { return proto.CompactTextString(m) } func (*ListImagesResponse) ProtoMessage() {} func (*ListImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_181142b342f3b95f, []int{1} + return fileDescriptor_77801365b55bb588, []int{1} } + func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListImagesResponse.Unmarshal(m, b) } func (m *ListImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListImagesResponse.Marshal(b, m, deterministic) } -func (dst *ListImagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListImagesResponse.Merge(dst, src) +func (m *ListImagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListImagesResponse.Merge(m, src) } func (m *ListImagesResponse) XXX_Size() int { return xxx_messageInfo_ListImagesResponse.Size(m) @@ -205,16 +208,17 @@ func (m *GetImageRequest) Reset() { *m = GetImageRequest{} } func (m *GetImageRequest) String() string { return proto.CompactTextString(m) } func (*GetImageRequest) ProtoMessage() {} func (*GetImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_181142b342f3b95f, []int{2} + return fileDescriptor_77801365b55bb588, []int{2} } + func (m *GetImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetImageRequest.Unmarshal(m, b) } func (m *GetImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetImageRequest.Marshal(b, m, deterministic) } -func (dst *GetImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetImageRequest.Merge(dst, src) +func (m *GetImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetImageRequest.Merge(m, src) } func (m *GetImageRequest) XXX_Size() int { return xxx_messageInfo_GetImageRequest.Size(m) @@ -246,16 +250,17 @@ func (m *DeleteImageRequest) Reset() { *m = DeleteImageRequest{} } func (m *DeleteImageRequest) String() string { return proto.CompactTextString(m) } func (*DeleteImageRequest) ProtoMessage() {} func (*DeleteImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_181142b342f3b95f, []int{3} + return fileDescriptor_77801365b55bb588, []int{3} } + func (m *DeleteImageRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteImageRequest.Unmarshal(m, b) } func (m *DeleteImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteImageRequest.Marshal(b, m, deterministic) } -func (dst *DeleteImageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteImageRequest.Merge(dst, src) +func (m *DeleteImageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteImageRequest.Merge(m, src) } func (m *DeleteImageRequest) XXX_Size() int { return xxx_messageInfo_DeleteImageRequest.Size(m) @@ -285,16 +290,17 @@ func (m *DeleteImageMetadata) Reset() { *m = DeleteImageMetadata{} } func (m *DeleteImageMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteImageMetadata) ProtoMessage() {} func (*DeleteImageMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_image_service_181142b342f3b95f, []int{4} + return fileDescriptor_77801365b55bb588, []int{4} } + func (m *DeleteImageMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteImageMetadata.Unmarshal(m, b) } func (m *DeleteImageMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteImageMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteImageMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteImageMetadata.Merge(dst, src) +func (m *DeleteImageMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteImageMetadata.Merge(m, src) } func (m *DeleteImageMetadata) XXX_Size() int { return xxx_messageInfo_DeleteImageMetadata.Size(m) @@ -320,6 +326,56 @@ func init() { proto.RegisterType((*DeleteImageMetadata)(nil), "yandex.cloud.containerregistry.v1.DeleteImageMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/containerregistry/v1/image_service.proto", fileDescriptor_77801365b55bb588) +} + +var fileDescriptor_77801365b55bb588 = []byte{ + // 667 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4b, 0x6f, 0xd3, 0x4c, + 0x14, 0x95, 0x9b, 0x34, 0x4d, 0xa6, 0xfd, 0xbe, 0x8a, 0x41, 0x48, 0x26, 0xa2, 0xa2, 0xb5, 0x68, + 0xeb, 0x04, 0xfc, 0x2a, 0x74, 0x41, 0x69, 0x55, 0x14, 0x40, 0x55, 0x24, 0x5e, 0x72, 0x91, 0x10, + 0x54, 0x55, 0x70, 0xe2, 0x5b, 0x33, 0xc2, 0xf1, 0x18, 0x7b, 0x12, 0x35, 0xe5, 0xb1, 0x60, 0x99, + 0x2d, 0x62, 0xc3, 0xcf, 0xe0, 0x37, 0x20, 0xb5, 0x6b, 0xf8, 0x0b, 0x2c, 0x58, 0x22, 0x96, 0xac, + 0x90, 0x67, 0x92, 0x34, 0x0f, 0xd4, 0x06, 0x76, 0x96, 0xcf, 0x3d, 0x67, 0xce, 0xbd, 0x67, 0xe6, + 0xa2, 0xd5, 0x96, 0x13, 0xb8, 0xb0, 0x6f, 0xd4, 0x7c, 0xda, 0x70, 0x8d, 0x1a, 0x0d, 0x98, 0x43, + 0x02, 0x88, 0x22, 0xf0, 0x48, 0xcc, 0xa2, 0x96, 0xd1, 0xb4, 0x0c, 0x52, 0x77, 0x3c, 0xa8, 0xc4, + 0x10, 0x35, 0x49, 0x0d, 0xf4, 0x30, 0xa2, 0x8c, 0xe2, 0x05, 0x41, 0xd3, 0x39, 0x4d, 0x1f, 0xa1, + 0xe9, 0x4d, 0x2b, 0x9f, 0xef, 0x28, 0x3b, 0x21, 0x31, 0x68, 0x08, 0x91, 0xc3, 0x08, 0x0d,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d2, 0x51, 0x16, 0xdf, 0x7d, + 0xfd, 0xf6, 0x7e, 0xe2, 0x22, 0x9e, 0x3b, 0x7e, 0xb6, 0xda, 0xc8, 0xbb, 0x8d, 0xf1, 0x07, 0x09, + 0xa5, 0xb6, 0x80, 0xe1, 0x95, 0x31, 0x4e, 0x19, 0xca, 0x20, 0x3f, 0x76, 0xe0, 0x8a, 0xc9, 0xcd, + 0x14, 0xb1, 0x7a, 0xa2, 0x19, 0xe3, 0x55, 0x77, 0xa6, 0x6f, 0xf0, 0x67, 0x09, 0x65, 0xc4, 0xe0, + 0xf1, 0x38, 0x03, 0x18, 0x8d, 0x38, 0xbf, 0x30, 0x48, 0x3b, 0xde, 0x41, 0x0f, 0xba, 0x5f, 0xca, + 0xb3, 0x4f, 0x5f, 0x8a, 0x57, 0xfe, 0x1c, 0xf0, 0x39, 0xb1, 0x83, 0xc4, 0xce, 0xa9, 0x36, 0xf6, + 0xf4, 0x3b, 0xf5, 0x90, 0xb5, 0x44, 0x1b, 0xc5, 0xb1, 0xdb, 0x28, 0x3d, 0x79, 0xfa, 0xd8, 0x23, + 0xec, 0x79, 0xa3, 0xaa, 0xd7, 0x68, 0xdd, 0x10, 0x86, 0x34, 0xb1, 0xf6, 0x3c, 0xaa, 0x79, 0x10, + 0x70, 0x7d, 0xe3, 0xd4, 0x35, 0x7b, 0x63, 0xe4, 0x67, 0x35, 0xc3, 0xa9, 0x57, 0x7f, 0x07, 0x00, + 0x00, 0xff, 0xff, 0xa8, 0xf4, 0x0e, 0x50, 0x1a, 0x06, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -389,6 +445,20 @@ type ImageServiceServer interface { Delete(context.Context, *DeleteImageRequest) (*operation.Operation, error) } +// UnimplementedImageServiceServer can be embedded to have forward compatible implementations. +type UnimplementedImageServiceServer struct { +} + +func (*UnimplementedImageServiceServer) List(ctx context.Context, req *ListImagesRequest) (*ListImagesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedImageServiceServer) Get(ctx context.Context, req *GetImageRequest) (*Image, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedImageServiceServer) Delete(ctx context.Context, req *DeleteImageRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterImageServiceServer(s *grpc.Server, srv ImageServiceServer) { s.RegisterService(&_ImageService_serviceDesc, srv) } @@ -467,53 +537,3 @@ var _ImageService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/containerregistry/v1/image_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/image_service.proto", fileDescriptor_image_service_181142b342f3b95f) -} - -var fileDescriptor_image_service_181142b342f3b95f = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4b, 0x6f, 0xd3, 0x4c, - 0x14, 0x95, 0x9b, 0x34, 0x4d, 0xa6, 0xfd, 0xbe, 0x8a, 0x41, 0x48, 0x26, 0xa2, 0xa2, 0xb5, 0x68, - 0xeb, 0x04, 0xfc, 0x2a, 0x74, 0x41, 0x69, 0x55, 0x14, 0x40, 0x55, 0x24, 0x5e, 0x72, 0x91, 0x10, - 0x54, 0x55, 0x70, 0xe2, 0x5b, 0x33, 0xc2, 0xf1, 0x18, 0x7b, 0x12, 0x35, 0xe5, 0xb1, 0x60, 0x99, - 0x2d, 0x62, 0xc3, 0xcf, 0xe0, 0x37, 0x20, 0xb5, 0x6b, 0xf8, 0x0b, 0x2c, 0x58, 0x22, 0x96, 0xac, - 0x90, 0x67, 0x92, 0x34, 0x0f, 0xd4, 0x06, 0x76, 0x96, 0xcf, 0x3d, 0x67, 0xce, 0xbd, 0x67, 0xe6, - 0xa2, 0xd5, 0x96, 0x13, 0xb8, 0xb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, 0x67, 0x35, 0xc3, 0xa9, 0x57, 0x7f, 0x07, 0x00, - 0x00, 0xff, 0xff, 0xa8, 0xf4, 0x0e, 0x50, 0x1a, 0x06, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry.pb.go index 1e34934d9..19e308bc4 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/registry.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" +package containerregistry -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Registry_Status int32 @@ -37,6 +39,7 @@ var Registry_Status_name = map[int32]string{ 2: "ACTIVE", 3: "DELETING", } + var Registry_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, @@ -47,8 +50,9 @@ var Registry_Status_value = map[string]int32{ func (x Registry_Status) String() string { return proto.EnumName(Registry_Status_name, int32(x)) } + func (Registry_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_registry_101b7c4fe5ef1589, []int{0, 0} + return fileDescriptor_af015c3b55615c1a, []int{0, 0} } // A Registry resource. For more information, see [Registry](/docs/cloud/containerregistry/registry). @@ -74,16 +78,17 @@ func (m *Registry) Reset() { *m = Registry{} } func (m *Registry) String() string { return proto.CompactTextString(m) } func (*Registry) ProtoMessage() {} func (*Registry) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_101b7c4fe5ef1589, []int{0} + return fileDescriptor_af015c3b55615c1a, []int{0} } + func (m *Registry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Registry.Unmarshal(m, b) } func (m *Registry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Registry.Marshal(b, m, deterministic) } -func (dst *Registry) XXX_Merge(src proto.Message) { - xxx_messageInfo_Registry.Merge(dst, src) +func (m *Registry) XXX_Merge(src proto.Message) { + xxx_messageInfo_Registry.Merge(m, src) } func (m *Registry) XXX_Size() int { return xxx_messageInfo_Registry.Size(m) @@ -137,16 +142,16 @@ func (m *Registry) GetLabels() map[string]string { } func init() { + proto.RegisterEnum("yandex.cloud.containerregistry.v1.Registry_Status", Registry_Status_name, Registry_Status_value) proto.RegisterType((*Registry)(nil), "yandex.cloud.containerregistry.v1.Registry") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.containerregistry.v1.Registry.LabelsEntry") - proto.RegisterEnum("yandex.cloud.containerregistry.v1.Registry_Status", Registry_Status_name, Registry_Status_value) } func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/registry.proto", fileDescriptor_registry_101b7c4fe5ef1589) + proto.RegisterFile("yandex/cloud/containerregistry/v1/registry.proto", fileDescriptor_af015c3b55615c1a) } -var fileDescriptor_registry_101b7c4fe5ef1589 = []byte{ +var fileDescriptor_af015c3b55615c1a = []byte{ // 388 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x6f, 0x94, 0x40, 0x14, 0xc6, 0x05, 0x5a, 0xb2, 0xfb, 0xd6, 0x34, 0x64, 0x62, 0x0c, 0x59, 0x0f, 0x62, 0x4f, 0x5c, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry_service.pb.go index 900591bee..7958330ff 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/registry_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/registry_service.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package containerregistry import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetRegistryRequest struct { // ID of the Registry resource to return. @@ -42,16 +43,17 @@ func (m *GetRegistryRequest) Reset() { *m = GetRegistryRequest{} } func (m *GetRegistryRequest) String() string { return proto.CompactTextString(m) } func (*GetRegistryRequest) ProtoMessage() {} func (*GetRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{0} + return fileDescriptor_9e6479678b0fb5ad, []int{0} } + func (m *GetRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRegistryRequest.Unmarshal(m, b) } func (m *GetRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetRegistryRequest.Marshal(b, m, deterministic) } -func (dst *GetRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegistryRequest.Merge(dst, src) +func (m *GetRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRegistryRequest.Merge(m, src) } func (m *GetRegistryRequest) XXX_Size() int { return xxx_messageInfo_GetRegistryRequest.Size(m) @@ -98,16 +100,17 @@ func (m *ListRegistriesRequest) Reset() { *m = ListRegistriesRequest{} } func (m *ListRegistriesRequest) String() string { return proto.CompactTextString(m) } func (*ListRegistriesRequest) ProtoMessage() {} func (*ListRegistriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{1} + return fileDescriptor_9e6479678b0fb5ad, []int{1} } + func (m *ListRegistriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRegistriesRequest.Unmarshal(m, b) } func (m *ListRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRegistriesRequest.Marshal(b, m, deterministic) } -func (dst *ListRegistriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRegistriesRequest.Merge(dst, src) +func (m *ListRegistriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistriesRequest.Merge(m, src) } func (m *ListRegistriesRequest) XXX_Size() int { return xxx_messageInfo_ListRegistriesRequest.Size(m) @@ -165,16 +168,17 @@ func (m *ListRegistriesResponse) Reset() { *m = ListRegistriesResponse{} func (m *ListRegistriesResponse) String() string { return proto.CompactTextString(m) } func (*ListRegistriesResponse) ProtoMessage() {} func (*ListRegistriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{2} + return fileDescriptor_9e6479678b0fb5ad, []int{2} } + func (m *ListRegistriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRegistriesResponse.Unmarshal(m, b) } func (m *ListRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRegistriesResponse.Marshal(b, m, deterministic) } -func (dst *ListRegistriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRegistriesResponse.Merge(dst, src) +func (m *ListRegistriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistriesResponse.Merge(m, src) } func (m *ListRegistriesResponse) XXX_Size() int { return xxx_messageInfo_ListRegistriesResponse.Size(m) @@ -219,16 +223,17 @@ func (m *CreateRegistryRequest) Reset() { *m = CreateRegistryRequest{} } func (m *CreateRegistryRequest) String() string { return proto.CompactTextString(m) } func (*CreateRegistryRequest) ProtoMessage() {} func (*CreateRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{3} + return fileDescriptor_9e6479678b0fb5ad, []int{3} } + func (m *CreateRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRegistryRequest.Unmarshal(m, b) } func (m *CreateRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateRegistryRequest.Marshal(b, m, deterministic) } -func (dst *CreateRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRegistryRequest.Merge(dst, src) +func (m *CreateRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRegistryRequest.Merge(m, src) } func (m *CreateRegistryRequest) XXX_Size() int { return xxx_messageInfo_CreateRegistryRequest.Size(m) @@ -272,16 +277,17 @@ func (m *CreateRegistryMetadata) Reset() { *m = CreateRegistryMetadata{} func (m *CreateRegistryMetadata) String() string { return proto.CompactTextString(m) } func (*CreateRegistryMetadata) ProtoMessage() {} func (*CreateRegistryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{4} + return fileDescriptor_9e6479678b0fb5ad, []int{4} } + func (m *CreateRegistryMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRegistryMetadata.Unmarshal(m, b) } func (m *CreateRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateRegistryMetadata.Marshal(b, m, deterministic) } -func (dst *CreateRegistryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRegistryMetadata.Merge(dst, src) +func (m *CreateRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRegistryMetadata.Merge(m, src) } func (m *CreateRegistryMetadata) XXX_Size() int { return xxx_messageInfo_CreateRegistryMetadata.Size(m) @@ -323,16 +329,17 @@ func (m *UpdateRegistryRequest) Reset() { *m = UpdateRegistryRequest{} } func (m *UpdateRegistryRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRegistryRequest) ProtoMessage() {} func (*UpdateRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{5} + return fileDescriptor_9e6479678b0fb5ad, []int{5} } + func (m *UpdateRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRegistryRequest.Unmarshal(m, b) } func (m *UpdateRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRegistryRequest.Marshal(b, m, deterministic) } -func (dst *UpdateRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRegistryRequest.Merge(dst, src) +func (m *UpdateRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRegistryRequest.Merge(m, src) } func (m *UpdateRegistryRequest) XXX_Size() int { return xxx_messageInfo_UpdateRegistryRequest.Size(m) @@ -383,16 +390,17 @@ func (m *UpdateRegistryMetadata) Reset() { *m = UpdateRegistryMetadata{} func (m *UpdateRegistryMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateRegistryMetadata) ProtoMessage() {} func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{6} + return fileDescriptor_9e6479678b0fb5ad, []int{6} } + func (m *UpdateRegistryMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRegistryMetadata.Unmarshal(m, b) } func (m *UpdateRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRegistryMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateRegistryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRegistryMetadata.Merge(dst, src) +func (m *UpdateRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRegistryMetadata.Merge(m, src) } func (m *UpdateRegistryMetadata) XXX_Size() int { return xxx_messageInfo_UpdateRegistryMetadata.Size(m) @@ -422,16 +430,17 @@ func (m *DeleteRegistryRequest) Reset() { *m = DeleteRegistryRequest{} } func (m *DeleteRegistryRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRegistryRequest) ProtoMessage() {} func (*DeleteRegistryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{7} + return fileDescriptor_9e6479678b0fb5ad, []int{7} } + func (m *DeleteRegistryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRegistryRequest.Unmarshal(m, b) } func (m *DeleteRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRegistryRequest.Marshal(b, m, deterministic) } -func (dst *DeleteRegistryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRegistryRequest.Merge(dst, src) +func (m *DeleteRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryRequest.Merge(m, src) } func (m *DeleteRegistryRequest) XXX_Size() int { return xxx_messageInfo_DeleteRegistryRequest.Size(m) @@ -461,16 +470,17 @@ func (m *DeleteRegistryMetadata) Reset() { *m = DeleteRegistryMetadata{} func (m *DeleteRegistryMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteRegistryMetadata) ProtoMessage() {} func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_registry_service_a571e9cda88c3d56, []int{8} + return fileDescriptor_9e6479678b0fb5ad, []int{8} } + func (m *DeleteRegistryMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRegistryMetadata.Unmarshal(m, b) } func (m *DeleteRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRegistryMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteRegistryMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRegistryMetadata.Merge(dst, src) +func (m *DeleteRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryMetadata.Merge(m, src) } func (m *DeleteRegistryMetadata) XXX_Size() int { return xxx_messageInfo_DeleteRegistryMetadata.Size(m) @@ -502,6 +512,70 @@ func init() { proto.RegisterType((*DeleteRegistryMetadata)(nil), "yandex.cloud.containerregistry.v1.DeleteRegistryMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/containerregistry/v1/registry_service.proto", fileDescriptor_9e6479678b0fb5ad) +} + +var fileDescriptor_9e6479678b0fb5ad = []byte{ + // 885 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0xcf, 0x8f, 0xdb, 0x44, + 0x14, 0xc7, 0x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x85, 0x9a, 0x39, 0xc7, 0xd4, 0xcd, 0x74, 0xe4, 0xab, 0xdb, 0xf9, + 0xd3, 0x64, 0xa5, 0xd9, 0x27, 0x2f, 0xaa, 0xda, 0xc2, 0xf1, 0xb2, 0x9e, 0xbc, 0xe1, 0xe0, 0x5b, + 0xda, 0x72, 0xf0, 0x6b, 0x52, 0x15, 0x8d, 0x25, 0x50, 0xc4, 0xe1, 0xce, 0xc5, 0x9e, 0xd9, 0xb0, + 0x79, 0xd8, 0xbf, 0x11, 0xec, 0x0b, 0xfa, 0x28, 0xcd, 0x7e, 0x75, 0x67, 0xd5, 0xb3, 0x12, 0x65, + 0xf2, 0xbb, 0x04, 0x8a, 0xe8, 0x91, 0x5c, 0x99, 0x64, 0xb6, 0x65, 0x9e, 0x4c, 0xbe, 0x3b, 0x79, + 0x51, 0x35, 0x17, 0xb6, 0x63, 0xf9, 0xec, 0x90, 0xbd, 0xd3, 0xed, 0x31, 0x91, 0x96, 0x55, 0x5d, + 0x35, 0xad, 0xc6, 0x57, 0x5f, 0x7f, 0xd9, 0xa6, 0xec, 0xdb, 0xfe, 0xa1, 0x71, 0xe4, 0x77, 0x4d, + 0x81, 0xa6, 0x8b, 0x1f, 0xb4, 0xb6, 0xaf, 0xb7, 0x89, 0xc7, 0x3f, 0x63, 0x2e, 0xfd, 0x27, 0xbc, + 0x3e, 0xf7, 0xf2, 0x50, 0xe1, 0xa1, 0x57, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x24, 0x8d, + 0x20, 0xca, 0x0a, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -597,6 +671,26 @@ type RegistryServiceServer interface { Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error) } +// UnimplementedRegistryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRegistryServiceServer struct { +} + +func (*UnimplementedRegistryServiceServer) Get(ctx context.Context, req *GetRegistryRequest) (*Registry, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedRegistryServiceServer) List(ctx context.Context, req *ListRegistriesRequest) (*ListRegistriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedRegistryServiceServer) Create(ctx context.Context, req *CreateRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedRegistryServiceServer) Update(ctx context.Context, req *UpdateRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedRegistryServiceServer) Delete(ctx context.Context, req *DeleteRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterRegistryServiceServer(s *grpc.Server, srv RegistryServiceServer) { s.RegisterService(&_RegistryService_serviceDesc, srv) } @@ -719,67 +813,3 @@ var _RegistryService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/containerregistry/v1/registry_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/registry_service.proto", fileDescriptor_registry_service_a571e9cda88c3d56) -} - -var fileDescriptor_registry_service_a571e9cda88c3d56 = []byte{ - // 885 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0xcf, 0x8f, 0xdb, 0x44, - 0x14, 0xc7, 0xe5, 0x75, 0x6a, 0x36, 0x2f, 0xa0, 0x56, 0x23, 0x52, 0x45, 0x16, 0x15, 0xbb, 0x46, - 0x5a, 0xb6, 0x01, 0xdb, 0xf1, 0xb6, 0xbb, 0x6c, 0xfa, 0x43, 0x48, 0xe9, 0x2f, 0x55, 0xb4, 0x02, - 0xb9, 0x20, 0x04, 0xab, 0x2a, 0xcc, 0xae, 0x27, 0x61, 0x88, 0x63, 0x07, 0x7b, 0x12, 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xb0, - 0x79, 0xd8, 0xbf, 0x11, 0xec, 0x0b, 0xfa, 0x28, 0xcd, 0x7e, 0x75, 0x67, 0xd5, 0xb3, 0x12, 0x65, - 0xf2, 0xbb, 0x04, 0x8a, 0xe8, 0x91, 0x5c, 0x99, 0x64, 0xb6, 0x65, 0x9e, 0x4c, 0xbe, 0x3b, 0x79, - 0x51, 0x35, 0x17, 0xb6, 0x63, 0xf9, 0xec, 0x90, 0xbd, 0xd3, 0xed, 0x31, 0x91, 0x96, 0x55, 0x5d, - 0x35, 0xad, 0xc6, 0x57, 0x5f, 0x7f, 0xd9, 0xa6, 0xec, 0xdb, 0xfe, 0xa1, 0x71, 0xe4, 0x77, 0x4d, - 0x81, 0xa6, 0x8b, 0x1f, 0xb4, 0xb6, 0xaf, 0xb7, 0x89, 0xc7, 0x3f, 0x63, 0x2e, 0xfd, 0x27, 0xbc, - 0x3e, 0xf7, 0xf2, 0x50, 0xe1, 0xa1, 0x57, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x24, 0x8d, - 0x20, 0xca, 0x0a, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository.pb.go index d461cd2ae..6845d4938 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/repository.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" +package containerregistry -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Repository resource. For more information, see [Repository](/docs/cloud/container-registry/repository). type Repository struct { @@ -32,16 +34,17 @@ func (m *Repository) Reset() { *m = Repository{} } func (m *Repository) String() string { return proto.CompactTextString(m) } func (*Repository) ProtoMessage() {} func (*Repository) Descriptor() ([]byte, []int) { - return fileDescriptor_repository_956a089f454b4ee5, []int{0} + return fileDescriptor_3a476f200b225be9, []int{0} } + func (m *Repository) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Repository.Unmarshal(m, b) } func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Repository.Marshal(b, m, deterministic) } -func (dst *Repository) XXX_Merge(src proto.Message) { - xxx_messageInfo_Repository.Merge(dst, src) +func (m *Repository) XXX_Merge(src proto.Message) { + xxx_messageInfo_Repository.Merge(m, src) } func (m *Repository) XXX_Size() int { return xxx_messageInfo_Repository.Size(m) @@ -64,10 +67,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/repository.proto", fileDescriptor_repository_956a089f454b4ee5) + proto.RegisterFile("yandex/cloud/containerregistry/v1/repository.proto", fileDescriptor_3a476f200b225be9) } -var fileDescriptor_repository_956a089f454b4ee5 = []byte{ +var fileDescriptor_3a476f200b225be9 = []byte{ // 153 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xaa, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xce, 0xcf, 0x2b, 0x49, 0xcc, 0xcc, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository_service.pb.go index 7f6f535bc..91a724a64 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1/repository_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/containerregistry/v1/repository_service.proto -package containerregistry // import "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package containerregistry import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListRepositoriesRequest struct { // ID of the registry to list repositories in. @@ -61,16 +62,17 @@ func (m *ListRepositoriesRequest) Reset() { *m = ListRepositoriesRequest func (m *ListRepositoriesRequest) String() string { return proto.CompactTextString(m) } func (*ListRepositoriesRequest) ProtoMessage() {} func (*ListRepositoriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_repository_service_a3b7f42aed43c753, []int{0} + return fileDescriptor_b3ad489b83930188, []int{0} } + func (m *ListRepositoriesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRepositoriesRequest.Unmarshal(m, b) } func (m *ListRepositoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRepositoriesRequest.Marshal(b, m, deterministic) } -func (dst *ListRepositoriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRepositoriesRequest.Merge(dst, src) +func (m *ListRepositoriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRepositoriesRequest.Merge(m, src) } func (m *ListRepositoriesRequest) XXX_Size() int { return xxx_messageInfo_ListRepositoriesRequest.Size(m) @@ -142,16 +144,17 @@ func (m *ListRepositoriesResponse) Reset() { *m = ListRepositoriesRespon func (m *ListRepositoriesResponse) String() string { return proto.CompactTextString(m) } func (*ListRepositoriesResponse) ProtoMessage() {} func (*ListRepositoriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_repository_service_a3b7f42aed43c753, []int{1} + return fileDescriptor_b3ad489b83930188, []int{1} } + func (m *ListRepositoriesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRepositoriesResponse.Unmarshal(m, b) } func (m *ListRepositoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRepositoriesResponse.Marshal(b, m, deterministic) } -func (dst *ListRepositoriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRepositoriesResponse.Merge(dst, src) +func (m *ListRepositoriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRepositoriesResponse.Merge(m, src) } func (m *ListRepositoriesResponse) XXX_Size() int { return xxx_messageInfo_ListRepositoriesResponse.Size(m) @@ -181,6 +184,43 @@ func init() { proto.RegisterType((*ListRepositoriesResponse)(nil), "yandex.cloud.containerregistry.v1.ListRepositoriesResponse") } +func init() { + proto.RegisterFile("yandex/cloud/containerregistry/v1/repository_service.proto", fileDescriptor_b3ad489b83930188) +} + +var fileDescriptor_b3ad489b83930188 = []byte{ + // 460 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xbd, 0x8e, 0xd3, 0x40, + 0x14, 0x85, 0xe5, 0x24, 0x1b, 0xe2, 0xbb, 0x20, 0xc4, 0x34, 0x58, 0x11, 0x48, 0x21, 0xb0, 0x10, + 0x84, 0x62, 0xc7, 0x41, 0x34, 0xfb, 0xd3, 0xa4, 0x5b, 0x89, 0x02, 0xbc, 0x48, 0x08, 0x9a, 0xc8, + 0x89, 0xef, 0x9a, 0x11, 0x66, 0xae, 0x99, 0x99, 0x44, 0xeb, 0x2d, 0xa9, 0x50, 0x5a, 0xc4, 0x5b, + 0xf0, 0x14, 0x34, 0xa4, 0xe7, 0x15, 0x78, 0x0a, 0x2a, 0xe4, 0x99, 0xf5, 0xfe, 0x05, 0x14, 0xa0, + 0x9d, 0x73, 0xce, 0x37, 0x77, 0xee, 0x1c, 0xd8, 0x2e, 0x62, 0x91, 0xe0, 0x51, 0x30, 0xcd, 0x68, + 0x96, 0x04, 0x53, 0x12, 0x3a, 0xe6, 0x02, 0xa5, 0xc4, 0x94, 0x2b, 0x2d, 0x8b, 0x60, 0x1e, 0x06, + 0x12, 0x73, 0x52, 0x5c, 0x93, 0x2c, 0xc6, 0x0a, 0xe5, 0x9c, 0x4f, 0xd1, 0xcf, 0x25, 0x69, 0x62, + 0x77, 0x6c, 0xd6, 0x37, 0x59, 0x7f, 0x25, 0xeb, 0xcf, 0xc3, 0xf6, 0xf0, 0x5f, 0xf0, 0x16, 0xdb, + 0xbe, 0x7d, 0x21, 0x33, 0x8f, 0x33, 0x9e, 0xc4, 0x9a, 0x93, 0x38, 0x91, 0x6f, 0xa5, 0x44, 0x69, + 0x86, 0x41, 0x9c, 0xf3, 0x20, 0x16, 0x82, 0xb4, 0x11, 0x95, 0x55, 0xbb, 0x1f, 0x6b, 0x70, 0xf3, + 0x29, 0x57, 0x3a, 0xaa, 0xa8, 0x1c, 0x55, 0x84, 0xef, 0x67, 0xa8, 0x34, 0x7b, 0x08, 0x9b, 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 0x4a, 0xb1, 0x2f, 0x0e, 0x34, 0xca, 0x69, 0xd9, 0xf6, 0x5f, 0xcc, + 0xf0, 0x87, 0x1f, 0x6e, 0xef, 0xfc, 0x57, 0xd6, 0xae, 0xa4, 0xfb, 0xe8, 0xc3, 0xf7, 0x1f, 0x9f, + 0x6a, 0x5b, 0xec, 0xee, 0x59, 0x4f, 0xfb, 0xbf, 0x2d, 0x2a, 0x47, 0x35, 0x7a, 0xf5, 0xfa, 0x65, + 0xca, 0xf5, 0x9b, 0xd9, 0xc4, 0x9f, 0xd2, 0xbb, 0xc0, 0xde, 0xda, 0xb7, 0x8d, 0x4d, 0xa9, 0x9f, + 0xa2, 0x30, 0x75, 0x0c, 0xd6, 0xd6, 0x7f, 0x67, 0xe5, 0x70, 0xd2, 0x34, 0xd1, 0xc7, 0xbf, 0x02, + 0x00, 0x00, 0xff, 0xff, 0xde, 0x4e, 0x2c, 0x46, 0x9b, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -220,6 +260,14 @@ type RepositoryServiceServer interface { List(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) } +// UnimplementedRepositoryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRepositoryServiceServer struct { +} + +func (*UnimplementedRepositoryServiceServer) List(ctx context.Context, req *ListRepositoriesRequest) (*ListRepositoriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer) { s.RegisterService(&_RepositoryService_serviceDesc, srv) } @@ -254,40 +302,3 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/containerregistry/v1/repository_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/containerregistry/v1/repository_service.proto", fileDescriptor_repository_service_a3b7f42aed43c753) -} - -var fileDescriptor_repository_service_a3b7f42aed43c753 = []byte{ - // 460 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xbd, 0x8e, 0xd3, 0x40, - 0x14, 0x85, 0xe5, 0x24, 0x1b, 0xe2, 0xbb, 0x20, 0xc4, 0x34, 0x58, 0x11, 0x48, 0x21, 0xb0, 0x10, - 0x84, 0x62, 0xc7, 0x41, 0x34, 0xfb, 0xd3, 0xa4, 0x5b, 0x89, 0x02, 0xbc, 0x48, 0x08, 0x9a, 0xc8, - 0x89, 0xef, 0x9a, 0x11, 0x66, 0xae, 0x99, 0x99, 0x44, 0xeb, 0x2d, 0xa9, 0x50, 0x5a, 0xc4, 0x5b, - 0xf0, 0x14, 0x34, 0xa4, 0xe7, 0x15, 0x78, 0x0a, 0x2a, 0xe4, 0x99, 0xf5, 0xfe, 0x05, 0x14, 0xa0, - 0x9d, 0x73, 0xce, 0x37, 0x77, 0xee, 0x1c, 0xd8, 0x2e, 0x62, 0x91, 0xe0, 0x51, 0x30, 0xcd, 0x68, - 0x96, 0x04, 0x53, 0x12, 0x3a, 0xe6, 0x02, 0xa5, 0xc4, 0x94, 0x2b, 0x2d, 0x8b, 0x60, 0x1e, 0x06, - 0x12, 0x73, 0x52, 0x5c, 0x93, 0x2c, 0xc6, 0x0a, 0xe5, 0x9c, 0x4f, 0xd1, 0xcf, 0x25, 0x69, 0x62, - 0x77, 0x6c, 0xd6, 0x37, 0x59, 0x7f, 0x25, 0xeb, 0xcf, 0xc3, 0xf6, 0xf0, 0x5f, 0xf0, 0x16, 0xdb, - 0xbe, 0x7d, 0x21, 0x33, 0x8f, 0x33, 0x9e, 0xc4, 0x9a, 0x93, 0x38, 0x91, 0x6f, 0xa5, 0x44, 0x69, - 0x86, 0x41, 0x9c, 0xf3, 0x20, 0x16, 0x82, 0xb4, 0x11, 0x95, 0x55, 0xbb, 0x1f, 0x6b, 0x70, 0xf3, - 0x29, 0x57, 0x3a, 0xaa, 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b3, 0xea, 0x85, 0xc3, 0xaf, 0x0e, - 0xdc, 0x38, 0x83, 0x1c, 0xd8, 0x4a, 0xb1, 0x2f, 0x0e, 0x34, 0xca, 0x69, 0xd9, 0xf6, 0x5f, 0xcc, - 0xf0, 0x87, 0x1f, 0x6e, 0xef, 0xfc, 0x57, 0xd6, 0xae, 0xa4, 0xfb, 0xe8, 0xc3, 0xf7, 0x1f, 0x9f, - 0x6a, 0x5b, 0xec, 0xee, 0x59, 0x4f, 0xfb, 0xbf, 0x2d, 0x2a, 0x47, 0x35, 0x7a, 0xf5, 0xfa, 0x65, - 0xca, 0xf5, 0x9b, 0xd9, 0xc4, 0x9f, 0xd2, 0xbb, 0xc0, 0xde, 0xda, 0xb7, 0x8d, 0x4d, 0xa9, 0x9f, - 0xa2, 0x30, 0x75, 0x0c, 0xd6, 0xd6, 0x7f, 0x67, 0xe5, 0x70, 0xd2, 0x34, 0xd1, 0xc7, 0xbf, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xde, 0x4e, 0x2c, 0x46, 0x9b, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint.pb.go index 9be8fe363..f9cad8b5c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/endpoint/api_endpoint.proto -package endpoint // import "github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint" +package endpoint -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ApiEndpoint struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -30,16 +32,17 @@ func (m *ApiEndpoint) Reset() { *m = ApiEndpoint{} } func (m *ApiEndpoint) String() string { return proto.CompactTextString(m) } func (*ApiEndpoint) ProtoMessage() {} func (*ApiEndpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_api_endpoint_f9ce6e4a311495de, []int{0} + return fileDescriptor_f047dfc88bc45bd0, []int{0} } + func (m *ApiEndpoint) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ApiEndpoint.Unmarshal(m, b) } func (m *ApiEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ApiEndpoint.Marshal(b, m, deterministic) } -func (dst *ApiEndpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiEndpoint.Merge(dst, src) +func (m *ApiEndpoint) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApiEndpoint.Merge(m, src) } func (m *ApiEndpoint) XXX_Size() int { return xxx_messageInfo_ApiEndpoint.Size(m) @@ -69,10 +72,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/endpoint/api_endpoint.proto", fileDescriptor_api_endpoint_f9ce6e4a311495de) + proto.RegisterFile("yandex/cloud/endpoint/api_endpoint.proto", fileDescriptor_f047dfc88bc45bd0) } -var fileDescriptor_api_endpoint_f9ce6e4a311495de = []byte{ +var fileDescriptor_f047dfc88bc45bd0 = []byte{ // 152 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa8, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x4f, 0xcd, 0x4b, 0x29, 0xc8, 0xcf, 0xcc, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint_service.pb.go index 28783722e..201e28bc1 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint/api_endpoint_service.pb.go @@ -1,16 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/endpoint/api_endpoint_service.proto -package endpoint // import "github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package endpoint import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,7 +23,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetApiEndpointRequest struct { ApiEndpointId string `protobuf:"bytes,1,opt,name=api_endpoint_id,json=apiEndpointId,proto3" json:"api_endpoint_id,omitempty"` @@ -35,16 +36,17 @@ func (m *GetApiEndpointRequest) Reset() { *m = GetApiEndpointRequest{} } func (m *GetApiEndpointRequest) String() string { return proto.CompactTextString(m) } func (*GetApiEndpointRequest) ProtoMessage() {} func (*GetApiEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_endpoint_service_3b852f01606ed782, []int{0} + return fileDescriptor_59b4331650989b1f, []int{0} } + func (m *GetApiEndpointRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetApiEndpointRequest.Unmarshal(m, b) } func (m *GetApiEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetApiEndpointRequest.Marshal(b, m, deterministic) } -func (dst *GetApiEndpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiEndpointRequest.Merge(dst, src) +func (m *GetApiEndpointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetApiEndpointRequest.Merge(m, src) } func (m *GetApiEndpointRequest) XXX_Size() int { return xxx_messageInfo_GetApiEndpointRequest.Size(m) @@ -74,16 +76,17 @@ func (m *ListApiEndpointsRequest) Reset() { *m = ListApiEndpointsRequest func (m *ListApiEndpointsRequest) String() string { return proto.CompactTextString(m) } func (*ListApiEndpointsRequest) ProtoMessage() {} func (*ListApiEndpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_endpoint_service_3b852f01606ed782, []int{1} + return fileDescriptor_59b4331650989b1f, []int{1} } + func (m *ListApiEndpointsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListApiEndpointsRequest.Unmarshal(m, b) } func (m *ListApiEndpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListApiEndpointsRequest.Marshal(b, m, deterministic) } -func (dst *ListApiEndpointsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApiEndpointsRequest.Merge(dst, src) +func (m *ListApiEndpointsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListApiEndpointsRequest.Merge(m, src) } func (m *ListApiEndpointsRequest) XXX_Size() int { return xxx_messageInfo_ListApiEndpointsRequest.Size(m) @@ -120,16 +123,17 @@ func (m *ListApiEndpointsResponse) Reset() { *m = ListApiEndpointsRespon func (m *ListApiEndpointsResponse) String() string { return proto.CompactTextString(m) } func (*ListApiEndpointsResponse) ProtoMessage() {} func (*ListApiEndpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_api_endpoint_service_3b852f01606ed782, []int{2} + return fileDescriptor_59b4331650989b1f, []int{2} } + func (m *ListApiEndpointsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListApiEndpointsResponse.Unmarshal(m, b) } func (m *ListApiEndpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListApiEndpointsResponse.Marshal(b, m, deterministic) } -func (dst *ListApiEndpointsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApiEndpointsResponse.Merge(dst, src) +func (m *ListApiEndpointsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListApiEndpointsResponse.Merge(m, src) } func (m *ListApiEndpointsResponse) XXX_Size() int { return xxx_messageInfo_ListApiEndpointsResponse.Size(m) @@ -160,6 +164,38 @@ func init() { proto.RegisterType((*ListApiEndpointsResponse)(nil), "yandex.cloud.endpoint.ListApiEndpointsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/endpoint/api_endpoint_service.proto", fileDescriptor_59b4331650989b1f) +} + +var fileDescriptor_59b4331650989b1f = []byte{ + // 370 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x51, 0x4b, 0x2a, 0x41, + 0x18, 0x65, 0xf5, 0x72, 0xb9, 0x7e, 0xf7, 0xca, 0x85, 0x01, 0x69, 0xd9, 0x2c, 0x64, 0x89, 0xf0, + 0x21, 0x67, 0xc2, 0x1e, 0x7b, 0xa8, 0xa4, 0x90, 0xa0, 0x87, 0xd0, 0x7a, 0xe9, 0x65, 0x59, 0xdd, + 0x8f, 0x6d, 0xc8, 0x66, 0x36, 0x67, 0x0c, 0x53, 0x7c, 0x89, 0x7e, 0x40, 0xd0, 0x4f, 0xeb, 0x2f, + 0xf4, 0x43, 0x62, 0x67, 0xda, 0xb4, 0x54, 0xf2, 0x6d, 0xf7, 0x9b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b3, 0x51, 0x7f, 0xce, 0x01, 0x99, 0x91, 0x68, 0xdb, 0x6a, 0xc8, 0x04, 0xf2, 0x4d, + 0xd4, 0x64, 0x67, 0xc9, 0xa5, 0x0b, 0x13, 0xf5, 0x56, 0xb0, 0xe8, 0x6f, 0x3d, 0xbe, 0xbe, 0xbd, + 0xe4, 0x36, 0x49, 0xf9, 0xb3, 0x34, 0xc5, 0xc6, 0xdf, 0x7a, 0x98, 0x90, 0x31, 0xfc, 0x4a, 0xb3, + 0x21, 0x74, 0x89, 0xe2, 0x92, 0x42, 0x3c, 0xb6, 0x32, 0xde, 0x06, 0xed, 0x13, 0x63, 0xe7, 0x1f, + 0x81, 0xa9, 0x9d, 0xc6, 0xf1, 0x55, 0x23, 0xe6, 0xfa, 0x7a, 0xd0, 0xa1, 0x5d, 0x79, 0xcb, 0xac, + 0x60, 0xcd, 0x2e, 0x5a, 0x2c, 0x6b, 0x31, 0x0a, 0xb3, 0x58, 0x6c, 0xe1, 0x06, 0xee, 0x67, 0x1f, + 0x9d, 0xdf, 0x06, 0xb5, 0xf7, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x83, 0x68, 0x07, 0x93, 0x11, 0x03, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -208,6 +244,17 @@ type ApiEndpointServiceServer interface { List(context.Context, *ListApiEndpointsRequest) (*ListApiEndpointsResponse, error) } +// UnimplementedApiEndpointServiceServer can be embedded to have forward compatible implementations. +type UnimplementedApiEndpointServiceServer struct { +} + +func (*UnimplementedApiEndpointServiceServer) Get(ctx context.Context, req *GetApiEndpointRequest) (*ApiEndpoint, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedApiEndpointServiceServer) List(ctx context.Context, req *ListApiEndpointsRequest) (*ListApiEndpointsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterApiEndpointServiceServer(s *grpc.Server, srv ApiEndpointServiceServer) { s.RegisterService(&_ApiEndpointService_serviceDesc, srv) } @@ -264,35 +311,3 @@ var _ApiEndpointService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/endpoint/api_endpoint_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/endpoint/api_endpoint_service.proto", fileDescriptor_api_endpoint_service_3b852f01606ed782) -} - -var fileDescriptor_api_endpoint_service_3b852f01606ed782 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x51, 0x4b, 0x2a, 0x41, - 0x18, 0x65, 0xf5, 0x72, 0xb9, 0x7e, 0xf7, 0xca, 0x85, 0x01, 0x69, 0xd9, 0x2c, 0x64, 0x89, 0xf0, - 0x21, 0x67, 0xc2, 0x1e, 0x7b, 0xa8, 0xa4, 0x90, 0xa0, 0x87, 0xd0, 0x7a, 0xe9, 0x65, 0x59, 0xdd, - 0x8f, 0x6d, 0xc8, 0x66, 0x36, 0x67, 0x0c, 0x53, 0x7c, 0x89, 0x7e, 0x40, 0xd0, 0x4f, 0xeb, 0x2f, - 0xf4, 0x43, 0x62, 0x67, 0xda, 0xb4, 0x54, 0xf2, 0x6d, 0xf7, 0x9b, 0x73, 0xce, 0x9c, 0x39, 0xe7, - 0x83, 0xdd, 0x87, 0x50, 0x44, 0x38, 0x64, 0xdd, 0x9e, 0x1c, 0x44, 0x0c, 0x45, 0x94, 0x48, 0x2e, - 0x34, 0x0b, 0x13, 0x1e, 0x64, 0x3f, 0x81, 0xc2, 0xfe, 0x3d, 0xef, 0x22, 0x4d, 0xfa, 0x52, 0x4b, - 0x52, 0xb2, 0x0c, 0x6a, 0x18, 0x34, 0x03, 0x79, 0xe5, 0x58, 0xca, 0xb8, 0x87, 0x29, 0x93, 0x85, - 0x42, 0x48, 0x1d, 0x6a, 0x2e, 0x85, 0xb2, 0x24, 0xaf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1f, - 0x81, 0xa9, 0x9d, 0xc6, 0xf1, 0x55, 0x23, 0xe6, 0xfa, 0x7a, 0xd0, 0xa1, 0x5d, 0x79, 0xcb, 0xac, - 0x60, 0xcd, 0x2e, 0x5a, 0x2c, 0x6b, 0x31, 0x0a, 0xb3, 0x58, 0x6c, 0xe1, 0x06, 0xee, 0x67, 0x1f, - 0x9d, 0xdf, 0x06, 0xb5, 0xf7, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x83, 0x68, 0x07, 0x93, 0x11, 0x03, - 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key.pb.go index b364404fe..754eee4be 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/api_key.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" +package iam -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // An ApiKey resource. type ApiKey struct { @@ -38,16 +40,17 @@ func (m *ApiKey) Reset() { *m = ApiKey{} } func (m *ApiKey) String() string { return proto.CompactTextString(m) } func (*ApiKey) ProtoMessage() {} func (*ApiKey) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_559895c00d20010c, []int{0} + return fileDescriptor_9a44132a3bbfe52c, []int{0} } + func (m *ApiKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ApiKey.Unmarshal(m, b) } func (m *ApiKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ApiKey.Marshal(b, m, deterministic) } -func (dst *ApiKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiKey.Merge(dst, src) +func (m *ApiKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApiKey.Merge(m, src) } func (m *ApiKey) XXX_Size() int { return xxx_messageInfo_ApiKey.Size(m) @@ -90,11 +93,9 @@ func init() { proto.RegisterType((*ApiKey)(nil), "yandex.cloud.iam.v1.ApiKey") } -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/api_key.proto", fileDescriptor_api_key_559895c00d20010c) -} +func init() { proto.RegisterFile("yandex/cloud/iam/v1/api_key.proto", fileDescriptor_9a44132a3bbfe52c) } -var fileDescriptor_api_key_559895c00d20010c = []byte{ +var fileDescriptor_9a44132a3bbfe52c = []byte{ // 247 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4b, 0xc4, 0x30, 0x14, 0x87, 0x69, 0x95, 0x83, 0xcb, 0x81, 0x48, 0x5c, 0xca, 0x2d, 0x56, 0xa7, 0x1b, 0xbc, 0x84, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key_service.pb.go index be9251eb9..549b24ecb 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/api_key_service.pb.go @@ -1,18 +1,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/api_key_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import empty "github.com/golang/protobuf/ptypes/empty" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -24,7 +25,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetApiKeyRequest struct { // ID of the API key to return. @@ -39,16 +40,17 @@ func (m *GetApiKeyRequest) Reset() { *m = GetApiKeyRequest{} } func (m *GetApiKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetApiKeyRequest) ProtoMessage() {} func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{0} + return fileDescriptor_7823c2139024242e, []int{0} } + func (m *GetApiKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetApiKeyRequest.Unmarshal(m, b) } func (m *GetApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetApiKeyRequest.Marshal(b, m, deterministic) } -func (dst *GetApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiKeyRequest.Merge(dst, src) +func (m *GetApiKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetApiKeyRequest.Merge(m, src) } func (m *GetApiKeyRequest) XXX_Size() int { return xxx_messageInfo_GetApiKeyRequest.Size(m) @@ -90,16 +92,17 @@ func (m *ListApiKeysRequest) Reset() { *m = ListApiKeysRequest{} } func (m *ListApiKeysRequest) String() string { return proto.CompactTextString(m) } func (*ListApiKeysRequest) ProtoMessage() {} func (*ListApiKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{1} + return fileDescriptor_7823c2139024242e, []int{1} } + func (m *ListApiKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListApiKeysRequest.Unmarshal(m, b) } func (m *ListApiKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListApiKeysRequest.Marshal(b, m, deterministic) } -func (dst *ListApiKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApiKeysRequest.Merge(dst, src) +func (m *ListApiKeysRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListApiKeysRequest.Merge(m, src) } func (m *ListApiKeysRequest) XXX_Size() int { return xxx_messageInfo_ListApiKeysRequest.Size(m) @@ -150,16 +153,17 @@ func (m *ListApiKeysResponse) Reset() { *m = ListApiKeysResponse{} } func (m *ListApiKeysResponse) String() string { return proto.CompactTextString(m) } func (*ListApiKeysResponse) ProtoMessage() {} func (*ListApiKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{2} + return fileDescriptor_7823c2139024242e, []int{2} } + func (m *ListApiKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListApiKeysResponse.Unmarshal(m, b) } func (m *ListApiKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListApiKeysResponse.Marshal(b, m, deterministic) } -func (dst *ListApiKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListApiKeysResponse.Merge(dst, src) +func (m *ListApiKeysResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListApiKeysResponse.Merge(m, src) } func (m *ListApiKeysResponse) XXX_Size() int { return xxx_messageInfo_ListApiKeysResponse.Size(m) @@ -200,16 +204,17 @@ func (m *CreateApiKeyRequest) Reset() { *m = CreateApiKeyRequest{} } func (m *CreateApiKeyRequest) String() string { return proto.CompactTextString(m) } func (*CreateApiKeyRequest) ProtoMessage() {} func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{3} + return fileDescriptor_7823c2139024242e, []int{3} } + func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateApiKeyRequest.Unmarshal(m, b) } func (m *CreateApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateApiKeyRequest.Marshal(b, m, deterministic) } -func (dst *CreateApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateApiKeyRequest.Merge(dst, src) +func (m *CreateApiKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateApiKeyRequest.Merge(m, src) } func (m *CreateApiKeyRequest) XXX_Size() int { return xxx_messageInfo_CreateApiKeyRequest.Size(m) @@ -248,16 +253,17 @@ func (m *CreateApiKeyResponse) Reset() { *m = CreateApiKeyResponse{} } func (m *CreateApiKeyResponse) String() string { return proto.CompactTextString(m) } func (*CreateApiKeyResponse) ProtoMessage() {} func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{4} + return fileDescriptor_7823c2139024242e, []int{4} } + func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateApiKeyResponse.Unmarshal(m, b) } func (m *CreateApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateApiKeyResponse.Marshal(b, m, deterministic) } -func (dst *CreateApiKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateApiKeyResponse.Merge(dst, src) +func (m *CreateApiKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateApiKeyResponse.Merge(m, src) } func (m *CreateApiKeyResponse) XXX_Size() int { return xxx_messageInfo_CreateApiKeyResponse.Size(m) @@ -295,16 +301,17 @@ func (m *DeleteApiKeyRequest) Reset() { *m = DeleteApiKeyRequest{} } func (m *DeleteApiKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteApiKeyRequest) ProtoMessage() {} func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_api_key_service_c31388470460ddf5, []int{5} + return fileDescriptor_7823c2139024242e, []int{5} } + func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteApiKeyRequest.Unmarshal(m, b) } func (m *DeleteApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteApiKeyRequest.Marshal(b, m, deterministic) } -func (dst *DeleteApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteApiKeyRequest.Merge(dst, src) +func (m *DeleteApiKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteApiKeyRequest.Merge(m, src) } func (m *DeleteApiKeyRequest) XXX_Size() int { return xxx_messageInfo_DeleteApiKeyRequest.Size(m) @@ -331,6 +338,52 @@ func init() { proto.RegisterType((*DeleteApiKeyRequest)(nil), "yandex.cloud.iam.v1.DeleteApiKeyRequest") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/api_key_service.proto", fileDescriptor_7823c2139024242e) +} + +var fileDescriptor_7823c2139024242e = []byte{ + // 602 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0xb3, 0x14, 0x4b, 0xfb, 0x90, 0x80, 0x53, 0x82, 0x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0xc4, 0x58, + 0xa9, 0x7a, 0x39, 0x9b, 0x6c, 0x9d, 0xd1, 0xf6, 0x7e, 0x51, 0x85, 0x1f, 0xfe, 0x0a, 0x00, 0x00, + 0xff, 0xff, 0x77, 0x3b, 0x11, 0x86, 0x66, 0x05, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -413,6 +466,23 @@ type ApiKeyServiceServer interface { Delete(context.Context, *DeleteApiKeyRequest) (*empty.Empty, error) } +// UnimplementedApiKeyServiceServer can be embedded to have forward compatible implementations. +type UnimplementedApiKeyServiceServer struct { +} + +func (*UnimplementedApiKeyServiceServer) List(ctx context.Context, req *ListApiKeysRequest) (*ListApiKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedApiKeyServiceServer) Get(ctx context.Context, req *GetApiKeyRequest) (*ApiKey, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedApiKeyServiceServer) Create(ctx context.Context, req *CreateApiKeyRequest) (*CreateApiKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedApiKeyServiceServer) Delete(ctx context.Context, req *DeleteApiKeyRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterApiKeyServiceServer(s *grpc.Server, srv ApiKeyServiceServer) { s.RegisterService(&_ApiKeyService_serviceDesc, srv) } @@ -513,49 +583,3 @@ var _ApiKeyService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/api_key_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/api_key_service.proto", fileDescriptor_api_key_service_c31388470460ddf5) -} - -var fileDescriptor_api_key_service_c31388470460ddf5 = []byte{ - // 602 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0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, 0x6f, 0x32, 0xf9, - 0x2e, 0xdd, 0x77, 0x43, 0xde, 0xf6, 0xb4, 0xe7, 0xb2, 0xde, 0x46, 0x4d, 0xbe, 0xdc, 0xc4, 0x58, - 0xa9, 0x7a, 0x39, 0x9b, 0x6c, 0x9d, 0xd1, 0xf6, 0x7e, 0x51, 0x85, 0x1f, 0xfe, 0x0a, 0x00, 0x00, - 0xff, 0xff, 0x77, 0x3b, 0x11, 0x86, 0x66, 0x05, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key.pb.go index 8f3f51e0a..2abef529a 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/awscompatibility/access_key.proto -package awscompatibility // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility" +package awscompatibility -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // An access key. // For more information, see [AWS-compatible access keys](/docs/iam/concepts/authorization/access-key). @@ -27,7 +29,7 @@ type AccessKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the service account that the access key belongs to. ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Description of the access key. 0-256 characters long. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` @@ -43,16 +45,17 @@ func (m *AccessKey) Reset() { *m = AccessKey{} } func (m *AccessKey) String() string { return proto.CompactTextString(m) } func (*AccessKey) ProtoMessage() {} func (*AccessKey) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_262db7ab27be9a62, []int{0} + return fileDescriptor_0a09bbde32ee7837, []int{0} } + func (m *AccessKey) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AccessKey.Unmarshal(m, b) } func (m *AccessKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AccessKey.Marshal(b, m, deterministic) } -func (dst *AccessKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccessKey.Merge(dst, src) +func (m *AccessKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessKey.Merge(m, src) } func (m *AccessKey) XXX_Size() int { return xxx_messageInfo_AccessKey.Size(m) @@ -103,10 +106,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/iam/v1/awscompatibility/access_key.proto", fileDescriptor_access_key_262db7ab27be9a62) + proto.RegisterFile("yandex/cloud/iam/v1/awscompatibility/access_key.proto", fileDescriptor_0a09bbde32ee7837) } -var fileDescriptor_access_key_262db7ab27be9a62 = []byte{ +var fileDescriptor_0a09bbde32ee7837 = []byte{ // 285 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x41, 0x4b, 0xfb, 0x30, 0x18, 0xc6, 0xe9, 0xfe, 0xff, 0x0d, 0x96, 0x81, 0x48, 0x40, 0x28, 0xbb, 0x58, 0xc4, 0xc3, 0x0e, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key_service.pb.go index 648c252d8..f8f233af9 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility/access_key_service.pb.go @@ -1,18 +1,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/awscompatibility/access_key_service.proto -package awscompatibility // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import empty "github.com/golang/protobuf/ptypes/empty" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package awscompatibility import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -24,7 +25,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetAccessKeyRequest struct { // ID of the AccessKey resource to return. @@ -39,16 +40,17 @@ func (m *GetAccessKeyRequest) Reset() { *m = GetAccessKeyRequest{} } func (m *GetAccessKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetAccessKeyRequest) ProtoMessage() {} func (*GetAccessKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{0} + return fileDescriptor_82e7adea57f560ab, []int{0} } + func (m *GetAccessKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetAccessKeyRequest.Unmarshal(m, b) } func (m *GetAccessKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetAccessKeyRequest.Marshal(b, m, deterministic) } -func (dst *GetAccessKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccessKeyRequest.Merge(dst, src) +func (m *GetAccessKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccessKeyRequest.Merge(m, src) } func (m *GetAccessKeyRequest) XXX_Size() int { return xxx_messageInfo_GetAccessKeyRequest.Size(m) @@ -90,16 +92,17 @@ func (m *ListAccessKeysRequest) Reset() { *m = ListAccessKeysRequest{} } func (m *ListAccessKeysRequest) String() string { return proto.CompactTextString(m) } func (*ListAccessKeysRequest) ProtoMessage() {} func (*ListAccessKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{1} + return fileDescriptor_82e7adea57f560ab, []int{1} } + func (m *ListAccessKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAccessKeysRequest.Unmarshal(m, b) } func (m *ListAccessKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAccessKeysRequest.Marshal(b, m, deterministic) } -func (dst *ListAccessKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessKeysRequest.Merge(dst, src) +func (m *ListAccessKeysRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessKeysRequest.Merge(m, src) } func (m *ListAccessKeysRequest) XXX_Size() int { return xxx_messageInfo_ListAccessKeysRequest.Size(m) @@ -150,16 +153,17 @@ func (m *ListAccessKeysResponse) Reset() { *m = ListAccessKeysResponse{} func (m *ListAccessKeysResponse) String() string { return proto.CompactTextString(m) } func (*ListAccessKeysResponse) ProtoMessage() {} func (*ListAccessKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{2} + return fileDescriptor_82e7adea57f560ab, []int{2} } + func (m *ListAccessKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListAccessKeysResponse.Unmarshal(m, b) } func (m *ListAccessKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListAccessKeysResponse.Marshal(b, m, deterministic) } -func (dst *ListAccessKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccessKeysResponse.Merge(dst, src) +func (m *ListAccessKeysResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListAccessKeysResponse.Merge(m, src) } func (m *ListAccessKeysResponse) XXX_Size() int { return xxx_messageInfo_ListAccessKeysResponse.Size(m) @@ -200,16 +204,17 @@ func (m *CreateAccessKeyRequest) Reset() { *m = CreateAccessKeyRequest{} func (m *CreateAccessKeyRequest) String() string { return proto.CompactTextString(m) } func (*CreateAccessKeyRequest) ProtoMessage() {} func (*CreateAccessKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{3} + return fileDescriptor_82e7adea57f560ab, []int{3} } + func (m *CreateAccessKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAccessKeyRequest.Unmarshal(m, b) } func (m *CreateAccessKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateAccessKeyRequest.Marshal(b, m, deterministic) } -func (dst *CreateAccessKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAccessKeyRequest.Merge(dst, src) +func (m *CreateAccessKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAccessKeyRequest.Merge(m, src) } func (m *CreateAccessKeyRequest) XXX_Size() int { return xxx_messageInfo_CreateAccessKeyRequest.Size(m) @@ -249,16 +254,17 @@ func (m *CreateAccessKeyResponse) Reset() { *m = CreateAccessKeyResponse func (m *CreateAccessKeyResponse) String() string { return proto.CompactTextString(m) } func (*CreateAccessKeyResponse) ProtoMessage() {} func (*CreateAccessKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{4} + return fileDescriptor_82e7adea57f560ab, []int{4} } + func (m *CreateAccessKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateAccessKeyResponse.Unmarshal(m, b) } func (m *CreateAccessKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateAccessKeyResponse.Marshal(b, m, deterministic) } -func (dst *CreateAccessKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAccessKeyResponse.Merge(dst, src) +func (m *CreateAccessKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAccessKeyResponse.Merge(m, src) } func (m *CreateAccessKeyResponse) XXX_Size() int { return xxx_messageInfo_CreateAccessKeyResponse.Size(m) @@ -296,16 +302,17 @@ func (m *DeleteAccessKeyRequest) Reset() { *m = DeleteAccessKeyRequest{} func (m *DeleteAccessKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteAccessKeyRequest) ProtoMessage() {} func (*DeleteAccessKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_access_key_service_1bf1b5014c53758f, []int{5} + return fileDescriptor_82e7adea57f560ab, []int{5} } + func (m *DeleteAccessKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteAccessKeyRequest.Unmarshal(m, b) } func (m *DeleteAccessKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteAccessKeyRequest.Marshal(b, m, deterministic) } -func (dst *DeleteAccessKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAccessKeyRequest.Merge(dst, src) +func (m *DeleteAccessKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteAccessKeyRequest.Merge(m, src) } func (m *DeleteAccessKeyRequest) XXX_Size() int { return xxx_messageInfo_DeleteAccessKeyRequest.Size(m) @@ -332,6 +339,55 @@ func init() { proto.RegisterType((*DeleteAccessKeyRequest)(nil), "yandex.cloud.iam.v1.awscompatibility.DeleteAccessKeyRequest") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/awscompatibility/access_key_service.proto", fileDescriptor_82e7adea57f560ab) +} + +var fileDescriptor_82e7adea57f560ab = []byte{ + // 649 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xbf, 0x6e, 0x13, 0x4b, + 0x14, 0xc6, 0x35, 0x71, 0x62, 0xc5, 0xc7, 0x37, 0xba, 0xd1, 0x5c, 0x5d, 0x63, 0x19, 0x90, 0xa2, + 0x55, 0x14, 0x4c, 0x20, 0x3b, 0xde, 0x40, 0x22, 0x41, 0xec, 0x22, 0x01, 0x14, 0x05, 0x10, 0x8a, + 0x1c, 0x1a, 0xa0, 0xb0, 0xc6, 0xbb, 0x07, 0x33, 0x8a, 0xbd, 0xb3, 0x78, 0xc6, 0x4e, 0x1c, 0x94, + 0x02, 0xca, 0x94, 0xd0, 0x52, 0xf1, 0x02, 0xe9, 0x78, 0x85, 0xa4, 0xa2, 0xe1, 0x15, 0x28, 0x78, + 0x06, 0x2a, 0xb4, 0xb3, 0x6b, 0x3b, 0x7f, 0x5c, 0x6c, 0x5c, 0xee, 0x9c, 0xf9, 0xce, 0xf9, 0xe6, + 0x77, 0xce, 0xcc, 0x42, 0xa5, 0xc7, 0x7d, 0x0f, 0xf7, 0x99, 0xdb, 0x94, 0x1d, 0x8f, 0x09, 0xde, + 0x62, 0x5d, 0x87, 0xf1, 0x3d, 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99, 0xfb, 0x91, 0x93, 0x5c, 0x28, 0x8f, 0x27, 0x8e, 0x60, 0x5a, 0x77, 0x3f, 0xfd, 0xfc, + 0xf5, 0x65, 0x62, 0x81, 0xce, 0x9b, 0xcb, 0xcb, 0xf7, 0xd4, 0xd2, 0xf9, 0xab, 0x1b, 0x5e, 0xe7, + 0xe1, 0xf4, 0x1c, 0x13, 0x48, 0x6d, 0xa2, 0xa6, 0x0f, 0x92, 0xd5, 0x1c, 0x71, 0x89, 0x0b, 0x57, + 0xed, 0x94, 0x55, 0x36, 0x0e, 0x57, 0xe9, 0xfd, 0x24, 0x0e, 0xd9, 0x87, 0x73, 0x8d, 0x39, 0xa4, + 0xdf, 0x09, 0xa4, 0xa3, 0x41, 0xa2, 0x09, 0x41, 0x8d, 0x1e, 0xfb, 0x42, 0x65, 0x4c, 0x75, 0xcc, + 0x99, 0x99, 0x53, 0xdc, 0xb6, 0x12, 0x71, 0x7e, 0x48, 0x16, 0xe9, 0x57, 0x02, 0xe9, 0x68, 0xfc, + 0x92, 0x1a, 0x1f, 0x3d, 0xac, 0x85, 0x9c, 0x1d, 0x3d, 0xe0, 0x76, 0xff, 0x01, 0xb7, 0x9f, 0x84, + 0x0f, 0x78, 0x9f, 0xeb, 0xe2, 0x58, 0x5c, 0x37, 0xde, 0xbc, 0x7e, 0xd5, 0x10, 0xfa, 0x5d, 0xa7, + 0x6e, 0xbb, 0xb2, 0xc5, 0x22, 0x7f, 0x4b, 0xd1, 0x73, 0xde, 0x90, 0x4b, 0x0d, 0xf4, 0x4d, 0x35, + 0x96, 0xe4, 0xf7, 0xb0, 0x76, 0x71, 0xa1, 0x9e, 0x36, 0xe2, 0x7b, 0x7f, 0x03, 0x00, 0x00, 0xff, + 0xff, 0xaa, 0xd6, 0x8e, 0x16, 0xfe, 0x06, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -414,6 +470,23 @@ type AccessKeyServiceServer interface { Delete(context.Context, *DeleteAccessKeyRequest) (*empty.Empty, error) } +// UnimplementedAccessKeyServiceServer can be embedded to have forward compatible implementations. +type UnimplementedAccessKeyServiceServer struct { +} + +func (*UnimplementedAccessKeyServiceServer) List(ctx context.Context, req *ListAccessKeysRequest) (*ListAccessKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedAccessKeyServiceServer) Get(ctx context.Context, req *GetAccessKeyRequest) (*AccessKey, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedAccessKeyServiceServer) Create(ctx context.Context, req *CreateAccessKeyRequest) (*CreateAccessKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedAccessKeyServiceServer) Delete(ctx context.Context, req *DeleteAccessKeyRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterAccessKeyServiceServer(s *grpc.Server, srv AccessKeyServiceServer) { s.RegisterService(&_AccessKeyService_serviceDesc, srv) } @@ -514,52 +587,3 @@ var _AccessKeyService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/awscompatibility/access_key_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/awscompatibility/access_key_service.proto", fileDescriptor_access_key_service_1bf1b5014c53758f) -} - -var fileDescriptor_access_key_service_1bf1b5014c53758f = []byte{ - // 649 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xbf, 0x6e, 0x13, 0x4b, - 0x14, 0xc6, 0x35, 0x71, 0x62, 0xc5, 0xc7, 0x37, 0xba, 0xd1, 0x5c, 0x5d, 0x63, 0x19, 0x90, 0xa2, - 0x55, 0x14, 0x4c, 0x20, 0x3b, 0xde, 0x40, 0x22, 0x41, 0xec, 0x22, 0x01, 0x14, 0x05, 0x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x6d, 0x8b, 0x20, 0xec, 0x74, 0x54, 0xb5, 0x4f, - 0x64, 0x79, 0x65, 0xb5, 0x7a, 0x36, 0x6a, 0x7d, 0x24, 0x70, 0xed, 0x52, 0xfd, 0x18, 0xca, 0x0b, - 0x80, 0x21, 0x14, 0x53, 0x78, 0x0c, 0x26, 0x99, 0x01, 0x13, 0x9a, 0x83, 0xb4, 0x42, 0xb7, 0x8d, - 0x3a, 0x26, 0x11, 0x7f, 0x59, 0x4f, 0x21, 0xf7, 0x18, 0x9b, 0x38, 0x02, 0xc1, 0x95, 0x07, 0x71, - 0xf9, 0xc7, 0x14, 0xcc, 0x0e, 0xd2, 0xec, 0x44, 0x68, 0xe8, 0x31, 0x81, 0xc9, 0xb0, 0xf1, 0x74, - 0x2d, 0x99, 0xfb, 0x91, 0x93, 0x5c, 0x28, 0x8f, 0x27, 0x8e, 0x60, 0x5a, 0x77, 0x3f, 0xfd, 0xfc, - 0xf5, 0x65, 0x62, 0x81, 0xce, 0x9b, 0xcb, 0xcb, 0xf7, 0xd4, 0xd2, 0xf9, 0xab, 0x1b, 0x5e, 0xe7, - 0xe1, 0xf4, 0x1c, 0x13, 0x48, 0x6d, 0xa2, 0xa6, 0x0f, 0x92, 0xd5, 0x1c, 0x71, 0x89, 0x0b, 0x57, - 0xed, 0x94, 0x55, 0x36, 0x0e, 0x57, 0xe9, 0xfd, 0x24, 0x0e, 0xd9, 0x87, 0x73, 0x8d, 0x39, 0xa4, - 0xdf, 0x09, 0xa4, 0xa3, 0x41, 0xa2, 0x09, 0x41, 0x8d, 0x1e, 0xfb, 0x42, 0x65, 0x4c, 0x75, 0xcc, - 0x99, 0x99, 0x53, 0xdc, 0xb6, 0x12, 0x71, 0x7e, 0x48, 0x16, 0xe9, 0x57, 0x02, 0xe9, 0x68, 0xfc, - 0x92, 0x1a, 0x1f, 0x3d, 0xac, 0x85, 0x9c, 0x1d, 0x3d, 0xe0, 0x76, 0xff, 0x01, 0xb7, 0x9f, 0x84, - 0x0f, 0x78, 0x9f, 0xeb, 0xe2, 0x58, 0x5c, 0x37, 0xde, 0xbc, 0x7e, 0xd5, 0x10, 0xfa, 0x5d, 0xa7, - 0x6e, 0xbb, 0xb2, 0xc5, 0x22, 0x7f, 0x4b, 0xd1, 0x73, 0xde, 0x90, 0x4b, 0x0d, 0xf4, 0x4d, 0x35, - 0x96, 0xe4, 0xf7, 0xb0, 0x76, 0x71, 0xa1, 0x9e, 0x36, 0xe2, 0x7b, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xaa, 0xd6, 0x8e, 0x16, 0xfe, 0x06, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/iam_token_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/iam_token_service.pb.go index 4ed6fc73a..873f5138f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/iam_token_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/iam_token_service.pb.go @@ -1,18 +1,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/iam_token_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -24,7 +25,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type CreateIamTokenRequest struct { // Types that are valid to be assigned to Identity: @@ -40,16 +41,17 @@ func (m *CreateIamTokenRequest) Reset() { *m = CreateIamTokenRequest{} } func (m *CreateIamTokenRequest) String() string { return proto.CompactTextString(m) } func (*CreateIamTokenRequest) ProtoMessage() {} func (*CreateIamTokenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_token_service_021a8da7029cec45, []int{0} + return fileDescriptor_b373624a21e738a7, []int{0} } + func (m *CreateIamTokenRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIamTokenRequest.Unmarshal(m, b) } func (m *CreateIamTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateIamTokenRequest.Marshal(b, m, deterministic) } -func (dst *CreateIamTokenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIamTokenRequest.Merge(dst, src) +func (m *CreateIamTokenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateIamTokenRequest.Merge(m, src) } func (m *CreateIamTokenRequest) XXX_Size() int { return xxx_messageInfo_CreateIamTokenRequest.Size(m) @@ -97,79 +99,21 @@ func (m *CreateIamTokenRequest) GetJwt() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*CreateIamTokenRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _CreateIamTokenRequest_OneofMarshaler, _CreateIamTokenRequest_OneofUnmarshaler, _CreateIamTokenRequest_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CreateIamTokenRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*CreateIamTokenRequest_YandexPassportOauthToken)(nil), (*CreateIamTokenRequest_Jwt)(nil), } } -func _CreateIamTokenRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*CreateIamTokenRequest) - // identity - switch x := m.Identity.(type) { - case *CreateIamTokenRequest_YandexPassportOauthToken: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.YandexPassportOauthToken) - case *CreateIamTokenRequest_Jwt: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.Jwt) - case nil: - default: - return fmt.Errorf("CreateIamTokenRequest.Identity has unexpected type %T", x) - } - return nil -} - -func _CreateIamTokenRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*CreateIamTokenRequest) - switch tag { - case 1: // identity.yandex_passport_oauth_token - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Identity = &CreateIamTokenRequest_YandexPassportOauthToken{x} - return true, err - case 2: // identity.jwt - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Identity = &CreateIamTokenRequest_Jwt{x} - return true, err - default: - return false, nil - } -} - -func _CreateIamTokenRequest_OneofSizer(msg proto.Message) (n int) { - m := msg.(*CreateIamTokenRequest) - // identity - switch x := m.Identity.(type) { - case *CreateIamTokenRequest_YandexPassportOauthToken: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.YandexPassportOauthToken))) - n += len(x.YandexPassportOauthToken) - case *CreateIamTokenRequest_Jwt: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.Jwt))) - n += len(x.Jwt) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type CreateIamTokenResponse struct { // IAM token for the specified identity. // // You should pass the token in the `Authorization` header for any further API requests. // For example, `Authorization: Bearer [iam_token]`. IamToken string `protobuf:"bytes,1,opt,name=iam_token,json=iamToken,proto3" json:"iam_token,omitempty"` - // IAM token expiration time, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // IAM token expiration time. ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -180,16 +124,17 @@ func (m *CreateIamTokenResponse) Reset() { *m = CreateIamTokenResponse{} func (m *CreateIamTokenResponse) String() string { return proto.CompactTextString(m) } func (*CreateIamTokenResponse) ProtoMessage() {} func (*CreateIamTokenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_iam_token_service_021a8da7029cec45, []int{1} + return fileDescriptor_b373624a21e738a7, []int{1} } + func (m *CreateIamTokenResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateIamTokenResponse.Unmarshal(m, b) } func (m *CreateIamTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateIamTokenResponse.Marshal(b, m, deterministic) } -func (dst *CreateIamTokenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateIamTokenResponse.Merge(dst, src) +func (m *CreateIamTokenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateIamTokenResponse.Merge(m, src) } func (m *CreateIamTokenResponse) XXX_Size() int { return xxx_messageInfo_CreateIamTokenResponse.Size(m) @@ -219,6 +164,38 @@ func init() { proto.RegisterType((*CreateIamTokenResponse)(nil), "yandex.cloud.iam.v1.CreateIamTokenResponse") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/iam_token_service.proto", fileDescriptor_b373624a21e738a7) +} + +var fileDescriptor_b373624a21e738a7 = []byte{ + // 382 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4e, 0xdb, 0x30, + 0x18, 0xc7, 0x97, 0x6e, 0xaa, 0x5a, 0x4f, 0xda, 0x26, 0x57, 0x9b, 0xba, 0x74, 0xd3, 0xa6, 0x9c, + 0x50, 0xab, 0xda, 0x6a, 0x39, 0x41, 0x85, 0x10, 0xe5, 0x02, 0x27, 0x50, 0xe8, 0x89, 0x4b, 0xe4, + 0x36, 0x26, 0x35, 0x34, 0xb6, 0x89, 0xbf, 0x84, 0x56, 0x42, 0x1c, 0x78, 0x01, 0x0e, 0xbc, 0x10, + 0x3c, 0x03, 0xaf, 0xc0, 0x83, 0xa0, 0xc4, 0x09, 0x12, 0xa8, 0x07, 0x4e, 0x96, 0xf5, 0xfd, 0xfc, + 0xfd, 0xff, 0xdf, 0xdf, 0x1f, 0xea, 0xad, 0x98, 0x0c, 0xf9, 0x92, 0xce, 0x16, 0x2a, 0x0d, 0xa9, + 0x60, 0x31, 0xcd, 0x06, 0xf9, 0x11, 0x80, 0xba, 0xe0, 0x32, 0x30, 0x3c, 0xc9, 0xc4, 0x8c, 0x13, + 0x9d, 0x28, 0x50, 0xb8, 0x65, 0x61, 0x52, 0xc0, 0x44, 0xb0, 0x98, 0x64, 0x03, 0xf7, 0x4f, 0xa4, + 0x54, 0xb4, 0xe0, 0x94, 0x69, 0x41, 0x99, 0x94, 0x0a, 0x18, 0x08, 0x25, 0x8d, 0x7d, 0xe2, 0xfe, + 0x2b, 0xab, 0xc5, 0x6d, 0x9a, 0x9e, 0x51, 0x10, 0x31, 0x37, 0xc0, 0x62, 0x5d, 0x02, 0x7f, 0xdf, + 0x18, 0xc8, 0xd8, 0x42, 0x84, 0x45, 0x03, 0x5b, 0xf6, 0x6e, 0xd0, 0xcf, 0xfd, 0x84, 0x33, 0xe0, + 0x87, 0x2c, 0x9e, 0xe4, 0x96, 0x7c, 0x7e, 0x99, 0x72, 0x03, 0x78, 0x17, 0x75, 0xec, 0xcb, 0x40, + 0x33, 0x63, 0xb4, 0x4a, 0x20, 0x50, 0x2c, 0x85, 0xb9, 0x35, 0xde, 0x76, 0xfe, 0x3b, 0x1b, 0xcd, + 0x83, 0x4f, 0x7e, 0xdb, 0x42, 0xc7, 0x25, 0x73, 0x94, 0x23, 0x45, 0x1f, 0x8c, 0xd1, 0xe7, 0xf3, + 0x2b, 0x68, 0xd7, 0x4a, 0x30, 0xbf, 0x8c, 0x7f, 0xa0, 0x86, 0x08, 0xb9, 0x04, 0x01, 0x2b, 0xfc, + 0xe5, 0xe1, 0x71, 0xe0, 0x78, 0x1a, 0xfd, 0x7a, 0xaf, 0x6f, 0xb4, 0x92, 0x86, 0xe3, 0x0e, 0x6a, + 0xbe, 0xe6, 0x64, 0xe5, 0xfc, 0x86, 0x28, 0x21, 0xbc, 0x85, 0x10, 0x5f, 0x6a, 0x91, 0x70, 0x13, + 0x30, 0xab, 0xf1, 0x75, 0xe8, 0x12, 0x9b, 0x05, 0xa9, 0xb2, 0x20, 0x93, 0x2a, 0x0b, 0xbf, 0x59, + 0xd2, 0x7b, 0x30, 0xbc, 0x73, 0xd0, 0xf7, 0x4a, 0xec, 0xc4, 0xc6, 0x8f, 0xaf, 0x51, 0xdd, 0xba, + 0xc0, 0x5d, 0xb2, 0xe6, 0x0f, 0xc8, 0xda, 0x88, 0xdc, 0xde, 0x87, 0x58, 0x3b, 0x8e, 0xf7, 0xfb, + 0xf6, 0xe9, 0xf9, 0xbe, 0xd6, 0xf2, 0xbe, 0x55, 0x4b, 0x50, 0x0c, 0x66, 0xb6, 0x9d, 0xee, 0x78, + 0xe7, 0x74, 0x14, 0x09, 0x98, 0xa7, 0x53, 0x32, 0x53, 0x31, 0xb5, 0x3d, 0xfb, 0xf6, 0xbf, 0x22, + 0xd5, 0x8f, 0xb8, 0x2c, 0x06, 0xa2, 0x6b, 0x36, 0x69, 0x24, 0x58, 0x3c, 0xad, 0x17, 0xe5, 0xcd, + 0x97, 0x00, 0x00, 0x00, 0xff, 0xff, 0xda, 0xac, 0x14, 0x7c, 0x6b, 0x02, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -258,6 +235,14 @@ type IamTokenServiceServer interface { Create(context.Context, *CreateIamTokenRequest) (*CreateIamTokenResponse, error) } +// UnimplementedIamTokenServiceServer can be embedded to have forward compatible implementations. +type UnimplementedIamTokenServiceServer struct { +} + +func (*UnimplementedIamTokenServiceServer) Create(ctx context.Context, req *CreateIamTokenRequest) (*CreateIamTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} + func RegisterIamTokenServiceServer(s *grpc.Server, srv IamTokenServiceServer) { s.RegisterService(&_IamTokenService_serviceDesc, srv) } @@ -292,35 +277,3 @@ var _IamTokenService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/iam_token_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/iam_token_service.proto", fileDescriptor_iam_token_service_021a8da7029cec45) -} - -var fileDescriptor_iam_token_service_021a8da7029cec45 = []byte{ - // 382 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4e, 0xdb, 0x30, - 0x18, 0xc7, 0x97, 0x6e, 0xaa, 0x5a, 0x4f, 0xda, 0x26, 0x57, 0x9b, 0xba, 0x74, 0xd3, 0xa6, 0x9c, - 0x50, 0xab, 0xda, 0x6a, 0x39, 0x41, 0x85, 0x10, 0xe5, 0x02, 0x27, 0x50, 0xe8, 0x89, 0x4b, 0xe4, - 0x36, 0x26, 0x35, 0x34, 0xb6, 0x89, 0xbf, 0x84, 0x56, 0x42, 0x1c, 0x78, 0x01, 0x0e, 0xbc, 0x10, - 0x3c, 0x03, 0xaf, 0xc0, 0x83, 0xa0, 0xc4, 0x09, 0x12, 0xa8, 0x07, 0x4e, 0x96, 0xf5, 0xfd, 0xfc, - 0xfd, 0xff, 0xdf, 0xdf, 0x1f, 0xea, 0xad, 0x98, 0x0c, 0xf9, 0x92, 0xce, 0x16, 0x2a, 0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, 0x9b, 0x05, 0xa9, 0xb2, 0x20, 0x93, 0x2a, 0x0b, 0xbf, 0x59, - 0xd2, 0x7b, 0x30, 0xbc, 0x73, 0xd0, 0xf7, 0x4a, 0xec, 0xc4, 0xc6, 0x8f, 0xaf, 0x51, 0xdd, 0xba, - 0xc0, 0x5d, 0xb2, 0xe6, 0x0f, 0xc8, 0xda, 0x88, 0xdc, 0xde, 0x87, 0x58, 0x3b, 0x8e, 0xf7, 0xfb, - 0xf6, 0xe9, 0xf9, 0xbe, 0xd6, 0xf2, 0xbe, 0x55, 0x4b, 0x50, 0x0c, 0x66, 0xb6, 0x9d, 0xee, 0x78, - 0xe7, 0x74, 0x14, 0x09, 0x98, 0xa7, 0x53, 0x32, 0x53, 0x31, 0xb5, 0x3d, 0xfb, 0xf6, 0xbf, 0x22, - 0xd5, 0x8f, 0xb8, 0x2c, 0x06, 0xa2, 0x6b, 0x36, 0x69, 0x24, 0x58, 0x3c, 0xad, 0x17, 0xe5, 0xcd, - 0x97, 0x00, 0x00, 0x00, 0xff, 0xff, 0xda, 0xac, 0x14, 0x7c, 0x6b, 0x02, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key.pb.go index 6a780526e..79cb513c8 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/key.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" +package iam -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Key_Algorithm int32 @@ -34,6 +36,7 @@ var Key_Algorithm_name = map[int32]string{ 1: "RSA_2048", 2: "RSA_4096", } + var Key_Algorithm_value = map[string]int32{ "ALGORITHM_UNSPECIFIED": 0, "RSA_2048": 1, @@ -43,8 +46,9 @@ var Key_Algorithm_value = map[string]int32{ func (x Key_Algorithm) String() string { return proto.EnumName(Key_Algorithm_name, int32(x)) } + func (Key_Algorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_key_8778cd8d03fc7198, []int{0, 0} + return fileDescriptor_d3c4378eab1afe9e, []int{0, 0} } // A Key resource. For more information, see [Authorized keys](/docs/iam/concepts/authorization/key). @@ -55,7 +59,7 @@ type Key struct { // *Key_UserAccountId // *Key_ServiceAccountId Subject isKey_Subject `protobuf_oneof:"subject"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Description of the Key resource. 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` @@ -72,16 +76,17 @@ func (m *Key) Reset() { *m = Key{} } func (m *Key) String() string { return proto.CompactTextString(m) } func (*Key) ProtoMessage() {} func (*Key) Descriptor() ([]byte, []int) { - return fileDescriptor_key_8778cd8d03fc7198, []int{0} + return fileDescriptor_d3c4378eab1afe9e, []int{0} } + func (m *Key) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Key.Unmarshal(m, b) } func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Key.Marshal(b, m, deterministic) } -func (dst *Key) XXX_Merge(src proto.Message) { - xxx_messageInfo_Key.Merge(dst, src) +func (m *Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_Key.Merge(m, src) } func (m *Key) XXX_Size() int { return xxx_messageInfo_Key.Size(m) @@ -164,80 +169,22 @@ func (m *Key) GetPublicKey() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Key) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Key_OneofMarshaler, _Key_OneofUnmarshaler, _Key_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Key) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*Key_UserAccountId)(nil), (*Key_ServiceAccountId)(nil), } } -func _Key_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Key) - // subject - switch x := m.Subject.(type) { - case *Key_UserAccountId: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.UserAccountId) - case *Key_ServiceAccountId: - b.EncodeVarint(3<<3 | proto.WireBytes) - b.EncodeStringBytes(x.ServiceAccountId) - case nil: - default: - return fmt.Errorf("Key.Subject has unexpected type %T", x) - } - return nil -} - -func _Key_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Key) - switch tag { - case 2: // subject.user_account_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Subject = &Key_UserAccountId{x} - return true, err - case 3: // subject.service_account_id - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Subject = &Key_ServiceAccountId{x} - return true, err - default: - return false, nil - } -} - -func _Key_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Key) - // subject - switch x := m.Subject.(type) { - case *Key_UserAccountId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.UserAccountId))) - n += len(x.UserAccountId) - case *Key_ServiceAccountId: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.ServiceAccountId))) - n += len(x.ServiceAccountId) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { - proto.RegisterType((*Key)(nil), "yandex.cloud.iam.v1.Key") proto.RegisterEnum("yandex.cloud.iam.v1.Key_Algorithm", Key_Algorithm_name, Key_Algorithm_value) + proto.RegisterType((*Key)(nil), "yandex.cloud.iam.v1.Key") } -func init() { proto.RegisterFile("yandex/cloud/iam/v1/key.proto", fileDescriptor_key_8778cd8d03fc7198) } +func init() { proto.RegisterFile("yandex/cloud/iam/v1/key.proto", fileDescriptor_d3c4378eab1afe9e) } -var fileDescriptor_key_8778cd8d03fc7198 = []byte{ +var fileDescriptor_d3c4378eab1afe9e = []byte{ // 384 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x4b, 0x6f, 0xd4, 0x30, 0x14, 0x85, 0x9b, 0x0c, 0xb4, 0xc4, 0x7d, 0x10, 0x19, 0x21, 0x85, 0x4a, 0x15, 0xd1, 0xac, 0xb2, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key_service.pb.go index ff2655973..fd21095f5 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/key_service.pb.go @@ -1,18 +1,19 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/key_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import empty "github.com/golang/protobuf/ptypes/empty" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + empty "github.com/golang/protobuf/ptypes/empty" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -24,7 +25,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type KeyFormat int32 @@ -36,6 +37,7 @@ const ( var KeyFormat_name = map[int32]string{ 0: "PEM_FILE", } + var KeyFormat_value = map[string]int32{ "PEM_FILE": 0, } @@ -43,8 +45,9 @@ var KeyFormat_value = map[string]int32{ func (x KeyFormat) String() string { return proto.EnumName(KeyFormat_name, int32(x)) } + func (KeyFormat) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{0} + return fileDescriptor_dce2d1f6e04851f2, []int{0} } type GetKeyRequest struct { @@ -62,16 +65,17 @@ func (m *GetKeyRequest) Reset() { *m = GetKeyRequest{} } func (m *GetKeyRequest) String() string { return proto.CompactTextString(m) } func (*GetKeyRequest) ProtoMessage() {} func (*GetKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{0} + return fileDescriptor_dce2d1f6e04851f2, []int{0} } + func (m *GetKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetKeyRequest.Unmarshal(m, b) } func (m *GetKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetKeyRequest.Marshal(b, m, deterministic) } -func (dst *GetKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetKeyRequest.Merge(dst, src) +func (m *GetKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetKeyRequest.Merge(m, src) } func (m *GetKeyRequest) XXX_Size() int { return xxx_messageInfo_GetKeyRequest.Size(m) @@ -121,16 +125,17 @@ func (m *ListKeysRequest) Reset() { *m = ListKeysRequest{} } func (m *ListKeysRequest) String() string { return proto.CompactTextString(m) } func (*ListKeysRequest) ProtoMessage() {} func (*ListKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{1} + return fileDescriptor_dce2d1f6e04851f2, []int{1} } + func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKeysRequest.Unmarshal(m, b) } func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListKeysRequest.Marshal(b, m, deterministic) } -func (dst *ListKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListKeysRequest.Merge(dst, src) +func (m *ListKeysRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListKeysRequest.Merge(m, src) } func (m *ListKeysRequest) XXX_Size() int { return xxx_messageInfo_ListKeysRequest.Size(m) @@ -188,16 +193,17 @@ func (m *ListKeysResponse) Reset() { *m = ListKeysResponse{} } func (m *ListKeysResponse) String() string { return proto.CompactTextString(m) } func (*ListKeysResponse) ProtoMessage() {} func (*ListKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{2} + return fileDescriptor_dce2d1f6e04851f2, []int{2} } + func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListKeysResponse.Unmarshal(m, b) } func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListKeysResponse.Marshal(b, m, deterministic) } -func (dst *ListKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListKeysResponse.Merge(dst, src) +func (m *ListKeysResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListKeysResponse.Merge(m, src) } func (m *ListKeysResponse) XXX_Size() int { return xxx_messageInfo_ListKeysResponse.Size(m) @@ -242,16 +248,17 @@ func (m *CreateKeyRequest) Reset() { *m = CreateKeyRequest{} } func (m *CreateKeyRequest) String() string { return proto.CompactTextString(m) } func (*CreateKeyRequest) ProtoMessage() {} func (*CreateKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{3} + return fileDescriptor_dce2d1f6e04851f2, []int{3} } + func (m *CreateKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateKeyRequest.Unmarshal(m, b) } func (m *CreateKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateKeyRequest.Marshal(b, m, deterministic) } -func (dst *CreateKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateKeyRequest.Merge(dst, src) +func (m *CreateKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateKeyRequest.Merge(m, src) } func (m *CreateKeyRequest) XXX_Size() int { return xxx_messageInfo_CreateKeyRequest.Size(m) @@ -305,16 +312,17 @@ func (m *CreateKeyResponse) Reset() { *m = CreateKeyResponse{} } func (m *CreateKeyResponse) String() string { return proto.CompactTextString(m) } func (*CreateKeyResponse) ProtoMessage() {} func (*CreateKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{4} + return fileDescriptor_dce2d1f6e04851f2, []int{4} } + func (m *CreateKeyResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateKeyResponse.Unmarshal(m, b) } func (m *CreateKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateKeyResponse.Marshal(b, m, deterministic) } -func (dst *CreateKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateKeyResponse.Merge(dst, src) +func (m *CreateKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateKeyResponse.Merge(m, src) } func (m *CreateKeyResponse) XXX_Size() int { return xxx_messageInfo_CreateKeyResponse.Size(m) @@ -352,16 +360,17 @@ func (m *DeleteKeyRequest) Reset() { *m = DeleteKeyRequest{} } func (m *DeleteKeyRequest) String() string { return proto.CompactTextString(m) } func (*DeleteKeyRequest) ProtoMessage() {} func (*DeleteKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_key_service_16d84045cfb780d5, []int{5} + return fileDescriptor_dce2d1f6e04851f2, []int{5} } + func (m *DeleteKeyRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteKeyRequest.Unmarshal(m, b) } func (m *DeleteKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteKeyRequest.Marshal(b, m, deterministic) } -func (dst *DeleteKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteKeyRequest.Merge(dst, src) +func (m *DeleteKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteKeyRequest.Merge(m, src) } func (m *DeleteKeyRequest) XXX_Size() int { return xxx_messageInfo_DeleteKeyRequest.Size(m) @@ -380,13 +389,64 @@ func (m *DeleteKeyRequest) GetKeyId() string { } func init() { + proto.RegisterEnum("yandex.cloud.iam.v1.KeyFormat", KeyFormat_name, KeyFormat_value) proto.RegisterType((*GetKeyRequest)(nil), "yandex.cloud.iam.v1.GetKeyRequest") proto.RegisterType((*ListKeysRequest)(nil), "yandex.cloud.iam.v1.ListKeysRequest") proto.RegisterType((*ListKeysResponse)(nil), "yandex.cloud.iam.v1.ListKeysResponse") proto.RegisterType((*CreateKeyRequest)(nil), "yandex.cloud.iam.v1.CreateKeyRequest") proto.RegisterType((*CreateKeyResponse)(nil), "yandex.cloud.iam.v1.CreateKeyResponse") proto.RegisterType((*DeleteKeyRequest)(nil), "yandex.cloud.iam.v1.DeleteKeyRequest") - proto.RegisterEnum("yandex.cloud.iam.v1.KeyFormat", KeyFormat_name, KeyFormat_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/key_service.proto", fileDescriptor_dce2d1f6e04851f2) +} + +var fileDescriptor_dce2d1f6e04851f2 = []byte{ + // 685 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x53, 0xd3, 0x5c, + 0x14, 0xfd, 0x42, 0x4b, 0x87, 0x5e, 0x0a, 0x94, 0xf7, 0xa9, 0xd4, 0x2a, 0xda, 0x89, 0x82, 0x9d, + 0x2a, 0x49, 0x5b, 0x07, 0x9c, 0x11, 0x58, 0x80, 0x02, 0xc3, 0x14, 0x67, 0x98, 0xe0, 0xca, 0x4d, + 0x7d, 0x6d, 0x2f, 0xe5, 0x4d, 0x9b, 0xbc, 0x98, 0xbc, 0x76, 0x08, 0x8e, 0x1b, 0x97, 0x6c, 0xfd, + 0x2d, 0xfe, 0x06, 0xd8, 0xeb, 0x4f, 0x70, 0xe1, 0x4f, 0x70, 0x5c, 0x39, 0x79, 0x49, 0x4b, 0x60, + 0x52, 0x91, 0x65, 0x72, 0xcf, 0x3b, 0xe7, 0x9e, 0x73, 0xdf, 0xbb, 0xb0, 0xe0, 0x51, 0xab, 0x85, + 0xc7, 0x7a, 0xb3, 0xcb, 0x7b, 0x2d, 0x9d, 0x51, 0x53, 0xef, 0x57, 0xf4, 0x0e, 0x7a, 0x75, 0x17, + 0x9d, 0x3e, 0x6b, 0xa2, 0x66, 0x3b, 0x5c, 0x70, 0xf2, 0x7f, 0x00, 0xd3, 0x24, 0x4c, 0x63, 0xd4, + 0xd4, 0xfa, 0x95, 0xfc, 0xfd, 0x36, 0xe7, 0xed, 0x2e, 0xea, 0xd4, 0x66, 0x3a, 0xb5, 0x2c, 0x2e, + 0xa8, 0x60, 0xdc, 0x72, 0x83, 0x23, 0xf9, 0x7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, 0xfe, 0x57, 0xfd, 0x9a, 0x00, 0xa8, 0xa1, 0x77, 0x10, 0x64, 0x4f, 0x1a, + 0x90, 0xd8, 0x41, 0x41, 0xe2, 0xdd, 0x5f, 0x7a, 0x88, 0xf9, 0x91, 0x6e, 0xd4, 0xf9, 0xcf, 0xdf, + 0x7e, 0x7c, 0x19, 0x9b, 0x23, 0xb7, 0x23, 0xaf, 0xdd, 0xd5, 0x3f, 0x06, 0x7d, 0x7e, 0x22, 0x0c, + 0x92, 0xfe, 0x6d, 0x24, 0x8f, 0x63, 0x09, 0xae, 0x3c, 0xbf, 0xfc, 0xc2, 0x35, 0xa8, 0x20, 0x68, + 0xf5, 0x96, 0xd4, 0x9c, 0x26, 0x99, 0xa8, 0x26, 0xb1, 0x21, 0x15, 0xcc, 0x84, 0xc4, 0xd3, 0x5c, + 0xbd, 0xaa, 0xf9, 0xc5, 0xeb, 0x60, 0xa1, 0xdc, 0x9c, 0x94, 0x9b, 0x55, 0x2f, 0xc9, 0xbd, 0x54, + 0x4a, 0xe4, 0x10, 0x52, 0xc1, 0x8c, 0x46, 0x28, 0x5e, 0x1d, 0x60, 0xfe, 0x8e, 0x16, 0x2c, 0x4f, + 0x6d, 0xb0, 0x3c, 0xb5, 0x2d, 0x7f, 0x79, 0x0e, 0x42, 0x2c, 0xc5, 0x87, 0xb8, 0xb9, 0xfe, 0x6e, + 0xb5, 0xcd, 0xc4, 0x51, 0xaf, 0xa1, 0x35, 0xb9, 0xa9, 0x07, 0x4a, 0x4b, 0xc1, 0x0e, 0x6d, 0xf3, + 0xa5, 0x36, 0x5a, 0x92, 0x4e, 0x8f, 0xd9, 0xbd, 0xab, 0x8c, 0x9a, 0x8d, 0x94, 0x2c, 0x3f, 0xff, + 0x13, 0x00, 0x00, 0xff, 0xff, 0xca, 0x77, 0xed, 0xa5, 0x14, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -471,6 +531,23 @@ type KeyServiceServer interface { Delete(context.Context, *DeleteKeyRequest) (*empty.Empty, error) } +// UnimplementedKeyServiceServer can be embedded to have forward compatible implementations. +type UnimplementedKeyServiceServer struct { +} + +func (*UnimplementedKeyServiceServer) Get(ctx context.Context, req *GetKeyRequest) (*Key, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedKeyServiceServer) List(ctx context.Context, req *ListKeysRequest) (*ListKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedKeyServiceServer) Create(ctx context.Context, req *CreateKeyRequest) (*CreateKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedKeyServiceServer) Delete(ctx context.Context, req *DeleteKeyRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterKeyServiceServer(s *grpc.Server, srv KeyServiceServer) { s.RegisterService(&_KeyService_serviceDesc, srv) } @@ -571,54 +648,3 @@ var _KeyService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/key_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/key_service.proto", fileDescriptor_key_service_16d84045cfb780d5) -} - -var fileDescriptor_key_service_16d84045cfb780d5 = []byte{ - // 685 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x53, 0xd3, 0x5c, - 0x14, 0xfd, 0x42, 0x4b, 0x87, 0x5e, 0x0a, 0x94, 0xf7, 0xa9, 0xd4, 0x2a, 0xda, 0x89, 0x82, 0x9d, - 0x2a, 0x49, 0x5b, 0x07, 0x9c, 0x11, 0x58, 0x80, 0x02, 0xc3, 0x14, 0x67, 0x98, 0xe0, 0xca, 0x4d, - 0x7d, 0x6d, 0x2f, 0xe5, 0x4d, 0x9b, 0xbc, 0x98, 0xbc, 0x76, 0x08, 0x8e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x2f, 0xc9, 0xbd, 0x54, - 0x4a, 0xe4, 0x10, 0x52, 0xc1, 0x8c, 0x46, 0x28, 0x5e, 0x1d, 0x60, 0xfe, 0x8e, 0x16, 0x2c, 0x4f, - 0x6d, 0xb0, 0x3c, 0xb5, 0x2d, 0x7f, 0x79, 0x0e, 0x42, 0x2c, 0xc5, 0x87, 0xb8, 0xb9, 0xfe, 0x6e, - 0xb5, 0xcd, 0xc4, 0x51, 0xaf, 0xa1, 0x35, 0xb9, 0xa9, 0x07, 0x4a, 0x4b, 0xc1, 0x0e, 0x6d, 0xf3, - 0xa5, 0x36, 0x5a, 0x92, 0x4e, 0x8f, 0xd9, 0xbd, 0xab, 0x8c, 0x9a, 0x8d, 0x94, 0x2c, 0x3f, 0xff, - 0x13, 0x00, 0x00, 0xff, 0xff, 0xca, 0x77, 0xed, 0xa5, 0x14, 0x06, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role.pb.go index 7d1f65b2d..dd1752c80 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/role.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" +package iam -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Role resource. For more information, see [Roles](/docs/iam/concepts/access-control/roles). type Role struct { @@ -33,16 +35,17 @@ func (m *Role) Reset() { *m = Role{} } func (m *Role) String() string { return proto.CompactTextString(m) } func (*Role) ProtoMessage() {} func (*Role) Descriptor() ([]byte, []int) { - return fileDescriptor_role_656bcd2fea39e7f2, []int{0} + return fileDescriptor_1c9c017dca8060cc, []int{0} } + func (m *Role) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Role.Unmarshal(m, b) } func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Role.Marshal(b, m, deterministic) } -func (dst *Role) XXX_Merge(src proto.Message) { - xxx_messageInfo_Role.Merge(dst, src) +func (m *Role) XXX_Merge(src proto.Message) { + xxx_messageInfo_Role.Merge(m, src) } func (m *Role) XXX_Size() int { return xxx_messageInfo_Role.Size(m) @@ -71,11 +74,9 @@ func init() { proto.RegisterType((*Role)(nil), "yandex.cloud.iam.v1.Role") } -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/role.proto", fileDescriptor_role_656bcd2fea39e7f2) -} +func init() { proto.RegisterFile("yandex/cloud/iam/v1/role.proto", fileDescriptor_1c9c017dca8060cc) } -var fileDescriptor_role_656bcd2fea39e7f2 = []byte{ +var fileDescriptor_1c9c017dca8060cc = []byte{ // 155 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xab, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role_service.pb.go index 51b4a8c8f..982a40187 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/role_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/role_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetRoleRequest struct { // ID of the Role resource to return. @@ -38,16 +39,17 @@ func (m *GetRoleRequest) Reset() { *m = GetRoleRequest{} } func (m *GetRoleRequest) String() string { return proto.CompactTextString(m) } func (*GetRoleRequest) ProtoMessage() {} func (*GetRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_role_service_e49934510c2989c5, []int{0} + return fileDescriptor_f5f653f182a3525c, []int{0} } + func (m *GetRoleRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRoleRequest.Unmarshal(m, b) } func (m *GetRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetRoleRequest.Marshal(b, m, deterministic) } -func (dst *GetRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRoleRequest.Merge(dst, src) +func (m *GetRoleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRoleRequest.Merge(m, src) } func (m *GetRoleRequest) XXX_Size() int { return xxx_messageInfo_GetRoleRequest.Size(m) @@ -87,16 +89,17 @@ func (m *ListRolesRequest) Reset() { *m = ListRolesRequest{} } func (m *ListRolesRequest) String() string { return proto.CompactTextString(m) } func (*ListRolesRequest) ProtoMessage() {} func (*ListRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_role_service_e49934510c2989c5, []int{1} + return fileDescriptor_f5f653f182a3525c, []int{1} } + func (m *ListRolesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRolesRequest.Unmarshal(m, b) } func (m *ListRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRolesRequest.Marshal(b, m, deterministic) } -func (dst *ListRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRolesRequest.Merge(dst, src) +func (m *ListRolesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRolesRequest.Merge(m, src) } func (m *ListRolesRequest) XXX_Size() int { return xxx_messageInfo_ListRolesRequest.Size(m) @@ -147,16 +150,17 @@ func (m *ListRolesResponse) Reset() { *m = ListRolesResponse{} } func (m *ListRolesResponse) String() string { return proto.CompactTextString(m) } func (*ListRolesResponse) ProtoMessage() {} func (*ListRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_role_service_e49934510c2989c5, []int{2} + return fileDescriptor_f5f653f182a3525c, []int{2} } + func (m *ListRolesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRolesResponse.Unmarshal(m, b) } func (m *ListRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRolesResponse.Marshal(b, m, deterministic) } -func (dst *ListRolesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRolesResponse.Merge(dst, src) +func (m *ListRolesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRolesResponse.Merge(m, src) } func (m *ListRolesResponse) XXX_Size() int { return xxx_messageInfo_ListRolesResponse.Size(m) @@ -187,6 +191,41 @@ func init() { proto.RegisterType((*ListRolesResponse)(nil), "yandex.cloud.iam.v1.ListRolesResponse") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/role_service.proto", fileDescriptor_f5f653f182a3525c) +} + +var fileDescriptor_f5f653f182a3525c = []byte{ + // 431 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3f, 0x6f, 0xd3, 0x40, + 0x14, 0x97, 0x9b, 0x36, 0x90, 0x57, 0x4a, 0xe1, 0x10, 0xc2, 0xb5, 0xf8, 0x53, 0x19, 0x35, 0x64, + 0xa9, 0xcf, 0x2e, 0x42, 0x0c, 0x6d, 0x96, 0x2c, 0x15, 0x12, 0x03, 0x72, 0x99, 0x58, 0xa2, 0x6b, + 0xfc, 0x6a, 0x4e, 0x9c, 0xef, 0x8c, 0xef, 0x62, 0x95, 0x22, 0x16, 0x36, 0xb2, 0xf2, 0xa1, 0x9a, + 0x9d, 0x8f, 0x00, 0x03, 0x9f, 0x81, 0x09, 0xf9, 0x2e, 0x45, 0x4d, 0xe5, 0x8a, 0xf5, 0x7e, 0x7f, + 0xef, 0xbd, 0x07, 0xfd, 0x4f, 0x4c, 0x66, 0x78, 0x4a, 0x27, 0x42, 0x4d, 0x33, 0xca, 0x59, 0x41, + 0xeb, 0x84, 0x56, 0x4a, 0xe0, 0x58, 0x63, 0x55, 0xf3, 0x09, 0x46, 0x65, 0xa5, 0x8c, 0x22, 0xf7, + 0x1c, 0x2f, 0xb2, 0xbc, 0x88, 0xb3, 0x22, 0xaa, 0x93, 0xe0, 0x61, 0xae, 0x54, 0x2e, 0x90, 0xb2, + 0x92, 0x53, 0x26, 0xa5, 0x32, 0xcc, 0x70, 0x25, 0xb5, 0x93, 0x04, 0x8f, 0x96, 0xac, 0x6b, 0x26, + 0x78, 0x66, 0xf1,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0x09, 0x74, 0x0e, 0xd1, 0x90, 0xa7, 0xad, 0x01, 0xcb, 0xc3, + 0x0d, 0xae, 0x6f, 0x11, 0x3e, 0xf9, 0xfa, 0xe3, 0xd7, 0xf7, 0x95, 0x2d, 0xf2, 0xe0, 0xf2, 0x96, + 0x34, 0xfd, 0xbc, 0x58, 0xc6, 0x17, 0x22, 0x60, 0xb5, 0xf9, 0x25, 0xd9, 0x69, 0xf5, 0xb8, 0xba, + 0x8b, 0xa0, 0xff, 0x3f, 0x9a, 0x9b, 0x53, 0x78, 0xdf, 0xe6, 0x6e, 0x92, 0x8d, 0xa5, 0xdc, 0xd1, + 0xf0, 0xdd, 0x7e, 0xce, 0xcd, 0xfb, 0xe9, 0x71, 0x34, 0x51, 0x05, 0x75, 0x56, 0xbb, 0xee, 0x8a, + 0x72, 0xb5, 0x9b, 0xa3, 0xb4, 0xf7, 0x43, 0x5b, 0xce, 0x6b, 0x9f, 0xb3, 0xe2, 0xb8, 0x6b, 0xe1, + 0xe7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x85, 0xbc, 0xc9, 0x90, 0xfa, 0x02, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -243,6 +282,17 @@ type RoleServiceServer interface { List(context.Context, *ListRolesRequest) (*ListRolesResponse, error) } +// UnimplementedRoleServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRoleServiceServer struct { +} + +func (*UnimplementedRoleServiceServer) Get(ctx context.Context, req *GetRoleRequest) (*Role, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedRoleServiceServer) List(ctx context.Context, req *ListRolesRequest) (*ListRolesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer) { s.RegisterService(&_RoleService_serviceDesc, srv) } @@ -299,38 +349,3 @@ var _RoleService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/role_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/role_service.proto", fileDescriptor_role_service_e49934510c2989c5) -} - -var fileDescriptor_role_service_e49934510c2989c5 = []byte{ - // 431 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0x97, 0x9b, 0x36, 0x90, 0x57, 0x4a, 0xe1, 0x10, 0xc2, 0xb5, 0xf8, 0x53, 0x19, 0x35, 0x64, - 0xa9, 0xcf, 0x2e, 0x42, 0x0c, 0x6d, 0x96, 0x2c, 0x15, 0x12, 0x03, 0x72, 0x99, 0x58, 0xa2, 0x6b, - 0xfc, 0x6a, 0x4e, 0x9c, 0xef, 0x8c, 0xef, 0x62, 0x95, 0x22, 0x16, 0x36, 0xb2, 0xf2, 0xa1, 0x9a, - 0x9d, 0x8f, 0x00, 0x03, 0x9f, 0x81, 0x09, 0xf9, 0x2e, 0x45, 0x4d, 0xe5, 0x8a, 0xf5, 0x7e, 0x7f, - 0xef, 0xbd, 0x07, 0xfd, 0x4f, 0x4c, 0x66, 0x78, 0x4a, 0x27, 0x42, 0x4d, 0x33, 0xca, 0x59, 0x41, - 0xeb, 0x84, 0x56, 0x4a, 0xe0, 0x58, 0x63, 0x55, 0xf3, 0x09, 0x46, 0x65, 0xa5, 0x8c, 0x22, 0xf7, - 0x1c, 0x2f, 0xb2, 0xbc, 0x88, 0xb3, 0x22, 0xaa, 0x93, 0xe0, 0x61, 0xae, 0x54, 0x2e, 0x90, 0xb2, - 0x92, 0x53, 0x26, 0xa5, 0x32, 0xcc, 0x70, 0x25, 0xb5, 0x93, 0x04, 0x8f, 0x96, 0xac, 0x6b, 0x26, - 0x78, 0x66, 0xf1, 0x05, 0xfc, 0xf8, 0xba, 0x64, 0x87, 0x87, 0x2f, 0xe1, 0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c3, - 0x0d, 0xae, 0x6f, 0x11, 0x3e, 0xf9, 0xfa, 0xe3, 0xd7, 0xf7, 0x95, 0x2d, 0xf2, 0xe0, 0xf2, 0x96, - 0x34, 0xfd, 0xbc, 0x58, 0xc6, 0x17, 0x22, 0x60, 0xb5, 0xf9, 0x25, 0xd9, 0x69, 0xf5, 0xb8, 0xba, - 0x8b, 0xa0, 0xff, 0x3f, 0x9a, 0x9b, 0x53, 0x78, 0xdf, 0xe6, 0x6e, 0x92, 0x8d, 0xa5, 0xdc, 0xd1, - 0xf0, 0xdd, 0x7e, 0xce, 0xcd, 0xfb, 0xe9, 0x71, 0x34, 0x51, 0x05, 0x75, 0x56, 0xbb, 0xee, 0x8a, - 0x72, 0xb5, 0x9b, 0xa3, 0xb4, 0xf7, 0x43, 0x5b, 0xce, 0x6b, 0x9f, 0xb3, 0xe2, 0xb8, 0x6b, 0xe1, - 0xe7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x85, 0xbc, 0xc9, 0x90, 0xfa, 0x02, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account.pb.go index d71c9e987..21918f139 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/service_account.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" +package iam -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ServiceAccount resource. For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). type ServiceAccount struct { @@ -26,7 +28,7 @@ type ServiceAccount struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the service account belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the service account. // The name is unique within the cloud. 3-63 characters long. @@ -42,16 +44,17 @@ func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (m *ServiceAccount) String() string { return proto.CompactTextString(m) } func (*ServiceAccount) ProtoMessage() {} func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_ff4a14d624b4e70e, []int{0} + return fileDescriptor_053d0ddb735dcde2, []int{0} } + func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceAccount.Unmarshal(m, b) } func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) } -func (dst *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(dst, src) +func (m *ServiceAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceAccount.Merge(m, src) } func (m *ServiceAccount) XXX_Size() int { return xxx_messageInfo_ServiceAccount.Size(m) @@ -102,10 +105,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/iam/v1/service_account.proto", fileDescriptor_service_account_ff4a14d624b4e70e) + proto.RegisterFile("yandex/cloud/iam/v1/service_account.proto", fileDescriptor_053d0ddb735dcde2) } -var fileDescriptor_service_account_ff4a14d624b4e70e = []byte{ +var fileDescriptor_053d0ddb735dcde2 = []byte{ // 269 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4b, 0xc3, 0x30, 0x18, 0xc5, 0x69, 0x9d, 0x62, 0x33, 0xd8, 0x21, 0x5e, 0x4a, 0x45, 0x2c, 0x9e, 0xe6, 0x61, 0x09, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account_service.pb.go index 233a68831..263eaf222 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/service_account_service.pb.go @@ -1,21 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/service_account_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -27,7 +28,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetServiceAccountRequest struct { // ID of the ServiceAccount resource to return. @@ -42,16 +43,17 @@ func (m *GetServiceAccountRequest) Reset() { *m = GetServiceAccountReque func (m *GetServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetServiceAccountRequest) ProtoMessage() {} func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{0} + return fileDescriptor_b44ea8947de11d22, []int{0} } + func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetServiceAccountRequest.Unmarshal(m, b) } func (m *GetServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetServiceAccountRequest.Marshal(b, m, deterministic) } -func (dst *GetServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountRequest.Merge(dst, src) +func (m *GetServiceAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceAccountRequest.Merge(m, src) } func (m *GetServiceAccountRequest) XXX_Size() int { return xxx_messageInfo_GetServiceAccountRequest.Size(m) @@ -98,16 +100,17 @@ func (m *ListServiceAccountsRequest) Reset() { *m = ListServiceAccountsR func (m *ListServiceAccountsRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountsRequest) ProtoMessage() {} func (*ListServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{1} + return fileDescriptor_b44ea8947de11d22, []int{1} } + func (m *ListServiceAccountsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountsRequest.Unmarshal(m, b) } func (m *ListServiceAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListServiceAccountsRequest.Marshal(b, m, deterministic) } -func (dst *ListServiceAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountsRequest.Merge(dst, src) +func (m *ListServiceAccountsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceAccountsRequest.Merge(m, src) } func (m *ListServiceAccountsRequest) XXX_Size() int { return xxx_messageInfo_ListServiceAccountsRequest.Size(m) @@ -165,16 +168,17 @@ func (m *ListServiceAccountsResponse) Reset() { *m = ListServiceAccounts func (m *ListServiceAccountsResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountsResponse) ProtoMessage() {} func (*ListServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{2} + return fileDescriptor_b44ea8947de11d22, []int{2} } + func (m *ListServiceAccountsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountsResponse.Unmarshal(m, b) } func (m *ListServiceAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListServiceAccountsResponse.Marshal(b, m, deterministic) } -func (dst *ListServiceAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountsResponse.Merge(dst, src) +func (m *ListServiceAccountsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceAccountsResponse.Merge(m, src) } func (m *ListServiceAccountsResponse) XXX_Size() int { return xxx_messageInfo_ListServiceAccountsResponse.Size(m) @@ -217,16 +221,17 @@ func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccoun func (m *CreateServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*CreateServiceAccountRequest) ProtoMessage() {} func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{3} + return fileDescriptor_b44ea8947de11d22, []int{3} } + func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceAccountRequest.Unmarshal(m, b) } func (m *CreateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateServiceAccountRequest.Marshal(b, m, deterministic) } -func (dst *CreateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountRequest.Merge(dst, src) +func (m *CreateServiceAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceAccountRequest.Merge(m, src) } func (m *CreateServiceAccountRequest) XXX_Size() int { return xxx_messageInfo_CreateServiceAccountRequest.Size(m) @@ -270,16 +275,17 @@ func (m *CreateServiceAccountMetadata) Reset() { *m = CreateServiceAccou func (m *CreateServiceAccountMetadata) String() string { return proto.CompactTextString(m) } func (*CreateServiceAccountMetadata) ProtoMessage() {} func (*CreateServiceAccountMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{4} + return fileDescriptor_b44ea8947de11d22, []int{4} } + func (m *CreateServiceAccountMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateServiceAccountMetadata.Unmarshal(m, b) } func (m *CreateServiceAccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateServiceAccountMetadata.Marshal(b, m, deterministic) } -func (dst *CreateServiceAccountMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountMetadata.Merge(dst, src) +func (m *CreateServiceAccountMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceAccountMetadata.Merge(m, src) } func (m *CreateServiceAccountMetadata) XXX_Size() int { return xxx_messageInfo_CreateServiceAccountMetadata.Size(m) @@ -317,16 +323,17 @@ func (m *UpdateServiceAccountRequest) Reset() { *m = UpdateServiceAccoun func (m *UpdateServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*UpdateServiceAccountRequest) ProtoMessage() {} func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{5} + return fileDescriptor_b44ea8947de11d22, []int{5} } + func (m *UpdateServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateServiceAccountRequest.Unmarshal(m, b) } func (m *UpdateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateServiceAccountRequest.Marshal(b, m, deterministic) } -func (dst *UpdateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountRequest.Merge(dst, src) +func (m *UpdateServiceAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceAccountRequest.Merge(m, src) } func (m *UpdateServiceAccountRequest) XXX_Size() int { return xxx_messageInfo_UpdateServiceAccountRequest.Size(m) @@ -377,16 +384,17 @@ func (m *UpdateServiceAccountMetadata) Reset() { *m = UpdateServiceAccou func (m *UpdateServiceAccountMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateServiceAccountMetadata) ProtoMessage() {} func (*UpdateServiceAccountMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{6} + return fileDescriptor_b44ea8947de11d22, []int{6} } + func (m *UpdateServiceAccountMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateServiceAccountMetadata.Unmarshal(m, b) } func (m *UpdateServiceAccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateServiceAccountMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateServiceAccountMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountMetadata.Merge(dst, src) +func (m *UpdateServiceAccountMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceAccountMetadata.Merge(m, src) } func (m *UpdateServiceAccountMetadata) XXX_Size() int { return xxx_messageInfo_UpdateServiceAccountMetadata.Size(m) @@ -417,16 +425,17 @@ func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccoun func (m *DeleteServiceAccountRequest) String() string { return proto.CompactTextString(m) } func (*DeleteServiceAccountRequest) ProtoMessage() {} func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{7} + return fileDescriptor_b44ea8947de11d22, []int{7} } + func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceAccountRequest.Unmarshal(m, b) } func (m *DeleteServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteServiceAccountRequest.Marshal(b, m, deterministic) } -func (dst *DeleteServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountRequest.Merge(dst, src) +func (m *DeleteServiceAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteServiceAccountRequest.Merge(m, src) } func (m *DeleteServiceAccountRequest) XXX_Size() int { return xxx_messageInfo_DeleteServiceAccountRequest.Size(m) @@ -456,16 +465,17 @@ func (m *DeleteServiceAccountMetadata) Reset() { *m = DeleteServiceAccou func (m *DeleteServiceAccountMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteServiceAccountMetadata) ProtoMessage() {} func (*DeleteServiceAccountMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{8} + return fileDescriptor_b44ea8947de11d22, []int{8} } + func (m *DeleteServiceAccountMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteServiceAccountMetadata.Unmarshal(m, b) } func (m *DeleteServiceAccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteServiceAccountMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteServiceAccountMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountMetadata.Merge(dst, src) +func (m *DeleteServiceAccountMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteServiceAccountMetadata.Merge(m, src) } func (m *DeleteServiceAccountMetadata) XXX_Size() int { return xxx_messageInfo_DeleteServiceAccountMetadata.Size(m) @@ -504,16 +514,17 @@ func (m *ListServiceAccountOperationsRequest) Reset() { *m = ListService func (m *ListServiceAccountOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountOperationsRequest) ProtoMessage() {} func (*ListServiceAccountOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{9} + return fileDescriptor_b44ea8947de11d22, []int{9} } + func (m *ListServiceAccountOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountOperationsRequest.Unmarshal(m, b) } func (m *ListServiceAccountOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListServiceAccountOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListServiceAccountOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountOperationsRequest.Merge(dst, src) +func (m *ListServiceAccountOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceAccountOperationsRequest.Merge(m, src) } func (m *ListServiceAccountOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListServiceAccountOperationsRequest.Size(m) @@ -562,16 +573,17 @@ func (m *ListServiceAccountOperationsResponse) Reset() { *m = ListServic func (m *ListServiceAccountOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListServiceAccountOperationsResponse) ProtoMessage() {} func (*ListServiceAccountOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_service_account_service_4c6626479d4f1223, []int{10} + return fileDescriptor_b44ea8947de11d22, []int{10} } + func (m *ListServiceAccountOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListServiceAccountOperationsResponse.Unmarshal(m, b) } func (m *ListServiceAccountOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListServiceAccountOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListServiceAccountOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListServiceAccountOperationsResponse.Merge(dst, src) +func (m *ListServiceAccountOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceAccountOperationsResponse.Merge(m, src) } func (m *ListServiceAccountOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListServiceAccountOperationsResponse.Size(m) @@ -610,6 +622,78 @@ func init() { proto.RegisterType((*ListServiceAccountOperationsResponse)(nil), "yandex.cloud.iam.v1.ListServiceAccountOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/service_account_service.proto", fileDescriptor_b44ea8947de11d22) +} + +var fileDescriptor_b44ea8947de11d22 = []byte{ + // 1016 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5d, 0x6f, 0xdb, 0x54, + 0x18, 0xd6, 0x59, 0x43, 0xb4, 0xbc, 0x65, 0x1f, 0x1c, 0x98, 0x08, 0x6e, 0x27, 0x82, 0x0b, 0xa3, + 0x0b, 0x8d, 0x1d, 0x07, 0xba, 0x2d, 0xfd, 0xd0, 0x68, 0xf8, 0x98, 0x26, 0x6d, 0x80, 0xdc, 0x81, + 0x04, 0xd5, 0x14, 0x9d, 0xda, 0xa7, 0xe1, 0xa8, 0x89, 0x1d, 0x7c, 0x9c, 0x6a, 0xeb, 0x98, 0x90, + 0x90, 0xb8, 0xe9, 0x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, 0x66, + 0xb9, 0x1d, 0x5d, 0xe2, 0xa8, 0xc8, 0x6f, 0xa1, 0x96, 0x5b, 0x69, 0x51, 0x47, 0xa8, 0xa7, 0x27, + 0x7c, 0x99, 0x2d, 0x32, 0xd2, 0x59, 0xcf, 0x8b, 0xf0, 0x9b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, + 0x12, 0x75, 0xb8, 0x07, 0x5f, 0x0e, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -757,6 +841,38 @@ type ServiceAccountServiceServer interface { ListOperations(context.Context, *ListServiceAccountOperationsRequest) (*ListServiceAccountOperationsResponse, error) } +// UnimplementedServiceAccountServiceServer can be embedded to have forward compatible implementations. +type UnimplementedServiceAccountServiceServer struct { +} + +func (*UnimplementedServiceAccountServiceServer) Get(ctx context.Context, req *GetServiceAccountRequest) (*ServiceAccount, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedServiceAccountServiceServer) List(ctx context.Context, req *ListServiceAccountsRequest) (*ListServiceAccountsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedServiceAccountServiceServer) Create(ctx context.Context, req *CreateServiceAccountRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedServiceAccountServiceServer) Update(ctx context.Context, req *UpdateServiceAccountRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedServiceAccountServiceServer) Delete(ctx context.Context, req *DeleteServiceAccountRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedServiceAccountServiceServer) ListAccessBindings(ctx context.Context, req *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAccessBindings not implemented") +} +func (*UnimplementedServiceAccountServiceServer) SetAccessBindings(ctx context.Context, req *access.SetAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAccessBindings not implemented") +} +func (*UnimplementedServiceAccountServiceServer) UpdateAccessBindings(ctx context.Context, req *access.UpdateAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccessBindings not implemented") +} +func (*UnimplementedServiceAccountServiceServer) ListOperations(ctx context.Context, req *ListServiceAccountOperationsRequest) (*ListServiceAccountOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterServiceAccountServiceServer(s *grpc.Server, srv ServiceAccountServiceServer) { s.RegisterService(&_ServiceAccountService_serviceDesc, srv) } @@ -967,75 +1083,3 @@ var _ServiceAccountService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/service_account_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/service_account_service.proto", fileDescriptor_service_account_service_4c6626479d4f1223) -} - -var fileDescriptor_service_account_service_4c6626479d4f1223 = []byte{ - // 1016 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x5d, 0x6f, 0xdb, 0x54, - 0x18, 0xd6, 0x59, 0x43, 0xb4, 0xbc, 0x65, 0x1f, 0x1c, 0x98, 0x08, 0x6e, 0x27, 0x82, 0x0b, 0xa3, - 0x0b, 0x8d, 0x1d, 0x07, 0xba, 0x2d, 0xfd, 0xd0, 0x68, 0xf8, 0x98, 0x26, 0x6d, 0x80, 0xdc, 0x81, - 0x04, 0xd5, 0x14, 0x9d, 0xda, 0xa7, 0xe1, 0xa8, 0x89, 0x1d, 0x7c, 0x9c, 0x6a, 0xeb, 0x98, 0x90, - 0x90, 0xb8, 0xe9, 0x0d, 0x42, 0x88, 0xff, 0x81, 0x0a, 0x12, 0x77, 0x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, 0x6f, 0xa1, 0x96, 0x5b, 0x69, 0x51, 0x47, 0xa8, 0xa7, 0x27, - 0x7c, 0x99, 0x2d, 0x32, 0xd2, 0x59, 0xcf, 0x8b, 0xf0, 0x9b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, - 0x12, 0x75, 0xb8, 0x07, 0x5f, 0x0e, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account.pb.go index bc27832d2..ed17c387d 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/user_account.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" +package iam -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Currently represents only [Yandex.Passport account](/docs/iam/concepts/#passport). type UserAccount struct { @@ -35,16 +37,17 @@ func (m *UserAccount) Reset() { *m = UserAccount{} } func (m *UserAccount) String() string { return proto.CompactTextString(m) } func (*UserAccount) ProtoMessage() {} func (*UserAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_user_account_ced378befb1b3d2f, []int{0} + return fileDescriptor_101d694eed7724ca, []int{0} } + func (m *UserAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserAccount.Unmarshal(m, b) } func (m *UserAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserAccount.Marshal(b, m, deterministic) } -func (dst *UserAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserAccount.Merge(dst, src) +func (m *UserAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserAccount.Merge(m, src) } func (m *UserAccount) XXX_Size() int { return xxx_messageInfo_UserAccount.Size(m) @@ -86,61 +89,13 @@ func (m *UserAccount) GetYandexPassportUserAccount() *YandexPassportUserAccount return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*UserAccount) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _UserAccount_OneofMarshaler, _UserAccount_OneofUnmarshaler, _UserAccount_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserAccount) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*UserAccount_YandexPassportUserAccount)(nil), } } -func _UserAccount_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*UserAccount) - // user_account - switch x := m.UserAccount.(type) { - case *UserAccount_YandexPassportUserAccount: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.YandexPassportUserAccount); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("UserAccount.UserAccount has unexpected type %T", x) - } - return nil -} - -func _UserAccount_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*UserAccount) - switch tag { - case 2: // user_account.yandex_passport_user_account - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(YandexPassportUserAccount) - err := b.DecodeMessage(msg) - m.UserAccount = &UserAccount_YandexPassportUserAccount{msg} - return true, err - default: - return false, nil - } -} - -func _UserAccount_OneofSizer(msg proto.Message) (n int) { - m := msg.(*UserAccount) - // user_account - switch x := m.UserAccount.(type) { - case *UserAccount_YandexPassportUserAccount: - s := proto.Size(x.YandexPassportUserAccount) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - // A YandexPassportUserAccount resource. For more information, see [Yandex.Passport account](/docs/iam/concepts/#passport). type YandexPassportUserAccount struct { // Login of the Yandex.Passport user account. @@ -156,16 +111,17 @@ func (m *YandexPassportUserAccount) Reset() { *m = YandexPassportUserAcc func (m *YandexPassportUserAccount) String() string { return proto.CompactTextString(m) } func (*YandexPassportUserAccount) ProtoMessage() {} func (*YandexPassportUserAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_user_account_ced378befb1b3d2f, []int{1} + return fileDescriptor_101d694eed7724ca, []int{1} } + func (m *YandexPassportUserAccount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_YandexPassportUserAccount.Unmarshal(m, b) } func (m *YandexPassportUserAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_YandexPassportUserAccount.Marshal(b, m, deterministic) } -func (dst *YandexPassportUserAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_YandexPassportUserAccount.Merge(dst, src) +func (m *YandexPassportUserAccount) XXX_Merge(src proto.Message) { + xxx_messageInfo_YandexPassportUserAccount.Merge(m, src) } func (m *YandexPassportUserAccount) XXX_Size() int { return xxx_messageInfo_YandexPassportUserAccount.Size(m) @@ -196,10 +152,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/iam/v1/user_account.proto", fileDescriptor_user_account_ced378befb1b3d2f) + proto.RegisterFile("yandex/cloud/iam/v1/user_account.proto", fileDescriptor_101d694eed7724ca) } -var fileDescriptor_user_account_ced378befb1b3d2f = []byte{ +var fileDescriptor_101d694eed7724ca = []byte{ // 258 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x50, 0xcf, 0x4b, 0xc3, 0x30, 0x14, 0xb6, 0x05, 0x85, 0x65, 0x73, 0x87, 0xe8, 0x61, 0x13, 0x85, 0x31, 0x41, 0x76, 0x59, 0xc2, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account_service.pb.go index 69ecb7ee4..c5a416735 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/user_account_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/user_account_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetUserAccountRequest struct { // ID of the UserAccount resource to return. @@ -37,16 +38,17 @@ func (m *GetUserAccountRequest) Reset() { *m = GetUserAccountRequest{} } func (m *GetUserAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetUserAccountRequest) ProtoMessage() {} func (*GetUserAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_account_service_d671b5c11a2773d8, []int{0} + return fileDescriptor_68bca2edf26b1c68, []int{0} } + func (m *GetUserAccountRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserAccountRequest.Unmarshal(m, b) } func (m *GetUserAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserAccountRequest.Marshal(b, m, deterministic) } -func (dst *GetUserAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserAccountRequest.Merge(dst, src) +func (m *GetUserAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserAccountRequest.Merge(m, src) } func (m *GetUserAccountRequest) XXX_Size() int { return xxx_messageInfo_GetUserAccountRequest.Size(m) @@ -68,6 +70,32 @@ func init() { proto.RegisterType((*GetUserAccountRequest)(nil), "yandex.cloud.iam.v1.GetUserAccountRequest") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/user_account_service.proto", fileDescriptor_68bca2edf26b1c68) +} + +var fileDescriptor_68bca2edf26b1c68 = []byte{ + // 284 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xab, 0x4c, 0xcc, 0x4b, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, + 0x2f, 0x2d, 0x4e, 0x2d, 0x8a, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0x89, 0x2f, 0x4e, 0x2d, + 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x86, 0xa8, 0xd7, 0x03, + 0xab, 0xd7, 0xcb, 0x4c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f3, 0x75, 0xd3, 0x53, 0xf3, 0xc0, + 0x41, 0xa2, 0x8f, 0x25, 0x60, 0xad, 0x33, 0x13, 0x73, 0x93, 0xd8, 0xc0, 0xd2, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x80, 0x94, 0x59, 0x76, 0xdd, 0x01, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -107,6 +135,14 @@ type UserAccountServiceServer interface { Get(context.Context, *GetUserAccountRequest) (*UserAccount, error) } +// UnimplementedUserAccountServiceServer can be embedded to have forward compatible implementations. +type UnimplementedUserAccountServiceServer struct { +} + +func (*UnimplementedUserAccountServiceServer) Get(ctx context.Context, req *GetUserAccountRequest) (*UserAccount, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} + func RegisterUserAccountServiceServer(s *grpc.Server, srv UserAccountServiceServer) { s.RegisterService(&_UserAccountService_serviceDesc, srv) } @@ -141,29 +177,3 @@ var _UserAccountService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/user_account_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/user_account_service.proto", fileDescriptor_user_account_service_d671b5c11a2773d8) -} - -var fileDescriptor_user_account_service_d671b5c11a2773d8 = []byte{ - // 284 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xab, 0x4c, 0xcc, 0x4b, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, - 0x2f, 0x2d, 0x4e, 0x2d, 0x8a, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0x89, 0x2f, 0x4e, 0x2d, - 0x2a, 0xcb, 0x4c, 0x4e, 0xd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0x24, 0xa3, 0x34, 0x49, 0x2f, - 0x39, 0x3f, 0x57, 0x1f, 0x62, 0xba, 0x2e, 0x24, 0x5c, 0xd2, 0xf3, 0x75, 0xd3, 0x53, 0xf3, 0xc0, - 0x41, 0xa2, 0x8f, 0x25, 0x60, 0xad, 0x33, 0x13, 0x73, 0x93, 0xd8, 0xc0, 0xd2, 0xc6, 0x80, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x80, 0x94, 0x59, 0x76, 0xdd, 0x01, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/yandex_passport_user_account_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/yandex_passport_user_account_service.pb.go index 6be909550..8be6c254b 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/yandex_passport_user_account_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/yandex_passport_user_account_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/iam/v1/yandex_passport_user_account_service.proto -package iam // import "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package iam import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetUserAccountByLoginRequest struct { // Login of the YandexPassportUserAccount resource to return. @@ -37,16 +38,17 @@ func (m *GetUserAccountByLoginRequest) Reset() { *m = GetUserAccountByLo func (m *GetUserAccountByLoginRequest) String() string { return proto.CompactTextString(m) } func (*GetUserAccountByLoginRequest) ProtoMessage() {} func (*GetUserAccountByLoginRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_yandex_passport_user_account_service_fed4b1e4abf6d5f3, []int{0} + return fileDescriptor_681b9335544bf99c, []int{0} } + func (m *GetUserAccountByLoginRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserAccountByLoginRequest.Unmarshal(m, b) } func (m *GetUserAccountByLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserAccountByLoginRequest.Marshal(b, m, deterministic) } -func (dst *GetUserAccountByLoginRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserAccountByLoginRequest.Merge(dst, src) +func (m *GetUserAccountByLoginRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserAccountByLoginRequest.Merge(m, src) } func (m *GetUserAccountByLoginRequest) XXX_Size() int { return xxx_messageInfo_GetUserAccountByLoginRequest.Size(m) @@ -68,6 +70,33 @@ func init() { proto.RegisterType((*GetUserAccountByLoginRequest)(nil), "yandex.cloud.iam.v1.GetUserAccountByLoginRequest") } +func init() { + proto.RegisterFile("yandex/cloud/iam/v1/yandex_passport_user_account_service.proto", fileDescriptor_681b9335544bf99c) +} + +var fileDescriptor_681b9335544bf99c = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0x4c, 0xcc, 0x4b, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, + 0x87, 0x88, 0xc5, 0x17, 0x24, 0x16, 0x17, 0x17, 0xe4, 0x17, 0x95, 0xc4, 0x97, 0x16, 0xa7, 0x16, + 0xc5, 0x27, 0x26, 0x27, 0xe7, 0x97, 0xe6, 0x95, 0xc4, 0x17, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, + 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x09, 0x43, 0xd4, 0xea, 0x81, 0xf5, 0xeb, 0x65, 0x26, + 0xe6, 0xea, 0x95, 0x19, 0x4a, 0xc9, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x27, 0x16, 0x64, + 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, 0xe7, 0x15, 0x43, 0xb4, 0x48, 0xa9, + 0x61, 0xb3, 0x12, 0xd9, 0x0a, 0xa8, 0x3a, 0x59, 0x14, 0x75, 0x65, 0x89, 0x39, 0x99, 0x29, 0x60, + 0x73, 0x20, 0xd2, 0x4a, 0x56, 0x5c, 0x32, 0xee, 0xa9, 0x25, 0xa1, 0xc5, 0xa9, 0x45, 0x8e, 0x10, + 0x6d, 0x4e, 0x95, 0x3e, 0xf9, 0xe9, 0x99, 0x79, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42, + 0x52, 0x5c, 0xac, 0x39, 0x20, 0xbe, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, 0x13, 0xcb, 0x8b, 0xe3, + 0x86, 0x8c, 0x41, 0x10, 0x21, 0xa3, 0x5d, 0x8c, 0x5c, 0x0a, 0x91, 0x60, 0xd3, 0x03, 0xa0, 0x7e, + 0x44, 0x32, 0x27, 0x18, 0xe2, 0x41, 0xa1, 0xa9, 0x8c, 0x5c, 0x5c, 0xee, 0xa9, 0x30, 0x63, 0x85, + 0x0c, 0xf5, 0xb0, 0x78, 0x55, 0x0f, 0x9f, 0x13, 0xa4, 0x14, 0xb0, 0x6a, 0x41, 0x52, 0xaf, 0x64, + 0xd4, 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x1d, 0x21, 0x2d, 0xd4, 0xa0, 0xc7, 0xe2, 0xaa, 0x62, 0xab, + 0x24, 0x88, 0xe1, 0x4e, 0xb6, 0x51, 0xd6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, + 0xb9, 0x50, 0x0d, 0xba, 0x90, 0x40, 0x4a, 0xcf, 0xd7, 0x4d, 0x4f, 0xcd, 0x03, 0x87, 0x8f, 0x3e, + 0x96, 0x50, 0xb6, 0xce, 0x4c, 0xcc, 0x4d, 0x62, 0x03, 0x4b, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, + 0xff, 0xd5, 0x6e, 0x8b, 0x84, 0xfa, 0x01, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -107,6 +136,14 @@ type YandexPassportUserAccountServiceServer interface { GetByLogin(context.Context, *GetUserAccountByLoginRequest) (*UserAccount, error) } +// UnimplementedYandexPassportUserAccountServiceServer can be embedded to have forward compatible implementations. +type UnimplementedYandexPassportUserAccountServiceServer struct { +} + +func (*UnimplementedYandexPassportUserAccountServiceServer) GetByLogin(ctx context.Context, req *GetUserAccountByLoginRequest) (*UserAccount, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetByLogin not implemented") +} + func RegisterYandexPassportUserAccountServiceServer(s *grpc.Server, srv YandexPassportUserAccountServiceServer) { s.RegisterService(&_YandexPassportUserAccountService_serviceDesc, srv) } @@ -141,30 +178,3 @@ var _YandexPassportUserAccountService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/yandex_passport_user_account_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/iam/v1/yandex_passport_user_account_service.proto", fileDescriptor_yandex_passport_user_account_service_fed4b1e4abf6d5f3) -} - -var fileDescriptor_yandex_passport_user_account_service_fed4b1e4abf6d5f3 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0x4c, 0xcc, 0x4b, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4c, 0xcc, 0xd5, 0x2f, 0x33, 0xd4, - 0x87, 0x88, 0xc5, 0x17, 0x24, 0x16, 0x17, 0x17, 0xe4, 0x17, 0x95, 0xc4, 0x97, 0x16, 0xa7, 0x16, - 0xc5, 0x27, 0x26, 0x27, 0xe7, 0x97, 0xe6, 0x95, 0xc4, 0x17, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, - 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x09, 0x43, 0xd4, 0xea, 0x81, 0xf5, 0xeb, 0x65, 0x26, - 0xe6, 0xea, 0x95, 0x19, 0x4a, 0xc9, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x27, 0x16, 0x64, - 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, 0xe7, 0x15, 0x43, 0xb4, 0x48, 0xa9, - 0x61, 0xb3, 0x12, 0xd9, 0x0a, 0xa8, 0x3a, 0x59, 0x14, 0x75, 0x65, 0x89, 0x39, 0x99, 0x29, 0x60, - 0x73, 0x20, 0xd2, 0x4a, 0x56, 0x5c, 0x32, 0xee, 0xa9, 0x25, 0xa1, 0xc5, 0xa9, 0x45, 0x8e, 0x10, - 0x6d, 0x4e, 0x95, 0x3e, 0xf9, 0xe9, 0x99, 0x79, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42, - 0x52, 0x5c, 0xac, 0x39, 0x20, 0xbe, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, 0x13, 0xcb, 0x8b, 0xe3, - 0x86, 0x8c, 0x41, 0x10, 0x21, 0xa3, 0x5d, 0x8c, 0x5c, 0x0a, 0x91, 0x60, 0xd3, 0x03, 0xa0, 0x7e, - 0x44, 0x32, 0x27, 0x18, 0xe2, 0x41, 0xa1, 0xa9, 0x8c, 0x5c, 0x5c, 0xee, 0xa9, 0x30, 0x63, 0x85, - 0x0c, 0xf5, 0xb0, 0x78, 0x55, 0x0f, 0x9f, 0x13, 0xa4, 0x14, 0xb0, 0x6a, 0x41, 0x52, 0xaf, 0x64, - 0xd4, 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x1d, 0x21, 0x2d, 0xd4, 0xa0, 0xc7, 0xe2, 0xaa, 0x62, 0xab, - 0x24, 0x88, 0xe1, 0x4e, 0xb6, 0x51, 0xd6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, - 0xb9, 0x50, 0x0d, 0xba, 0x90, 0x40, 0x4a, 0xcf, 0xd7, 0x4d, 0x4f, 0xcd, 0x03, 0x87, 0x8f, 0x3e, - 0x96, 0x50, 0xb6, 0xce, 0x4c, 0xcc, 0x4d, 0x62, 0x03, 0x4b, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, - 0xff, 0xd5, 0x6e, 0x8b, 0x84, 0xfa, 0x01, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device.pb.go new file mode 100644 index 000000000..606d17e75 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device.pb.go @@ -0,0 +1,206 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/iot/devices/v1/device.proto + +package devices + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Device struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + RegistryId string `protobuf:"bytes,2,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // map from alias to canonical topic name prefix, e.g. my/custom/alias -> $device/abcdef/events + TopicAliases map[string]string `protobuf:"bytes,6,rep,name=topic_aliases,json=topicAliases,proto3" json:"topic_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Device) Reset() { *m = Device{} } +func (m *Device) String() string { return proto.CompactTextString(m) } +func (*Device) ProtoMessage() {} +func (*Device) Descriptor() ([]byte, []int) { + return fileDescriptor_dc5d5b38a6ba5ae6, []int{0} +} + +func (m *Device) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Device.Unmarshal(m, b) +} +func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Device.Marshal(b, m, deterministic) +} +func (m *Device) XXX_Merge(src proto.Message) { + xxx_messageInfo_Device.Merge(m, src) +} +func (m *Device) XXX_Size() int { + return xxx_messageInfo_Device.Size(m) +} +func (m *Device) XXX_DiscardUnknown() { + xxx_messageInfo_Device.DiscardUnknown(m) +} + +var xxx_messageInfo_Device proto.InternalMessageInfo + +func (m *Device) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Device) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *Device) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Device) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Device) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Device) GetTopicAliases() map[string]string { + if m != nil { + return m.TopicAliases + } + return nil +} + +type DeviceCertificate struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeviceCertificate) Reset() { *m = DeviceCertificate{} } +func (m *DeviceCertificate) String() string { return proto.CompactTextString(m) } +func (*DeviceCertificate) ProtoMessage() {} +func (*DeviceCertificate) Descriptor() ([]byte, []int) { + return fileDescriptor_dc5d5b38a6ba5ae6, []int{1} +} + +func (m *DeviceCertificate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeviceCertificate.Unmarshal(m, b) +} +func (m *DeviceCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeviceCertificate.Marshal(b, m, deterministic) +} +func (m *DeviceCertificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeviceCertificate.Merge(m, src) +} +func (m *DeviceCertificate) XXX_Size() int { + return xxx_messageInfo_DeviceCertificate.Size(m) +} +func (m *DeviceCertificate) XXX_DiscardUnknown() { + xxx_messageInfo_DeviceCertificate.DiscardUnknown(m) +} + +var xxx_messageInfo_DeviceCertificate proto.InternalMessageInfo + +func (m *DeviceCertificate) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *DeviceCertificate) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +func (m *DeviceCertificate) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +func (m *DeviceCertificate) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func init() { + proto.RegisterType((*Device)(nil), "yandex.cloud.iot.devices.v1.Device") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.Device.TopicAliasesEntry") + proto.RegisterType((*DeviceCertificate)(nil), "yandex.cloud.iot.devices.v1.DeviceCertificate") +} + +func init() { + proto.RegisterFile("yandex/cloud/iot/devices/v1/device.proto", fileDescriptor_dc5d5b38a6ba5ae6) +} + +var fileDescriptor_dc5d5b38a6ba5ae6 = []byte{ + // 410 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x4d, 0x6f, 0x13, 0x31, + 0x10, 0xd5, 0x6e, 0xd2, 0x88, 0x4c, 0xf8, 0x68, 0x2d, 0x0e, 0xab, 0x54, 0xa8, 0x51, 0x4f, 0xe1, + 0x50, 0x5b, 0x2d, 0x42, 0xe2, 0xe3, 0x80, 0x0a, 0x45, 0x28, 0xd7, 0xa8, 0xa7, 0x5e, 0x56, 0x8e, + 0x3d, 0x59, 0x46, 0x6c, 0xd6, 0x2b, 0xef, 0x64, 0x45, 0xfe, 0x19, 0xff, 0x80, 0xbf, 0x85, 0x62, + 0x6f, 0x60, 0x01, 0xa9, 0x52, 0x6f, 0xe3, 0x37, 0x6f, 0x9e, 0x9f, 0x9f, 0x07, 0xe6, 0x3b, 0x5d, + 0x59, 0xfc, 0xae, 0x4c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 0xbf, 0x5b, 0x3e, 0xe6, 0x1e, 0x34, + 0xfd, 0x00, 0x27, 0xff, 0x51, 0xc4, 0x31, 0x0c, 0xbe, 0xe1, 0xae, 0xcb, 0x64, 0x5f, 0x8a, 0xe7, + 0x70, 0xd4, 0xea, 0x72, 0x8b, 0x5d, 0x1c, 0xf1, 0xf0, 0x2e, 0x7d, 0x93, 0x9c, 0xff, 0x48, 0xe0, + 0x24, 0xde, 0xf5, 0x09, 0x3d, 0xd3, 0x9a, 0x8c, 0x66, 0x14, 0xa7, 0x30, 0x8e, 0x5e, 0xf2, 0xdf, + 0xd9, 0x3e, 0x8a, 0xc0, 0xc2, 0xee, 0x5f, 0xbc, 0xa6, 0xaa, 0x40, 0x5f, 0x7b, 0xaa, 0xb8, 0x93, + 0xec, 0x43, 0xe2, 0x25, 0x1c, 0x9b, 0x3f, 0x6a, 0xb9, 0xd5, 0xac, 0x43, 0xd0, 0xe3, 0xe5, 0xb3, + 0x1e, 0x7e, 0xa3, 0x59, 0xff, 0xf3, 0x1b, 0xc3, 0x07, 0xfc, 0xc6, 0xc7, 0xc5, 0xdd, 0x97, 0x82, + 0xf8, 0xeb, 0x76, 0x25, 0x8d, 0xdb, 0xa8, 0x18, 0xe6, 0x45, 0x5c, 0x98, 0xc2, 0x5d, 0x14, 0x58, + 0x85, 0x71, 0x75, 0xcf, 0xc6, 0xbe, 0xef, 0xca, 0xd5, 0x28, 0x50, 0x5f, 0xfd, 0x0a, 0x00, 0x00, + 0xff, 0xff, 0xce, 0xaa, 0xbb, 0x53, 0xdf, 0x02, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device_service.pb.go new file mode 100644 index 000000000..85c0d9345 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/device_service.pb.go @@ -0,0 +1,1404 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/iot/devices/v1/device_service.proto + +package devices + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetDeviceRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetDeviceRequest) Reset() { *m = GetDeviceRequest{} } +func (m *GetDeviceRequest) String() string { return proto.CompactTextString(m) } +func (*GetDeviceRequest) ProtoMessage() {} +func (*GetDeviceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{0} +} + +func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDeviceRequest.Unmarshal(m, b) +} +func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDeviceRequest.Marshal(b, m, deterministic) +} +func (m *GetDeviceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDeviceRequest.Merge(m, src) +} +func (m *GetDeviceRequest) XXX_Size() int { + return xxx_messageInfo_GetDeviceRequest.Size(m) +} +func (m *GetDeviceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDeviceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDeviceRequest proto.InternalMessageInfo + +func (m *GetDeviceRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type ListDevicesRequest struct { + // Types that are valid to be assigned to Id: + // *ListDevicesRequest_RegistryId + // *ListDevicesRequest_FolderId + Id isListDevicesRequest_Id `protobuf_oneof:"id"` + PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDevicesRequest) Reset() { *m = ListDevicesRequest{} } +func (m *ListDevicesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDevicesRequest) ProtoMessage() {} +func (*ListDevicesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{1} +} + +func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDevicesRequest.Unmarshal(m, b) +} +func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDevicesRequest.Marshal(b, m, deterministic) +} +func (m *ListDevicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDevicesRequest.Merge(m, src) +} +func (m *ListDevicesRequest) XXX_Size() int { + return xxx_messageInfo_ListDevicesRequest.Size(m) +} +func (m *ListDevicesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDevicesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDevicesRequest proto.InternalMessageInfo + +type isListDevicesRequest_Id interface { + isListDevicesRequest_Id() +} + +type ListDevicesRequest_RegistryId struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3,oneof"` +} + +type ListDevicesRequest_FolderId struct { + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3,oneof"` +} + +func (*ListDevicesRequest_RegistryId) isListDevicesRequest_Id() {} + +func (*ListDevicesRequest_FolderId) isListDevicesRequest_Id() {} + +func (m *ListDevicesRequest) GetId() isListDevicesRequest_Id { + if m != nil { + return m.Id + } + return nil +} + +func (m *ListDevicesRequest) GetRegistryId() string { + if x, ok := m.GetId().(*ListDevicesRequest_RegistryId); ok { + return x.RegistryId + } + return "" +} + +func (m *ListDevicesRequest) GetFolderId() string { + if x, ok := m.GetId().(*ListDevicesRequest_FolderId); ok { + return x.FolderId + } + return "" +} + +func (m *ListDevicesRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListDevicesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ListDevicesRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ListDevicesRequest_RegistryId)(nil), + (*ListDevicesRequest_FolderId)(nil), + } +} + +type ListDevicesResponse struct { + Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDevicesResponse) Reset() { *m = ListDevicesResponse{} } +func (m *ListDevicesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDevicesResponse) ProtoMessage() {} +func (*ListDevicesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{2} +} + +func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDevicesResponse.Unmarshal(m, b) +} +func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDevicesResponse.Marshal(b, m, deterministic) +} +func (m *ListDevicesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDevicesResponse.Merge(m, src) +} +func (m *ListDevicesResponse) XXX_Size() int { + return xxx_messageInfo_ListDevicesResponse.Size(m) +} +func (m *ListDevicesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDevicesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDevicesResponse proto.InternalMessageInfo + +func (m *ListDevicesResponse) GetDevices() []*Device { + if m != nil { + return m.Devices + } + return nil +} + +func (m *ListDevicesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateDeviceRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Certificates []*CreateDeviceRequest_Certificate `protobuf:"bytes,4,rep,name=certificates,proto3" json:"certificates,omitempty"` + // map from alias to canonical topic name prefix, e.g. my/custom/alias -> $device/{id}/events + TopicAliases map[string]string `protobuf:"bytes,5,rep,name=topic_aliases,json=topicAliases,proto3" json:"topic_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateDeviceRequest) Reset() { *m = CreateDeviceRequest{} } +func (m *CreateDeviceRequest) String() string { return proto.CompactTextString(m) } +func (*CreateDeviceRequest) ProtoMessage() {} +func (*CreateDeviceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{3} +} + +func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDeviceRequest.Unmarshal(m, b) +} +func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDeviceRequest.Marshal(b, m, deterministic) +} +func (m *CreateDeviceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDeviceRequest.Merge(m, src) +} +func (m *CreateDeviceRequest) XXX_Size() int { + return xxx_messageInfo_CreateDeviceRequest.Size(m) +} +func (m *CreateDeviceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDeviceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateDeviceRequest proto.InternalMessageInfo + +func (m *CreateDeviceRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *CreateDeviceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CreateDeviceRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateDeviceRequest) GetCertificates() []*CreateDeviceRequest_Certificate { + if m != nil { + return m.Certificates + } + return nil +} + +func (m *CreateDeviceRequest) GetTopicAliases() map[string]string { + if m != nil { + return m.TopicAliases + } + return nil +} + +type CreateDeviceRequest_Certificate struct { + CertificateData string `protobuf:"bytes,1,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateDeviceRequest_Certificate) Reset() { *m = CreateDeviceRequest_Certificate{} } +func (m *CreateDeviceRequest_Certificate) String() string { return proto.CompactTextString(m) } +func (*CreateDeviceRequest_Certificate) ProtoMessage() {} +func (*CreateDeviceRequest_Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{3, 1} +} + +func (m *CreateDeviceRequest_Certificate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDeviceRequest_Certificate.Unmarshal(m, b) +} +func (m *CreateDeviceRequest_Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDeviceRequest_Certificate.Marshal(b, m, deterministic) +} +func (m *CreateDeviceRequest_Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDeviceRequest_Certificate.Merge(m, src) +} +func (m *CreateDeviceRequest_Certificate) XXX_Size() int { + return xxx_messageInfo_CreateDeviceRequest_Certificate.Size(m) +} +func (m *CreateDeviceRequest_Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDeviceRequest_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateDeviceRequest_Certificate proto.InternalMessageInfo + +func (m *CreateDeviceRequest_Certificate) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +type CreateDeviceMetadata struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateDeviceMetadata) Reset() { *m = CreateDeviceMetadata{} } +func (m *CreateDeviceMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateDeviceMetadata) ProtoMessage() {} +func (*CreateDeviceMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{4} +} + +func (m *CreateDeviceMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDeviceMetadata.Unmarshal(m, b) +} +func (m *CreateDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDeviceMetadata.Marshal(b, m, deterministic) +} +func (m *CreateDeviceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDeviceMetadata.Merge(m, src) +} +func (m *CreateDeviceMetadata) XXX_Size() int { + return xxx_messageInfo_CreateDeviceMetadata.Size(m) +} +func (m *CreateDeviceMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDeviceMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateDeviceMetadata proto.InternalMessageInfo + +func (m *CreateDeviceMetadata) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type UpdateDeviceRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // map from alias to canonical topic name prefix, e.g. my/custom/alias -> $device/abcdef/events + TopicAliases map[string]string `protobuf:"bytes,5,rep,name=topic_aliases,json=topicAliases,proto3" json:"topic_aliases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateDeviceRequest) Reset() { *m = UpdateDeviceRequest{} } +func (m *UpdateDeviceRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateDeviceRequest) ProtoMessage() {} +func (*UpdateDeviceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{5} +} + +func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateDeviceRequest.Unmarshal(m, b) +} +func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateDeviceRequest.Marshal(b, m, deterministic) +} +func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDeviceRequest.Merge(m, src) +} +func (m *UpdateDeviceRequest) XXX_Size() int { + return xxx_messageInfo_UpdateDeviceRequest.Size(m) +} +func (m *UpdateDeviceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateDeviceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateDeviceRequest proto.InternalMessageInfo + +func (m *UpdateDeviceRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *UpdateDeviceRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateDeviceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateDeviceRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateDeviceRequest) GetTopicAliases() map[string]string { + if m != nil { + return m.TopicAliases + } + return nil +} + +type UpdateDeviceMetadata struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateDeviceMetadata) Reset() { *m = UpdateDeviceMetadata{} } +func (m *UpdateDeviceMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateDeviceMetadata) ProtoMessage() {} +func (*UpdateDeviceMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{6} +} + +func (m *UpdateDeviceMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateDeviceMetadata.Unmarshal(m, b) +} +func (m *UpdateDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateDeviceMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateDeviceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDeviceMetadata.Merge(m, src) +} +func (m *UpdateDeviceMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateDeviceMetadata.Size(m) +} +func (m *UpdateDeviceMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateDeviceMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateDeviceMetadata proto.InternalMessageInfo + +func (m *UpdateDeviceMetadata) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type DeleteDeviceRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDeviceRequest) Reset() { *m = DeleteDeviceRequest{} } +func (m *DeleteDeviceRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDeviceRequest) ProtoMessage() {} +func (*DeleteDeviceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{7} +} + +func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDeviceRequest.Unmarshal(m, b) +} +func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDeviceRequest.Marshal(b, m, deterministic) +} +func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDeviceRequest.Merge(m, src) +} +func (m *DeleteDeviceRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDeviceRequest.Size(m) +} +func (m *DeleteDeviceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDeviceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDeviceRequest proto.InternalMessageInfo + +func (m *DeleteDeviceRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type DeleteDeviceMetadata struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDeviceMetadata) Reset() { *m = DeleteDeviceMetadata{} } +func (m *DeleteDeviceMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteDeviceMetadata) ProtoMessage() {} +func (*DeleteDeviceMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{8} +} + +func (m *DeleteDeviceMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDeviceMetadata.Unmarshal(m, b) +} +func (m *DeleteDeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDeviceMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteDeviceMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDeviceMetadata.Merge(m, src) +} +func (m *DeleteDeviceMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteDeviceMetadata.Size(m) +} +func (m *DeleteDeviceMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDeviceMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDeviceMetadata proto.InternalMessageInfo + +func (m *DeleteDeviceMetadata) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type ListDeviceCertificatesRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceCertificatesRequest) Reset() { *m = ListDeviceCertificatesRequest{} } +func (m *ListDeviceCertificatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDeviceCertificatesRequest) ProtoMessage() {} +func (*ListDeviceCertificatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{9} +} + +func (m *ListDeviceCertificatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceCertificatesRequest.Unmarshal(m, b) +} +func (m *ListDeviceCertificatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceCertificatesRequest.Marshal(b, m, deterministic) +} +func (m *ListDeviceCertificatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceCertificatesRequest.Merge(m, src) +} +func (m *ListDeviceCertificatesRequest) XXX_Size() int { + return xxx_messageInfo_ListDeviceCertificatesRequest.Size(m) +} +func (m *ListDeviceCertificatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceCertificatesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceCertificatesRequest proto.InternalMessageInfo + +func (m *ListDeviceCertificatesRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +type ListDeviceCertificatesResponse struct { + Certificates []*DeviceCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceCertificatesResponse) Reset() { *m = ListDeviceCertificatesResponse{} } +func (m *ListDeviceCertificatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDeviceCertificatesResponse) ProtoMessage() {} +func (*ListDeviceCertificatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{10} +} + +func (m *ListDeviceCertificatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceCertificatesResponse.Unmarshal(m, b) +} +func (m *ListDeviceCertificatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceCertificatesResponse.Marshal(b, m, deterministic) +} +func (m *ListDeviceCertificatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceCertificatesResponse.Merge(m, src) +} +func (m *ListDeviceCertificatesResponse) XXX_Size() int { + return xxx_messageInfo_ListDeviceCertificatesResponse.Size(m) +} +func (m *ListDeviceCertificatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceCertificatesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceCertificatesResponse proto.InternalMessageInfo + +func (m *ListDeviceCertificatesResponse) GetCertificates() []*DeviceCertificate { + if m != nil { + return m.Certificates + } + return nil +} + +type AddDeviceCertificateRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddDeviceCertificateRequest) Reset() { *m = AddDeviceCertificateRequest{} } +func (m *AddDeviceCertificateRequest) String() string { return proto.CompactTextString(m) } +func (*AddDeviceCertificateRequest) ProtoMessage() {} +func (*AddDeviceCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{11} +} + +func (m *AddDeviceCertificateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddDeviceCertificateRequest.Unmarshal(m, b) +} +func (m *AddDeviceCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddDeviceCertificateRequest.Marshal(b, m, deterministic) +} +func (m *AddDeviceCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddDeviceCertificateRequest.Merge(m, src) +} +func (m *AddDeviceCertificateRequest) XXX_Size() int { + return xxx_messageInfo_AddDeviceCertificateRequest.Size(m) +} +func (m *AddDeviceCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddDeviceCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddDeviceCertificateRequest proto.InternalMessageInfo + +func (m *AddDeviceCertificateRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *AddDeviceCertificateRequest) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +type AddDeviceCertificateMetadata struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddDeviceCertificateMetadata) Reset() { *m = AddDeviceCertificateMetadata{} } +func (m *AddDeviceCertificateMetadata) String() string { return proto.CompactTextString(m) } +func (*AddDeviceCertificateMetadata) ProtoMessage() {} +func (*AddDeviceCertificateMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{12} +} + +func (m *AddDeviceCertificateMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddDeviceCertificateMetadata.Unmarshal(m, b) +} +func (m *AddDeviceCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddDeviceCertificateMetadata.Marshal(b, m, deterministic) +} +func (m *AddDeviceCertificateMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddDeviceCertificateMetadata.Merge(m, src) +} +func (m *AddDeviceCertificateMetadata) XXX_Size() int { + return xxx_messageInfo_AddDeviceCertificateMetadata.Size(m) +} +func (m *AddDeviceCertificateMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_AddDeviceCertificateMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_AddDeviceCertificateMetadata proto.InternalMessageInfo + +func (m *AddDeviceCertificateMetadata) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *AddDeviceCertificateMetadata) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type DeleteDeviceCertificateRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDeviceCertificateRequest) Reset() { *m = DeleteDeviceCertificateRequest{} } +func (m *DeleteDeviceCertificateRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDeviceCertificateRequest) ProtoMessage() {} +func (*DeleteDeviceCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{13} +} + +func (m *DeleteDeviceCertificateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDeviceCertificateRequest.Unmarshal(m, b) +} +func (m *DeleteDeviceCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDeviceCertificateRequest.Marshal(b, m, deterministic) +} +func (m *DeleteDeviceCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDeviceCertificateRequest.Merge(m, src) +} +func (m *DeleteDeviceCertificateRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDeviceCertificateRequest.Size(m) +} +func (m *DeleteDeviceCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDeviceCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDeviceCertificateRequest proto.InternalMessageInfo + +func (m *DeleteDeviceCertificateRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *DeleteDeviceCertificateRequest) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type DeleteDeviceCertificateMetadata struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDeviceCertificateMetadata) Reset() { *m = DeleteDeviceCertificateMetadata{} } +func (m *DeleteDeviceCertificateMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteDeviceCertificateMetadata) ProtoMessage() {} +func (*DeleteDeviceCertificateMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{14} +} + +func (m *DeleteDeviceCertificateMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDeviceCertificateMetadata.Unmarshal(m, b) +} +func (m *DeleteDeviceCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDeviceCertificateMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteDeviceCertificateMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDeviceCertificateMetadata.Merge(m, src) +} +func (m *DeleteDeviceCertificateMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteDeviceCertificateMetadata.Size(m) +} +func (m *DeleteDeviceCertificateMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDeviceCertificateMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDeviceCertificateMetadata proto.InternalMessageInfo + +func (m *DeleteDeviceCertificateMetadata) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *DeleteDeviceCertificateMetadata) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type ListDeviceOperationsRequest struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceOperationsRequest) Reset() { *m = ListDeviceOperationsRequest{} } +func (m *ListDeviceOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDeviceOperationsRequest) ProtoMessage() {} +func (*ListDeviceOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{15} +} + +func (m *ListDeviceOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceOperationsRequest.Unmarshal(m, b) +} +func (m *ListDeviceOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceOperationsRequest.Marshal(b, m, deterministic) +} +func (m *ListDeviceOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceOperationsRequest.Merge(m, src) +} +func (m *ListDeviceOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListDeviceOperationsRequest.Size(m) +} +func (m *ListDeviceOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceOperationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceOperationsRequest proto.InternalMessageInfo + +func (m *ListDeviceOperationsRequest) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *ListDeviceOperationsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListDeviceOperationsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListDeviceOperationsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListDeviceOperationsResponse struct { + Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceOperationsResponse) Reset() { *m = ListDeviceOperationsResponse{} } +func (m *ListDeviceOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDeviceOperationsResponse) ProtoMessage() {} +func (*ListDeviceOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4f9432a8c0088851, []int{16} +} + +func (m *ListDeviceOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceOperationsResponse.Unmarshal(m, b) +} +func (m *ListDeviceOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceOperationsResponse.Marshal(b, m, deterministic) +} +func (m *ListDeviceOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceOperationsResponse.Merge(m, src) +} +func (m *ListDeviceOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListDeviceOperationsResponse.Size(m) +} +func (m *ListDeviceOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceOperationsResponse proto.InternalMessageInfo + +func (m *ListDeviceOperationsResponse) GetOperations() []*operation.Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListDeviceOperationsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterType((*GetDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.GetDeviceRequest") + proto.RegisterType((*ListDevicesRequest)(nil), "yandex.cloud.iot.devices.v1.ListDevicesRequest") + proto.RegisterType((*ListDevicesResponse)(nil), "yandex.cloud.iot.devices.v1.ListDevicesResponse") + proto.RegisterType((*CreateDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest.TopicAliasesEntry") + proto.RegisterType((*CreateDeviceRequest_Certificate)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceRequest.Certificate") + proto.RegisterType((*CreateDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.CreateDeviceMetadata") + proto.RegisterType((*UpdateDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceRequest.TopicAliasesEntry") + proto.RegisterType((*UpdateDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.UpdateDeviceMetadata") + proto.RegisterType((*DeleteDeviceRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceRequest") + proto.RegisterType((*DeleteDeviceMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceMetadata") + proto.RegisterType((*ListDeviceCertificatesRequest)(nil), "yandex.cloud.iot.devices.v1.ListDeviceCertificatesRequest") + proto.RegisterType((*ListDeviceCertificatesResponse)(nil), "yandex.cloud.iot.devices.v1.ListDeviceCertificatesResponse") + proto.RegisterType((*AddDeviceCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.AddDeviceCertificateRequest") + proto.RegisterType((*AddDeviceCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.AddDeviceCertificateMetadata") + proto.RegisterType((*DeleteDeviceCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceCertificateRequest") + proto.RegisterType((*DeleteDeviceCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteDeviceCertificateMetadata") + proto.RegisterType((*ListDeviceOperationsRequest)(nil), "yandex.cloud.iot.devices.v1.ListDeviceOperationsRequest") + proto.RegisterType((*ListDeviceOperationsResponse)(nil), "yandex.cloud.iot.devices.v1.ListDeviceOperationsResponse") +} + +func init() { + proto.RegisterFile("yandex/cloud/iot/devices/v1/device_service.proto", fileDescriptor_4f9432a8c0088851) +} + +var fileDescriptor_4f9432a8c0088851 = []byte{ + // 1247 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x6f, 0x1b, 0x55, + 0x10, 0x67, 0x63, 0xc7, 0x24, 0xe3, 0x24, 0x4d, 0x5e, 0x8a, 0x30, 0x9b, 0x34, 0x4d, 0xb7, 0xa2, + 0xb8, 0xae, 0xbc, 0x7f, 0x5c, 0xa5, 0x4a, 0xf3, 0x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 0xe1, + 0x24, 0x97, 0x63, 0x53, 0x6e, 0xb0, 0x3c, 0x5f, 0x08, 0xc7, 0x67, 0xb9, 0xc5, 0xde, 0x6b, 0xb2, + 0x0b, 0x13, 0xef, 0xe4, 0xde, 0xee, 0x37, 0x5f, 0xe5, 0x30, 0xb4, 0x27, 0x9f, 0xa3, 0x1f, 0x05, + 0x98, 0xa0, 0xcc, 0x69, 0x2e, 0x9a, 0x1e, 0xcd, 0xed, 0xb2, 0x55, 0xc5, 0xdb, 0x03, 0x58, 0x06, + 0xf4, 0xbc, 0xc5, 0xf2, 0x51, 0x91, 0x1c, 0x27, 0x9f, 0xe6, 0x2a, 0x5b, 0xdf, 0x7a, 0xbc, 0x59, + 0xb1, 0xc8, 0x67, 0xb5, 0x6d, 0xb9, 0xe4, 0xec, 0x2a, 0x3c, 0x7c, 0x9e, 0xff, 0x3f, 0xa2, 0xe2, + 0xe4, 0x2b, 0xd8, 0x66, 0x55, 0x53, 0xba, 0xfc, 0xa3, 0x62, 0x39, 0x78, 0xdc, 0x4e, 0x31, 0xd5, + 0x9b, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x96, 0x14, 0x6b, 0xc8, 0x11, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// DeviceServiceClient is the client API for DeviceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DeviceServiceClient interface { + Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) + List(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) + Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListCertificates(ctx context.Context, in *ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*ListDeviceCertificatesResponse, error) + AddCertificate(ctx context.Context, in *AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) + DeleteCertificate(ctx context.Context, in *DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListOperations(ctx context.Context, in *ListDeviceOperationsRequest, opts ...grpc.CallOption) (*ListDeviceOperationsResponse, error) +} + +type deviceServiceClient struct { + cc *grpc.ClientConn +} + +func NewDeviceServiceClient(cc *grpc.ClientConn) DeviceServiceClient { + return &deviceServiceClient{cc} +} + +func (c *deviceServiceClient) Get(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*Device, error) { + out := new(Device) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) List(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) { + out := new(ListDevicesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) Create(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) Update(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) Delete(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) ListCertificates(ctx context.Context, in *ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*ListDeviceCertificatesResponse, error) { + out := new(ListDeviceCertificatesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/ListCertificates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) AddCertificate(ctx context.Context, in *AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/AddCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) DeleteCertificate(ctx context.Context, in *DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/DeleteCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *deviceServiceClient) ListOperations(ctx context.Context, in *ListDeviceOperationsRequest, opts ...grpc.CallOption) (*ListDeviceOperationsResponse, error) { + out := new(ListDeviceOperationsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.DeviceService/ListOperations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DeviceServiceServer is the server API for DeviceService service. +type DeviceServiceServer interface { + Get(context.Context, *GetDeviceRequest) (*Device, error) + List(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) + Create(context.Context, *CreateDeviceRequest) (*operation.Operation, error) + Update(context.Context, *UpdateDeviceRequest) (*operation.Operation, error) + Delete(context.Context, *DeleteDeviceRequest) (*operation.Operation, error) + ListCertificates(context.Context, *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error) + AddCertificate(context.Context, *AddDeviceCertificateRequest) (*operation.Operation, error) + DeleteCertificate(context.Context, *DeleteDeviceCertificateRequest) (*operation.Operation, error) + ListOperations(context.Context, *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error) +} + +// UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDeviceServiceServer struct { +} + +func (*UnimplementedDeviceServiceServer) Get(ctx context.Context, req *GetDeviceRequest) (*Device, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDeviceServiceServer) List(ctx context.Context, req *ListDevicesRequest) (*ListDevicesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDeviceServiceServer) Create(ctx context.Context, req *CreateDeviceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDeviceServiceServer) Update(ctx context.Context, req *UpdateDeviceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedDeviceServiceServer) Delete(ctx context.Context, req *DeleteDeviceRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedDeviceServiceServer) ListCertificates(ctx context.Context, req *ListDeviceCertificatesRequest) (*ListDeviceCertificatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented") +} +func (*UnimplementedDeviceServiceServer) AddCertificate(ctx context.Context, req *AddDeviceCertificateRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddCertificate not implemented") +} +func (*UnimplementedDeviceServiceServer) DeleteCertificate(ctx context.Context, req *DeleteDeviceCertificateRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteCertificate not implemented") +} +func (*UnimplementedDeviceServiceServer) ListOperations(ctx context.Context, req *ListDeviceOperationsRequest) (*ListDeviceOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + +func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer) { + s.RegisterService(&_DeviceService_serviceDesc, srv) +} + +func _DeviceService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).Get(ctx, req.(*GetDeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDevicesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).List(ctx, req.(*ListDevicesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).Create(ctx, req.(*CreateDeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateDeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).Update(ctx, req.(*UpdateDeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDeviceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).Delete(ctx, req.(*DeleteDeviceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_ListCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDeviceCertificatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).ListCertificates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/ListCertificates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).ListCertificates(ctx, req.(*ListDeviceCertificatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_AddCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddDeviceCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).AddCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/AddCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).AddCertificate(ctx, req.(*AddDeviceCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_DeleteCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDeviceCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).DeleteCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/DeleteCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).DeleteCertificate(ctx, req.(*DeleteDeviceCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DeviceService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDeviceOperationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DeviceServiceServer).ListOperations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.DeviceService/ListOperations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DeviceServiceServer).ListOperations(ctx, req.(*ListDeviceOperationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DeviceService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.iot.devices.v1.DeviceService", + HandlerType: (*DeviceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _DeviceService_Get_Handler, + }, + { + MethodName: "List", + Handler: _DeviceService_List_Handler, + }, + { + MethodName: "Create", + Handler: _DeviceService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _DeviceService_Update_Handler, + }, + { + MethodName: "Delete", + Handler: _DeviceService_Delete_Handler, + }, + { + MethodName: "ListCertificates", + Handler: _DeviceService_ListCertificates_Handler, + }, + { + MethodName: "AddCertificate", + Handler: _DeviceService_AddCertificate_Handler, + }, + { + MethodName: "DeleteCertificate", + Handler: _DeviceService_DeleteCertificate_Handler, + }, + { + MethodName: "ListOperations", + Handler: _DeviceService_ListOperations_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/iot/devices/v1/device_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry.pb.go new file mode 100644 index 000000000..126c1d520 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry.pb.go @@ -0,0 +1,265 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/iot/devices/v1/registry.proto + +package devices + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Registry struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Registry) Reset() { *m = Registry{} } +func (m *Registry) String() string { return proto.CompactTextString(m) } +func (*Registry) ProtoMessage() {} +func (*Registry) Descriptor() ([]byte, []int) { + return fileDescriptor_39c05472a87f1ea4, []int{0} +} + +func (m *Registry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Registry.Unmarshal(m, b) +} +func (m *Registry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Registry.Marshal(b, m, deterministic) +} +func (m *Registry) XXX_Merge(src proto.Message) { + xxx_messageInfo_Registry.Merge(m, src) +} +func (m *Registry) XXX_Size() int { + return xxx_messageInfo_Registry.Size(m) +} +func (m *Registry) XXX_DiscardUnknown() { + xxx_messageInfo_Registry.DiscardUnknown(m) +} + +var xxx_messageInfo_Registry proto.InternalMessageInfo + +func (m *Registry) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Registry) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *Registry) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Registry) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Registry) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Registry) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +type RegistryCertificate struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegistryCertificate) Reset() { *m = RegistryCertificate{} } +func (m *RegistryCertificate) String() string { return proto.CompactTextString(m) } +func (*RegistryCertificate) ProtoMessage() {} +func (*RegistryCertificate) Descriptor() ([]byte, []int) { + return fileDescriptor_39c05472a87f1ea4, []int{1} +} + +func (m *RegistryCertificate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegistryCertificate.Unmarshal(m, b) +} +func (m *RegistryCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegistryCertificate.Marshal(b, m, deterministic) +} +func (m *RegistryCertificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegistryCertificate.Merge(m, src) +} +func (m *RegistryCertificate) XXX_Size() int { + return xxx_messageInfo_RegistryCertificate.Size(m) +} +func (m *RegistryCertificate) XXX_DiscardUnknown() { + xxx_messageInfo_RegistryCertificate.DiscardUnknown(m) +} + +var xxx_messageInfo_RegistryCertificate proto.InternalMessageInfo + +func (m *RegistryCertificate) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *RegistryCertificate) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +func (m *RegistryCertificate) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +func (m *RegistryCertificate) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +type DeviceAlias struct { + DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` + // prefix of canonical topic name to be aliased, e.g. $devices/abcdef + TopicPrefix string `protobuf:"bytes,2,opt,name=topic_prefix,json=topicPrefix,proto3" json:"topic_prefix,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeviceAlias) Reset() { *m = DeviceAlias{} } +func (m *DeviceAlias) String() string { return proto.CompactTextString(m) } +func (*DeviceAlias) ProtoMessage() {} +func (*DeviceAlias) Descriptor() ([]byte, []int) { + return fileDescriptor_39c05472a87f1ea4, []int{2} +} + +func (m *DeviceAlias) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeviceAlias.Unmarshal(m, b) +} +func (m *DeviceAlias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeviceAlias.Marshal(b, m, deterministic) +} +func (m *DeviceAlias) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeviceAlias.Merge(m, src) +} +func (m *DeviceAlias) XXX_Size() int { + return xxx_messageInfo_DeviceAlias.Size(m) +} +func (m *DeviceAlias) XXX_DiscardUnknown() { + xxx_messageInfo_DeviceAlias.DiscardUnknown(m) +} + +var xxx_messageInfo_DeviceAlias proto.InternalMessageInfo + +func (m *DeviceAlias) GetDeviceId() string { + if m != nil { + return m.DeviceId + } + return "" +} + +func (m *DeviceAlias) GetTopicPrefix() string { + if m != nil { + return m.TopicPrefix + } + return "" +} + +func (m *DeviceAlias) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + +func init() { + proto.RegisterType((*Registry)(nil), "yandex.cloud.iot.devices.v1.Registry") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.Registry.LabelsEntry") + proto.RegisterType((*RegistryCertificate)(nil), "yandex.cloud.iot.devices.v1.RegistryCertificate") + proto.RegisterType((*DeviceAlias)(nil), "yandex.cloud.iot.devices.v1.DeviceAlias") +} + +func init() { + proto.RegisterFile("yandex/cloud/iot/devices/v1/registry.proto", fileDescriptor_39c05472a87f1ea4) +} + +var fileDescriptor_39c05472a87f1ea4 = []byte{ + // 449 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xc1, 0x6e, 0xd3, 0x40, + 0x10, 0x95, 0xdd, 0x34, 0x4a, 0xd6, 0x08, 0xaa, 0x85, 0x83, 0x95, 0x0a, 0x35, 0xe4, 0x14, 0x90, + 0xba, 0x56, 0xca, 0x85, 0xc2, 0xa9, 0x50, 0x84, 0x2c, 0x71, 0x40, 0x16, 0x27, 0x2e, 0xd6, 0xc6, + 0x3b, 0x36, 0x23, 0x1c, 0xaf, 0xb5, 0x9e, 0x58, 0xcd, 0x4f, 0xf1, 0x09, 0x7c, 0x1b, 0xf2, 0xee, + 0x9a, 0x06, 0x0e, 0x95, 0xb8, 0xcd, 0xbe, 0x7d, 0xfb, 0xe6, 0xcd, 0x1b, 0x9b, 0xbd, 0x3a, 0xc8, + 0x46, 0xc1, 0x5d, 0x52, 0xd4, 0x7a, 0xaf, 0x12, 0xd4, 0x94, 0x28, 0xe8, 0xb1, 0x80, 0x2e, 0xe9, + 0x37, 0x89, 0x81, 0x0a, 0x3b, 0x32, 0x07, 0xd1, 0x1a, 0x4d, 0x9a, 0x9f, 0x3b, 0xae, 0xb0, 0x5c, + 0x81, 0x9a, 0x84, 0xe7, 0x8a, 0x7e, 0xb3, 0xb8, 0xa8, 0xb4, 0xae, 0x6a, 0x48, 0x2c, 0x75, 0xbb, + 0x2f, 0x13, 0xc2, 0x1d, 0x74, 0x24, 0x77, 0xad, 0x7b, 0xbd, 0x78, 0xfe, 0x57, 0xa7, 0x5e, 0xd6, + 0xa8, 0x24, 0xa1, 0x6e, 0xdc, 0xf5, 0xea, 0x67, 0xc8, 0x66, 0x99, 0xef, 0xc7, 0x1f, 0xb3, 0x10, + 0x55, 0x1c, 0x2c, 0x83, 0xf5, 0x3c, 0x0b, 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 0x92, 0xfc, 0x27, + 0xfc, 0xc9, 0x7f, 0x84, 0xbf, 0x2a, 0x58, 0x74, 0x6b, 0x63, 0xba, 0xa9, 0x51, 0x76, 0xc3, 0x8e, + 0x5d, 0x6a, 0xf7, 0xae, 0x67, 0x0e, 0x48, 0x15, 0x7f, 0xc1, 0x1e, 0x91, 0x6e, 0xb1, 0xc8, 0x5b, + 0x03, 0x25, 0xde, 0x8d, 0xa6, 0x2d, 0xf6, 0xc5, 0x42, 0x43, 0x52, 0x72, 0x10, 0xf2, 0x4e, 0xdd, + 0xe1, 0x7d, 0xfa, 0xed, 0x53, 0x85, 0xf4, 0x7d, 0xbf, 0x15, 0x85, 0xde, 0x25, 0x6e, 0x4f, 0x97, + 0xee, 0x13, 0xac, 0xf4, 0x65, 0x05, 0x8d, 0xf5, 0x98, 0x3c, 0xf0, 0x17, 0xbc, 0xf3, 0xe5, 0x76, + 0x6a, 0xa9, 0xaf, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xf5, 0xb6, 0xb6, 0x88, 0x33, 0x03, 0x00, + 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry_service.pb.go new file mode 100644 index 000000000..6b0364c64 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1/registry_service.pb.go @@ -0,0 +1,1506 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/iot/devices/v1/registry_service.proto + +package devices + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetRegistryRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRegistryRequest) Reset() { *m = GetRegistryRequest{} } +func (m *GetRegistryRequest) String() string { return proto.CompactTextString(m) } +func (*GetRegistryRequest) ProtoMessage() {} +func (*GetRegistryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{0} +} + +func (m *GetRegistryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRegistryRequest.Unmarshal(m, b) +} +func (m *GetRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRegistryRequest.Marshal(b, m, deterministic) +} +func (m *GetRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRegistryRequest.Merge(m, src) +} +func (m *GetRegistryRequest) XXX_Size() int { + return xxx_messageInfo_GetRegistryRequest.Size(m) +} +func (m *GetRegistryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRegistryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRegistryRequest proto.InternalMessageInfo + +func (m *GetRegistryRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type ListRegistriesRequest struct { + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistriesRequest) Reset() { *m = ListRegistriesRequest{} } +func (m *ListRegistriesRequest) String() string { return proto.CompactTextString(m) } +func (*ListRegistriesRequest) ProtoMessage() {} +func (*ListRegistriesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{1} +} + +func (m *ListRegistriesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistriesRequest.Unmarshal(m, b) +} +func (m *ListRegistriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistriesRequest.Marshal(b, m, deterministic) +} +func (m *ListRegistriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistriesRequest.Merge(m, src) +} +func (m *ListRegistriesRequest) XXX_Size() int { + return xxx_messageInfo_ListRegistriesRequest.Size(m) +} +func (m *ListRegistriesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistriesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistriesRequest proto.InternalMessageInfo + +func (m *ListRegistriesRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *ListRegistriesRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListRegistriesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListRegistriesResponse struct { + Registries []*Registry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistriesResponse) Reset() { *m = ListRegistriesResponse{} } +func (m *ListRegistriesResponse) String() string { return proto.CompactTextString(m) } +func (*ListRegistriesResponse) ProtoMessage() {} +func (*ListRegistriesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{2} +} + +func (m *ListRegistriesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistriesResponse.Unmarshal(m, b) +} +func (m *ListRegistriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistriesResponse.Marshal(b, m, deterministic) +} +func (m *ListRegistriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistriesResponse.Merge(m, src) +} +func (m *ListRegistriesResponse) XXX_Size() int { + return xxx_messageInfo_ListRegistriesResponse.Size(m) +} +func (m *ListRegistriesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistriesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistriesResponse proto.InternalMessageInfo + +func (m *ListRegistriesResponse) GetRegistries() []*Registry { + if m != nil { + return m.Registries + } + return nil +} + +func (m *ListRegistriesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateRegistryRequest struct { + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Certificates []*CreateRegistryRequest_Certificate `protobuf:"bytes,5,rep,name=certificates,proto3" json:"certificates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRegistryRequest) Reset() { *m = CreateRegistryRequest{} } +func (m *CreateRegistryRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRegistryRequest) ProtoMessage() {} +func (*CreateRegistryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{3} +} + +func (m *CreateRegistryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRegistryRequest.Unmarshal(m, b) +} +func (m *CreateRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRegistryRequest.Marshal(b, m, deterministic) +} +func (m *CreateRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRegistryRequest.Merge(m, src) +} +func (m *CreateRegistryRequest) XXX_Size() int { + return xxx_messageInfo_CreateRegistryRequest.Size(m) +} +func (m *CreateRegistryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRegistryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRegistryRequest proto.InternalMessageInfo + +func (m *CreateRegistryRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *CreateRegistryRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CreateRegistryRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateRegistryRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *CreateRegistryRequest) GetCertificates() []*CreateRegistryRequest_Certificate { + if m != nil { + return m.Certificates + } + return nil +} + +type CreateRegistryRequest_Certificate struct { + CertificateData string `protobuf:"bytes,1,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRegistryRequest_Certificate) Reset() { *m = CreateRegistryRequest_Certificate{} } +func (m *CreateRegistryRequest_Certificate) String() string { return proto.CompactTextString(m) } +func (*CreateRegistryRequest_Certificate) ProtoMessage() {} +func (*CreateRegistryRequest_Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{3, 1} +} + +func (m *CreateRegistryRequest_Certificate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRegistryRequest_Certificate.Unmarshal(m, b) +} +func (m *CreateRegistryRequest_Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRegistryRequest_Certificate.Marshal(b, m, deterministic) +} +func (m *CreateRegistryRequest_Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRegistryRequest_Certificate.Merge(m, src) +} +func (m *CreateRegistryRequest_Certificate) XXX_Size() int { + return xxx_messageInfo_CreateRegistryRequest_Certificate.Size(m) +} +func (m *CreateRegistryRequest_Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRegistryRequest_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRegistryRequest_Certificate proto.InternalMessageInfo + +func (m *CreateRegistryRequest_Certificate) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +type CreateRegistryMetadata struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRegistryMetadata) Reset() { *m = CreateRegistryMetadata{} } +func (m *CreateRegistryMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateRegistryMetadata) ProtoMessage() {} +func (*CreateRegistryMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{4} +} + +func (m *CreateRegistryMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRegistryMetadata.Unmarshal(m, b) +} +func (m *CreateRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRegistryMetadata.Marshal(b, m, deterministic) +} +func (m *CreateRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRegistryMetadata.Merge(m, src) +} +func (m *CreateRegistryMetadata) XXX_Size() int { + return xxx_messageInfo_CreateRegistryMetadata.Size(m) +} +func (m *CreateRegistryMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRegistryMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRegistryMetadata proto.InternalMessageInfo + +func (m *CreateRegistryMetadata) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type UpdateRegistryRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateRegistryRequest) Reset() { *m = UpdateRegistryRequest{} } +func (m *UpdateRegistryRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateRegistryRequest) ProtoMessage() {} +func (*UpdateRegistryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{5} +} + +func (m *UpdateRegistryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateRegistryRequest.Unmarshal(m, b) +} +func (m *UpdateRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateRegistryRequest.Marshal(b, m, deterministic) +} +func (m *UpdateRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRegistryRequest.Merge(m, src) +} +func (m *UpdateRegistryRequest) XXX_Size() int { + return xxx_messageInfo_UpdateRegistryRequest.Size(m) +} +func (m *UpdateRegistryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateRegistryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateRegistryRequest proto.InternalMessageInfo + +func (m *UpdateRegistryRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *UpdateRegistryRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateRegistryRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateRegistryRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateRegistryRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +type UpdateRegistryMetadata struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateRegistryMetadata) Reset() { *m = UpdateRegistryMetadata{} } +func (m *UpdateRegistryMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateRegistryMetadata) ProtoMessage() {} +func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{6} +} + +func (m *UpdateRegistryMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateRegistryMetadata.Unmarshal(m, b) +} +func (m *UpdateRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateRegistryMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRegistryMetadata.Merge(m, src) +} +func (m *UpdateRegistryMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateRegistryMetadata.Size(m) +} +func (m *UpdateRegistryMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateRegistryMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateRegistryMetadata proto.InternalMessageInfo + +func (m *UpdateRegistryMetadata) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type DeleteRegistryRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRegistryRequest) Reset() { *m = DeleteRegistryRequest{} } +func (m *DeleteRegistryRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteRegistryRequest) ProtoMessage() {} +func (*DeleteRegistryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{7} +} + +func (m *DeleteRegistryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRegistryRequest.Unmarshal(m, b) +} +func (m *DeleteRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRegistryRequest.Marshal(b, m, deterministic) +} +func (m *DeleteRegistryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryRequest.Merge(m, src) +} +func (m *DeleteRegistryRequest) XXX_Size() int { + return xxx_messageInfo_DeleteRegistryRequest.Size(m) +} +func (m *DeleteRegistryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRegistryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRegistryRequest proto.InternalMessageInfo + +func (m *DeleteRegistryRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type DeleteRegistryMetadata struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRegistryMetadata) Reset() { *m = DeleteRegistryMetadata{} } +func (m *DeleteRegistryMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteRegistryMetadata) ProtoMessage() {} +func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{8} +} + +func (m *DeleteRegistryMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRegistryMetadata.Unmarshal(m, b) +} +func (m *DeleteRegistryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRegistryMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteRegistryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryMetadata.Merge(m, src) +} +func (m *DeleteRegistryMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteRegistryMetadata.Size(m) +} +func (m *DeleteRegistryMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRegistryMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRegistryMetadata proto.InternalMessageInfo + +func (m *DeleteRegistryMetadata) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type ListRegistryCertificatesRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistryCertificatesRequest) Reset() { *m = ListRegistryCertificatesRequest{} } +func (m *ListRegistryCertificatesRequest) String() string { return proto.CompactTextString(m) } +func (*ListRegistryCertificatesRequest) ProtoMessage() {} +func (*ListRegistryCertificatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{9} +} + +func (m *ListRegistryCertificatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistryCertificatesRequest.Unmarshal(m, b) +} +func (m *ListRegistryCertificatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistryCertificatesRequest.Marshal(b, m, deterministic) +} +func (m *ListRegistryCertificatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistryCertificatesRequest.Merge(m, src) +} +func (m *ListRegistryCertificatesRequest) XXX_Size() int { + return xxx_messageInfo_ListRegistryCertificatesRequest.Size(m) +} +func (m *ListRegistryCertificatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistryCertificatesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistryCertificatesRequest proto.InternalMessageInfo + +func (m *ListRegistryCertificatesRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +type ListRegistryCertificatesResponse struct { + Certificates []*RegistryCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistryCertificatesResponse) Reset() { *m = ListRegistryCertificatesResponse{} } +func (m *ListRegistryCertificatesResponse) String() string { return proto.CompactTextString(m) } +func (*ListRegistryCertificatesResponse) ProtoMessage() {} +func (*ListRegistryCertificatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{10} +} + +func (m *ListRegistryCertificatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistryCertificatesResponse.Unmarshal(m, b) +} +func (m *ListRegistryCertificatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistryCertificatesResponse.Marshal(b, m, deterministic) +} +func (m *ListRegistryCertificatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistryCertificatesResponse.Merge(m, src) +} +func (m *ListRegistryCertificatesResponse) XXX_Size() int { + return xxx_messageInfo_ListRegistryCertificatesResponse.Size(m) +} +func (m *ListRegistryCertificatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistryCertificatesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistryCertificatesResponse proto.InternalMessageInfo + +func (m *ListRegistryCertificatesResponse) GetCertificates() []*RegistryCertificate { + if m != nil { + return m.Certificates + } + return nil +} + +type AddRegistryCertificateRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + CertificateData string `protobuf:"bytes,3,opt,name=certificate_data,json=certificateData,proto3" json:"certificate_data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddRegistryCertificateRequest) Reset() { *m = AddRegistryCertificateRequest{} } +func (m *AddRegistryCertificateRequest) String() string { return proto.CompactTextString(m) } +func (*AddRegistryCertificateRequest) ProtoMessage() {} +func (*AddRegistryCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{11} +} + +func (m *AddRegistryCertificateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddRegistryCertificateRequest.Unmarshal(m, b) +} +func (m *AddRegistryCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddRegistryCertificateRequest.Marshal(b, m, deterministic) +} +func (m *AddRegistryCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddRegistryCertificateRequest.Merge(m, src) +} +func (m *AddRegistryCertificateRequest) XXX_Size() int { + return xxx_messageInfo_AddRegistryCertificateRequest.Size(m) +} +func (m *AddRegistryCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddRegistryCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddRegistryCertificateRequest proto.InternalMessageInfo + +func (m *AddRegistryCertificateRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *AddRegistryCertificateRequest) GetCertificateData() string { + if m != nil { + return m.CertificateData + } + return "" +} + +type AddRegistryCertificateMetadata struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddRegistryCertificateMetadata) Reset() { *m = AddRegistryCertificateMetadata{} } +func (m *AddRegistryCertificateMetadata) String() string { return proto.CompactTextString(m) } +func (*AddRegistryCertificateMetadata) ProtoMessage() {} +func (*AddRegistryCertificateMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{12} +} + +func (m *AddRegistryCertificateMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddRegistryCertificateMetadata.Unmarshal(m, b) +} +func (m *AddRegistryCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddRegistryCertificateMetadata.Marshal(b, m, deterministic) +} +func (m *AddRegistryCertificateMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddRegistryCertificateMetadata.Merge(m, src) +} +func (m *AddRegistryCertificateMetadata) XXX_Size() int { + return xxx_messageInfo_AddRegistryCertificateMetadata.Size(m) +} +func (m *AddRegistryCertificateMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_AddRegistryCertificateMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_AddRegistryCertificateMetadata proto.InternalMessageInfo + +func (m *AddRegistryCertificateMetadata) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *AddRegistryCertificateMetadata) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type DeleteRegistryCertificateRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRegistryCertificateRequest) Reset() { *m = DeleteRegistryCertificateRequest{} } +func (m *DeleteRegistryCertificateRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteRegistryCertificateRequest) ProtoMessage() {} +func (*DeleteRegistryCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{13} +} + +func (m *DeleteRegistryCertificateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRegistryCertificateRequest.Unmarshal(m, b) +} +func (m *DeleteRegistryCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRegistryCertificateRequest.Marshal(b, m, deterministic) +} +func (m *DeleteRegistryCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryCertificateRequest.Merge(m, src) +} +func (m *DeleteRegistryCertificateRequest) XXX_Size() int { + return xxx_messageInfo_DeleteRegistryCertificateRequest.Size(m) +} +func (m *DeleteRegistryCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRegistryCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRegistryCertificateRequest proto.InternalMessageInfo + +func (m *DeleteRegistryCertificateRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *DeleteRegistryCertificateRequest) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type DeleteRegistryCertificateMetadata struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRegistryCertificateMetadata) Reset() { *m = DeleteRegistryCertificateMetadata{} } +func (m *DeleteRegistryCertificateMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteRegistryCertificateMetadata) ProtoMessage() {} +func (*DeleteRegistryCertificateMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{14} +} + +func (m *DeleteRegistryCertificateMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRegistryCertificateMetadata.Unmarshal(m, b) +} +func (m *DeleteRegistryCertificateMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRegistryCertificateMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteRegistryCertificateMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRegistryCertificateMetadata.Merge(m, src) +} +func (m *DeleteRegistryCertificateMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteRegistryCertificateMetadata.Size(m) +} +func (m *DeleteRegistryCertificateMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRegistryCertificateMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRegistryCertificateMetadata proto.InternalMessageInfo + +func (m *DeleteRegistryCertificateMetadata) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *DeleteRegistryCertificateMetadata) GetFingerprint() string { + if m != nil { + return m.Fingerprint + } + return "" +} + +type ListDeviceTopicAliasesRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceTopicAliasesRequest) Reset() { *m = ListDeviceTopicAliasesRequest{} } +func (m *ListDeviceTopicAliasesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDeviceTopicAliasesRequest) ProtoMessage() {} +func (*ListDeviceTopicAliasesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{15} +} + +func (m *ListDeviceTopicAliasesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceTopicAliasesRequest.Unmarshal(m, b) +} +func (m *ListDeviceTopicAliasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceTopicAliasesRequest.Marshal(b, m, deterministic) +} +func (m *ListDeviceTopicAliasesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceTopicAliasesRequest.Merge(m, src) +} +func (m *ListDeviceTopicAliasesRequest) XXX_Size() int { + return xxx_messageInfo_ListDeviceTopicAliasesRequest.Size(m) +} +func (m *ListDeviceTopicAliasesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceTopicAliasesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceTopicAliasesRequest proto.InternalMessageInfo + +func (m *ListDeviceTopicAliasesRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *ListDeviceTopicAliasesRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListDeviceTopicAliasesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListDeviceTopicAliasesResponse struct { + Aliases []*DeviceAlias `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDeviceTopicAliasesResponse) Reset() { *m = ListDeviceTopicAliasesResponse{} } +func (m *ListDeviceTopicAliasesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDeviceTopicAliasesResponse) ProtoMessage() {} +func (*ListDeviceTopicAliasesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{16} +} + +func (m *ListDeviceTopicAliasesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDeviceTopicAliasesResponse.Unmarshal(m, b) +} +func (m *ListDeviceTopicAliasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDeviceTopicAliasesResponse.Marshal(b, m, deterministic) +} +func (m *ListDeviceTopicAliasesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDeviceTopicAliasesResponse.Merge(m, src) +} +func (m *ListDeviceTopicAliasesResponse) XXX_Size() int { + return xxx_messageInfo_ListDeviceTopicAliasesResponse.Size(m) +} +func (m *ListDeviceTopicAliasesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDeviceTopicAliasesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDeviceTopicAliasesResponse proto.InternalMessageInfo + +func (m *ListDeviceTopicAliasesResponse) GetAliases() []*DeviceAlias { + if m != nil { + return m.Aliases + } + return nil +} + +func (m *ListDeviceTopicAliasesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListRegistryOperationsRequest struct { + RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistryOperationsRequest) Reset() { *m = ListRegistryOperationsRequest{} } +func (m *ListRegistryOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListRegistryOperationsRequest) ProtoMessage() {} +func (*ListRegistryOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{17} +} + +func (m *ListRegistryOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistryOperationsRequest.Unmarshal(m, b) +} +func (m *ListRegistryOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistryOperationsRequest.Marshal(b, m, deterministic) +} +func (m *ListRegistryOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistryOperationsRequest.Merge(m, src) +} +func (m *ListRegistryOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListRegistryOperationsRequest.Size(m) +} +func (m *ListRegistryOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistryOperationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistryOperationsRequest proto.InternalMessageInfo + +func (m *ListRegistryOperationsRequest) GetRegistryId() string { + if m != nil { + return m.RegistryId + } + return "" +} + +func (m *ListRegistryOperationsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListRegistryOperationsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListRegistryOperationsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListRegistryOperationsResponse struct { + Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRegistryOperationsResponse) Reset() { *m = ListRegistryOperationsResponse{} } +func (m *ListRegistryOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListRegistryOperationsResponse) ProtoMessage() {} +func (*ListRegistryOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_481ff402e1676179, []int{18} +} + +func (m *ListRegistryOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRegistryOperationsResponse.Unmarshal(m, b) +} +func (m *ListRegistryOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRegistryOperationsResponse.Marshal(b, m, deterministic) +} +func (m *ListRegistryOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRegistryOperationsResponse.Merge(m, src) +} +func (m *ListRegistryOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListRegistryOperationsResponse.Size(m) +} +func (m *ListRegistryOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRegistryOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRegistryOperationsResponse proto.InternalMessageInfo + +func (m *ListRegistryOperationsResponse) GetOperations() []*operation.Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListRegistryOperationsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterType((*GetRegistryRequest)(nil), "yandex.cloud.iot.devices.v1.GetRegistryRequest") + proto.RegisterType((*ListRegistriesRequest)(nil), "yandex.cloud.iot.devices.v1.ListRegistriesRequest") + proto.RegisterType((*ListRegistriesResponse)(nil), "yandex.cloud.iot.devices.v1.ListRegistriesResponse") + proto.RegisterType((*CreateRegistryRequest)(nil), "yandex.cloud.iot.devices.v1.CreateRegistryRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.CreateRegistryRequest.LabelsEntry") + proto.RegisterType((*CreateRegistryRequest_Certificate)(nil), "yandex.cloud.iot.devices.v1.CreateRegistryRequest.Certificate") + proto.RegisterType((*CreateRegistryMetadata)(nil), "yandex.cloud.iot.devices.v1.CreateRegistryMetadata") + proto.RegisterType((*UpdateRegistryRequest)(nil), "yandex.cloud.iot.devices.v1.UpdateRegistryRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.iot.devices.v1.UpdateRegistryRequest.LabelsEntry") + proto.RegisterType((*UpdateRegistryMetadata)(nil), "yandex.cloud.iot.devices.v1.UpdateRegistryMetadata") + proto.RegisterType((*DeleteRegistryRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteRegistryRequest") + proto.RegisterType((*DeleteRegistryMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteRegistryMetadata") + proto.RegisterType((*ListRegistryCertificatesRequest)(nil), "yandex.cloud.iot.devices.v1.ListRegistryCertificatesRequest") + proto.RegisterType((*ListRegistryCertificatesResponse)(nil), "yandex.cloud.iot.devices.v1.ListRegistryCertificatesResponse") + proto.RegisterType((*AddRegistryCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.AddRegistryCertificateRequest") + proto.RegisterType((*AddRegistryCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.AddRegistryCertificateMetadata") + proto.RegisterType((*DeleteRegistryCertificateRequest)(nil), "yandex.cloud.iot.devices.v1.DeleteRegistryCertificateRequest") + proto.RegisterType((*DeleteRegistryCertificateMetadata)(nil), "yandex.cloud.iot.devices.v1.DeleteRegistryCertificateMetadata") + proto.RegisterType((*ListDeviceTopicAliasesRequest)(nil), "yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesRequest") + proto.RegisterType((*ListDeviceTopicAliasesResponse)(nil), "yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesResponse") + proto.RegisterType((*ListRegistryOperationsRequest)(nil), "yandex.cloud.iot.devices.v1.ListRegistryOperationsRequest") + proto.RegisterType((*ListRegistryOperationsResponse)(nil), "yandex.cloud.iot.devices.v1.ListRegistryOperationsResponse") +} + +func init() { + proto.RegisterFile("yandex/cloud/iot/devices/v1/registry_service.proto", fileDescriptor_481ff402e1676179) +} + +var fileDescriptor_481ff402e1676179 = []byte{ + // 1322 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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0x49, 0x6e, 0x38, 0x2b, 0x0a, 0x43, 0x21, 0xb1, 0xff, 0xd9, 0x5a, 0x8e, 0xd4, 0xc2, 0x36, 0xa5, + 0x84, 0x32, 0xe4, 0x0f, 0xb8, 0xf9, 0xf0, 0x71, 0x29, 0x47, 0x4d, 0xa7, 0xff, 0x0b, 0x00, 0x00, + 0xff, 0xff, 0x39, 0x48, 0xe1, 0x77, 0xa2, 0x14, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// RegistryServiceClient is the client API for RegistryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type RegistryServiceClient interface { + Get(ctx context.Context, in *GetRegistryRequest, opts ...grpc.CallOption) (*Registry, error) + List(ctx context.Context, in *ListRegistriesRequest, opts ...grpc.CallOption) (*ListRegistriesResponse, error) + Create(ctx context.Context, in *CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Update(ctx context.Context, in *UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Delete(ctx context.Context, in *DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListCertificates(ctx context.Context, in *ListRegistryCertificatesRequest, opts ...grpc.CallOption) (*ListRegistryCertificatesResponse, error) + AddCertificate(ctx context.Context, in *AddRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) + DeleteCertificate(ctx context.Context, in *DeleteRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListDeviceTopicAliases(ctx context.Context, in *ListDeviceTopicAliasesRequest, opts ...grpc.CallOption) (*ListDeviceTopicAliasesResponse, error) + ListOperations(ctx context.Context, in *ListRegistryOperationsRequest, opts ...grpc.CallOption) (*ListRegistryOperationsResponse, error) +} + +type registryServiceClient struct { + cc *grpc.ClientConn +} + +func NewRegistryServiceClient(cc *grpc.ClientConn) RegistryServiceClient { + return ®istryServiceClient{cc} +} + +func (c *registryServiceClient) Get(ctx context.Context, in *GetRegistryRequest, opts ...grpc.CallOption) (*Registry, error) { + out := new(Registry) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) List(ctx context.Context, in *ListRegistriesRequest, opts ...grpc.CallOption) (*ListRegistriesResponse, error) { + out := new(ListRegistriesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) Create(ctx context.Context, in *CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) Update(ctx context.Context, in *UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) Delete(ctx context.Context, in *DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) ListCertificates(ctx context.Context, in *ListRegistryCertificatesRequest, opts ...grpc.CallOption) (*ListRegistryCertificatesResponse, error) { + out := new(ListRegistryCertificatesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/ListCertificates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) AddCertificate(ctx context.Context, in *AddRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/AddCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) DeleteCertificate(ctx context.Context, in *DeleteRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/DeleteCertificate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) ListDeviceTopicAliases(ctx context.Context, in *ListDeviceTopicAliasesRequest, opts ...grpc.CallOption) (*ListDeviceTopicAliasesResponse, error) { + out := new(ListDeviceTopicAliasesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/ListDeviceTopicAliases", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *registryServiceClient) ListOperations(ctx context.Context, in *ListRegistryOperationsRequest, opts ...grpc.CallOption) (*ListRegistryOperationsResponse, error) { + out := new(ListRegistryOperationsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.iot.devices.v1.RegistryService/ListOperations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RegistryServiceServer is the server API for RegistryService service. +type RegistryServiceServer interface { + Get(context.Context, *GetRegistryRequest) (*Registry, error) + List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error) + Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error) + Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error) + Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error) + ListCertificates(context.Context, *ListRegistryCertificatesRequest) (*ListRegistryCertificatesResponse, error) + AddCertificate(context.Context, *AddRegistryCertificateRequest) (*operation.Operation, error) + DeleteCertificate(context.Context, *DeleteRegistryCertificateRequest) (*operation.Operation, error) + ListDeviceTopicAliases(context.Context, *ListDeviceTopicAliasesRequest) (*ListDeviceTopicAliasesResponse, error) + ListOperations(context.Context, *ListRegistryOperationsRequest) (*ListRegistryOperationsResponse, error) +} + +// UnimplementedRegistryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRegistryServiceServer struct { +} + +func (*UnimplementedRegistryServiceServer) Get(ctx context.Context, req *GetRegistryRequest) (*Registry, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedRegistryServiceServer) List(ctx context.Context, req *ListRegistriesRequest) (*ListRegistriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedRegistryServiceServer) Create(ctx context.Context, req *CreateRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedRegistryServiceServer) Update(ctx context.Context, req *UpdateRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedRegistryServiceServer) Delete(ctx context.Context, req *DeleteRegistryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedRegistryServiceServer) ListCertificates(ctx context.Context, req *ListRegistryCertificatesRequest) (*ListRegistryCertificatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListCertificates not implemented") +} +func (*UnimplementedRegistryServiceServer) AddCertificate(ctx context.Context, req *AddRegistryCertificateRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddCertificate not implemented") +} +func (*UnimplementedRegistryServiceServer) DeleteCertificate(ctx context.Context, req *DeleteRegistryCertificateRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteCertificate not implemented") +} +func (*UnimplementedRegistryServiceServer) ListDeviceTopicAliases(ctx context.Context, req *ListDeviceTopicAliasesRequest) (*ListDeviceTopicAliasesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListDeviceTopicAliases not implemented") +} +func (*UnimplementedRegistryServiceServer) ListOperations(ctx context.Context, req *ListRegistryOperationsRequest) (*ListRegistryOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + +func RegisterRegistryServiceServer(s *grpc.Server, srv RegistryServiceServer) { + s.RegisterService(&_RegistryService_serviceDesc, srv) +} + +func _RegistryService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRegistryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).Get(ctx, req.(*GetRegistryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListRegistriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).List(ctx, req.(*ListRegistriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRegistryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).Create(ctx, req.(*CreateRegistryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateRegistryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).Update(ctx, req.(*UpdateRegistryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRegistryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).Delete(ctx, req.(*DeleteRegistryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_ListCertificates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListRegistryCertificatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).ListCertificates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/ListCertificates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).ListCertificates(ctx, req.(*ListRegistryCertificatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_AddCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddRegistryCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).AddCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/AddCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).AddCertificate(ctx, req.(*AddRegistryCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_DeleteCertificate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRegistryCertificateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).DeleteCertificate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/DeleteCertificate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).DeleteCertificate(ctx, req.(*DeleteRegistryCertificateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_ListDeviceTopicAliases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDeviceTopicAliasesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).ListDeviceTopicAliases(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/ListDeviceTopicAliases", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).ListDeviceTopicAliases(ctx, req.(*ListDeviceTopicAliasesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RegistryService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListRegistryOperationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RegistryServiceServer).ListOperations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.iot.devices.v1.RegistryService/ListOperations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RegistryServiceServer).ListOperations(ctx, req.(*ListRegistryOperationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _RegistryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.iot.devices.v1.RegistryService", + HandlerType: (*RegistryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _RegistryService_Get_Handler, + }, + { + MethodName: "List", + Handler: _RegistryService_List_Handler, + }, + { + MethodName: "Create", + Handler: _RegistryService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _RegistryService_Update_Handler, + }, + { + MethodName: "Delete", + Handler: _RegistryService_Delete_Handler, + }, + { + MethodName: "ListCertificates", + Handler: _RegistryService_ListCertificates_Handler, + }, + { + MethodName: "AddCertificate", + Handler: _RegistryService_AddCertificate_Handler, + }, + { + MethodName: "DeleteCertificate", + Handler: _RegistryService_DeleteCertificate_Handler, + }, + { + MethodName: "ListDeviceTopicAliases", + Handler: _RegistryService_ListDeviceTopicAliases_Handler, + }, + { + MethodName: "ListOperations", + Handler: _RegistryService_ListOperations_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/iot/devices/v1/registry_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/health_check.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/health_check.pb.go index 24abc8812..b7c045393 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/health_check.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/health_check.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/loadbalancer/v1/health_check.proto -package loadbalancer // import "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" +package loadbalancer -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import duration "github.com/golang/protobuf/ptypes/duration" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A HealthCheck resource. For more information, see [Health check](/docs/load-balancer/concepts/health-check). type HealthCheck struct { @@ -47,16 +49,17 @@ func (m *HealthCheck) Reset() { *m = HealthCheck{} } func (m *HealthCheck) String() string { return proto.CompactTextString(m) } func (*HealthCheck) ProtoMessage() {} func (*HealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_f79463e9bdeb651f, []int{0} + return fileDescriptor_9b62ad9bb627f411, []int{0} } + func (m *HealthCheck) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheck.Unmarshal(m, b) } func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic) } -func (dst *HealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck.Merge(dst, src) +func (m *HealthCheck) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheck.Merge(m, src) } func (m *HealthCheck) XXX_Size() int { return xxx_messageInfo_HealthCheck.Size(m) @@ -139,80 +142,14 @@ func (m *HealthCheck) GetHttpOptions() *HealthCheck_HttpOptions { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*HealthCheck) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _HealthCheck_OneofMarshaler, _HealthCheck_OneofUnmarshaler, _HealthCheck_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*HealthCheck) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*HealthCheck_TcpOptions_)(nil), (*HealthCheck_HttpOptions_)(nil), } } -func _HealthCheck_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*HealthCheck) - // options - switch x := m.Options.(type) { - case *HealthCheck_TcpOptions_: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.TcpOptions); err != nil { - return err - } - case *HealthCheck_HttpOptions_: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.HttpOptions); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("HealthCheck.Options has unexpected type %T", x) - } - return nil -} - -func _HealthCheck_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*HealthCheck) - switch tag { - case 6: // options.tcp_options - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_TcpOptions) - err := b.DecodeMessage(msg) - m.Options = &HealthCheck_TcpOptions_{msg} - return true, err - case 7: // options.http_options - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(HealthCheck_HttpOptions) - err := b.DecodeMessage(msg) - m.Options = &HealthCheck_HttpOptions_{msg} - return true, err - default: - return false, nil - } -} - -func _HealthCheck_OneofSizer(msg proto.Message) (n int) { - m := msg.(*HealthCheck) - // options - switch x := m.Options.(type) { - case *HealthCheck_TcpOptions_: - s := proto.Size(x.TcpOptions) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HealthCheck_HttpOptions_: - s := proto.Size(x.HttpOptions) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - // Configuration option for a TCP health check. type HealthCheck_TcpOptions struct { // Port to use for TCP health checks. @@ -226,16 +163,17 @@ func (m *HealthCheck_TcpOptions) Reset() { *m = HealthCheck_TcpOptions{} func (m *HealthCheck_TcpOptions) String() string { return proto.CompactTextString(m) } func (*HealthCheck_TcpOptions) ProtoMessage() {} func (*HealthCheck_TcpOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_f79463e9bdeb651f, []int{0, 0} + return fileDescriptor_9b62ad9bb627f411, []int{0, 0} } + func (m *HealthCheck_TcpOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheck_TcpOptions.Unmarshal(m, b) } func (m *HealthCheck_TcpOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HealthCheck_TcpOptions.Marshal(b, m, deterministic) } -func (dst *HealthCheck_TcpOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_TcpOptions.Merge(dst, src) +func (m *HealthCheck_TcpOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheck_TcpOptions.Merge(m, src) } func (m *HealthCheck_TcpOptions) XXX_Size() int { return xxx_messageInfo_HealthCheck_TcpOptions.Size(m) @@ -269,16 +207,17 @@ func (m *HealthCheck_HttpOptions) Reset() { *m = HealthCheck_HttpOptions func (m *HealthCheck_HttpOptions) String() string { return proto.CompactTextString(m) } func (*HealthCheck_HttpOptions) ProtoMessage() {} func (*HealthCheck_HttpOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_health_check_f79463e9bdeb651f, []int{0, 1} + return fileDescriptor_9b62ad9bb627f411, []int{0, 1} } + func (m *HealthCheck_HttpOptions) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HealthCheck_HttpOptions.Unmarshal(m, b) } func (m *HealthCheck_HttpOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HealthCheck_HttpOptions.Marshal(b, m, deterministic) } -func (dst *HealthCheck_HttpOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck_HttpOptions.Merge(dst, src) +func (m *HealthCheck_HttpOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheck_HttpOptions.Merge(m, src) } func (m *HealthCheck_HttpOptions) XXX_Size() int { return xxx_messageInfo_HealthCheck_HttpOptions.Size(m) @@ -310,10 +249,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/loadbalancer/v1/health_check.proto", fileDescriptor_health_check_f79463e9bdeb651f) + proto.RegisterFile("yandex/cloud/loadbalancer/v1/health_check.proto", fileDescriptor_9b62ad9bb627f411) } -var fileDescriptor_health_check_f79463e9bdeb651f = []byte{ +var fileDescriptor_9b62ad9bb627f411 = []byte{ // 441 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6e, 0xd3, 0x40, 0x10, 0xc6, 0x31, 0x31, 0x4d, 0x3b, 0x46, 0x02, 0x96, 0x8b, 0x89, 0x28, 0x04, 0x4e, 0x39, 0xb0, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer.pb.go index f52521432..0acf717eb 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/loadbalancer/v1/network_load_balancer.proto -package loadbalancer // import "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" +package loadbalancer -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // IP version of the addresses that the load balancer works with. // Only IPv4 is currently available. @@ -37,17 +39,19 @@ var IpVersion_name = map[int32]string{ 1: "IPV4", 2: "IPV6", } + var IpVersion_value = map[string]int32{ "IP_VERSION_UNSPECIFIED": 0, - "IPV4": 1, - "IPV6": 2, + "IPV4": 1, + "IPV6": 2, } func (x IpVersion) String() string { return proto.EnumName(IpVersion_name, int32(x)) } + func (IpVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{0} + return fileDescriptor_33d34a5ec4bd7fd4, []int{0} } type NetworkLoadBalancer_Status int32 @@ -82,6 +86,7 @@ var NetworkLoadBalancer_Status_name = map[int32]string{ 6: "DELETING", 7: "INACTIVE", } + var NetworkLoadBalancer_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, @@ -96,8 +101,9 @@ var NetworkLoadBalancer_Status_value = map[string]int32{ func (x NetworkLoadBalancer_Status) String() string { return proto.EnumName(NetworkLoadBalancer_Status_name, int32(x)) } + func (NetworkLoadBalancer_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{0, 0} + return fileDescriptor_33d34a5ec4bd7fd4, []int{0, 0} } // Type of the load balancer. Only external load balancers are currently available. @@ -113,6 +119,7 @@ var NetworkLoadBalancer_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "EXTERNAL", } + var NetworkLoadBalancer_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "EXTERNAL": 1, @@ -121,8 +128,9 @@ var NetworkLoadBalancer_Type_value = map[string]int32{ func (x NetworkLoadBalancer_Type) String() string { return proto.EnumName(NetworkLoadBalancer_Type_name, int32(x)) } + func (NetworkLoadBalancer_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{0, 1} + return fileDescriptor_33d34a5ec4bd7fd4, []int{0, 1} } // Type of session affinity. Only 5-tuple affinity is currently available. @@ -139,6 +147,7 @@ var NetworkLoadBalancer_SessionAffinity_name = map[int32]string{ 0: "SESSION_AFFINITY_UNSPECIFIED", 1: "CLIENT_IP_PORT_PROTO", } + var NetworkLoadBalancer_SessionAffinity_value = map[string]int32{ "SESSION_AFFINITY_UNSPECIFIED": 0, "CLIENT_IP_PORT_PROTO": 1, @@ -147,8 +156,9 @@ var NetworkLoadBalancer_SessionAffinity_value = map[string]int32{ func (x NetworkLoadBalancer_SessionAffinity) String() string { return proto.EnumName(NetworkLoadBalancer_SessionAffinity_name, int32(x)) } + func (NetworkLoadBalancer_SessionAffinity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{0, 2} + return fileDescriptor_33d34a5ec4bd7fd4, []int{0, 2} } // Network protocol to use. @@ -163,16 +173,18 @@ var Listener_Protocol_name = map[int32]string{ 0: "PROTOCOL_UNSPECIFIED", 1: "TCP", } + var Listener_Protocol_value = map[string]int32{ "PROTOCOL_UNSPECIFIED": 0, - "TCP": 1, + "TCP": 1, } func (x Listener_Protocol) String() string { return proto.EnumName(Listener_Protocol_name, int32(x)) } + func (Listener_Protocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{2, 0} + return fileDescriptor_33d34a5ec4bd7fd4, []int{2, 0} } // Status of the target. @@ -200,6 +212,7 @@ var TargetState_Status_name = map[int32]string{ 4: "DRAINING", 5: "INACTIVE", } + var TargetState_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "INITIAL": 1, @@ -212,8 +225,9 @@ var TargetState_Status_value = map[string]int32{ func (x TargetState_Status) String() string { return proto.EnumName(TargetState_Status_name, int32(x)) } + func (TargetState_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{3, 0} + return fileDescriptor_33d34a5ec4bd7fd4, []int{3, 0} } // A NetworkLoadBalancer resource. For more information, see [Network Load Balancer](/docs/load-balancer/concepts). @@ -251,16 +265,17 @@ func (m *NetworkLoadBalancer) Reset() { *m = NetworkLoadBalancer{} } func (m *NetworkLoadBalancer) String() string { return proto.CompactTextString(m) } func (*NetworkLoadBalancer) ProtoMessage() {} func (*NetworkLoadBalancer) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{0} + return fileDescriptor_33d34a5ec4bd7fd4, []int{0} } + func (m *NetworkLoadBalancer) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkLoadBalancer.Unmarshal(m, b) } func (m *NetworkLoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_NetworkLoadBalancer.Marshal(b, m, deterministic) } -func (dst *NetworkLoadBalancer) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkLoadBalancer.Merge(dst, src) +func (m *NetworkLoadBalancer) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkLoadBalancer.Merge(m, src) } func (m *NetworkLoadBalancer) XXX_Size() int { return xxx_messageInfo_NetworkLoadBalancer.Size(m) @@ -371,16 +386,17 @@ func (m *AttachedTargetGroup) Reset() { *m = AttachedTargetGroup{} } func (m *AttachedTargetGroup) String() string { return proto.CompactTextString(m) } func (*AttachedTargetGroup) ProtoMessage() {} func (*AttachedTargetGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{1} + return fileDescriptor_33d34a5ec4bd7fd4, []int{1} } + func (m *AttachedTargetGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachedTargetGroup.Unmarshal(m, b) } func (m *AttachedTargetGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachedTargetGroup.Marshal(b, m, deterministic) } -func (dst *AttachedTargetGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachedTargetGroup.Merge(dst, src) +func (m *AttachedTargetGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachedTargetGroup.Merge(m, src) } func (m *AttachedTargetGroup) XXX_Size() int { return xxx_messageInfo_AttachedTargetGroup.Size(m) @@ -414,26 +430,29 @@ type Listener struct { // Port. Port int64 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // Network protocol for incoming traffic. - Protocol Listener_Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=yandex.cloud.loadbalancer.v1.Listener_Protocol" json:"protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Protocol Listener_Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=yandex.cloud.loadbalancer.v1.Listener_Protocol" json:"protocol,omitempty"` + // Port of a target. + TargetPort int64 `protobuf:"varint,5,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Listener) Reset() { *m = Listener{} } func (m *Listener) String() string { return proto.CompactTextString(m) } func (*Listener) ProtoMessage() {} func (*Listener) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{2} + return fileDescriptor_33d34a5ec4bd7fd4, []int{2} } + func (m *Listener) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Listener.Unmarshal(m, b) } func (m *Listener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Listener.Marshal(b, m, deterministic) } -func (dst *Listener) XXX_Merge(src proto.Message) { - xxx_messageInfo_Listener.Merge(dst, src) +func (m *Listener) XXX_Merge(src proto.Message) { + xxx_messageInfo_Listener.Merge(m, src) } func (m *Listener) XXX_Size() int { return xxx_messageInfo_Listener.Size(m) @@ -472,6 +491,13 @@ func (m *Listener) GetProtocol() Listener_Protocol { return Listener_PROTOCOL_UNSPECIFIED } +func (m *Listener) GetTargetPort() int64 { + if m != nil { + return m.TargetPort + } + return 0 +} + // State of the target that was returned after the last health check. type TargetState struct { // ID of the subnet that the target is connected to. @@ -489,16 +515,17 @@ func (m *TargetState) Reset() { *m = TargetState{} } func (m *TargetState) String() string { return proto.CompactTextString(m) } func (*TargetState) ProtoMessage() {} func (*TargetState) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_8287c63ad9723666, []int{3} + return fileDescriptor_33d34a5ec4bd7fd4, []int{3} } + func (m *TargetState) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TargetState.Unmarshal(m, b) } func (m *TargetState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TargetState.Marshal(b, m, deterministic) } -func (dst *TargetState) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetState.Merge(dst, src) +func (m *TargetState) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetState.Merge(m, src) } func (m *TargetState) XXX_Size() int { return xxx_messageInfo_TargetState.Size(m) @@ -531,85 +558,85 @@ func (m *TargetState) GetStatus() TargetState_Status { } func init() { - proto.RegisterType((*NetworkLoadBalancer)(nil), "yandex.cloud.loadbalancer.v1.NetworkLoadBalancer") - proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.LabelsEntry") - proto.RegisterType((*AttachedTargetGroup)(nil), "yandex.cloud.loadbalancer.v1.AttachedTargetGroup") - proto.RegisterType((*Listener)(nil), "yandex.cloud.loadbalancer.v1.Listener") - proto.RegisterType((*TargetState)(nil), "yandex.cloud.loadbalancer.v1.TargetState") proto.RegisterEnum("yandex.cloud.loadbalancer.v1.IpVersion", IpVersion_name, IpVersion_value) proto.RegisterEnum("yandex.cloud.loadbalancer.v1.NetworkLoadBalancer_Status", NetworkLoadBalancer_Status_name, NetworkLoadBalancer_Status_value) proto.RegisterEnum("yandex.cloud.loadbalancer.v1.NetworkLoadBalancer_Type", NetworkLoadBalancer_Type_name, NetworkLoadBalancer_Type_value) proto.RegisterEnum("yandex.cloud.loadbalancer.v1.NetworkLoadBalancer_SessionAffinity", NetworkLoadBalancer_SessionAffinity_name, NetworkLoadBalancer_SessionAffinity_value) proto.RegisterEnum("yandex.cloud.loadbalancer.v1.Listener_Protocol", Listener_Protocol_name, Listener_Protocol_value) proto.RegisterEnum("yandex.cloud.loadbalancer.v1.TargetState_Status", TargetState_Status_name, TargetState_Status_value) + proto.RegisterType((*NetworkLoadBalancer)(nil), "yandex.cloud.loadbalancer.v1.NetworkLoadBalancer") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.LabelsEntry") + proto.RegisterType((*AttachedTargetGroup)(nil), "yandex.cloud.loadbalancer.v1.AttachedTargetGroup") + proto.RegisterType((*Listener)(nil), "yandex.cloud.loadbalancer.v1.Listener") + proto.RegisterType((*TargetState)(nil), "yandex.cloud.loadbalancer.v1.TargetState") } func init() { - proto.RegisterFile("yandex/cloud/loadbalancer/v1/network_load_balancer.proto", fileDescriptor_network_load_balancer_8287c63ad9723666) + proto.RegisterFile("yandex/cloud/loadbalancer/v1/network_load_balancer.proto", fileDescriptor_33d34a5ec4bd7fd4) } -var fileDescriptor_network_load_balancer_8287c63ad9723666 = []byte{ - // 977 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x5f, 0x6f, 0xe3, 0x44, - 0x10, 0xc7, 0x49, 0x9a, 0x3f, 0x93, 0xf6, 0x6a, 0xed, 0x55, 0x95, 0x55, 0xee, 0x44, 0xc8, 0x03, - 0x2a, 0x27, 0xe2, 0xd4, 0xe5, 0xae, 0x6a, 0x39, 0xee, 0xc1, 0x4d, 0xdc, 0xab, 0x21, 0xe7, 0x58, - 0x1b, 0xa7, 0xa2, 0x54, 0x27, 0x6b, 0x13, 0x6f, 0x13, 0xab, 0xae, 0x1d, 0xd9, 0x9b, 0x42, 0x0e, - 0x10, 0x12, 0x8f, 0x7c, 0x03, 0x5e, 0xf9, 0x32, 0x77, 0x1f, 0x05, 0x89, 0x37, 0x24, 0xde, 0xd1, - 0xae, 0x9d, 0x36, 0xed, 0x9d, 0x02, 0xc7, 0xdb, 0xce, 0xcc, 0xfe, 0x7e, 0xb3, 0xb3, 0xbf, 0xd9, - 0x59, 0xd8, 0x9f, 0x91, 0xd0, 0xa3, 0xdf, 0x37, 0x87, 0x41, 0x34, 0xf5, 0x9a, 0x41, 0x44, 0xbc, - 0x01, 0x09, 0x48, 0x38, 0xa4, 0x71, 0xf3, 0x4a, 0x6b, 0x86, 0x94, 0x7d, 0x17, 0xc5, 0x17, 0x2e, - 0xf7, 0xbb, 0xf3, 0x80, 0x3a, 0x89, 0x23, 0x16, 0xa1, 0x07, 0x29, 0x52, 0x15, 0x48, 0x75, 0x11, - 0xa9, 0x5e, 0x69, 0x5b, 0x1f, 0x8d, 0xa2, 0x68, 0x14, 0xd0, 0xa6, 0xd8, 0x3b, 0x98, 0x9e, 0x37, - 0x99, 0x7f, 0x49, 0x13, 0x46, 0x2e, 0x27, 0x29, 0x7c, 0xeb, 0xe1, 0xad, 0xc4, 0x57, 0x24, 0xf0, - 0x3d, 0xc2, 0xfc, 0x28, 0xcc, 0xc2, 0x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x27, 0x06, 0x16, - 0x6d, 0x7d, 0x3b, 0x5b, 0x19, 0x0a, 0xa6, 0x7d, 0xf2, 0x58, 0x96, 0xb2, 0xd5, 0x9e, 0x9c, 0x3b, - 0xec, 0x7e, 0xfb, 0x62, 0xe4, 0xb3, 0xf1, 0x74, 0xa0, 0x0e, 0xa3, 0xcb, 0xec, 0x87, 0x6c, 0xa4, - 0x3f, 0xe4, 0x28, 0x6a, 0x8c, 0x68, 0x28, 0xd4, 0x58, 0xfa, 0x75, 0x3e, 0x5d, 0xb4, 0x07, 0x45, - 0x01, 0xf8, 0xfc, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x8d, 0xac, 0xdb, 0x06, 0x08, 0x00, - 0x00, +var fileDescriptor_33d34a5ec4bd7fd4 = []byte{ + // 990 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x2e, 0xf5, 0xaf, 0x91, 0x7f, 0x88, 0x8d, 0x61, 0x10, 0x6e, 0x82, 0xa8, 0x3a, 0x14, 0x6e, + 0x50, 0x51, 0xa6, 0x9b, 0x18, 0x76, 0xd3, 0x1c, 0x68, 0x99, 0x8e, 0xd9, 0x2a, 0x14, 0xb1, 0xa2, + 0x8d, 0xba, 0x46, 0x40, 0xac, 0xc4, 0xb5, 0x44, 0x98, 0x26, 0x05, 0x72, 0xe5, 0x56, 0x69, 0x8b, + 0x02, 0x3d, 0x16, 0x7d, 0x81, 0x5e, 0xfb, 0x32, 0xc9, 0xa3, 0xf4, 0x5c, 0xa0, 0xf7, 0x62, 0x97, + 0x94, 0x2d, 0x3b, 0x81, 0xda, 0xe4, 0xb6, 0x33, 0xb3, 0xdf, 0x37, 0x3b, 0xfb, 0xcd, 0xce, 0xc2, + 0xee, 0x94, 0x84, 0x1e, 0xfd, 0xa1, 0x35, 0x08, 0xa2, 0x89, 0xd7, 0x0a, 0x22, 0xe2, 0xf5, 0x49, + 0x40, 0xc2, 0x01, 0x8d, 0x5b, 0x57, 0x5a, 0x2b, 0xa4, 0xec, 0xfb, 0x28, 0xbe, 0x70, 0xb9, 0xdf, + 0x9d, 0x05, 0xd4, 0x71, 0x1c, 0xb1, 0x08, 0xdd, 0x4f, 0x91, 0xaa, 0x40, 0xaa, 0xf3, 0x48, 0xf5, + 0x4a, 0xdb, 0x78, 0x38, 0x8c, 0xa2, 0x61, 0x40, 0x5b, 0x62, 0x6f, 0x7f, 0x72, 0xde, 0x62, 0xfe, + 0x25, 0x4d, 0x18, 0xb9, 0x1c, 0xa7, 0xf0, 0x8d, 0x07, 0xb7, 0x12, 0x5f, 0x91, 0xc0, 0xf7, 0x08, + 0xf3, 0xa3, 0x30, 0x0b, 0xb7, 0x16, 0x9e, 0x6b, 0x44, 0x49, 0xc0, 0x46, 0xee, 0x60, 0x44, 0x07, + 0x17, 0x29, 0xa0, 0xf1, 0x47, 0x05, 0xee, 0x59, 0xe9, 0x71, 0x3b, 0x11, 0xf1, 0xf6, 0xb3, 0xdd, + 0x68, 0x05, 0x72, 0xbe, 0xa7, 0x48, 0x75, 0x69, 0xb3, 0x8a, 0x73, 0xbe, 0x87, 0x3e, 0x86, 0xea, + 0x79, 0x14, 0x78, 0x34, 0x76, 0x7d, 0x4f, 0xc9, 0x09, 0x77, 0x25, 0x75, 0x98, 0x1e, 0xda, 0x03, + 0x18, 0xc4, 0x94, 0x30, 0xea, 0xb9, 0x84, 0x29, 0xf9, 0xba, 0xb4, 0x59, 0xdb, 0xde, 0x50, 0xd3, + 0x52, 0xd4, 0x59, 0x29, 0xaa, 0x33, 0x2b, 0x05, 0x57, 0xb3, 0xdd, 0x3a, 0x43, 0x08, 0x0a, 0x21, + 0xb9, 0xa4, 0x4a, 0x41, 0x50, 0x8a, 0x35, 0xaa, 0x43, 0xcd, 0xa3, 0xc9, 0x20, 0xf6, 0xc7, 0xbc, + 0x32, 0xa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, 0x52, 0x3e, 0xd2, 0x92, 0x49, 0x3f, 0xa4, 0xec, 0x5a, 0x25, 0x5c, 0x49, + 0x1d, 0xa6, 0xb7, 0xa0, 0xee, 0xa3, 0xeb, 0x61, 0x97, 0x17, 0x15, 0x6e, 0x2d, 0xae, 0x70, 0x2e, + 0xe3, 0x9d, 0x21, 0xd7, 0xa0, 0xff, 0xf9, 0x80, 0x6a, 0x50, 0xe6, 0x7d, 0x69, 0xf2, 0x16, 0xe6, + 0xc6, 0x91, 0xa1, 0x77, 0x9c, 0xa3, 0x53, 0x39, 0x87, 0x96, 0xa1, 0x7a, 0x6c, 0xcd, 0x4c, 0xf1, + 0x82, 0x0e, 0xb0, 0x6e, 0x5a, 0xe9, 0x0b, 0x9a, 0x7f, 0x26, 0xc5, 0x47, 0x4f, 0xa1, 0x6a, 0x8e, + 0x4f, 0x68, 0xcc, 0x9b, 0x1f, 0x6d, 0xc0, 0xba, 0x69, 0xbb, 0x27, 0x06, 0x16, 0x7d, 0x7f, 0x3b, + 0x5b, 0x05, 0x0a, 0xa6, 0x7d, 0xf2, 0x58, 0x96, 0xb2, 0xd5, 0x8e, 0x9c, 0xdb, 0xef, 0x7e, 0xf7, + 0x62, 0xe8, 0xb3, 0xd1, 0xa4, 0xaf, 0x0e, 0xa2, 0xcb, 0xec, 0x0b, 0x6d, 0xa6, 0x5f, 0xe8, 0x30, + 0x6a, 0x0e, 0x69, 0x28, 0xe4, 0x5a, 0xf8, 0xb7, 0x3e, 0x9d, 0xb7, 0xfb, 0x25, 0x01, 0xf8, 0xe2, + 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0xb6, 0x06, 0xdb, 0x27, 0x08, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer_service.pb.go index fcc42b03d..82e1d838f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/network_load_balancer_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/loadbalancer/v1/network_load_balancer_service.proto -package loadbalancer // import "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package loadbalancer import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetNetworkLoadBalancerRequest struct { // ID of the NetworkLoadBalancer resource to return. @@ -41,16 +42,17 @@ func (m *GetNetworkLoadBalancerRequest) Reset() { *m = GetNetworkLoadBal func (m *GetNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*GetNetworkLoadBalancerRequest) ProtoMessage() {} func (*GetNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{0} + return fileDescriptor_ed3f675ebca1fa76, []int{0} } + func (m *GetNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *GetNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *GetNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkLoadBalancerRequest.Merge(dst, src) +func (m *GetNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkLoadBalancerRequest.Merge(m, src) } func (m *GetNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_GetNetworkLoadBalancerRequest.Size(m) @@ -96,16 +98,17 @@ func (m *ListNetworkLoadBalancersRequest) Reset() { *m = ListNetworkLoad func (m *ListNetworkLoadBalancersRequest) String() string { return proto.CompactTextString(m) } func (*ListNetworkLoadBalancersRequest) ProtoMessage() {} func (*ListNetworkLoadBalancersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{1} + return fileDescriptor_ed3f675ebca1fa76, []int{1} } + func (m *ListNetworkLoadBalancersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkLoadBalancersRequest.Unmarshal(m, b) } func (m *ListNetworkLoadBalancersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkLoadBalancersRequest.Marshal(b, m, deterministic) } -func (dst *ListNetworkLoadBalancersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkLoadBalancersRequest.Merge(dst, src) +func (m *ListNetworkLoadBalancersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkLoadBalancersRequest.Merge(m, src) } func (m *ListNetworkLoadBalancersRequest) XXX_Size() int { return xxx_messageInfo_ListNetworkLoadBalancersRequest.Size(m) @@ -163,16 +166,17 @@ func (m *ListNetworkLoadBalancersResponse) Reset() { *m = ListNetworkLoa func (m *ListNetworkLoadBalancersResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworkLoadBalancersResponse) ProtoMessage() {} func (*ListNetworkLoadBalancersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{2} + return fileDescriptor_ed3f675ebca1fa76, []int{2} } + func (m *ListNetworkLoadBalancersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkLoadBalancersResponse.Unmarshal(m, b) } func (m *ListNetworkLoadBalancersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkLoadBalancersResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworkLoadBalancersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkLoadBalancersResponse.Merge(dst, src) +func (m *ListNetworkLoadBalancersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkLoadBalancersResponse.Merge(m, src) } func (m *ListNetworkLoadBalancersResponse) XXX_Size() int { return xxx_messageInfo_ListNetworkLoadBalancersResponse.Size(m) @@ -225,16 +229,17 @@ func (m *CreateNetworkLoadBalancerRequest) Reset() { *m = CreateNetworkL func (m *CreateNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*CreateNetworkLoadBalancerRequest) ProtoMessage() {} func (*CreateNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{3} + return fileDescriptor_ed3f675ebca1fa76, []int{3} } + func (m *CreateNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *CreateNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *CreateNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworkLoadBalancerRequest.Merge(dst, src) +func (m *CreateNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkLoadBalancerRequest.Merge(m, src) } func (m *CreateNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_CreateNetworkLoadBalancerRequest.Size(m) @@ -313,16 +318,17 @@ func (m *CreateNetworkLoadBalancerMetadata) Reset() { *m = CreateNetwork func (m *CreateNetworkLoadBalancerMetadata) String() string { return proto.CompactTextString(m) } func (*CreateNetworkLoadBalancerMetadata) ProtoMessage() {} func (*CreateNetworkLoadBalancerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{4} + return fileDescriptor_ed3f675ebca1fa76, []int{4} } + func (m *CreateNetworkLoadBalancerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworkLoadBalancerMetadata.Unmarshal(m, b) } func (m *CreateNetworkLoadBalancerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworkLoadBalancerMetadata.Marshal(b, m, deterministic) } -func (dst *CreateNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworkLoadBalancerMetadata.Merge(dst, src) +func (m *CreateNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkLoadBalancerMetadata.Merge(m, src) } func (m *CreateNetworkLoadBalancerMetadata) XXX_Size() int { return xxx_messageInfo_CreateNetworkLoadBalancerMetadata.Size(m) @@ -368,16 +374,17 @@ func (m *UpdateNetworkLoadBalancerRequest) Reset() { *m = UpdateNetworkL func (m *UpdateNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNetworkLoadBalancerRequest) ProtoMessage() {} func (*UpdateNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{5} + return fileDescriptor_ed3f675ebca1fa76, []int{5} } + func (m *UpdateNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *UpdateNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *UpdateNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNetworkLoadBalancerRequest.Merge(dst, src) +func (m *UpdateNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNetworkLoadBalancerRequest.Merge(m, src) } func (m *UpdateNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_UpdateNetworkLoadBalancerRequest.Size(m) @@ -449,16 +456,17 @@ func (m *UpdateNetworkLoadBalancerMetadata) Reset() { *m = UpdateNetwork func (m *UpdateNetworkLoadBalancerMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateNetworkLoadBalancerMetadata) ProtoMessage() {} func (*UpdateNetworkLoadBalancerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{6} + return fileDescriptor_ed3f675ebca1fa76, []int{6} } + func (m *UpdateNetworkLoadBalancerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNetworkLoadBalancerMetadata.Unmarshal(m, b) } func (m *UpdateNetworkLoadBalancerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateNetworkLoadBalancerMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNetworkLoadBalancerMetadata.Merge(dst, src) +func (m *UpdateNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNetworkLoadBalancerMetadata.Merge(m, src) } func (m *UpdateNetworkLoadBalancerMetadata) XXX_Size() int { return xxx_messageInfo_UpdateNetworkLoadBalancerMetadata.Size(m) @@ -489,16 +497,17 @@ func (m *DeleteNetworkLoadBalancerRequest) Reset() { *m = DeleteNetworkL func (m *DeleteNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNetworkLoadBalancerRequest) ProtoMessage() {} func (*DeleteNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{7} + return fileDescriptor_ed3f675ebca1fa76, []int{7} } + func (m *DeleteNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *DeleteNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *DeleteNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNetworkLoadBalancerRequest.Merge(dst, src) +func (m *DeleteNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNetworkLoadBalancerRequest.Merge(m, src) } func (m *DeleteNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_DeleteNetworkLoadBalancerRequest.Size(m) @@ -528,16 +537,17 @@ func (m *DeleteNetworkLoadBalancerMetadata) Reset() { *m = DeleteNetwork func (m *DeleteNetworkLoadBalancerMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteNetworkLoadBalancerMetadata) ProtoMessage() {} func (*DeleteNetworkLoadBalancerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{8} + return fileDescriptor_ed3f675ebca1fa76, []int{8} } + func (m *DeleteNetworkLoadBalancerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNetworkLoadBalancerMetadata.Unmarshal(m, b) } func (m *DeleteNetworkLoadBalancerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteNetworkLoadBalancerMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNetworkLoadBalancerMetadata.Merge(dst, src) +func (m *DeleteNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNetworkLoadBalancerMetadata.Merge(m, src) } func (m *DeleteNetworkLoadBalancerMetadata) XXX_Size() int { return xxx_messageInfo_DeleteNetworkLoadBalancerMetadata.Size(m) @@ -568,16 +578,17 @@ func (m *StartNetworkLoadBalancerRequest) Reset() { *m = StartNetworkLoa func (m *StartNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*StartNetworkLoadBalancerRequest) ProtoMessage() {} func (*StartNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{9} + return fileDescriptor_ed3f675ebca1fa76, []int{9} } + func (m *StartNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *StartNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *StartNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartNetworkLoadBalancerRequest.Merge(dst, src) +func (m *StartNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartNetworkLoadBalancerRequest.Merge(m, src) } func (m *StartNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_StartNetworkLoadBalancerRequest.Size(m) @@ -607,16 +618,17 @@ func (m *StartNetworkLoadBalancerMetadata) Reset() { *m = StartNetworkLo func (m *StartNetworkLoadBalancerMetadata) String() string { return proto.CompactTextString(m) } func (*StartNetworkLoadBalancerMetadata) ProtoMessage() {} func (*StartNetworkLoadBalancerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{10} + return fileDescriptor_ed3f675ebca1fa76, []int{10} } + func (m *StartNetworkLoadBalancerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartNetworkLoadBalancerMetadata.Unmarshal(m, b) } func (m *StartNetworkLoadBalancerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartNetworkLoadBalancerMetadata.Marshal(b, m, deterministic) } -func (dst *StartNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartNetworkLoadBalancerMetadata.Merge(dst, src) +func (m *StartNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartNetworkLoadBalancerMetadata.Merge(m, src) } func (m *StartNetworkLoadBalancerMetadata) XXX_Size() int { return xxx_messageInfo_StartNetworkLoadBalancerMetadata.Size(m) @@ -647,16 +659,17 @@ func (m *StopNetworkLoadBalancerRequest) Reset() { *m = StopNetworkLoadB func (m *StopNetworkLoadBalancerRequest) String() string { return proto.CompactTextString(m) } func (*StopNetworkLoadBalancerRequest) ProtoMessage() {} func (*StopNetworkLoadBalancerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{11} + return fileDescriptor_ed3f675ebca1fa76, []int{11} } + func (m *StopNetworkLoadBalancerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopNetworkLoadBalancerRequest.Unmarshal(m, b) } func (m *StopNetworkLoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopNetworkLoadBalancerRequest.Marshal(b, m, deterministic) } -func (dst *StopNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopNetworkLoadBalancerRequest.Merge(dst, src) +func (m *StopNetworkLoadBalancerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopNetworkLoadBalancerRequest.Merge(m, src) } func (m *StopNetworkLoadBalancerRequest) XXX_Size() int { return xxx_messageInfo_StopNetworkLoadBalancerRequest.Size(m) @@ -686,16 +699,17 @@ func (m *StopNetworkLoadBalancerMetadata) Reset() { *m = StopNetworkLoad func (m *StopNetworkLoadBalancerMetadata) String() string { return proto.CompactTextString(m) } func (*StopNetworkLoadBalancerMetadata) ProtoMessage() {} func (*StopNetworkLoadBalancerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{12} + return fileDescriptor_ed3f675ebca1fa76, []int{12} } + func (m *StopNetworkLoadBalancerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopNetworkLoadBalancerMetadata.Unmarshal(m, b) } func (m *StopNetworkLoadBalancerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopNetworkLoadBalancerMetadata.Marshal(b, m, deterministic) } -func (dst *StopNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopNetworkLoadBalancerMetadata.Merge(dst, src) +func (m *StopNetworkLoadBalancerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopNetworkLoadBalancerMetadata.Merge(m, src) } func (m *StopNetworkLoadBalancerMetadata) XXX_Size() int { return xxx_messageInfo_StopNetworkLoadBalancerMetadata.Size(m) @@ -733,16 +747,17 @@ func (m *AttachNetworkLoadBalancerTargetGroupRequest) String() string { } func (*AttachNetworkLoadBalancerTargetGroupRequest) ProtoMessage() {} func (*AttachNetworkLoadBalancerTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{13} + return fileDescriptor_ed3f675ebca1fa76, []int{13} } + func (m *AttachNetworkLoadBalancerTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupRequest.Unmarshal(m, b) } func (m *AttachNetworkLoadBalancerTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *AttachNetworkLoadBalancerTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupRequest.Merge(dst, src) +func (m *AttachNetworkLoadBalancerTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupRequest.Merge(m, src) } func (m *AttachNetworkLoadBalancerTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupRequest.Size(m) @@ -785,16 +800,17 @@ func (m *AttachNetworkLoadBalancerTargetGroupMetadata) String() string { } func (*AttachNetworkLoadBalancerTargetGroupMetadata) ProtoMessage() {} func (*AttachNetworkLoadBalancerTargetGroupMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{14} + return fileDescriptor_ed3f675ebca1fa76, []int{14} } + func (m *AttachNetworkLoadBalancerTargetGroupMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupMetadata.Unmarshal(m, b) } func (m *AttachNetworkLoadBalancerTargetGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupMetadata.Marshal(b, m, deterministic) } -func (dst *AttachNetworkLoadBalancerTargetGroupMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupMetadata.Merge(dst, src) +func (m *AttachNetworkLoadBalancerTargetGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupMetadata.Merge(m, src) } func (m *AttachNetworkLoadBalancerTargetGroupMetadata) XXX_Size() int { return xxx_messageInfo_AttachNetworkLoadBalancerTargetGroupMetadata.Size(m) @@ -838,16 +854,17 @@ func (m *DetachNetworkLoadBalancerTargetGroupRequest) String() string { } func (*DetachNetworkLoadBalancerTargetGroupRequest) ProtoMessage() {} func (*DetachNetworkLoadBalancerTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{15} + return fileDescriptor_ed3f675ebca1fa76, []int{15} } + func (m *DetachNetworkLoadBalancerTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupRequest.Unmarshal(m, b) } func (m *DetachNetworkLoadBalancerTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *DetachNetworkLoadBalancerTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupRequest.Merge(dst, src) +func (m *DetachNetworkLoadBalancerTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupRequest.Merge(m, src) } func (m *DetachNetworkLoadBalancerTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupRequest.Size(m) @@ -890,16 +907,17 @@ func (m *DetachNetworkLoadBalancerTargetGroupMetadata) String() string { } func (*DetachNetworkLoadBalancerTargetGroupMetadata) ProtoMessage() {} func (*DetachNetworkLoadBalancerTargetGroupMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{16} + return fileDescriptor_ed3f675ebca1fa76, []int{16} } + func (m *DetachNetworkLoadBalancerTargetGroupMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupMetadata.Unmarshal(m, b) } func (m *DetachNetworkLoadBalancerTargetGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupMetadata.Marshal(b, m, deterministic) } -func (dst *DetachNetworkLoadBalancerTargetGroupMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupMetadata.Merge(dst, src) +func (m *DetachNetworkLoadBalancerTargetGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupMetadata.Merge(m, src) } func (m *DetachNetworkLoadBalancerTargetGroupMetadata) XXX_Size() int { return xxx_messageInfo_DetachNetworkLoadBalancerTargetGroupMetadata.Size(m) @@ -939,16 +957,17 @@ func (m *AddNetworkLoadBalancerListenerRequest) Reset() { *m = AddNetwor func (m *AddNetworkLoadBalancerListenerRequest) String() string { return proto.CompactTextString(m) } func (*AddNetworkLoadBalancerListenerRequest) ProtoMessage() {} func (*AddNetworkLoadBalancerListenerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{17} + return fileDescriptor_ed3f675ebca1fa76, []int{17} } + func (m *AddNetworkLoadBalancerListenerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddNetworkLoadBalancerListenerRequest.Unmarshal(m, b) } func (m *AddNetworkLoadBalancerListenerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddNetworkLoadBalancerListenerRequest.Marshal(b, m, deterministic) } -func (dst *AddNetworkLoadBalancerListenerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNetworkLoadBalancerListenerRequest.Merge(dst, src) +func (m *AddNetworkLoadBalancerListenerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNetworkLoadBalancerListenerRequest.Merge(m, src) } func (m *AddNetworkLoadBalancerListenerRequest) XXX_Size() int { return xxx_messageInfo_AddNetworkLoadBalancerListenerRequest.Size(m) @@ -987,16 +1006,17 @@ func (m *AddNetworkLoadBalancerListenerMetadata) Reset() { func (m *AddNetworkLoadBalancerListenerMetadata) String() string { return proto.CompactTextString(m) } func (*AddNetworkLoadBalancerListenerMetadata) ProtoMessage() {} func (*AddNetworkLoadBalancerListenerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{18} + return fileDescriptor_ed3f675ebca1fa76, []int{18} } + func (m *AddNetworkLoadBalancerListenerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddNetworkLoadBalancerListenerMetadata.Unmarshal(m, b) } func (m *AddNetworkLoadBalancerListenerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddNetworkLoadBalancerListenerMetadata.Marshal(b, m, deterministic) } -func (dst *AddNetworkLoadBalancerListenerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNetworkLoadBalancerListenerMetadata.Merge(dst, src) +func (m *AddNetworkLoadBalancerListenerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNetworkLoadBalancerListenerMetadata.Merge(m, src) } func (m *AddNetworkLoadBalancerListenerMetadata) XXX_Size() int { return xxx_messageInfo_AddNetworkLoadBalancerListenerMetadata.Size(m) @@ -1031,16 +1051,17 @@ func (m *RemoveNetworkLoadBalancerListenerRequest) Reset() { func (m *RemoveNetworkLoadBalancerListenerRequest) String() string { return proto.CompactTextString(m) } func (*RemoveNetworkLoadBalancerListenerRequest) ProtoMessage() {} func (*RemoveNetworkLoadBalancerListenerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{19} + return fileDescriptor_ed3f675ebca1fa76, []int{19} } + func (m *RemoveNetworkLoadBalancerListenerRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerRequest.Unmarshal(m, b) } func (m *RemoveNetworkLoadBalancerListenerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerRequest.Marshal(b, m, deterministic) } -func (dst *RemoveNetworkLoadBalancerListenerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveNetworkLoadBalancerListenerRequest.Merge(dst, src) +func (m *RemoveNetworkLoadBalancerListenerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkLoadBalancerListenerRequest.Merge(m, src) } func (m *RemoveNetworkLoadBalancerListenerRequest) XXX_Size() int { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerRequest.Size(m) @@ -1079,16 +1100,17 @@ func (m *RemoveNetworkLoadBalancerListenerMetadata) Reset() { func (m *RemoveNetworkLoadBalancerListenerMetadata) String() string { return proto.CompactTextString(m) } func (*RemoveNetworkLoadBalancerListenerMetadata) ProtoMessage() {} func (*RemoveNetworkLoadBalancerListenerMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{20} + return fileDescriptor_ed3f675ebca1fa76, []int{20} } + func (m *RemoveNetworkLoadBalancerListenerMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerMetadata.Unmarshal(m, b) } func (m *RemoveNetworkLoadBalancerListenerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerMetadata.Marshal(b, m, deterministic) } -func (dst *RemoveNetworkLoadBalancerListenerMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveNetworkLoadBalancerListenerMetadata.Merge(dst, src) +func (m *RemoveNetworkLoadBalancerListenerMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkLoadBalancerListenerMetadata.Merge(m, src) } func (m *RemoveNetworkLoadBalancerListenerMetadata) XXX_Size() int { return xxx_messageInfo_RemoveNetworkLoadBalancerListenerMetadata.Size(m) @@ -1128,16 +1150,17 @@ func (m *ListNetworkLoadBalancerOperationsRequest) Reset() { func (m *ListNetworkLoadBalancerOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListNetworkLoadBalancerOperationsRequest) ProtoMessage() {} func (*ListNetworkLoadBalancerOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{21} + return fileDescriptor_ed3f675ebca1fa76, []int{21} } + func (m *ListNetworkLoadBalancerOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkLoadBalancerOperationsRequest.Unmarshal(m, b) } func (m *ListNetworkLoadBalancerOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkLoadBalancerOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListNetworkLoadBalancerOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkLoadBalancerOperationsRequest.Merge(dst, src) +func (m *ListNetworkLoadBalancerOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkLoadBalancerOperationsRequest.Merge(m, src) } func (m *ListNetworkLoadBalancerOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListNetworkLoadBalancerOperationsRequest.Size(m) @@ -1188,16 +1211,17 @@ func (m *ListNetworkLoadBalancerOperationsResponse) Reset() { func (m *ListNetworkLoadBalancerOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworkLoadBalancerOperationsResponse) ProtoMessage() {} func (*ListNetworkLoadBalancerOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{22} + return fileDescriptor_ed3f675ebca1fa76, []int{22} } + func (m *ListNetworkLoadBalancerOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkLoadBalancerOperationsResponse.Unmarshal(m, b) } func (m *ListNetworkLoadBalancerOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkLoadBalancerOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworkLoadBalancerOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkLoadBalancerOperationsResponse.Merge(dst, src) +func (m *ListNetworkLoadBalancerOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkLoadBalancerOperationsResponse.Merge(m, src) } func (m *ListNetworkLoadBalancerOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListNetworkLoadBalancerOperationsResponse.Size(m) @@ -1236,16 +1260,17 @@ func (m *GetTargetStatesRequest) Reset() { *m = GetTargetStatesRequest{} func (m *GetTargetStatesRequest) String() string { return proto.CompactTextString(m) } func (*GetTargetStatesRequest) ProtoMessage() {} func (*GetTargetStatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{23} + return fileDescriptor_ed3f675ebca1fa76, []int{23} } + func (m *GetTargetStatesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTargetStatesRequest.Unmarshal(m, b) } func (m *GetTargetStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetTargetStatesRequest.Marshal(b, m, deterministic) } -func (dst *GetTargetStatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetStatesRequest.Merge(dst, src) +func (m *GetTargetStatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetStatesRequest.Merge(m, src) } func (m *GetTargetStatesRequest) XXX_Size() int { return xxx_messageInfo_GetTargetStatesRequest.Size(m) @@ -1282,16 +1307,17 @@ func (m *GetTargetStatesResponse) Reset() { *m = GetTargetStatesResponse func (m *GetTargetStatesResponse) String() string { return proto.CompactTextString(m) } func (*GetTargetStatesResponse) ProtoMessage() {} func (*GetTargetStatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{24} + return fileDescriptor_ed3f675ebca1fa76, []int{24} } + func (m *GetTargetStatesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTargetStatesResponse.Unmarshal(m, b) } func (m *GetTargetStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetTargetStatesResponse.Marshal(b, m, deterministic) } -func (dst *GetTargetStatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetStatesResponse.Merge(dst, src) +func (m *GetTargetStatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetStatesResponse.Merge(m, src) } func (m *GetTargetStatesResponse) XXX_Size() int { return xxx_messageInfo_GetTargetStatesResponse.Size(m) @@ -1326,16 +1352,17 @@ func (m *ExternalAddressSpec) Reset() { *m = ExternalAddressSpec{} } func (m *ExternalAddressSpec) String() string { return proto.CompactTextString(m) } func (*ExternalAddressSpec) ProtoMessage() {} func (*ExternalAddressSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{25} + return fileDescriptor_ed3f675ebca1fa76, []int{25} } + func (m *ExternalAddressSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExternalAddressSpec.Unmarshal(m, b) } func (m *ExternalAddressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ExternalAddressSpec.Marshal(b, m, deterministic) } -func (dst *ExternalAddressSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExternalAddressSpec.Merge(dst, src) +func (m *ExternalAddressSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalAddressSpec.Merge(m, src) } func (m *ExternalAddressSpec) XXX_Size() int { return xxx_messageInfo_ExternalAddressSpec.Size(m) @@ -1372,26 +1399,30 @@ type ListenerSpec struct { // // Types that are valid to be assigned to Address: // *ListenerSpec_ExternalAddressSpec - Address isListenerSpec_Address `protobuf_oneof:"address"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address isListenerSpec_Address `protobuf_oneof:"address"` + // Port of a target. + // Acceptable values are 1 to 32767, inclusive. + TargetPort int64 `protobuf:"varint,5,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ListenerSpec) Reset() { *m = ListenerSpec{} } func (m *ListenerSpec) String() string { return proto.CompactTextString(m) } func (*ListenerSpec) ProtoMessage() {} func (*ListenerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f, []int{26} + return fileDescriptor_ed3f675ebca1fa76, []int{26} } + func (m *ListenerSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListenerSpec.Unmarshal(m, b) } func (m *ListenerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListenerSpec.Marshal(b, m, deterministic) } -func (dst *ListenerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListenerSpec.Merge(dst, src) +func (m *ListenerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListenerSpec.Merge(m, src) } func (m *ListenerSpec) XXX_Size() int { return xxx_messageInfo_ListenerSpec.Size(m) @@ -1447,61 +1478,20 @@ func (m *ListenerSpec) GetExternalAddressSpec() *ExternalAddressSpec { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ListenerSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ListenerSpec_OneofMarshaler, _ListenerSpec_OneofUnmarshaler, _ListenerSpec_OneofSizer, []interface{}{ +func (m *ListenerSpec) GetTargetPort() int64 { + if m != nil { + return m.TargetPort + } + return 0 +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ListenerSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*ListenerSpec_ExternalAddressSpec)(nil), } } -func _ListenerSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ListenerSpec) - // address - switch x := m.Address.(type) { - case *ListenerSpec_ExternalAddressSpec: - b.EncodeVarint(4<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ExternalAddressSpec); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ListenerSpec.Address has unexpected type %T", x) - } - return nil -} - -func _ListenerSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ListenerSpec) - switch tag { - case 4: // address.external_address_spec - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ExternalAddressSpec) - err := b.DecodeMessage(msg) - m.Address = &ListenerSpec_ExternalAddressSpec{msg} - return true, err - default: - return false, nil - } -} - -func _ListenerSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ListenerSpec) - // address - switch x := m.Address.(type) { - case *ListenerSpec_ExternalAddressSpec: - s := proto.Size(x.ExternalAddressSpec) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { proto.RegisterType((*GetNetworkLoadBalancerRequest)(nil), "yandex.cloud.loadbalancer.v1.GetNetworkLoadBalancerRequest") proto.RegisterType((*ListNetworkLoadBalancersRequest)(nil), "yandex.cloud.loadbalancer.v1.ListNetworkLoadBalancersRequest") @@ -1534,6 +1524,128 @@ func init() { proto.RegisterType((*ListenerSpec)(nil), "yandex.cloud.loadbalancer.v1.ListenerSpec") } +func init() { + proto.RegisterFile("yandex/cloud/loadbalancer/v1/network_load_balancer_service.proto", fileDescriptor_ed3f675ebca1fa76) +} + +var fileDescriptor_ed3f675ebca1fa76 = []byte{ + // 1810 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x6c, 0x1b, 0xc7, + 0x15, 0xee, 0x4a, 0x24, 0x25, 0x3e, 0xda, 0x4a, 0x3a, 0xfe, 0x29, 0x4b, 0xc4, 0x35, 0xbd, 0x40, + 0x1c, 0x5a, 0x0e, 0x7f, 0x96, 0xb6, 0x65, 0xcb, 0xb6, 0xd2, 0x88, 0x8e, 0xa5, 0x30, 0x90, 0x1d, + 0x65, 0x69, 0x17, 0x6d, 0xd4, 0x80, 0x18, 0x71, 0xc7, 0xf4, 0x42, 0xab, 0xdd, 0xed, 0xee, 0x48, + 0xb1, 0x9c, 0xe6, 0xe2, 0x4b, 0x0b, 0xa3, 0x45, 0x51, 0x14, 0x28, 0xd0, 0x43, 0xd1, 0x43, 0xd1, + 0x43, 0x7b, 0x4c, 0xd1, 0x43, 0x0b, 0x14, 0x28, 0xd0, 0x16, 0xd2, 0x39, 0x3d, 0xb5, 0x87, 0x02, + 0x05, 0x7a, 0xe8, 0x39, 0xe8, 0x1f, 0x72, 0x2a, 0x66, 0x66, 0x49, 0x2d, 0xa5, 0xe5, 0xee, 0x32, + 0x4b, 0x09, 0xbd, 0x71, 0x77, 0xe6, 0xbd, 0x99, 0xef, 0x7b, 0xf3, 0xde, 0xec, 0xf7, 0x40, 0x78, + 0x7d, 0x07, 0x9b, 0x1a, 0x79, 0x52, 0xed, 0x18, 0xd6, 0x96, 0x56, 0x35, 0x2c, 0xac, 0xad, 0x63, + 0x03, 0x9b, 0x1d, 0xe2, 0x54, 0xb7, 0x95, 0xaa, 0x49, 0xe8, 0xfb, 0x96, 0xb3, 0xd1, 0x66, 0xef, + 0xdb, 0xbd, 0x81, 0xb6, 0x4b, 0x9c, 0x6d, 0xbd, 0x43, 0x2a, 0xb6, 0x63, 0x51, 0x0b, 0xbd, 0x24, + 0x3c, 0x54, 0xb8, 0x87, 0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d, 0x68, 0xe5, 0x5d, 0xe4, 0x5f, 0xe3, 0x00, 0x5b, 0xe8, 0x9d, 0xe4, 0x00, 0xbb, + 0x07, 0x70, 0x7c, 0x7f, 0x02, 0x72, 0x8b, 0x9a, 0xd6, 0xfb, 0x96, 0x44, 0x77, 0x22, 0xb2, 0x25, + 0x4e, 0xcb, 0x20, 0x4e, 0xec, 0x7f, 0xc4, 0x62, 0xbf, 0x10, 0x5b, 0xbc, 0x0f, 0x8d, 0xba, 0x2a, + 0xdf, 0x1b, 0x43, 0x86, 0xec, 0x13, 0xc0, 0xe2, 0xfd, 0xe3, 0x09, 0x98, 0x11, 0x8a, 0xb9, 0x4f, + 0xcb, 0x52, 0x38, 0x2d, 0x71, 0xdb, 0x03, 0x71, 0x98, 0xf9, 0x09, 0x63, 0xe6, 0xf5, 0x51, 0x34, + 0xfb, 0x50, 0x72, 0x1e, 0xca, 0xab, 0xc9, 0xc9, 0x71, 0x06, 0x98, 0x60, 0xfc, 0xfc, 0x47, 0x82, + 0x19, 0xf6, 0xbc, 0x2f, 0x88, 0xa3, 0xf8, 0x89, 0xdb, 0x18, 0x28, 0x2c, 0x27, 0xf6, 0xe3, 0xa5, + 0xcc, 0x03, 0x4e, 0xc0, 0x7d, 0xb4, 0x92, 0x98, 0x80, 0xfd, 0x3f, 0x2e, 0xb8, 0x8d, 0xb7, 0xdf, + 0xbd, 0xd7, 0xd5, 0xe9, 0xe3, 0xad, 0xf5, 0x4a, 0xc7, 0xda, 0xac, 0x8a, 0xad, 0x96, 0xc5, 0x1f, + 0x18, 0xba, 0x56, 0xb9, 0x4b, 0x4c, 0x7e, 0xbf, 0x55, 0xc3, 0xfe, 0xd9, 0x70, 0xcb, 0xff, 0xbc, + 0x9e, 0xe1, 0x06, 0x57, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x60, 0x90, 0x7c, 0x16, 0x10, 0x22, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -1737,6 +1849,50 @@ type NetworkLoadBalancerServiceServer interface { ListOperations(context.Context, *ListNetworkLoadBalancerOperationsRequest) (*ListNetworkLoadBalancerOperationsResponse, error) } +// UnimplementedNetworkLoadBalancerServiceServer can be embedded to have forward compatible implementations. +type UnimplementedNetworkLoadBalancerServiceServer struct { +} + +func (*UnimplementedNetworkLoadBalancerServiceServer) Get(ctx context.Context, req *GetNetworkLoadBalancerRequest) (*NetworkLoadBalancer, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) List(ctx context.Context, req *ListNetworkLoadBalancersRequest) (*ListNetworkLoadBalancersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) Create(ctx context.Context, req *CreateNetworkLoadBalancerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) Update(ctx context.Context, req *UpdateNetworkLoadBalancerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) Delete(ctx context.Context, req *DeleteNetworkLoadBalancerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) Start(ctx context.Context, req *StartNetworkLoadBalancerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) Stop(ctx context.Context, req *StopNetworkLoadBalancerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) AttachTargetGroup(ctx context.Context, req *AttachNetworkLoadBalancerTargetGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AttachTargetGroup not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) DetachTargetGroup(ctx context.Context, req *DetachNetworkLoadBalancerTargetGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DetachTargetGroup not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) GetTargetStates(ctx context.Context, req *GetTargetStatesRequest) (*GetTargetStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTargetStates not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) AddListener(ctx context.Context, req *AddNetworkLoadBalancerListenerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddListener not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) RemoveListener(ctx context.Context, req *RemoveNetworkLoadBalancerListenerRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveListener not implemented") +} +func (*UnimplementedNetworkLoadBalancerServiceServer) ListOperations(ctx context.Context, req *ListNetworkLoadBalancerOperationsRequest) (*ListNetworkLoadBalancerOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterNetworkLoadBalancerServiceServer(s *grpc.Server, srv NetworkLoadBalancerServiceServer) { s.RegisterService(&_NetworkLoadBalancerService_serviceDesc, srv) } @@ -2035,124 +2191,3 @@ var _NetworkLoadBalancerService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/loadbalancer/v1/network_load_balancer_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/loadbalancer/v1/network_load_balancer_service.proto", fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f) -} - -var fileDescriptor_network_load_balancer_service_afd9dcb16b624c3f = []byte{ - // 1794 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x6c, 0x1c, 0x49, - 0x15,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bf, 0x10, 0x5b, 0x9b, 0x0f, 0xdd, 0x75, 0x55, - 0xbe, 0x37, 0x86, 0x0c, 0xd9, 0x27, 0x80, 0xed, 0xf7, 0x0f, 0x53, 0x30, 0x23, 0x04, 0x71, 0x9f, - 0x96, 0xa5, 0x70, 0x5a, 0xe2, 0xaa, 0xff, 0x38, 0xcc, 0xfc, 0x88, 0x31, 0xf3, 0xfa, 0x28, 0x92, - 0x7c, 0x28, 0x39, 0x8f, 0xe4, 0x07, 0xc9, 0xc9, 0x71, 0x06, 0x98, 0x60, 0xfc, 0xfc, 0x47, 0x82, - 0x19, 0xf6, 0xbc, 0xaf, 0x77, 0xa3, 0xf8, 0x89, 0xab, 0xfb, 0x0b, 0xcb, 0x89, 0xe3, 0x78, 0x29, - 0xf3, 0x90, 0x13, 0x70, 0x1f, 0xad, 0x24, 0x26, 0x60, 0xff, 0x7f, 0x09, 0x6e, 0xe3, 0xed, 0x77, - 0xef, 0x75, 0x75, 0xfa, 0x64, 0x73, 0xad, 0xd2, 0xb1, 0x36, 0xaa, 0x62, 0xa9, 0x65, 0xf1, 0xff, - 0x84, 0xae, 0x55, 0xee, 0x12, 0x93, 0xdf, 0x6f, 0xd5, 0xb0, 0x3f, 0x2e, 0xdc, 0xf2, 0x3f, 0xaf, - 0x65, 0xb8, 0xc3, 0x95, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x0f, 0x06, 0xa5, 0xef, 0x21, - 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group.pb.go index cc5bf1714..b3b27bf34 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/loadbalancer/v1/target_group.proto -package loadbalancer // import "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" +package loadbalancer -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A TargetGroup resource. For more information, see [Target groups and resources](/docs/load-balancer/target-resources). type TargetGroup struct { @@ -48,16 +50,17 @@ func (m *TargetGroup) Reset() { *m = TargetGroup{} } func (m *TargetGroup) String() string { return proto.CompactTextString(m) } func (*TargetGroup) ProtoMessage() {} func (*TargetGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_035afd173b2a7108, []int{0} + return fileDescriptor_eb82306a182641a6, []int{0} } + func (m *TargetGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TargetGroup.Unmarshal(m, b) } func (m *TargetGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_TargetGroup.Marshal(b, m, deterministic) } -func (dst *TargetGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_TargetGroup.Merge(dst, src) +func (m *TargetGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_TargetGroup.Merge(m, src) } func (m *TargetGroup) XXX_Size() int { return xxx_messageInfo_TargetGroup.Size(m) @@ -124,7 +127,7 @@ func (m *TargetGroup) GetTargets() []*Target { return nil } -// A Target resource. For more information, see [Target groups and resources](/docs/load-balancer/target-resources). +// A Target resource. For more information, see [Target groups and resources](/docs/load-balancer/concepts/target-resources). type Target struct { // ID of the subnet that targets are connected to. // All targets in the target group must be connected to the same subnet within a single availability zone. @@ -140,16 +143,17 @@ func (m *Target) Reset() { *m = Target{} } func (m *Target) String() string { return proto.CompactTextString(m) } func (*Target) ProtoMessage() {} func (*Target) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_035afd173b2a7108, []int{1} + return fileDescriptor_eb82306a182641a6, []int{1} } + func (m *Target) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Target.Unmarshal(m, b) } func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Target.Marshal(b, m, deterministic) } -func (dst *Target) XXX_Merge(src proto.Message) { - xxx_messageInfo_Target.Merge(dst, src) +func (m *Target) XXX_Merge(src proto.Message) { + xxx_messageInfo_Target.Merge(m, src) } func (m *Target) XXX_Size() int { return xxx_messageInfo_Target.Size(m) @@ -181,10 +185,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/loadbalancer/v1/target_group.proto", fileDescriptor_target_group_035afd173b2a7108) + proto.RegisterFile("yandex/cloud/loadbalancer/v1/target_group.proto", fileDescriptor_eb82306a182641a6) } -var fileDescriptor_target_group_035afd173b2a7108 = []byte{ +var fileDescriptor_eb82306a182641a6 = []byte{ // 415 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x8b, 0x14, 0x31, 0x10, 0x65, 0x3e, 0x76, 0x66, 0xba, 0x1a, 0x44, 0x82, 0x87, 0x30, 0x2a, 0x0e, 0x8b, 0xc2, 0x5c, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group_service.pb.go index fad6de4d3..81131717c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1/target_group_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/loadbalancer/v1/target_group_service.proto -package loadbalancer // import "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package loadbalancer import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetTargetGroupRequest struct { // ID of the TargetGroup resource to return. @@ -41,16 +42,17 @@ func (m *GetTargetGroupRequest) Reset() { *m = GetTargetGroupRequest{} } func (m *GetTargetGroupRequest) String() string { return proto.CompactTextString(m) } func (*GetTargetGroupRequest) ProtoMessage() {} func (*GetTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{0} + return fileDescriptor_53eed3308238c6c4, []int{0} } + func (m *GetTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetTargetGroupRequest.Unmarshal(m, b) } func (m *GetTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *GetTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTargetGroupRequest.Merge(dst, src) +func (m *GetTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTargetGroupRequest.Merge(m, src) } func (m *GetTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_GetTargetGroupRequest.Size(m) @@ -96,16 +98,17 @@ func (m *ListTargetGroupsRequest) Reset() { *m = ListTargetGroupsRequest func (m *ListTargetGroupsRequest) String() string { return proto.CompactTextString(m) } func (*ListTargetGroupsRequest) ProtoMessage() {} func (*ListTargetGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{1} + return fileDescriptor_53eed3308238c6c4, []int{1} } + func (m *ListTargetGroupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetGroupsRequest.Unmarshal(m, b) } func (m *ListTargetGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTargetGroupsRequest.Marshal(b, m, deterministic) } -func (dst *ListTargetGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetGroupsRequest.Merge(dst, src) +func (m *ListTargetGroupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetGroupsRequest.Merge(m, src) } func (m *ListTargetGroupsRequest) XXX_Size() int { return xxx_messageInfo_ListTargetGroupsRequest.Size(m) @@ -163,16 +166,17 @@ func (m *ListTargetGroupsResponse) Reset() { *m = ListTargetGroupsRespon func (m *ListTargetGroupsResponse) String() string { return proto.CompactTextString(m) } func (*ListTargetGroupsResponse) ProtoMessage() {} func (*ListTargetGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{2} + return fileDescriptor_53eed3308238c6c4, []int{2} } + func (m *ListTargetGroupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetGroupsResponse.Unmarshal(m, b) } func (m *ListTargetGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTargetGroupsResponse.Marshal(b, m, deterministic) } -func (dst *ListTargetGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetGroupsResponse.Merge(dst, src) +func (m *ListTargetGroupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetGroupsResponse.Merge(m, src) } func (m *ListTargetGroupsResponse) XXX_Size() int { return xxx_messageInfo_ListTargetGroupsResponse.Size(m) @@ -221,16 +225,17 @@ func (m *CreateTargetGroupRequest) Reset() { *m = CreateTargetGroupReque func (m *CreateTargetGroupRequest) String() string { return proto.CompactTextString(m) } func (*CreateTargetGroupRequest) ProtoMessage() {} func (*CreateTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{3} + return fileDescriptor_53eed3308238c6c4, []int{3} } + func (m *CreateTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTargetGroupRequest.Unmarshal(m, b) } func (m *CreateTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *CreateTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTargetGroupRequest.Merge(dst, src) +func (m *CreateTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTargetGroupRequest.Merge(m, src) } func (m *CreateTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_CreateTargetGroupRequest.Size(m) @@ -295,16 +300,17 @@ func (m *CreateTargetGroupMetadata) Reset() { *m = CreateTargetGroupMeta func (m *CreateTargetGroupMetadata) String() string { return proto.CompactTextString(m) } func (*CreateTargetGroupMetadata) ProtoMessage() {} func (*CreateTargetGroupMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{4} + return fileDescriptor_53eed3308238c6c4, []int{4} } + func (m *CreateTargetGroupMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateTargetGroupMetadata.Unmarshal(m, b) } func (m *CreateTargetGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateTargetGroupMetadata.Marshal(b, m, deterministic) } -func (dst *CreateTargetGroupMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateTargetGroupMetadata.Merge(dst, src) +func (m *CreateTargetGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTargetGroupMetadata.Merge(m, src) } func (m *CreateTargetGroupMetadata) XXX_Size() int { return xxx_messageInfo_CreateTargetGroupMetadata.Size(m) @@ -348,16 +354,17 @@ func (m *UpdateTargetGroupRequest) Reset() { *m = UpdateTargetGroupReque func (m *UpdateTargetGroupRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTargetGroupRequest) ProtoMessage() {} func (*UpdateTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{5} + return fileDescriptor_53eed3308238c6c4, []int{5} } + func (m *UpdateTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTargetGroupRequest.Unmarshal(m, b) } func (m *UpdateTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *UpdateTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTargetGroupRequest.Merge(dst, src) +func (m *UpdateTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTargetGroupRequest.Merge(m, src) } func (m *UpdateTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_UpdateTargetGroupRequest.Size(m) @@ -422,16 +429,17 @@ func (m *UpdateTargetGroupMetadata) Reset() { *m = UpdateTargetGroupMeta func (m *UpdateTargetGroupMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateTargetGroupMetadata) ProtoMessage() {} func (*UpdateTargetGroupMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{6} + return fileDescriptor_53eed3308238c6c4, []int{6} } + func (m *UpdateTargetGroupMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateTargetGroupMetadata.Unmarshal(m, b) } func (m *UpdateTargetGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateTargetGroupMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateTargetGroupMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTargetGroupMetadata.Merge(dst, src) +func (m *UpdateTargetGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTargetGroupMetadata.Merge(m, src) } func (m *UpdateTargetGroupMetadata) XXX_Size() int { return xxx_messageInfo_UpdateTargetGroupMetadata.Size(m) @@ -462,16 +470,17 @@ func (m *DeleteTargetGroupRequest) Reset() { *m = DeleteTargetGroupReque func (m *DeleteTargetGroupRequest) String() string { return proto.CompactTextString(m) } func (*DeleteTargetGroupRequest) ProtoMessage() {} func (*DeleteTargetGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{7} + return fileDescriptor_53eed3308238c6c4, []int{7} } + func (m *DeleteTargetGroupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTargetGroupRequest.Unmarshal(m, b) } func (m *DeleteTargetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteTargetGroupRequest.Marshal(b, m, deterministic) } -func (dst *DeleteTargetGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTargetGroupRequest.Merge(dst, src) +func (m *DeleteTargetGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTargetGroupRequest.Merge(m, src) } func (m *DeleteTargetGroupRequest) XXX_Size() int { return xxx_messageInfo_DeleteTargetGroupRequest.Size(m) @@ -501,16 +510,17 @@ func (m *DeleteTargetGroupMetadata) Reset() { *m = DeleteTargetGroupMeta func (m *DeleteTargetGroupMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteTargetGroupMetadata) ProtoMessage() {} func (*DeleteTargetGroupMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{8} + return fileDescriptor_53eed3308238c6c4, []int{8} } + func (m *DeleteTargetGroupMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteTargetGroupMetadata.Unmarshal(m, b) } func (m *DeleteTargetGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteTargetGroupMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteTargetGroupMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTargetGroupMetadata.Merge(dst, src) +func (m *DeleteTargetGroupMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTargetGroupMetadata.Merge(m, src) } func (m *DeleteTargetGroupMetadata) XXX_Size() int { return xxx_messageInfo_DeleteTargetGroupMetadata.Size(m) @@ -543,16 +553,17 @@ func (m *AddTargetsRequest) Reset() { *m = AddTargetsRequest{} } func (m *AddTargetsRequest) String() string { return proto.CompactTextString(m) } func (*AddTargetsRequest) ProtoMessage() {} func (*AddTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{9} + return fileDescriptor_53eed3308238c6c4, []int{9} } + func (m *AddTargetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddTargetsRequest.Unmarshal(m, b) } func (m *AddTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddTargetsRequest.Marshal(b, m, deterministic) } -func (dst *AddTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetsRequest.Merge(dst, src) +func (m *AddTargetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetsRequest.Merge(m, src) } func (m *AddTargetsRequest) XXX_Size() int { return xxx_messageInfo_AddTargetsRequest.Size(m) @@ -589,16 +600,17 @@ func (m *AddTargetsMetadata) Reset() { *m = AddTargetsMetadata{} } func (m *AddTargetsMetadata) String() string { return proto.CompactTextString(m) } func (*AddTargetsMetadata) ProtoMessage() {} func (*AddTargetsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{10} + return fileDescriptor_53eed3308238c6c4, []int{10} } + func (m *AddTargetsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddTargetsMetadata.Unmarshal(m, b) } func (m *AddTargetsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddTargetsMetadata.Marshal(b, m, deterministic) } -func (dst *AddTargetsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTargetsMetadata.Merge(dst, src) +func (m *AddTargetsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddTargetsMetadata.Merge(m, src) } func (m *AddTargetsMetadata) XXX_Size() int { return xxx_messageInfo_AddTargetsMetadata.Size(m) @@ -631,16 +643,17 @@ func (m *RemoveTargetsRequest) Reset() { *m = RemoveTargetsRequest{} } func (m *RemoveTargetsRequest) String() string { return proto.CompactTextString(m) } func (*RemoveTargetsRequest) ProtoMessage() {} func (*RemoveTargetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{11} + return fileDescriptor_53eed3308238c6c4, []int{11} } + func (m *RemoveTargetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveTargetsRequest.Unmarshal(m, b) } func (m *RemoveTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveTargetsRequest.Marshal(b, m, deterministic) } -func (dst *RemoveTargetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetsRequest.Merge(dst, src) +func (m *RemoveTargetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetsRequest.Merge(m, src) } func (m *RemoveTargetsRequest) XXX_Size() int { return xxx_messageInfo_RemoveTargetsRequest.Size(m) @@ -677,16 +690,17 @@ func (m *RemoveTargetsMetadata) Reset() { *m = RemoveTargetsMetadata{} } func (m *RemoveTargetsMetadata) String() string { return proto.CompactTextString(m) } func (*RemoveTargetsMetadata) ProtoMessage() {} func (*RemoveTargetsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{12} + return fileDescriptor_53eed3308238c6c4, []int{12} } + func (m *RemoveTargetsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RemoveTargetsMetadata.Unmarshal(m, b) } func (m *RemoveTargetsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RemoveTargetsMetadata.Marshal(b, m, deterministic) } -func (dst *RemoveTargetsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTargetsMetadata.Merge(dst, src) +func (m *RemoveTargetsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTargetsMetadata.Merge(m, src) } func (m *RemoveTargetsMetadata) XXX_Size() int { return xxx_messageInfo_RemoveTargetsMetadata.Size(m) @@ -725,16 +739,17 @@ func (m *ListTargetGroupOperationsRequest) Reset() { *m = ListTargetGrou func (m *ListTargetGroupOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListTargetGroupOperationsRequest) ProtoMessage() {} func (*ListTargetGroupOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{13} + return fileDescriptor_53eed3308238c6c4, []int{13} } + func (m *ListTargetGroupOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetGroupOperationsRequest.Unmarshal(m, b) } func (m *ListTargetGroupOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTargetGroupOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListTargetGroupOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetGroupOperationsRequest.Merge(dst, src) +func (m *ListTargetGroupOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetGroupOperationsRequest.Merge(m, src) } func (m *ListTargetGroupOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListTargetGroupOperationsRequest.Size(m) @@ -783,16 +798,17 @@ func (m *ListTargetGroupOperationsResponse) Reset() { *m = ListTargetGro func (m *ListTargetGroupOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListTargetGroupOperationsResponse) ProtoMessage() {} func (*ListTargetGroupOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_target_group_service_7bf758e657f72fa8, []int{14} + return fileDescriptor_53eed3308238c6c4, []int{14} } + func (m *ListTargetGroupOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListTargetGroupOperationsResponse.Unmarshal(m, b) } func (m *ListTargetGroupOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListTargetGroupOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListTargetGroupOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTargetGroupOperationsResponse.Merge(dst, src) +func (m *ListTargetGroupOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTargetGroupOperationsResponse.Merge(m, src) } func (m *ListTargetGroupOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListTargetGroupOperationsResponse.Size(m) @@ -837,6 +853,87 @@ func init() { proto.RegisterType((*ListTargetGroupOperationsResponse)(nil), "yandex.cloud.loadbalancer.v1.ListTargetGroupOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/loadbalancer/v1/target_group_service.proto", fileDescriptor_53eed3308238c6c4) +} + +var fileDescriptor_53eed3308238c6c4 = []byte{ + // 1166 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbf, 0x6f, 0xdb, 0xd6, + 0x13, 0xc7, 0xb3, 0x64, 0x25, 0x3a, 0xd9, 0xdf, 0xe4, 0xfb, 0x10, 0xa3, 0xac, 0x90, 0x14, 0x32, + 0x1b, 0xb8, 0x8e, 0x5a, 0x51, 0xa2, 0x1c, 0xab, 0x71, 0xfc, 0xab, 0x91, 0x9b, 0x1a, 0x06, 0xe2, + 0x26, 0x60, 0x92, 0xa5, 0x46, 0x20, 0x3c, 0x9b, 0xcf, 0x2a, 0x61, 0x9a, 0x54, 0x48, 0x4a, 0x88, + 0x9d, 0x66, 0xf1, 0xe8, 0xa1, 0x43, 0x8a, 0x4e, 0x45, 0xd1, 0x3f, 0xa0, 0x9b, 0xc7, 0x16, 0x9d, + 0xed, 0xa1, 0x5d, 0x1c, 0xa0, 0x40, 0xf7, 0x0e, 0x5d, 0xba, 0x64, 0xec, 0x54, 0xf0, 0x3d, 0x4a, + 0xa2, 0x4c, 0x89, 0x26, 0xed, 0xb4, 0xe8, 0x26, 0xf2, 0xde, 0x9d, 0x3e, 0x9f, 0xbb, 0x7b, 0x77, + 0x1f, 0x10, 0x3e, 0xdc, 0x21, 0x86, 0x4a, 0x9f, 0x15, 0x37, 0x74, 0xb3, 0xa9, 0x16, 0x75, 0x93, + 0xa8, 0xeb, 0x44, 0x27, 0xc6, 0x06, 0xb5, 0x8a, 0x2d, 0xb9, 0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, 0x95, 0x7e, 0x43, 0x30, 0xda, 0xb3, 0x0b, 0x70, 0x39, + 0x9c, 0x52, 0xbf, 0x7d, 0x16, 0x85, 0xd5, 0xd3, 0x83, 0xe3, 0xfc, 0xf5, 0x41, 0x7b, 0x27, 0x40, + 0x6c, 0x49, 0x5c, 0x88, 0x4d, 0xcc, 0xf2, 0x87, 0x76, 0xb9, 0xfd, 0x8a, 0xe0, 0x7f, 0xee, 0x48, + 0xe9, 0x0e, 0x7b, 0xbc, 0x10, 0x6b, 0x00, 0x05, 0x76, 0x5a, 0x76, 0xf1, 0xcc, 0xfe, 0xde, 0x24, + 0x5b, 0x62, 0xf4, 0xe6, 0x71, 0xec, 0xba, 0x75, 0x3f, 0x10, 0xd8, 0xd5, 0xfb, 0x9f, 0xad, 0xd6, + 0x35, 0xe7, 0xf3, 0xe6, 0xba, 0xb4, 0x61, 0x6e, 0x7b, 0x1f, 0x0a, 0x0a, 0xfc, 0x43, 0x41, 0xdd, + 0x2c, 0xd4, 0xa9, 0xc1, 0x9a, 0x3d, 0xf4, 0x0b, 0xc2, 0xac, 0xff, 0x79, 0x3d, 0xc5, 0x1c, 0xa6, + 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe8, 0x1e, 0x4c, 0x6f, 0x11, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -967,6 +1064,35 @@ type TargetGroupServiceServer interface { ListOperations(context.Context, *ListTargetGroupOperationsRequest) (*ListTargetGroupOperationsResponse, error) } +// UnimplementedTargetGroupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedTargetGroupServiceServer struct { +} + +func (*UnimplementedTargetGroupServiceServer) Get(ctx context.Context, req *GetTargetGroupRequest) (*TargetGroup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedTargetGroupServiceServer) List(ctx context.Context, req *ListTargetGroupsRequest) (*ListTargetGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedTargetGroupServiceServer) Create(ctx context.Context, req *CreateTargetGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedTargetGroupServiceServer) Update(ctx context.Context, req *UpdateTargetGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedTargetGroupServiceServer) Delete(ctx context.Context, req *DeleteTargetGroupRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedTargetGroupServiceServer) AddTargets(ctx context.Context, req *AddTargetsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddTargets not implemented") +} +func (*UnimplementedTargetGroupServiceServer) RemoveTargets(ctx context.Context, req *RemoveTargetsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveTargets not implemented") +} +func (*UnimplementedTargetGroupServiceServer) ListOperations(ctx context.Context, req *ListTargetGroupOperationsRequest) (*ListTargetGroupOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterTargetGroupServiceServer(s *grpc.Server, srv TargetGroupServiceServer) { s.RegisterService(&_TargetGroupService_serviceDesc, srv) } @@ -1155,84 +1281,3 @@ var _TargetGroupService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/loadbalancer/v1/target_group_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/loadbalancer/v1/target_group_service.proto", fileDescriptor_target_group_service_7bf758e657f72fa8) -} - -var fileDescriptor_target_group_service_7bf758e657f72fa8 = []byte{ - // 1166 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbf, 0x6f, 0xdb, 0xd6, - 0x13, 0xc7, 0xb3,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xec, 0xba, 0x75, 0x3f, 0x10, 0xd8, 0xd5, 0xfb, 0x9f, 0xad, 0xd6, - 0x35, 0xe7, 0xf3, 0xe6, 0xba, 0xb4, 0x61, 0x6e, 0x7b, 0x1f, 0x0a, 0x0a, 0xfc, 0x43, 0x41, 0xdd, - 0x2c, 0xd4, 0xa9, 0xc1, 0x9a, 0x3d, 0xf4, 0x0b, 0xc2, 0xac, 0xff, 0x79, 0x3d, 0xc5, 0x1c, 0xa6, - 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe8, 0x1e, 0x4c, 0x6f, 0x11, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup.pb.go index b6791774d..828bb4f1d 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/backup.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ClickHouse Backup resource. See the [Developer's Guide](/docs/managed-clickhouse/concepts) // for more information. @@ -30,7 +32,8 @@ type Backup struct { // (i.e. when the backup operation was completed). CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the ClickHouse cluster that the backup was created for. - SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"` + SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"` + // Names of the shards included in the backup. SourceShardNames []string `protobuf:"bytes,6,rep,name=source_shard_names,json=sourceShardNames,proto3" json:"source_shard_names,omitempty"` // Time when the backup operation was started. StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` @@ -43,16 +46,17 @@ func (m *Backup) Reset() { *m = Backup{} } func (m *Backup) String() string { return proto.CompactTextString(m) } func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_63c80d0c65f0a55c, []int{0} + return fileDescriptor_a022447e16843e8f, []int{0} } + func (m *Backup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Backup.Unmarshal(m, b) } func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Backup.Marshal(b, m, deterministic) } -func (dst *Backup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Backup.Merge(dst, src) +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) } func (m *Backup) XXX_Size() int { return xxx_messageInfo_Backup.Size(m) @@ -110,10 +114,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/backup.proto", fileDescriptor_backup_63c80d0c65f0a55c) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/backup.proto", fileDescriptor_a022447e16843e8f) } -var fileDescriptor_backup_63c80d0c65f0a55c = []byte{ +var fileDescriptor_a022447e16843e8f = []byte{ // 297 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcd, 0x4e, 0x02, 0x31, 0x14, 0x85, 0xc3, 0xa0, 0xc4, 0xa9, 0x89, 0x3f, 0x5d, 0x4d, 0x30, 0x51, 0xe2, 0x8a, 0xa8, 0xb4, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup_service.pb.go index 2c5853354..686b5415c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/backup_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/backup_service.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package clickhouse import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetBackupRequest struct { // ID of the backup to return information about. @@ -38,16 +39,17 @@ func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } func (*GetBackupRequest) ProtoMessage() {} func (*GetBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_c0389392897d6e8b, []int{0} + return fileDescriptor_8e7968965ca8aa6a, []int{0} } + func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) } func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) } -func (dst *GetBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBackupRequest.Merge(dst, src) +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) } func (m *GetBackupRequest) XXX_Size() int { return xxx_messageInfo_GetBackupRequest.Size(m) @@ -85,16 +87,17 @@ func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListBackupsRequest) ProtoMessage() {} func (*ListBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_c0389392897d6e8b, []int{1} + return fileDescriptor_8e7968965ca8aa6a, []int{1} } + func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) } func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsRequest.Merge(dst, src) +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) } func (m *ListBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListBackupsRequest.Size(m) @@ -143,16 +146,17 @@ func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListBackupsResponse) ProtoMessage() {} func (*ListBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_c0389392897d6e8b, []int{2} + return fileDescriptor_8e7968965ca8aa6a, []int{2} } + func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) } func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsResponse.Merge(dst, src) +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) } func (m *ListBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListBackupsResponse.Size(m) @@ -183,6 +187,44 @@ func init() { proto.RegisterType((*ListBackupsResponse)(nil), "yandex.cloud.mdb.clickhouse.v1.ListBackupsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/backup_service.proto", fileDescriptor_8e7968965ca8aa6a) +} + +var fileDescriptor_8e7968965ca8aa6a = []byte{ + // 466 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x3f, 0x6f, 0xd3, 0x40, + 0x14, 0xc0, 0xe5, 0x24, 0x94, 0xf8, 0xa0, 0x02, 0x1d, 0x4b, 0x14, 0x41, 0x15, 0x3c, 0x84, 0xf0, + 0x27, 0x3e, 0x3b, 0x51, 0x27, 0x5a, 0x09, 0x65, 0xa9, 0x2a, 0x81, 0x40, 0x2e, 0x13, 0x4b, 0x74, + 0xf6, 0x3d, 0xdc, 0x53, 0x9c, 0x3b, 0x93, 0x3b, 0x47, 0xa5, 0x08, 0x21,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, 0xc3, 0x22, 0xf6, 0x13, 0x39, 0x25, 0xb6, + 0x51, 0xdf, 0x9e, 0x6e, 0x2a, 0xfb, 0x29, 0x08, 0x73, 0xb5, 0x64, 0xf5, 0x0f, 0xf0, 0x78, 0xf9, + 0x15, 0x6f, 0x18, 0x60, 0xf8, 0x33, 0x00, 0x00, 0xff, 0xff, 0xda, 0x84, 0x09, 0x05, 0xa7, 0x03, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -239,6 +281,17 @@ type BackupServiceServer interface { List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) } +// UnimplementedBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBackupServiceServer struct { +} + +func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer) { s.RegisterService(&_BackupService_serviceDesc, srv) } @@ -295,41 +348,3 @@ var _BackupService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/clickhouse/v1/backup_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/backup_service.proto", fileDescriptor_backup_service_c0389392897d6e8b) -} - -var fileDescriptor_backup_service_c0389392897d6e8b = []byte{ - // 466 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xc0, 0xe5, 0x24, 0x94, 0xf8, 0xa0, 0x02, 0x1d, 0x4b, 0x14, 0x41, 0x15, 0x3c, 0x84, 0xf0, - 0x27, 0x3e, 0x3b, 0x51, 0x27, 0x5a, 0x09, 0x65, 0xa9, 0x2a, 0x81, 0x40, 0x2e, 0x13, 0x4b, 0x74, - 0xf6, 0x3d, 0xdc, 0x53, 0x9c, 0x3b, 0x93, 0x3b, 0x47, 0xa5, 0x08, 0x21, 0x31, 0x76, 0xa4, 0x03, - 0x1f, 0x87, 0xb1, 0xdd, 0xf9, 0x0a, 0x0c, 0x7c, 0x06, 0x26, 0xe4, 0x3b, 0x87, 0x50, 0x40, 0x69, - 0x18, 0x7d, 0xef, 0xfd, 0xde, 0xfb, 0xe9, 0xbd, 0x67, 0x34, 0x7c, 0x4b, 0x05, 0x83, 0x23, 0x92, - 0x64, 0xb2, 0x60, 0x64, 0xca, 0x62, 0x92, 0x64, 0x3c, 0x99, 0x1c, 0xca, 0x42, 0x01, 0x99, 0x87, - 0x24, 0xa6, 0xc9, 0xa4, 0xc8, 0xc7, 0x0a, 0x66, 0x73, 0x9e, 0x80, 0x9f, 0xcf, 0xa4, 0x96, 0x78, - 0xcb, 0x42, 0xbe, 0x81, 0xfc, 0x29, 0x8b, 0xfd, 0x25, 0xe4, 0xcf, 0xc3, 0xf6, 0xed, 0x54, 0xca, - 0x34, 0x03, 0x42, 0x73, 0x4e, 0xa8, 0x10, 0x52, 0x53, 0xcd, 0xa5, 0x50, 0x96, 0x6e, 0x3f, 0x5c, - 0xab, 0x65, 0x95, 0x7c, 0xe7, 0x42, 0xf2, 0x9c, 0x66, 0x9c, 0x99, 0x62, 0x36, 0xec, 0x6d, 0xa3, - 0x9b, 0x7b, 0xa0, 0x47, 0x86, 0x88, 0xe0, 0x4d, 0x01, 0x4a, 0xe3, 0xbb, 0xc8, 0xad, 0xac, 0x39, - 0x6b, 0x39, 0x1d, 0xa7, 0xe7, 0x8e, 0x1a, 0xdf, 0xcf, 0x42, 0x27, 0x6a, 0xda, 0xe7, 0x7d, 0xe6, - 0x7d, 0x72, 0x10, 0x7e, 0xca, 0x55, 0x05, 0xaa, 0x05, 0x79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 0xc1, - 0x65, 0x4d, 0xfe, 0xde, 0x71, 0x7b, 0xf8, 0x5f, 0x8c, 0xdd, 0x81, 0xd7, 0x35, 0x96, 0x1d, 0xbc, - 0xb5, 0xda, 0x72, 0xf4, 0xfc, 0xd5, 0xb3, 0x94, 0xeb, 0xc3, 0x22, 0xf6, 0x13, 0x39, 0x25, 0xb6, - 0x51, 0xdf, 0x9e, 0x6e, 0x2a, 0xfb, 0x29, 0x08, 0x73, 0xb5, 0x64, 0xf5, 0x0f, 0xf0, 0x78, 0xf9, - 0x15, 0x6f, 0x18, 0x60, 0xf8, 0x33, 0x00, 0x00, 0xff, 0xff, 0xda, 0x84, 0x09, 0x05, 0xa7, 0x03, - 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster.pb.go index 6183f7599..6ef19ced7 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster.pb.go @@ -1,15 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/cluster.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -20,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Deployment environment. type Cluster_Environment int32 @@ -40,6 +42,7 @@ var Cluster_Environment_name = map[int32]string{ 1: "PRODUCTION", 2: "PRESTABLE", } + var Cluster_Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "PRODUCTION": 1, @@ -49,8 +52,9 @@ var Cluster_Environment_value = map[string]int32{ func (x Cluster_Environment) String() string { return proto.EnumName(Cluster_Environment_name, int32(x)) } + func (Cluster_Environment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{0, 0} + return fileDescriptor_1a6d463853631481, []int{0, 0} } type Cluster_Health int32 @@ -72,6 +76,7 @@ var Cluster_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Cluster_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -82,8 +87,9 @@ var Cluster_Health_value = map[string]int32{ func (x Cluster_Health) String() string { return proto.EnumName(Cluster_Health_name, int32(x)) } + func (Cluster_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{0, 1} + return fileDescriptor_1a6d463853631481, []int{0, 1} } type Cluster_Status int32 @@ -117,6 +123,7 @@ var Cluster_Status_name = map[int32]string{ 6: "STOPPED", 7: "STARTING", } + var Cluster_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "CREATING": 1, @@ -131,8 +138,9 @@ var Cluster_Status_value = map[string]int32{ func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } + func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{0, 2} + return fileDescriptor_1a6d463853631481, []int{0, 2} } type Host_Type int32 @@ -150,6 +158,7 @@ var Host_Type_name = map[int32]string{ 1: "CLICKHOUSE", 2: "ZOOKEEPER", } + var Host_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CLICKHOUSE": 1, @@ -159,8 +168,9 @@ var Host_Type_value = map[string]int32{ func (x Host_Type) String() string { return proto.EnumName(Host_Type_name, int32(x)) } + func (Host_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{5, 0} + return fileDescriptor_1a6d463853631481, []int{5, 0} } type Host_Health int32 @@ -182,6 +192,7 @@ var Host_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Host_Health_value = map[string]int32{ "UNKNOWN": 0, "ALIVE": 1, @@ -192,8 +203,9 @@ var Host_Health_value = map[string]int32{ func (x Host_Health) String() string { return proto.EnumName(Host_Health_name, int32(x)) } + func (Host_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{5, 1} + return fileDescriptor_1a6d463853631481, []int{5, 1} } type Service_Type int32 @@ -211,6 +223,7 @@ var Service_Type_name = map[int32]string{ 1: "CLICKHOUSE", 2: "ZOOKEEPER", } + var Service_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CLICKHOUSE": 1, @@ -220,8 +233,9 @@ var Service_Type_value = map[string]int32{ func (x Service_Type) String() string { return proto.EnumName(Service_Type_name, int32(x)) } + func (Service_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{6, 0} + return fileDescriptor_1a6d463853631481, []int{6, 0} } type Service_Health int32 @@ -240,6 +254,7 @@ var Service_Health_name = map[int32]string{ 1: "ALIVE", 2: "DEAD", } + var Service_Health_value = map[string]int32{ "UNKNOWN": 0, "ALIVE": 1, @@ -249,8 +264,9 @@ var Service_Health_value = map[string]int32{ func (x Service_Health) String() string { return proto.EnumName(Service_Health_name, int32(x)) } + func (Service_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{6, 1} + return fileDescriptor_1a6d463853631481, []int{6, 1} } // A ClickHouse Cluster resource. For more information, see the @@ -268,7 +284,7 @@ type Cluster struct { Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the ClickHouse cluster. 0-256 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` - // Custom labels for the PostgreSQL cluster as `` key:value `` pairs. Maximum 64 per resource. + // Custom labels for the ClickHouse cluster as `key:value` pairs. Maximum 64 per resource. Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deployment environment of the ClickHouse cluster. Environment Cluster_Environment `protobuf:"varint,7,opt,name=environment,proto3,enum=yandex.cloud.mdb.clickhouse.v1.Cluster_Environment" json:"environment,omitempty"` @@ -291,16 +307,17 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{0} + return fileDescriptor_1a6d463853631481, []int{0} } + func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) } func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) } -func (dst *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(dst, src) +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) } func (m *Cluster) XXX_Size() int { return xxx_messageInfo_Cluster.Size(m) @@ -412,16 +429,17 @@ func (m *Monitoring) Reset() { *m = Monitoring{} } func (m *Monitoring) String() string { return proto.CompactTextString(m) } func (*Monitoring) ProtoMessage() {} func (*Monitoring) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{1} + return fileDescriptor_1a6d463853631481, []int{1} } + func (m *Monitoring) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring.Unmarshal(m, b) } func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) } -func (dst *Monitoring) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring.Merge(dst, src) +func (m *Monitoring) XXX_Merge(src proto.Message) { + xxx_messageInfo_Monitoring.Merge(m, src) } func (m *Monitoring) XXX_Size() int { return xxx_messageInfo_Monitoring.Size(m) @@ -460,27 +478,30 @@ type ClusterConfig struct { Clickhouse *ClusterConfig_Clickhouse `protobuf:"bytes,2,opt,name=clickhouse,proto3" json:"clickhouse,omitempty"` // Configuration and resource allocation for ZooKeeper hosts. Zookeeper *ClusterConfig_Zookeeper `protobuf:"bytes,3,opt,name=zookeeper,proto3" json:"zookeeper,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{2} + return fileDescriptor_1a6d463853631481, []int{2} } + func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) } func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) } -func (dst *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(dst, src) +func (m *ClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig.Merge(m, src) } func (m *ClusterConfig) XXX_Size() int { return xxx_messageInfo_ClusterConfig.Size(m) @@ -519,6 +540,13 @@ func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } +func (m *ClusterConfig) GetAccess() *Access { + if m != nil { + return m.Access + } + return nil +} + type ClusterConfig_Clickhouse struct { // Configuration settings of a ClickHouse server. Config *config.ClickhouseConfigSet `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` @@ -533,16 +561,17 @@ func (m *ClusterConfig_Clickhouse) Reset() { *m = ClusterConfig_Clickhou func (m *ClusterConfig_Clickhouse) String() string { return proto.CompactTextString(m) } func (*ClusterConfig_Clickhouse) ProtoMessage() {} func (*ClusterConfig_Clickhouse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{2, 0} + return fileDescriptor_1a6d463853631481, []int{2, 0} } + func (m *ClusterConfig_Clickhouse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig_Clickhouse.Unmarshal(m, b) } func (m *ClusterConfig_Clickhouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig_Clickhouse.Marshal(b, m, deterministic) } -func (dst *ClusterConfig_Clickhouse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig_Clickhouse.Merge(dst, src) +func (m *ClusterConfig_Clickhouse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig_Clickhouse.Merge(m, src) } func (m *ClusterConfig_Clickhouse) XXX_Size() int { return xxx_messageInfo_ClusterConfig_Clickhouse.Size(m) @@ -579,16 +608,17 @@ func (m *ClusterConfig_Zookeeper) Reset() { *m = ClusterConfig_Zookeeper func (m *ClusterConfig_Zookeeper) String() string { return proto.CompactTextString(m) } func (*ClusterConfig_Zookeeper) ProtoMessage() {} func (*ClusterConfig_Zookeeper) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{2, 1} + return fileDescriptor_1a6d463853631481, []int{2, 1} } + func (m *ClusterConfig_Zookeeper) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig_Zookeeper.Unmarshal(m, b) } func (m *ClusterConfig_Zookeeper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig_Zookeeper.Marshal(b, m, deterministic) } -func (dst *ClusterConfig_Zookeeper) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig_Zookeeper.Merge(dst, src) +func (m *ClusterConfig_Zookeeper) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig_Zookeeper.Merge(m, src) } func (m *ClusterConfig_Zookeeper) XXX_Size() int { return xxx_messageInfo_ClusterConfig_Zookeeper.Size(m) @@ -607,8 +637,11 @@ func (m *ClusterConfig_Zookeeper) GetResources() *Resources { } type Shard struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the cluster that the shard belongs to. + ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Configuration of the shard. Config *ShardConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -619,16 +652,17 @@ func (m *Shard) Reset() { *m = Shard{} } func (m *Shard) String() string { return proto.CompactTextString(m) } func (*Shard) ProtoMessage() {} func (*Shard) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{3} + return fileDescriptor_1a6d463853631481, []int{3} } + func (m *Shard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Shard.Unmarshal(m, b) } func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Shard.Marshal(b, m, deterministic) } -func (dst *Shard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Shard.Merge(dst, src) +func (m *Shard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Shard.Merge(m, src) } func (m *Shard) XXX_Size() int { return xxx_messageInfo_Shard.Size(m) @@ -661,6 +695,7 @@ func (m *Shard) GetConfig() *ShardConfig { } type ShardConfig struct { + // ClickHouse configuration for a shard. Clickhouse *ShardConfig_Clickhouse `protobuf:"bytes,1,opt,name=clickhouse,proto3" json:"clickhouse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -671,16 +706,17 @@ func (m *ShardConfig) Reset() { *m = ShardConfig{} } func (m *ShardConfig) String() string { return proto.CompactTextString(m) } func (*ShardConfig) ProtoMessage() {} func (*ShardConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{4} + return fileDescriptor_1a6d463853631481, []int{4} } + func (m *ShardConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShardConfig.Unmarshal(m, b) } func (m *ShardConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShardConfig.Marshal(b, m, deterministic) } -func (dst *ShardConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardConfig.Merge(dst, src) +func (m *ShardConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShardConfig.Merge(m, src) } func (m *ShardConfig) XXX_Size() int { return xxx_messageInfo_ShardConfig.Size(m) @@ -699,28 +735,33 @@ func (m *ShardConfig) GetClickhouse() *ShardConfig_Clickhouse { } type ShardConfig_Clickhouse struct { - Config *config.ClickhouseConfigSet `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` - Weight *wrappers.Int64Value `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // ClickHouse settings for a shard. + Config *config.ClickhouseConfigSet `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Computational resources for a shard. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + // Relative weight of a shard considered when writing data to the cluster. + // For details, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/table_engines/distributed/). + Weight *wrappers.Int64Value `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ShardConfig_Clickhouse) Reset() { *m = ShardConfig_Clickhouse{} } func (m *ShardConfig_Clickhouse) String() string { return proto.CompactTextString(m) } func (*ShardConfig_Clickhouse) ProtoMessage() {} func (*ShardConfig_Clickhouse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{4, 0} + return fileDescriptor_1a6d463853631481, []int{4, 0} } + func (m *ShardConfig_Clickhouse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShardConfig_Clickhouse.Unmarshal(m, b) } func (m *ShardConfig_Clickhouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShardConfig_Clickhouse.Marshal(b, m, deterministic) } -func (dst *ShardConfig_Clickhouse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardConfig_Clickhouse.Merge(dst, src) +func (m *ShardConfig_Clickhouse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShardConfig_Clickhouse.Merge(m, src) } func (m *ShardConfig_Clickhouse) XXX_Size() int { return xxx_messageInfo_ShardConfig_Clickhouse.Size(m) @@ -784,16 +825,17 @@ func (m *Host) Reset() { *m = Host{} } func (m *Host) String() string { return proto.CompactTextString(m) } func (*Host) ProtoMessage() {} func (*Host) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{5} + return fileDescriptor_1a6d463853631481, []int{5} } + func (m *Host) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Host.Unmarshal(m, b) } func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Host.Marshal(b, m, deterministic) } -func (dst *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(dst, src) +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) } func (m *Host) XXX_Size() int { return xxx_messageInfo_Host.Size(m) @@ -888,16 +930,17 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{6} + return fileDescriptor_1a6d463853631481, []int{6} } + func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) } func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Service.Marshal(b, m, deterministic) } -func (dst *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(dst, src) +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) } func (m *Service) XXX_Size() int { return xxx_messageInfo_Service.Size(m) @@ -943,16 +986,17 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_023f72bf3ea54d88, []int{7} + return fileDescriptor_1a6d463853631481, []int{7} } + func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) } func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Resources.Marshal(b, m, deterministic) } -func (dst *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(dst, src) +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) } func (m *Resources) XXX_Size() int { return xxx_messageInfo_Resources.Size(m) @@ -984,7 +1028,63 @@ func (m *Resources) GetDiskTypeId() string { return "" } +type Access struct { + // Allow access for DataLens + DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` + // Allow access for Web SQL + WebSql bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Access) Reset() { *m = Access{} } +func (m *Access) String() string { return proto.CompactTextString(m) } +func (*Access) ProtoMessage() {} +func (*Access) Descriptor() ([]byte, []int) { + return fileDescriptor_1a6d463853631481, []int{8} +} + +func (m *Access) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Access.Unmarshal(m, b) +} +func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Access.Marshal(b, m, deterministic) +} +func (m *Access) XXX_Merge(src proto.Message) { + xxx_messageInfo_Access.Merge(m, src) +} +func (m *Access) XXX_Size() int { + return xxx_messageInfo_Access.Size(m) +} +func (m *Access) XXX_DiscardUnknown() { + xxx_messageInfo_Access.DiscardUnknown(m) +} + +var xxx_messageInfo_Access proto.InternalMessageInfo + +func (m *Access) GetDataLens() bool { + if m != nil { + return m.DataLens + } + return false +} + +func (m *Access) GetWebSql() bool { + if m != nil { + return m.WebSql + } + return false +} + func init() { + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Host_Type", Host_Type_name, Host_Type_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Host_Health", Host_Health_name, Host_Health_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Service_Type", Service_Type_name, Service_Type_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Service_Health", Service_Health_name, Service_Health_value) proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.clickhouse.v1.Cluster") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry") proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.clickhouse.v1.Monitoring") @@ -997,96 +1097,94 @@ func init() { proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.clickhouse.v1.Host") proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.clickhouse.v1.Service") proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.clickhouse.v1.Resources") - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Host_Type", Host_Type_name, Host_Type_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Host_Health", Host_Health_name, Host_Health_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Service_Type", Service_Type_name, Service_Type_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.Service_Health", Service_Health_name, Service_Health_value) + proto.RegisterType((*Access)(nil), "yandex.cloud.mdb.clickhouse.v1.Access") } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/cluster.proto", fileDescriptor_cluster_023f72bf3ea54d88) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/cluster.proto", fileDescriptor_1a6d463853631481) } -var fileDescriptor_cluster_023f72bf3ea54d88 = []byte{ - // 1229 bytes of a gzipped FileDescriptorProto +var fileDescriptor_1a6d463853631481 = []byte{ + // 1290 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x0e, 0x75, 0xe7, 0xa1, 0x23, 0xf0, 0x9f, 0x3f, 0x68, 0x08, 0x19, 0x49, 0x0d, 0x6e, 0xea, - 0xe6, 0x42, 0x21, 0x4e, 0xe1, 0x3a, 0x09, 0x8a, 0x56, 0x91, 0x68, 0x9b, 0xb5, 0x4d, 0x09, 0x23, - 0xca, 0x69, 0xbd, 0x11, 0x28, 0x71, 0x2c, 0x11, 0x92, 0x48, 0x82, 0xa4, 0xe4, 0xc8, 0x9b, 0xbe, - 0x4c, 0x37, 0x7d, 0x8c, 0x6e, 0xba, 0xed, 0x1b, 0xf4, 0x49, 0xba, 0x28, 0x66, 0x86, 0xba, 0xd9, - 0x4d, 0x24, 0x27, 0xab, 0xee, 0x34, 0xe7, 0x9c, 0xef, 0xe3, 0x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xe3, 0xd9, 0x23, 0xa2, 0x64, 0x18, 0x25, 0xfb, 0x8d, 0x76, 0x40, 0x72, 0x48, 0xd4, 0x0d, 0xdd, - 0x20, 0x76, 0x7d, 0x4f, 0xc9, 0x32, 0xd5, 0xb2, 0x08, 0x9d, 0x40, 0x6e, 0x68, 0x77, 0xc8, 0x30, - 0x52, 0x72, 0x3b, 0xe9, 0x5d, 0x69, 0xef, 0xa5, 0xf6, 0xf1, 0x84, 0x6b, 0x49, 0x58, 0xda, 0x29, - 0x43, 0xe9, 0x5e, 0x1c, 0x4e, 0x71, 0x42, 0x81, 0x5a, 0x20, 0x11, 0x6f, 0xe2, 0x86, 0xbe, 0x37, - 0x22, 0x5e, 0xac, 0xe4, 0x77, 0x84, 0xdd, 0xe2, 0xe6, 0x8c, 0xfa, 0x02, 0x8a, 0x97, 0x79, 0xd0, - 0x8f, 0x00, 0x23, 0xdf, 0x73, 0x63, 0x3f, 0x74, 0xbd, 0x9e, 0x52, 0x60, 0x7e, 0x3e, 0x59, 0xc7, - 0x7a, 0x36, 0x47, 0xe0, 0x25, 0x34, 0xd2, 0x21, 0xc7, 0x8b, 0xa6, 0x88, 0x2c, 0xb9, 0xcf, 0x37, - 0xf4, 0xae, 0xca, 0x40, 0x38, 0x01, 0xa3, 0x47, 0x00, 0x1e, 0x89, 0xaf, 0xfc, 0x70, 0x40, 0xab, - 0x08, 0x2c, 0xaf, 0x62, 0x22, 0x31, 0x1c, 0x74, 0x08, 0xb9, 0x3e, 0xb1, 0x87, 0x71, 0x5f, 0x91, - 0x58, 0x0e, 0xb4, 0x4d, 0x73, 0x70, 0xcc, 0x50, 0x38, 0x41, 0x53, 0x9e, 0x28, 0xb6, 0xe3, 0x71, - 0xa4, 0x6c, 0xdd, 0x8d, 0xa7, 0xc9, 0x50, 0x38, 0x41, 0x97, 0x5e, 0x81, 0xb4, 0x54, 0x2f, 0x24, - 0x43, 0x7a, 0x40, 0xa6, 0x49, 0x4f, 0xd2, 0x9f, 0xe8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73, 0x80, 0x45, 0x47, 0xcd, 0x67, 0x4d, 0xf8, 0xf0, 0xac, 0xa5, 0x6e, 0xcf, 0x1a, 0x82, 0xcc, - 0xd0, 0xf5, 0x06, 0x6c, 0xac, 0x45, 0xcc, 0x7e, 0xab, 0xbf, 0x66, 0xe0, 0xfe, 0x4a, 0x8b, 0x21, - 0x05, 0xf2, 0x13, 0x12, 0x46, 0x94, 0x83, 0xd3, 0xcf, 0x8e, 0xe8, 0x27, 0x80, 0x45, 0xb5, 0xd9, - 0x07, 0xa4, 0xbd, 0x83, 0x3b, 0xf5, 0xaf, 0x56, 0x9d, 0xeb, 0xf0, 0x12, 0x17, 0x6a, 0x81, 0x78, - 0xed, 0xfb, 0x03, 0x42, 0x02, 0x12, 0x26, 0xb7, 0xce, 0xb7, 0x77, 0x23, 0xbe, 0x98, 0xc1, 0xf1, - 0x82, 0x09, 0x1d, 0xc2, 0xff, 0x3b, 0x76, 0x77, 0x30, 0x0e, 0xda, 0x57, 0xae, 0xe7, 0xf8, 0x57, - 0xed, 0x28, 0xb6, 0xc3, 0x98, 0xdd, 0x50, 0xd2, 0xde, 0x17, 0xb3, 0x6b, 0x8d, 0xde, 0xbc, 0xec, - 0x4a, 0xab, 0x5f, 0xd6, 0xec, 0x29, 0xfe, 0x1f, 0x87, 0xbc, 0x63, 0x88, 0x26, 0x05, 0x94, 0x7e, - 0x13, 0x00, 0x16, 0x9e, 0x23, 0x3c, 0x9f, 0x61, 0x81, 0x31, 0xbd, 0x5e, 0xe7, 0x6a, 0xf7, 0x66, - 0xf0, 0xdc, 0xe9, 0x26, 0x89, 0xe7, 0x03, 0x7d, 0x04, 0x62, 0x48, 0x22, 0x7f, 0x1c, 0x76, 0x49, - 0x94, 0xa4, 0xf6, 0xeb, 0x75, 0xb4, 0x78, 0x06, 0xc0, 0x0b, 0x6c, 0xc9, 0x02, 0x71, 0x9e, 0x8b, - 0x55, 0x56, 0xe1, 0xd3, 0x59, 0xd5, 0x5f, 0x20, 0xdb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0xad, 0xfb, 0xe3, 0xa3, 0x5a, 0x16, 0x8c, + 0x08, 0xcd, 0xdc, 0x51, 0x22, 0x08, 0xaa, 0x37, 0xdf, 0x35, 0x38, 0x4d, 0xdd, 0x24, 0x21, 0x29, + 0xcd, 0xf5, 0x5b, 0xb9, 0x3e, 0x9b, 0x24, 0x84, 0x83, 0xe3, 0x23, 0xdf, 0x9d, 0xe4, 0xca, 0x07, + 0xcb, 0xee, 0x1a, 0x47, 0x47, 0xc1, 0x60, 0x41, 0x28, 0x70, 0xfa, 0x9f, 0x25, 0x28, 0x35, 0x84, + 0x1f, 0x68, 0x13, 0x0a, 0x81, 0x5f, 0x91, 0xb6, 0xa5, 0x1d, 0x05, 0x17, 0x02, 0x1f, 0x6d, 0x81, + 0x72, 0x14, 0x87, 0x3e, 0x49, 0x9d, 0xc0, 0xaf, 0x14, 0xb8, 0xb8, 0x2c, 0x04, 0x96, 0x8f, 0x1e, + 0x01, 0x78, 0x29, 0x71, 0x33, 0xe2, 0x3b, 0x6e, 0x56, 0x59, 0xdb, 0x96, 0x76, 0xd4, 0xdd, 0xaa, + 0x21, 0xae, 0x68, 0x4c, 0x5d, 0x30, 0xec, 0xa9, 0x8f, 0x58, 0xc9, 0xad, 0xeb, 0x19, 0x42, 0x50, + 0x8c, 0xdc, 0x11, 0xa9, 0x14, 0x39, 0x25, 0xff, 0x8d, 0xb6, 0x41, 0xf5, 0x09, 0xf5, 0xd2, 0x20, + 0xc9, 0x82, 0x38, 0xaa, 0xac, 0x73, 0xd5, 0xa2, 0x08, 0xed, 0x83, 0x1c, 0xba, 0x7d, 0x12, 0xd2, + 0x8a, 0xbc, 0xbd, 0xb6, 0xa3, 0xee, 0xde, 0x37, 0x3e, 0x1c, 0x70, 0x23, 0x77, 0xcb, 0x38, 0xe0, + 0x28, 0x33, 0xca, 0xd2, 0x09, 0xce, 0x29, 0x50, 0x0f, 0x54, 0x12, 0x9d, 0x04, 0x69, 0x1c, 0x8d, + 0x48, 0x94, 0x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47, 0x87, 0xe7, 0x6a, 0x59, 0xb8, 0xf6, 0xe0, 0x12, 0xc4, 0xef, + 0xa9, 0xe4, 0xea, 0x5f, 0xff, 0x9f, 0x54, 0xa3, 0xfb, 0x20, 0x9f, 0x92, 0x60, 0x70, 0x3c, 0x5d, + 0xf4, 0x5b, 0x17, 0x16, 0xbd, 0x15, 0x65, 0x0f, 0xbe, 0x3d, 0x64, 0xb3, 0x18, 0xe7, 0xa6, 0xfa, + 0xef, 0x45, 0x28, 0xee, 0xc5, 0x34, 0xfb, 0x98, 0x4c, 0x5e, 0x87, 0xd2, 0x59, 0x1c, 0x11, 0xa6, + 0x13, 0x33, 0x48, 0x66, 0x47, 0xcb, 0x47, 0xdf, 0x43, 0x91, 0x75, 0x21, 0xef, 0xcc, 0xcd, 0xe5, + 0xde, 0xb0, 0xef, 0x1b, 0xf6, 0x24, 0x21, 0x98, 0xc3, 0xce, 0x47, 0x64, 0xfd, 0x13, 0x22, 0xd2, + 0x98, 0xed, 0x4d, 0x99, 0xdf, 0xe4, 0xf6, 0x4a, 0x37, 0x79, 0x67, 0x69, 0x36, 0xa0, 0x4c, 0x49, + 0x7a, 0x12, 0xb0, 0xcb, 0x94, 0xf8, 0x63, 0xe1, 0xeb, 0xa5, 0x85, 0x25, 0xec, 0xf1, 0x0c, 0xc8, + 0x5e, 0x69, 0x74, 0xdc, 0x8f, 0x48, 0xc6, 0x82, 0x55, 0x16, 0xaf, 0x34, 0x21, 0xb0, 0x7c, 0xb4, + 0x03, 0x9a, 0x4b, 0x69, 0x30, 0x88, 0x9c, 0x64, 0xdc, 0x0f, 0x03, 0xcf, 0x09, 0x12, 0xfe, 0x9c, + 0x28, 0xe3, 0x4d, 0x21, 0xef, 0x70, 0xb1, 0x95, 0xb0, 0x84, 0x50, 0x56, 0xb4, 0x0e, 0x4f, 0x55, + 0xfe, 0x4e, 0xe0, 0x92, 0x96, 0x3b, 0x22, 0xfa, 0x13, 0x28, 0xb2, 0x30, 0xa2, 0x6b,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0x35, 0x11, 0xe6, 0xbb, 0xe2, 0xcf, 0xc9, 0x20, 0xbe, 0x3b, 0x20, 0x11, 0x9f, 0x1c, + 0xb5, 0x0f, 0xff, 0x6b, 0x79, 0x32, 0x3f, 0xf5, 0x65, 0x0e, 0xb8, 0xff, 0x6f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x45, 0x3e, 0x44, 0x83, 0x95, 0x0d, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster_service.pb.go index 24cf7f282..ed5dd64fb 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/cluster_service.pb.go @@ -1,24 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/cluster_service.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package clickhouse import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -30,7 +31,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListClusterLogsRequest_ServiceType int32 @@ -44,6 +45,7 @@ var ListClusterLogsRequest_ServiceType_name = map[int32]string{ 0: "SERVICE_TYPE_UNSPECIFIED", 1: "CLICKHOUSE", } + var ListClusterLogsRequest_ServiceType_value = map[string]int32{ "SERVICE_TYPE_UNSPECIFIED": 0, "CLICKHOUSE": 1, @@ -52,8 +54,9 @@ var ListClusterLogsRequest_ServiceType_value = map[string]int32{ func (x ListClusterLogsRequest_ServiceType) String() string { return proto.EnumName(ListClusterLogsRequest_ServiceType_name, int32(x)) } + func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{20, 0} + return fileDescriptor_abf45d3bff6c2a2e, []int{22, 0} } type GetClusterRequest struct { @@ -69,16 +72,17 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{0} + return fileDescriptor_abf45d3bff6c2a2e, []int{0} } + func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) } func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(dst, src) +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) } func (m *GetClusterRequest) XXX_Size() int { return xxx_messageInfo_GetClusterRequest.Size(m) @@ -122,16 +126,17 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{1} + return fileDescriptor_abf45d3bff6c2a2e, []int{1} } + func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) } func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) } -func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(dst, src) +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) } func (m *ListClustersRequest) XXX_Size() int { return xxx_messageInfo_ListClustersRequest.Size(m) @@ -187,16 +192,17 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{2} + return fileDescriptor_abf45d3bff6c2a2e, []int{2} } + func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) } func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) } -func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(dst, src) +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) } func (m *ListClustersResponse) XXX_Size() int { return xxx_messageInfo_ListClustersResponse.Size(m) @@ -243,7 +249,7 @@ type CreateClusterRequest struct { HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the cluster in. NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - // Name of the first shard in cluster. If not set, it defaults to the value 'shard1'. + // Name of the first shard in cluster. If not set, defaults to the value 'shard1'. ShardName string `protobuf:"bytes,11,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -254,16 +260,17 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{3} + return fileDescriptor_abf45d3bff6c2a2e, []int{3} } + func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) } func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) } -func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(dst, src) +func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterRequest.Merge(m, src) } func (m *CreateClusterRequest) XXX_Size() int { return xxx_messageInfo_CreateClusterRequest.Size(m) @@ -363,16 +370,17 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{4} + return fileDescriptor_abf45d3bff6c2a2e, []int{4} } + func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) } func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(dst, src) +func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterMetadata.Merge(m, src) } func (m *CreateClusterMetadata) XXX_Size() int { return xxx_messageInfo_CreateClusterMetadata.Size(m) @@ -415,16 +423,17 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{5} + return fileDescriptor_abf45d3bff6c2a2e, []int{5} } + func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) } func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(dst, src) +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) } func (m *UpdateClusterRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterRequest.Size(m) @@ -482,16 +491,17 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{6} + return fileDescriptor_abf45d3bff6c2a2e, []int{6} } + func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) } func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(dst, src) +func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) } func (m *UpdateClusterMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterMetadata.Size(m) @@ -522,16 +532,17 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{7} + return fileDescriptor_abf45d3bff6c2a2e, []int{7} } + func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) } func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) +func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(m, src) } func (m *DeleteClusterRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterRequest.Size(m) @@ -561,16 +572,17 @@ func (m *DeleteClusterMetadata) Reset() { *m = DeleteClusterMetadata{} } func (m *DeleteClusterMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterMetadata) ProtoMessage() {} func (*DeleteClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{8} + return fileDescriptor_abf45d3bff6c2a2e, []int{8} } + func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterMetadata.Unmarshal(m, b) } func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterMetadata.Merge(dst, src) +func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterMetadata.Merge(m, src) } func (m *DeleteClusterMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterMetadata.Size(m) @@ -589,7 +601,7 @@ func (m *DeleteClusterMetadata) GetClusterId() string { } type StartClusterRequest struct { - // Required. ID of the ClickHouse cluster to start. + // ID of the ClickHouse cluster to start. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -600,16 +612,17 @@ func (m *StartClusterRequest) Reset() { *m = StartClusterRequest{} } func (m *StartClusterRequest) String() string { return proto.CompactTextString(m) } func (*StartClusterRequest) ProtoMessage() {} func (*StartClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{9} + return fileDescriptor_abf45d3bff6c2a2e, []int{9} } + func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterRequest.Unmarshal(m, b) } func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterRequest.Marshal(b, m, deterministic) } -func (dst *StartClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterRequest.Merge(dst, src) +func (m *StartClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterRequest.Merge(m, src) } func (m *StartClusterRequest) XXX_Size() int { return xxx_messageInfo_StartClusterRequest.Size(m) @@ -628,7 +641,7 @@ func (m *StartClusterRequest) GetClusterId() string { } type StartClusterMetadata struct { - // Required. ID of the ClickHouse cluster. + // ID of the ClickHouse cluster being started. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -639,16 +652,17 @@ func (m *StartClusterMetadata) Reset() { *m = StartClusterMetadata{} } func (m *StartClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StartClusterMetadata) ProtoMessage() {} func (*StartClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{10} + return fileDescriptor_abf45d3bff6c2a2e, []int{10} } + func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterMetadata.Unmarshal(m, b) } func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StartClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterMetadata.Merge(dst, src) +func (m *StartClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterMetadata.Merge(m, src) } func (m *StartClusterMetadata) XXX_Size() int { return xxx_messageInfo_StartClusterMetadata.Size(m) @@ -667,7 +681,7 @@ func (m *StartClusterMetadata) GetClusterId() string { } type StopClusterRequest struct { - // Required. ID of the ClickHouse cluster to stop. + // ID of the ClickHouse cluster to stop. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -678,16 +692,17 @@ func (m *StopClusterRequest) Reset() { *m = StopClusterRequest{} } func (m *StopClusterRequest) String() string { return proto.CompactTextString(m) } func (*StopClusterRequest) ProtoMessage() {} func (*StopClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{11} + return fileDescriptor_abf45d3bff6c2a2e, []int{11} } + func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterRequest.Unmarshal(m, b) } func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterRequest.Marshal(b, m, deterministic) } -func (dst *StopClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterRequest.Merge(dst, src) +func (m *StopClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterRequest.Merge(m, src) } func (m *StopClusterRequest) XXX_Size() int { return xxx_messageInfo_StopClusterRequest.Size(m) @@ -706,7 +721,7 @@ func (m *StopClusterRequest) GetClusterId() string { } type StopClusterMetadata struct { - // Required. ID of the ClickHouse cluster. + // ID of the ClickHouse cluster being stopped. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -717,16 +732,17 @@ func (m *StopClusterMetadata) Reset() { *m = StopClusterMetadata{} } func (m *StopClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StopClusterMetadata) ProtoMessage() {} func (*StopClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{12} + return fileDescriptor_abf45d3bff6c2a2e, []int{12} } + func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterMetadata.Unmarshal(m, b) } func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StopClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterMetadata.Merge(dst, src) +func (m *StopClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterMetadata.Merge(m, src) } func (m *StopClusterMetadata) XXX_Size() int { return xxx_messageInfo_StopClusterMetadata.Size(m) @@ -758,16 +774,17 @@ func (m *MoveClusterRequest) Reset() { *m = MoveClusterRequest{} } func (m *MoveClusterRequest) String() string { return proto.CompactTextString(m) } func (*MoveClusterRequest) ProtoMessage() {} func (*MoveClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{13} + return fileDescriptor_abf45d3bff6c2a2e, []int{13} } + func (m *MoveClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterRequest.Unmarshal(m, b) } func (m *MoveClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterRequest.Marshal(b, m, deterministic) } -func (dst *MoveClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterRequest.Merge(dst, src) +func (m *MoveClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterRequest.Merge(m, src) } func (m *MoveClusterRequest) XXX_Size() int { return xxx_messageInfo_MoveClusterRequest.Size(m) @@ -797,7 +814,7 @@ type MoveClusterMetadata struct { ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the source folder. SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"` - // ID of the destnation folder. + // ID of the destination folder. DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -808,16 +825,17 @@ func (m *MoveClusterMetadata) Reset() { *m = MoveClusterMetadata{} } func (m *MoveClusterMetadata) String() string { return proto.CompactTextString(m) } func (*MoveClusterMetadata) ProtoMessage() {} func (*MoveClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{14} + return fileDescriptor_abf45d3bff6c2a2e, []int{14} } + func (m *MoveClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterMetadata.Unmarshal(m, b) } func (m *MoveClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterMetadata.Marshal(b, m, deterministic) } -func (dst *MoveClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterMetadata.Merge(dst, src) +func (m *MoveClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterMetadata.Merge(m, src) } func (m *MoveClusterMetadata) XXX_Size() int { return xxx_messageInfo_MoveClusterMetadata.Size(m) @@ -849,6 +867,104 @@ func (m *MoveClusterMetadata) GetDestinationFolderId() string { return "" } +type AddClusterZookeeperRequest struct { + // ID of the ClickHouse cluster to modify. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Resources allocated to Zookeeper hosts. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + // Configuration of ZooKeeper hosts. + HostSpecs []*HostSpec `protobuf:"bytes,3,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterZookeeperRequest) Reset() { *m = AddClusterZookeeperRequest{} } +func (m *AddClusterZookeeperRequest) String() string { return proto.CompactTextString(m) } +func (*AddClusterZookeeperRequest) ProtoMessage() {} +func (*AddClusterZookeeperRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{15} +} + +func (m *AddClusterZookeeperRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterZookeeperRequest.Unmarshal(m, b) +} +func (m *AddClusterZookeeperRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterZookeeperRequest.Marshal(b, m, deterministic) +} +func (m *AddClusterZookeeperRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterZookeeperRequest.Merge(m, src) +} +func (m *AddClusterZookeeperRequest) XXX_Size() int { + return xxx_messageInfo_AddClusterZookeeperRequest.Size(m) +} +func (m *AddClusterZookeeperRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterZookeeperRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterZookeeperRequest proto.InternalMessageInfo + +func (m *AddClusterZookeeperRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *AddClusterZookeeperRequest) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *AddClusterZookeeperRequest) GetHostSpecs() []*HostSpec { + if m != nil { + return m.HostSpecs + } + return nil +} + +type AddClusterZookeeperMetadata struct { + // ID of the ClickHouse cluster. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterZookeeperMetadata) Reset() { *m = AddClusterZookeeperMetadata{} } +func (m *AddClusterZookeeperMetadata) String() string { return proto.CompactTextString(m) } +func (*AddClusterZookeeperMetadata) ProtoMessage() {} +func (*AddClusterZookeeperMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{16} +} + +func (m *AddClusterZookeeperMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterZookeeperMetadata.Unmarshal(m, b) +} +func (m *AddClusterZookeeperMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterZookeeperMetadata.Marshal(b, m, deterministic) +} +func (m *AddClusterZookeeperMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterZookeeperMetadata.Merge(m, src) +} +func (m *AddClusterZookeeperMetadata) XXX_Size() int { + return xxx_messageInfo_AddClusterZookeeperMetadata.Size(m) +} +func (m *AddClusterZookeeperMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterZookeeperMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterZookeeperMetadata proto.InternalMessageInfo + +func (m *AddClusterZookeeperMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + type BackupClusterRequest struct { // ID of the ClickHouse cluster to back up. // To get the ClickHouse cluster ID use a [ClusterService.List] request. @@ -862,16 +978,17 @@ func (m *BackupClusterRequest) Reset() { *m = BackupClusterRequest{} } func (m *BackupClusterRequest) String() string { return proto.CompactTextString(m) } func (*BackupClusterRequest) ProtoMessage() {} func (*BackupClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{15} + return fileDescriptor_abf45d3bff6c2a2e, []int{17} } + func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterRequest.Unmarshal(m, b) } func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterRequest.Marshal(b, m, deterministic) } -func (dst *BackupClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterRequest.Merge(dst, src) +func (m *BackupClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterRequest.Merge(m, src) } func (m *BackupClusterRequest) XXX_Size() int { return xxx_messageInfo_BackupClusterRequest.Size(m) @@ -901,16 +1018,17 @@ func (m *BackupClusterMetadata) Reset() { *m = BackupClusterMetadata{} } func (m *BackupClusterMetadata) String() string { return proto.CompactTextString(m) } func (*BackupClusterMetadata) ProtoMessage() {} func (*BackupClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{16} + return fileDescriptor_abf45d3bff6c2a2e, []int{18} } + func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterMetadata.Unmarshal(m, b) } func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterMetadata.Marshal(b, m, deterministic) } -func (dst *BackupClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterMetadata.Merge(dst, src) +func (m *BackupClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterMetadata.Merge(m, src) } func (m *BackupClusterMetadata) XXX_Size() int { return xxx_messageInfo_BackupClusterMetadata.Size(m) @@ -947,7 +1065,9 @@ type RestoreClusterRequest struct { // the cluster that is being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the ClickHouse cluster in. - NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // ID of the folder to create the ClickHouse cluster in. + FolderId string `protobuf:"bytes,9,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -957,16 +1077,17 @@ func (m *RestoreClusterRequest) Reset() { *m = RestoreClusterRequest{} } func (m *RestoreClusterRequest) String() string { return proto.CompactTextString(m) } func (*RestoreClusterRequest) ProtoMessage() {} func (*RestoreClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{17} + return fileDescriptor_abf45d3bff6c2a2e, []int{19} } + func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterRequest.Unmarshal(m, b) } func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterRequest.Marshal(b, m, deterministic) } -func (dst *RestoreClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterRequest.Merge(dst, src) +func (m *RestoreClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterRequest.Merge(m, src) } func (m *RestoreClusterRequest) XXX_Size() int { return xxx_messageInfo_RestoreClusterRequest.Size(m) @@ -1033,6 +1154,13 @@ func (m *RestoreClusterRequest) GetNetworkId() string { return "" } +func (m *RestoreClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + type RestoreClusterMetadata struct { // ID of the new ClickHouse cluster that is being created from a backup. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -1047,16 +1175,17 @@ func (m *RestoreClusterMetadata) Reset() { *m = RestoreClusterMetadata{} func (m *RestoreClusterMetadata) String() string { return proto.CompactTextString(m) } func (*RestoreClusterMetadata) ProtoMessage() {} func (*RestoreClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{18} + return fileDescriptor_abf45d3bff6c2a2e, []int{20} } + func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterMetadata.Unmarshal(m, b) } func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterMetadata.Marshal(b, m, deterministic) } -func (dst *RestoreClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterMetadata.Merge(dst, src) +func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterMetadata.Merge(m, src) } func (m *RestoreClusterMetadata) XXX_Size() int { return xxx_messageInfo_RestoreClusterMetadata.Size(m) @@ -1095,16 +1224,17 @@ func (m *LogRecord) Reset() { *m = LogRecord{} } func (m *LogRecord) String() string { return proto.CompactTextString(m) } func (*LogRecord) ProtoMessage() {} func (*LogRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{19} + return fileDescriptor_abf45d3bff6c2a2e, []int{21} } + func (m *LogRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogRecord.Unmarshal(m, b) } func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) } -func (dst *LogRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRecord.Merge(dst, src) +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) } func (m *LogRecord) XXX_Size() int { return xxx_messageInfo_LogRecord.Size(m) @@ -1158,16 +1288,17 @@ func (m *ListClusterLogsRequest) Reset() { *m = ListClusterLogsRequest{} func (m *ListClusterLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsRequest) ProtoMessage() {} func (*ListClusterLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{20} + return fileDescriptor_abf45d3bff6c2a2e, []int{22} } + func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsRequest.Unmarshal(m, b) } func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsRequest.Merge(dst, src) +func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsRequest.Merge(m, src) } func (m *ListClusterLogsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterLogsRequest.Size(m) @@ -1244,16 +1375,17 @@ func (m *ListClusterLogsResponse) Reset() { *m = ListClusterLogsResponse func (m *ListClusterLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsResponse) ProtoMessage() {} func (*ListClusterLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{21} + return fileDescriptor_abf45d3bff6c2a2e, []int{23} } + func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsResponse.Unmarshal(m, b) } func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsResponse.Merge(dst, src) +func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsResponse.Merge(m, src) } func (m *ListClusterLogsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterLogsResponse.Size(m) @@ -1297,16 +1429,17 @@ func (m *ListClusterOperationsRequest) Reset() { *m = ListClusterOperati func (m *ListClusterOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsRequest) ProtoMessage() {} func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{22} + return fileDescriptor_abf45d3bff6c2a2e, []int{24} } + func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsRequest.Unmarshal(m, b) } func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsRequest.Merge(dst, src) +func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsRequest.Merge(m, src) } func (m *ListClusterOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsRequest.Size(m) @@ -1355,16 +1488,17 @@ func (m *ListClusterOperationsResponse) Reset() { *m = ListClusterOperat func (m *ListClusterOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsResponse) ProtoMessage() {} func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{23} + return fileDescriptor_abf45d3bff6c2a2e, []int{25} } + func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsResponse.Unmarshal(m, b) } func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsResponse.Merge(dst, src) +func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsResponse.Merge(m, src) } func (m *ListClusterOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsResponse.Size(m) @@ -1409,16 +1543,17 @@ func (m *ListClusterBackupsRequest) Reset() { *m = ListClusterBackupsReq func (m *ListClusterBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsRequest) ProtoMessage() {} func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{24} + return fileDescriptor_abf45d3bff6c2a2e, []int{26} } + func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsRequest.Unmarshal(m, b) } func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsRequest.Merge(dst, src) +func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsRequest.Merge(m, src) } func (m *ListClusterBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsRequest.Size(m) @@ -1467,16 +1602,17 @@ func (m *ListClusterBackupsResponse) Reset() { *m = ListClusterBackupsRe func (m *ListClusterBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsResponse) ProtoMessage() {} func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{25} + return fileDescriptor_abf45d3bff6c2a2e, []int{27} } + func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsResponse.Unmarshal(m, b) } func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsResponse.Merge(dst, src) +func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsResponse.Merge(m, src) } func (m *ListClusterBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsResponse.Size(m) @@ -1521,16 +1657,17 @@ func (m *ListClusterHostsRequest) Reset() { *m = ListClusterHostsRequest func (m *ListClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsRequest) ProtoMessage() {} func (*ListClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{26} + return fileDescriptor_abf45d3bff6c2a2e, []int{28} } + func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsRequest.Unmarshal(m, b) } func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsRequest.Merge(dst, src) +func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsRequest.Merge(m, src) } func (m *ListClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterHostsRequest.Size(m) @@ -1579,16 +1716,17 @@ func (m *ListClusterHostsResponse) Reset() { *m = ListClusterHostsRespon func (m *ListClusterHostsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsResponse) ProtoMessage() {} func (*ListClusterHostsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{27} + return fileDescriptor_abf45d3bff6c2a2e, []int{29} } + func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsResponse.Unmarshal(m, b) } func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsResponse.Merge(dst, src) +func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsResponse.Merge(m, src) } func (m *ListClusterHostsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterHostsResponse.Size(m) @@ -1628,16 +1766,17 @@ func (m *AddClusterHostsRequest) Reset() { *m = AddClusterHostsRequest{} func (m *AddClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsRequest) ProtoMessage() {} func (*AddClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{28} + return fileDescriptor_abf45d3bff6c2a2e, []int{30} } + func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsRequest.Unmarshal(m, b) } func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsRequest.Merge(dst, src) +func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsRequest.Merge(m, src) } func (m *AddClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_AddClusterHostsRequest.Size(m) @@ -1676,16 +1815,17 @@ func (m *AddClusterHostsMetadata) Reset() { *m = AddClusterHostsMetadata func (m *AddClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsMetadata) ProtoMessage() {} func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{29} + return fileDescriptor_abf45d3bff6c2a2e, []int{31} } + func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsMetadata.Unmarshal(m, b) } func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsMetadata.Merge(dst, src) +func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsMetadata.Merge(m, src) } func (m *AddClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterHostsMetadata.Size(m) @@ -1725,16 +1865,17 @@ func (m *DeleteClusterHostsRequest) Reset() { *m = DeleteClusterHostsReq func (m *DeleteClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsRequest) ProtoMessage() {} func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{30} + return fileDescriptor_abf45d3bff6c2a2e, []int{32} } + func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsRequest.Unmarshal(m, b) } func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsRequest.Merge(dst, src) +func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsRequest.Merge(m, src) } func (m *DeleteClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsRequest.Size(m) @@ -1773,16 +1914,17 @@ func (m *DeleteClusterHostsMetadata) Reset() { *m = DeleteClusterHostsMe func (m *DeleteClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsMetadata) ProtoMessage() {} func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{31} + return fileDescriptor_abf45d3bff6c2a2e, []int{33} } + func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsMetadata.Unmarshal(m, b) } func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsMetadata.Merge(dst, src) +func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsMetadata.Merge(m, src) } func (m *DeleteClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsMetadata.Size(m) @@ -1808,7 +1950,12 @@ func (m *DeleteClusterHostsMetadata) GetHostNames() []string { } type GetClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the cluster that the shard belongs to. + // To get the cluster ID, use a [List] request. + // To get the name of the database, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard to request information about. + // To get the name of a shard, use a [ListShards] request. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1819,16 +1966,17 @@ func (m *GetClusterShardRequest) Reset() { *m = GetClusterShardRequest{} func (m *GetClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterShardRequest) ProtoMessage() {} func (*GetClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{32} + return fileDescriptor_abf45d3bff6c2a2e, []int{34} } + func (m *GetClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterShardRequest.Unmarshal(m, b) } func (m *GetClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterShardRequest.Merge(dst, src) +func (m *GetClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterShardRequest.Merge(m, src) } func (m *GetClusterShardRequest) XXX_Size() int { return xxx_messageInfo_GetClusterShardRequest.Size(m) @@ -1854,8 +2002,15 @@ func (m *GetClusterShardRequest) GetShardName() string { } type ListClusterShardsRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // ID of the ClickHouse cluster to list shards in. + // To get the cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterShardsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. to get the next page of results, set [page_token] to the [ListClusterShardsResponse.next_page_token] + // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1866,16 +2021,17 @@ func (m *ListClusterShardsRequest) Reset() { *m = ListClusterShardsReque func (m *ListClusterShardsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterShardsRequest) ProtoMessage() {} func (*ListClusterShardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{33} + return fileDescriptor_abf45d3bff6c2a2e, []int{35} } + func (m *ListClusterShardsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterShardsRequest.Unmarshal(m, b) } func (m *ListClusterShardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterShardsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterShardsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterShardsRequest.Merge(dst, src) +func (m *ListClusterShardsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsRequest.Merge(m, src) } func (m *ListClusterShardsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterShardsRequest.Size(m) @@ -1908,7 +2064,12 @@ func (m *ListClusterShardsRequest) GetPageToken() string { } type ListClusterShardsResponse struct { - Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + // List of ClickHouse shards. + Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterShardsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterShardsRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1919,16 +2080,17 @@ func (m *ListClusterShardsResponse) Reset() { *m = ListClusterShardsResp func (m *ListClusterShardsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterShardsResponse) ProtoMessage() {} func (*ListClusterShardsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{34} + return fileDescriptor_abf45d3bff6c2a2e, []int{36} } + func (m *ListClusterShardsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterShardsResponse.Unmarshal(m, b) } func (m *ListClusterShardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterShardsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterShardsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterShardsResponse.Merge(dst, src) +func (m *ListClusterShardsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsResponse.Merge(m, src) } func (m *ListClusterShardsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterShardsResponse.Size(m) @@ -1954,29 +2116,35 @@ func (m *ListClusterShardsResponse) GetNextPageToken() string { } type AddClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` - ConfigSpec *ShardConfigSpec `protobuf:"bytes,3,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` - HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // ID of the ClickHouse cluster to add a shard to. + // To get the ClickHouse cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name for the new shard. + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + // Configuration of the new shard. + ConfigSpec *ShardConfigSpec `protobuf:"bytes,3,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + // Configurations for ClickHouse hosts that should be created with the shard. + HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *AddClusterShardRequest) Reset() { *m = AddClusterShardRequest{} } func (m *AddClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterShardRequest) ProtoMessage() {} func (*AddClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{35} + return fileDescriptor_abf45d3bff6c2a2e, []int{37} } + func (m *AddClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterShardRequest.Unmarshal(m, b) } func (m *AddClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterShardRequest.Merge(dst, src) +func (m *AddClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardRequest.Merge(m, src) } func (m *AddClusterShardRequest) XXX_Size() int { return xxx_messageInfo_AddClusterShardRequest.Size(m) @@ -2016,7 +2184,9 @@ func (m *AddClusterShardRequest) GetHostSpecs() []*HostSpec { } type AddClusterShardMetadata struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the cluster that a shard is being added to. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard being created. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2027,16 +2197,17 @@ func (m *AddClusterShardMetadata) Reset() { *m = AddClusterShardMetadata func (m *AddClusterShardMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterShardMetadata) ProtoMessage() {} func (*AddClusterShardMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{36} + return fileDescriptor_abf45d3bff6c2a2e, []int{38} } + func (m *AddClusterShardMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterShardMetadata.Unmarshal(m, b) } func (m *AddClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterShardMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterShardMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterShardMetadata.Merge(dst, src) +func (m *AddClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardMetadata.Merge(m, src) } func (m *AddClusterShardMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterShardMetadata.Size(m) @@ -2062,29 +2233,36 @@ func (m *AddClusterShardMetadata) GetShardName() string { } type UpdateClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` - UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` - ConfigSpec *ShardConfigSpec `protobuf:"bytes,4,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // ID of the ClickHouse cluster the shard belongs to. + // To get the cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard to be updated. + // To get the name of a shard, use a [ListShards] request. + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + // Field mask that specifies which attributes of the ClickHouse shard should be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // New configuration for the specified shard. + ConfigSpec *ShardConfigSpec `protobuf:"bytes,4,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateClusterShardRequest) Reset() { *m = UpdateClusterShardRequest{} } func (m *UpdateClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterShardRequest) ProtoMessage() {} func (*UpdateClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{37} + return fileDescriptor_abf45d3bff6c2a2e, []int{39} } + func (m *UpdateClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterShardRequest.Unmarshal(m, b) } func (m *UpdateClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterShardRequest.Merge(dst, src) +func (m *UpdateClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterShardRequest.Merge(m, src) } func (m *UpdateClusterShardRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterShardRequest.Size(m) @@ -2124,7 +2302,9 @@ func (m *UpdateClusterShardRequest) GetConfigSpec() *ShardConfigSpec { } type UpdateClusterShardMetadata struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the cluster that contains the shard being updated. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard being updated. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2135,16 +2315,17 @@ func (m *UpdateClusterShardMetadata) Reset() { *m = UpdateClusterShardMe func (m *UpdateClusterShardMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterShardMetadata) ProtoMessage() {} func (*UpdateClusterShardMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{38} + return fileDescriptor_abf45d3bff6c2a2e, []int{40} } + func (m *UpdateClusterShardMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterShardMetadata.Unmarshal(m, b) } func (m *UpdateClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterShardMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterShardMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterShardMetadata.Merge(dst, src) +func (m *UpdateClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterShardMetadata.Merge(m, src) } func (m *UpdateClusterShardMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterShardMetadata.Size(m) @@ -2170,7 +2351,11 @@ func (m *UpdateClusterShardMetadata) GetShardName() string { } type DeleteClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the ClickHouse cluster the shard belongs to. + // To get the cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard to be deleted. + // To get the name of a shard, use a [ListShards] request. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2181,16 +2366,17 @@ func (m *DeleteClusterShardRequest) Reset() { *m = DeleteClusterShardReq func (m *DeleteClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterShardRequest) ProtoMessage() {} func (*DeleteClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{39} + return fileDescriptor_abf45d3bff6c2a2e, []int{41} } + func (m *DeleteClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterShardRequest.Unmarshal(m, b) } func (m *DeleteClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterShardRequest.Merge(dst, src) +func (m *DeleteClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardRequest.Merge(m, src) } func (m *DeleteClusterShardRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterShardRequest.Size(m) @@ -2216,7 +2402,9 @@ func (m *DeleteClusterShardRequest) GetShardName() string { } type DeleteClusterShardMetadata struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the cluster that contains the shard being deleted. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard being deleted. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2227,16 +2415,17 @@ func (m *DeleteClusterShardMetadata) Reset() { *m = DeleteClusterShardMe func (m *DeleteClusterShardMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterShardMetadata) ProtoMessage() {} func (*DeleteClusterShardMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{40} + return fileDescriptor_abf45d3bff6c2a2e, []int{42} } + func (m *DeleteClusterShardMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterShardMetadata.Unmarshal(m, b) } func (m *DeleteClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterShardMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterShardMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterShardMetadata.Merge(dst, src) +func (m *DeleteClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardMetadata.Merge(m, src) } func (m *DeleteClusterShardMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterShardMetadata.Size(m) @@ -2261,6 +2450,194 @@ func (m *DeleteClusterShardMetadata) GetShardName() string { return "" } +type CreateClusterExternalDictionaryRequest struct { + // ID of the ClickHouse cluster to create the external dictionary for. + // To get the cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Configuration of the external dictionary. + ExternalDictionary *config.ClickhouseConfig_ExternalDictionary `protobuf:"bytes,2,opt,name=external_dictionary,json=externalDictionary,proto3" json:"external_dictionary,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateClusterExternalDictionaryRequest) Reset() { + *m = CreateClusterExternalDictionaryRequest{} +} +func (m *CreateClusterExternalDictionaryRequest) String() string { return proto.CompactTextString(m) } +func (*CreateClusterExternalDictionaryRequest) ProtoMessage() {} +func (*CreateClusterExternalDictionaryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{43} +} + +func (m *CreateClusterExternalDictionaryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateClusterExternalDictionaryRequest.Unmarshal(m, b) +} +func (m *CreateClusterExternalDictionaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateClusterExternalDictionaryRequest.Marshal(b, m, deterministic) +} +func (m *CreateClusterExternalDictionaryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterExternalDictionaryRequest.Merge(m, src) +} +func (m *CreateClusterExternalDictionaryRequest) XXX_Size() int { + return xxx_messageInfo_CreateClusterExternalDictionaryRequest.Size(m) +} +func (m *CreateClusterExternalDictionaryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateClusterExternalDictionaryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateClusterExternalDictionaryRequest proto.InternalMessageInfo + +func (m *CreateClusterExternalDictionaryRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateClusterExternalDictionaryRequest) GetExternalDictionary() *config.ClickhouseConfig_ExternalDictionary { + if m != nil { + return m.ExternalDictionary + } + return nil +} + +type CreateClusterExternalDictionaryMetadata struct { + // ID of the cluster for which an external dictionary is being created. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateClusterExternalDictionaryMetadata) Reset() { + *m = CreateClusterExternalDictionaryMetadata{} +} +func (m *CreateClusterExternalDictionaryMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateClusterExternalDictionaryMetadata) ProtoMessage() {} +func (*CreateClusterExternalDictionaryMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{44} +} + +func (m *CreateClusterExternalDictionaryMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateClusterExternalDictionaryMetadata.Unmarshal(m, b) +} +func (m *CreateClusterExternalDictionaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateClusterExternalDictionaryMetadata.Marshal(b, m, deterministic) +} +func (m *CreateClusterExternalDictionaryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterExternalDictionaryMetadata.Merge(m, src) +} +func (m *CreateClusterExternalDictionaryMetadata) XXX_Size() int { + return xxx_messageInfo_CreateClusterExternalDictionaryMetadata.Size(m) +} +func (m *CreateClusterExternalDictionaryMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateClusterExternalDictionaryMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateClusterExternalDictionaryMetadata proto.InternalMessageInfo + +func (m *CreateClusterExternalDictionaryMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type DeleteClusterExternalDictionaryRequest struct { + // ID of the ClickHouse cluster to delete the external dictionary from. + // To get the cluster ID, use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the external dictionary to delete. + ExternalDictionaryName string `protobuf:"bytes,2,opt,name=external_dictionary_name,json=externalDictionaryName,proto3" json:"external_dictionary_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterExternalDictionaryRequest) Reset() { + *m = DeleteClusterExternalDictionaryRequest{} +} +func (m *DeleteClusterExternalDictionaryRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterExternalDictionaryRequest) ProtoMessage() {} +func (*DeleteClusterExternalDictionaryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{45} +} + +func (m *DeleteClusterExternalDictionaryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterExternalDictionaryRequest.Unmarshal(m, b) +} +func (m *DeleteClusterExternalDictionaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterExternalDictionaryRequest.Marshal(b, m, deterministic) +} +func (m *DeleteClusterExternalDictionaryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterExternalDictionaryRequest.Merge(m, src) +} +func (m *DeleteClusterExternalDictionaryRequest) XXX_Size() int { + return xxx_messageInfo_DeleteClusterExternalDictionaryRequest.Size(m) +} +func (m *DeleteClusterExternalDictionaryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterExternalDictionaryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterExternalDictionaryRequest proto.InternalMessageInfo + +func (m *DeleteClusterExternalDictionaryRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteClusterExternalDictionaryRequest) GetExternalDictionaryName() string { + if m != nil { + return m.ExternalDictionaryName + } + return "" +} + +type DeleteClusterExternalDictionaryMetadata struct { + // ID of the cluster where an external dictionary is being deleted. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterExternalDictionaryMetadata) Reset() { + *m = DeleteClusterExternalDictionaryMetadata{} +} +func (m *DeleteClusterExternalDictionaryMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterExternalDictionaryMetadata) ProtoMessage() {} +func (*DeleteClusterExternalDictionaryMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_abf45d3bff6c2a2e, []int{46} +} + +func (m *DeleteClusterExternalDictionaryMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterExternalDictionaryMetadata.Unmarshal(m, b) +} +func (m *DeleteClusterExternalDictionaryMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterExternalDictionaryMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteClusterExternalDictionaryMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterExternalDictionaryMetadata.Merge(m, src) +} +func (m *DeleteClusterExternalDictionaryMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteClusterExternalDictionaryMetadata.Size(m) +} +func (m *DeleteClusterExternalDictionaryMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterExternalDictionaryMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterExternalDictionaryMetadata proto.InternalMessageInfo + +func (m *DeleteClusterExternalDictionaryMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + type HostSpec struct { // ID of the availability zone where the host resides. // To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request. @@ -2279,7 +2656,8 @@ type HostSpec struct { // Possible values: // * false — don't assign a public IP to the host. // * true — the host should have a public IP address. - AssignPublicIp bool `protobuf:"varint,4,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` + AssignPublicIp bool `protobuf:"varint,4,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` + // Name of the shard that the host is assigned to. ShardName string `protobuf:"bytes,5,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2290,16 +2668,17 @@ func (m *HostSpec) Reset() { *m = HostSpec{} } func (m *HostSpec) String() string { return proto.CompactTextString(m) } func (*HostSpec) ProtoMessage() {} func (*HostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{41} + return fileDescriptor_abf45d3bff6c2a2e, []int{47} } + func (m *HostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HostSpec.Unmarshal(m, b) } func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HostSpec.Marshal(b, m, deterministic) } -func (dst *HostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostSpec.Merge(dst, src) +func (m *HostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostSpec.Merge(m, src) } func (m *HostSpec) XXX_Size() int { return xxx_messageInfo_HostSpec.Size(m) @@ -2352,27 +2731,30 @@ type ConfigSpec struct { Clickhouse *ConfigSpec_Clickhouse `protobuf:"bytes,1,opt,name=clickhouse,proto3" json:"clickhouse,omitempty"` // Configuration and resources for a ZooKeeper server. Zookeeper *ConfigSpec_Zookeeper `protobuf:"bytes,2,opt,name=zookeeper,proto3" json:"zookeeper,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } func (m *ConfigSpec) String() string { return proto.CompactTextString(m) } func (*ConfigSpec) ProtoMessage() {} func (*ConfigSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{42} + return fileDescriptor_abf45d3bff6c2a2e, []int{48} } + func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec.Unmarshal(m, b) } func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) } -func (dst *ConfigSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec.Merge(dst, src) +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) } func (m *ConfigSpec) XXX_Size() int { return xxx_messageInfo_ConfigSpec.Size(m) @@ -2411,6 +2793,13 @@ func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } +func (m *ConfigSpec) GetAccess() *Access { + if m != nil { + return m.Access + } + return nil +} + type ConfigSpec_Clickhouse struct { // Configuration for a ClickHouse server. Config *config.ClickhouseConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` @@ -2425,16 +2814,17 @@ func (m *ConfigSpec_Clickhouse) Reset() { *m = ConfigSpec_Clickhouse{} } func (m *ConfigSpec_Clickhouse) String() string { return proto.CompactTextString(m) } func (*ConfigSpec_Clickhouse) ProtoMessage() {} func (*ConfigSpec_Clickhouse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{42, 0} + return fileDescriptor_abf45d3bff6c2a2e, []int{48, 0} } + func (m *ConfigSpec_Clickhouse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec_Clickhouse.Unmarshal(m, b) } func (m *ConfigSpec_Clickhouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec_Clickhouse.Marshal(b, m, deterministic) } -func (dst *ConfigSpec_Clickhouse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec_Clickhouse.Merge(dst, src) +func (m *ConfigSpec_Clickhouse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec_Clickhouse.Merge(m, src) } func (m *ConfigSpec_Clickhouse) XXX_Size() int { return xxx_messageInfo_ConfigSpec_Clickhouse.Size(m) @@ -2461,6 +2851,7 @@ func (m *ConfigSpec_Clickhouse) GetResources() *Resources { type ConfigSpec_Zookeeper struct { // Resources allocated to ZooKeeper hosts. If not set, minimal available resources will be used. + // All available resource presets can be retrieved with a [ResourcePresetService.List] request. Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2471,16 +2862,17 @@ func (m *ConfigSpec_Zookeeper) Reset() { *m = ConfigSpec_Zookeeper{} } func (m *ConfigSpec_Zookeeper) String() string { return proto.CompactTextString(m) } func (*ConfigSpec_Zookeeper) ProtoMessage() {} func (*ConfigSpec_Zookeeper) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{42, 1} + return fileDescriptor_abf45d3bff6c2a2e, []int{48, 1} } + func (m *ConfigSpec_Zookeeper) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec_Zookeeper.Unmarshal(m, b) } func (m *ConfigSpec_Zookeeper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec_Zookeeper.Marshal(b, m, deterministic) } -func (dst *ConfigSpec_Zookeeper) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec_Zookeeper.Merge(dst, src) +func (m *ConfigSpec_Zookeeper) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec_Zookeeper.Merge(m, src) } func (m *ConfigSpec_Zookeeper) XXX_Size() int { return xxx_messageInfo_ConfigSpec_Zookeeper.Size(m) @@ -2499,6 +2891,7 @@ func (m *ConfigSpec_Zookeeper) GetResources() *Resources { } type ShardConfigSpec struct { + // ClickHouse configuration for a shard. Clickhouse *ShardConfigSpec_Clickhouse `protobuf:"bytes,1,opt,name=clickhouse,proto3" json:"clickhouse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2509,16 +2902,17 @@ func (m *ShardConfigSpec) Reset() { *m = ShardConfigSpec{} } func (m *ShardConfigSpec) String() string { return proto.CompactTextString(m) } func (*ShardConfigSpec) ProtoMessage() {} func (*ShardConfigSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{43} + return fileDescriptor_abf45d3bff6c2a2e, []int{49} } + func (m *ShardConfigSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShardConfigSpec.Unmarshal(m, b) } func (m *ShardConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShardConfigSpec.Marshal(b, m, deterministic) } -func (dst *ShardConfigSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardConfigSpec.Merge(dst, src) +func (m *ShardConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShardConfigSpec.Merge(m, src) } func (m *ShardConfigSpec) XXX_Size() int { return xxx_messageInfo_ShardConfigSpec.Size(m) @@ -2537,28 +2931,33 @@ func (m *ShardConfigSpec) GetClickhouse() *ShardConfigSpec_Clickhouse { } type ShardConfigSpec_Clickhouse struct { - Config *config.ClickhouseConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` - Weight *wrappers.Int64Value `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // ClickHouse settings for the shard. + Config *config.ClickhouseConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Computational resources for the shard. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + // Relative weight of the shard considered when writing data to the cluster. + // For details, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/table_engines/distributed/). + Weight *wrappers.Int64Value `protobuf:"bytes,3,opt,name=weight,proto3" json:"weight,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ShardConfigSpec_Clickhouse) Reset() { *m = ShardConfigSpec_Clickhouse{} } func (m *ShardConfigSpec_Clickhouse) String() string { return proto.CompactTextString(m) } func (*ShardConfigSpec_Clickhouse) ProtoMessage() {} func (*ShardConfigSpec_Clickhouse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_92dc4355161406f9, []int{43, 0} + return fileDescriptor_abf45d3bff6c2a2e, []int{49, 0} } + func (m *ShardConfigSpec_Clickhouse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShardConfigSpec_Clickhouse.Unmarshal(m, b) } func (m *ShardConfigSpec_Clickhouse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShardConfigSpec_Clickhouse.Marshal(b, m, deterministic) } -func (dst *ShardConfigSpec_Clickhouse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardConfigSpec_Clickhouse.Merge(dst, src) +func (m *ShardConfigSpec_Clickhouse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShardConfigSpec_Clickhouse.Merge(m, src) } func (m *ShardConfigSpec_Clickhouse) XXX_Size() int { return xxx_messageInfo_ShardConfigSpec_Clickhouse.Size(m) @@ -2591,6 +2990,7 @@ func (m *ShardConfigSpec_Clickhouse) GetWeight() *wrappers.Int64Value { } func init() { + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) proto.RegisterType((*GetClusterRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.GetClusterRequest") proto.RegisterType((*ListClustersRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.ListClustersRequest") proto.RegisterType((*ListClustersResponse)(nil), "yandex.cloud.mdb.clickhouse.v1.ListClustersResponse") @@ -2608,6 +3008,8 @@ func init() { proto.RegisterType((*StopClusterMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.StopClusterMetadata") proto.RegisterType((*MoveClusterRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.MoveClusterRequest") proto.RegisterType((*MoveClusterMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.MoveClusterMetadata") + proto.RegisterType((*AddClusterZookeeperRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.AddClusterZookeeperRequest") + proto.RegisterType((*AddClusterZookeeperMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.AddClusterZookeeperMetadata") proto.RegisterType((*BackupClusterRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.BackupClusterRequest") proto.RegisterType((*BackupClusterMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.BackupClusterMetadata") proto.RegisterType((*RestoreClusterRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.RestoreClusterRequest") @@ -2636,13 +3038,211 @@ func init() { proto.RegisterType((*UpdateClusterShardMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.UpdateClusterShardMetadata") proto.RegisterType((*DeleteClusterShardRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.DeleteClusterShardRequest") proto.RegisterType((*DeleteClusterShardMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.DeleteClusterShardMetadata") + proto.RegisterType((*CreateClusterExternalDictionaryRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.CreateClusterExternalDictionaryRequest") + proto.RegisterType((*CreateClusterExternalDictionaryMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.CreateClusterExternalDictionaryMetadata") + proto.RegisterType((*DeleteClusterExternalDictionaryRequest)(nil), "yandex.cloud.mdb.clickhouse.v1.DeleteClusterExternalDictionaryRequest") + proto.RegisterType((*DeleteClusterExternalDictionaryMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.DeleteClusterExternalDictionaryMetadata") proto.RegisterType((*HostSpec)(nil), "yandex.cloud.mdb.clickhouse.v1.HostSpec") proto.RegisterType((*ConfigSpec)(nil), "yandex.cloud.mdb.clickhouse.v1.ConfigSpec") proto.RegisterType((*ConfigSpec_Clickhouse)(nil), "yandex.cloud.mdb.clickhouse.v1.ConfigSpec.Clickhouse") proto.RegisterType((*ConfigSpec_Zookeeper)(nil), "yandex.cloud.mdb.clickhouse.v1.ConfigSpec.Zookeeper") proto.RegisterType((*ShardConfigSpec)(nil), "yandex.cloud.mdb.clickhouse.v1.ShardConfigSpec") proto.RegisterType((*ShardConfigSpec_Clickhouse)(nil), "yandex.cloud.mdb.clickhouse.v1.ShardConfigSpec.Clickhouse") - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/cluster_service.proto", fileDescriptor_abf45d3bff6c2a2e) +} + +var fileDescriptor_abf45d3bff6c2a2e = []byte{ + // 2985 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, + 0xf5, 0xff, 0x8f, 0x44, 0x51, 0xe4, 0xa3, 0xa3, 0x38, 0xe3, 0x8f, 0x30, 0x74, 0xec, 0xc8, 0x9b, + 0x44, 0x96, 0x19, 0x8b, 0x14, 0x29, 0x59, 0xb6, 0xe4, 0x8f, 0x58, 0x92, 0x25, 0x5b, 0x89, 0xbf, + 0xfe, 0x2b, 0x3b, 0x41, 0x6d, 0xb8, 0xc4, 0x8a, 0x3b, 0xa2, 0x08, 0x91, 0xbb, 0xec, 0xee, 0x52, + 0xb6, 0x1c, 0xa4, 0x0d, 0x9c, 0x22, 0x05, 0x7c, 0x68, 0x8b, 0x16, 0x48, 0x91, 0x14, 0xe8, 0xb1, + 0x3d, 0x57, 0x05, 0x5a, 0x20, 0x68, 0x73, 0x08, 0x0a, 0x58, 0x45, 0x81, 0x16, 0x55, 0x2e, 0x05, + 0x82, 0xa2, 0x97, 0x1c, 0x7a, 0x28, 0x7a, 0xc8, 0xb1, 0x87, 0xa2, 0x98, 0x8f, 0x25, 0x77, 0xc9, + 0xa5, 0x76, 0x97, 0x52, 0xea, 0x14, 0xe8, 0x4d, 0x3b, 0x33, 0xef, 0xcd, 0xfb, 0xbd, 0x79, 0x1f, + 0x33, 0xef, 0x51, 0x30, 0xbe, 0xae, 0x68, 0x2a, 0xb9, 0x9f, 0x2d, 0x56, 0xf4, 0xba, 0x9a, 0xad, + 0xaa, 0x4b, 0xd9, 0x62, 0xa5, 0x5c, 0x5c, 0x5d, 0xd1, 0xeb, 0x26, 0xc9, 0xae, 0xe5, 0xb2, 0xc5, + 0x4a, 0xdd, 0xb4, 0x88, 0x51, 0x30, 0x89, 0xb1, 0x56, 0x2e, 0x92, 0x4c, 0xcd, 0xd0, 0x2d, 0x1d, + 0x1f, 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8, 0x46, 0x21, 0xc1, 0xaa, 0xfe, 0x61, 0x14, 0x12, 0xb4, 0x6c, 0xbf, 0x23, 0x85, 0xa8, 0x1d, + 0x00, 0x4f, 0xa1, 0xf4, 0xcc, 0xf5, 0xdb, 0x57, 0x4b, 0x65, 0x6b, 0xa5, 0xbe, 0x94, 0x29, 0xea, + 0xd5, 0x2c, 0x97, 0x7b, 0x84, 0xff, 0xeb, 0x5a, 0x49, 0x1f, 0x29, 0x11, 0x8d, 0x59, 0x66, 0x76, + 0xfb, 0xff, 0x69, 0x3b, 0xd3, 0xfc, 0x5a, 0x8a, 0x32, 0x82, 0xb1, 0x7f, 0x07, 0x00, 0x00, 0xff, + 0xff, 0x7d, 0xf8, 0x06, 0x36, 0x13, 0x39, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2657,11 +3257,11 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ClusterServiceClient interface { - // Returns the specified ClickHouse Cluster resource. + // Returns the specified ClickHouse cluster. // - // To get the list of available ClickHouse Cluster resources, make a [List] request. + // To get the list of available ClickHouse clusters, make a [List] request. Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) - // Retrieves a list of ClickHouse Cluster resources that belong + // Retrieves a list of ClickHouse clusters that belong // to the specified folder. List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Creates a ClickHouse cluster in the specified folder. @@ -2670,18 +3270,20 @@ type ClusterServiceClient interface { Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified ClickHouse cluster. Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) - // Start the specified ClickHouse cluster. + // Starts the specified ClickHouse cluster. Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) - // Stop the specified ClickHouse cluster. + // Stops the specified ClickHouse cluster. Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) - // Moves the specified ClickHouse cluster to the specified folder. + // Moves a ClickHouse cluster to the specified folder. Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Adds a ZooKeeper subcluster to the specified ClickHouse cluster. + AddZookeeper(ctx context.Context, in *AddClusterZookeeperRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a backup for the specified ClickHouse cluster. Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a new ClickHouse cluster using the specified backup. Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves logs for the specified ClickHouse cluster. - // For more information about logs, see the [Logs](/docs/yandex-mdb-guide/concepts/logs) section in the Developer's Guide. + // For more information about logs, see the [Logs](/docs/managed-clickhouse/concepts/logs) section of the documentation. ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) // Retrieves the list of Operation resources for the specified cluster. ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error) @@ -2695,14 +3297,18 @@ type ClusterServiceClient interface { DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the specified shard. GetShard(ctx context.Context, in *GetClusterShardRequest, opts ...grpc.CallOption) (*Shard, error) - // Retrieves a list of shards. + // Retrieves a list of shards that belong to the specified cluster. ListShards(ctx context.Context, in *ListClusterShardsRequest, opts ...grpc.CallOption) (*ListClusterShardsResponse, error) - // Creates a new shard. + // Creates a new shard in the specified cluster. AddShard(ctx context.Context, in *AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Modifies the specified shard. UpdateShard(ctx context.Context, in *UpdateClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified shard. DeleteShard(ctx context.Context, in *DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Creates an external dictionary for the specified ClickHouse cluster. + CreateExternalDictionary(ctx context.Context, in *CreateClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified external dictionary. + DeleteExternalDictionary(ctx context.Context, in *DeleteClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) } type clusterServiceClient struct { @@ -2785,6 +3391,15 @@ func (c *clusterServiceClient) Move(ctx context.Context, in *MoveClusterRequest, return out, nil } +func (c *clusterServiceClient) AddZookeeper(ctx context.Context, in *AddClusterZookeeperRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.clickhouse.v1.ClusterService/AddZookeeper", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *clusterServiceClient) Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { out := new(operation.Operation) err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.clickhouse.v1.ClusterService/Backup", in, out, opts...) @@ -2902,13 +3517,31 @@ func (c *clusterServiceClient) DeleteShard(ctx context.Context, in *DeleteCluste return out, nil } +func (c *clusterServiceClient) CreateExternalDictionary(ctx context.Context, in *CreateClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.clickhouse.v1.ClusterService/CreateExternalDictionary", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) DeleteExternalDictionary(ctx context.Context, in *DeleteClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.clickhouse.v1.ClusterService/DeleteExternalDictionary", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ClusterServiceServer is the server API for ClusterService service. type ClusterServiceServer interface { - // Returns the specified ClickHouse Cluster resource. + // Returns the specified ClickHouse cluster. // - // To get the list of available ClickHouse Cluster resources, make a [List] request. + // To get the list of available ClickHouse clusters, make a [List] request. Get(context.Context, *GetClusterRequest) (*Cluster, error) - // Retrieves a list of ClickHouse Cluster resources that belong + // Retrieves a list of ClickHouse clusters that belong // to the specified folder. List(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Creates a ClickHouse cluster in the specified folder. @@ -2917,18 +3550,20 @@ type ClusterServiceServer interface { Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error) // Deletes the specified ClickHouse cluster. Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error) - // Start the specified ClickHouse cluster. + // Starts the specified ClickHouse cluster. Start(context.Context, *StartClusterRequest) (*operation.Operation, error) - // Stop the specified ClickHouse cluster. + // Stops the specified ClickHouse cluster. Stop(context.Context, *StopClusterRequest) (*operation.Operation, error) - // Moves the specified ClickHouse cluster to the specified folder. + // Moves a ClickHouse cluster to the specified folder. Move(context.Context, *MoveClusterRequest) (*operation.Operation, error) + // Adds a ZooKeeper subcluster to the specified ClickHouse cluster. + AddZookeeper(context.Context, *AddClusterZookeeperRequest) (*operation.Operation, error) // Creates a backup for the specified ClickHouse cluster. Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error) // Creates a new ClickHouse cluster using the specified backup. Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error) // Retrieves logs for the specified ClickHouse cluster. - // For more information about logs, see the [Logs](/docs/yandex-mdb-guide/concepts/logs) section in the Developer's Guide. + // For more information about logs, see the [Logs](/docs/managed-clickhouse/concepts/logs) section of the documentation. ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error) // Retrieves the list of Operation resources for the specified cluster. ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) @@ -2942,14 +3577,95 @@ type ClusterServiceServer interface { DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error) // Returns the specified shard. GetShard(context.Context, *GetClusterShardRequest) (*Shard, error) - // Retrieves a list of shards. + // Retrieves a list of shards that belong to the specified cluster. ListShards(context.Context, *ListClusterShardsRequest) (*ListClusterShardsResponse, error) - // Creates a new shard. + // Creates a new shard in the specified cluster. AddShard(context.Context, *AddClusterShardRequest) (*operation.Operation, error) // Modifies the specified shard. UpdateShard(context.Context, *UpdateClusterShardRequest) (*operation.Operation, error) // Deletes the specified shard. DeleteShard(context.Context, *DeleteClusterShardRequest) (*operation.Operation, error) + // Creates an external dictionary for the specified ClickHouse cluster. + CreateExternalDictionary(context.Context, *CreateClusterExternalDictionaryRequest) (*operation.Operation, error) + // Deletes the specified external dictionary. + DeleteExternalDictionary(context.Context, *DeleteClusterExternalDictionaryRequest) (*operation.Operation, error) +} + +// UnimplementedClusterServiceServer can be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { +} + +func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedClusterServiceServer) Move(ctx context.Context, req *MoveClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (*UnimplementedClusterServiceServer) AddZookeeper(ctx context.Context, req *AddClusterZookeeperRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddZookeeper not implemented") +} +func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Backup not implemented") +} +func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented") +} +func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogs not implemented") +} +func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListHosts not implemented") +} +func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHosts not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteHosts not implemented") +} +func (*UnimplementedClusterServiceServer) GetShard(ctx context.Context, req *GetClusterShardRequest) (*Shard, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShard not implemented") +} +func (*UnimplementedClusterServiceServer) ListShards(ctx context.Context, req *ListClusterShardsRequest) (*ListClusterShardsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListShards not implemented") +} +func (*UnimplementedClusterServiceServer) AddShard(ctx context.Context, req *AddClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddShard not implemented") +} +func (*UnimplementedClusterServiceServer) UpdateShard(ctx context.Context, req *UpdateClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateShard not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteShard(ctx context.Context, req *DeleteClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteShard not implemented") +} +func (*UnimplementedClusterServiceServer) CreateExternalDictionary(ctx context.Context, req *CreateClusterExternalDictionaryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateExternalDictionary not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteExternalDictionary(ctx context.Context, req *DeleteClusterExternalDictionaryRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteExternalDictionary not implemented") } func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer) { @@ -3100,6 +3816,24 @@ func _ClusterService_Move_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } +func _ClusterService_AddZookeeper_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddClusterZookeeperRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).AddZookeeper(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.clickhouse.v1.ClusterService/AddZookeeper", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).AddZookeeper(ctx, req.(*AddClusterZookeeperRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ClusterService_Backup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BackupClusterRequest) if err := dec(in); err != nil { @@ -3334,6 +4068,42 @@ func _ClusterService_DeleteShard_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _ClusterService_CreateExternalDictionary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateClusterExternalDictionaryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).CreateExternalDictionary(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.clickhouse.v1.ClusterService/CreateExternalDictionary", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).CreateExternalDictionary(ctx, req.(*CreateClusterExternalDictionaryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_DeleteExternalDictionary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteClusterExternalDictionaryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).DeleteExternalDictionary(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.clickhouse.v1.ClusterService/DeleteExternalDictionary", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).DeleteExternalDictionary(ctx, req.(*DeleteClusterExternalDictionaryRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _ClusterService_serviceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.clickhouse.v1.ClusterService", HandlerType: (*ClusterServiceServer)(nil), @@ -3370,6 +4140,10 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ MethodName: "Move", Handler: _ClusterService_Move_Handler, }, + { + MethodName: "AddZookeeper", + Handler: _ClusterService_AddZookeeper_Handler, + }, { MethodName: "Backup", Handler: _ClusterService_Backup_Handler, @@ -3422,186 +4196,15 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ MethodName: "DeleteShard", Handler: _ClusterService_DeleteShard_Handler, }, + { + MethodName: "CreateExternalDictionary", + Handler: _ClusterService_CreateExternalDictionary_Handler, + }, + { + MethodName: "DeleteExternalDictionary", + Handler: _ClusterService_DeleteExternalDictionary_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/clickhouse/v1/cluster_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/cluster_service.proto", fileDescriptor_cluster_service_92dc4355161406f9) -} - -var fileDescriptor_cluster_service_92dc4355161406f9 = []byte{ - // 2724 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, - 0xf5, 0xff, 0xaf, 0x44, 0x51, 0xe4, 0xa3, 0xa3, 0x38, 0x63, 0xd9, 0x61, 0x98, 0xd8, 0x91, 0x37, - 0x1f, 0x96, 0x19, 0x93, 0x14, 0xa9, 0x0f, 0x5b, 0xb2, 0x9d, 0x58, 0xa4, 0x25, 0x47, 0x88, 0x64, - 0xe9, 0xbf, 0x92, 0x13, 0xd4, 0x86, 0x41, 0x2c, 0xb9, 0x23, 0x8a, 0x10, 0xc9, 0x65, 0x77, 0x97, - 0x72, 0xa4, 0x20, 0x6d, 0xe0, 0x14, 0x2d, 0xe0, 0x53, 0xd1, 0x02, 0x69, 0x93, 0x02, 0x05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, 0xeb, 0xe5, 0x3d, 0x8c, 0xc6, 0x01, 0xe8, 0x44, - 0x43, 0xdd, 0xc6, 0xb5, 0xe8, 0x20, 0x55, 0x1a, 0x7e, 0xf0, 0x28, 0x3d, 0x44, 0x67, 0x4a, 0x54, - 0xcb, 0x06, 0x19, 0x43, 0x22, 0x04, 0x37, 0xcb, 0x15, 0x03, 0x6b, 0xd1, 0x00, 0x9d, 0x05, 0x0f, - 0x1e, 0x35, 0xf5, 0xf1, 0x11, 0xf1, 0x43, 0x01, 0x46, 0xed, 0xc8, 0xf5, 0xba, 0x5a, 0xd3, 0x31, - 0xca, 0x41, 0x88, 0xf3, 0xd3, 0xa3, 0xc2, 0xd8, 0xe0, 0x78, 0x24, 0x73, 0x2e, 0x79, 0x78, 0xd4, - 0x24, 0x4d, 0x0b, 0x36, 0x05, 0xd1, 0xab, 0xf0, 0x74, 0x0d, 0xbf, 0x6b, 0xe4, 0x2d, 0x80, 0x09, - 0xb5, 0xb0, 0xf4, 0x14, 0xf9, 0xbc, 0x66, 0x22, 0x15, 0xbf, 0x3f, 0x0c, 0xa3, 0x39, 0x0d, 0xcb, - 0x06, 0x6e, 0xdb, 0x05, 0x1f, 0x06, 0xcc, 0x40, 0xa0, 0x26, 0x57, 0x99, 0xed, 0xc2, 0xd9, 0x33, - 0x64, 0xd6, 0x57, 0x0f, 0xd3, 0x23, 0x77, 0xe4, 0xc4, 0xde, 0x7c, 0xe2, 0xf6, 0x44, 0x62, 0x36, - 0x9f, 0xb8, 0x1b, 0x67, 0x72, 0x33, 0x93, 0x12, 0x9d, 0x8b, 0x5e, 0x83, 0x88, 0x82, 0xf5, 0xa2, - 0x56, 0xae, 0x13, 0xdf, 0xb7, 0x1b, 0x33, 0x33, 0x3d, 0x23, 0x59, 0x47, 0xd1, 0xc7, 0x02, 0x04, - 0x2b, 0x72, 0x01, 0x57, 0xf4, 0x68, 0x80, 0x1a, 0xe4, 0x9a, 0xab, 0x41, 0x1c, 0x28, 0x25, 0x97,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 0xa3, - 0x33, 0xeb, 0xeb, 0xde, 0xe1, 0x97, 0x91, 0xb6, 0x7f, 0x10, 0x7f, 0xe9, 0xd0, 0x76, 0xa4, 0x85, - 0xd4, 0x42, 0xa6, 0x6f, 0x5f, 0x23, 0x0c, 0xff, 0xde, 0xcc, 0x0a, 0x1e, 0x19, 0x76, 0xed, 0x67, - 0x7a, 0x61, 0xf8, 0x6d, 0x87, 0xa4, 0x60, 0x67, 0x78, 0x48, 0x52, 0xc8, 0xc6, 0xfb, 0x66, 0x9c, - 0x5d, 0xbd, 0xbd, 0x52, 0x2a, 0x1b, 0x5b, 0x8d, 0x42, 0xb2, 0xa8, 0x56, 0x53, 0x0c, 0x6f, 0x82, - 0xfd, 0xbf, 0x81, 0x92, 0x9a, 0x28, 0xe1, 0x1a, 0x5d, 0x37, 0x75, 0xf8, 0x7f, 0x28, 0xb8, 0xdc, - 0xfa, 0x55, 0x08, 0x52, 0x81, 0xc9, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x06, 0x5b, 0xc0, - 0x90, 0x32, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config/clickhouse.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config/clickhouse.pb.go index 9aa8a3b87..a8be5d6e0 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config/clickhouse.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config/clickhouse.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ClickhouseConfig_LogLevel int32 @@ -39,6 +41,7 @@ var ClickhouseConfig_LogLevel_name = map[int32]string{ 4: "WARNING", 5: "ERROR", } + var ClickhouseConfig_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "TRACE": 1, @@ -51,8 +54,9 @@ var ClickhouseConfig_LogLevel_value = map[string]int32{ func (x ClickhouseConfig_LogLevel) String() string { return proto.EnumName(ClickhouseConfig_LogLevel_name, int32(x)) } + func (ClickhouseConfig_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 0} } type ClickhouseConfig_Compression_Method int32 @@ -70,6 +74,7 @@ var ClickhouseConfig_Compression_Method_name = map[int32]string{ 1: "LZ4", 2: "ZSTD", } + var ClickhouseConfig_Compression_Method_value = map[string]int32{ "METHOD_UNSPECIFIED": 0, "LZ4": 1, @@ -79,8 +84,46 @@ var ClickhouseConfig_Compression_Method_value = map[string]int32{ func (x ClickhouseConfig_Compression_Method) String() string { return proto.EnumName(ClickhouseConfig_Compression_Method_name, int32(x)) } + func (ClickhouseConfig_Compression_Method) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 1, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 1, 0} +} + +type ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode int32 + +const ( + ClickhouseConfig_ExternalDictionary_PostgresqlSource_SSL_MODE_UNSPECIFIED ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 0 + ClickhouseConfig_ExternalDictionary_PostgresqlSource_DISABLE ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 1 + ClickhouseConfig_ExternalDictionary_PostgresqlSource_ALLOW ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 2 + ClickhouseConfig_ExternalDictionary_PostgresqlSource_PREFER ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 3 + ClickhouseConfig_ExternalDictionary_PostgresqlSource_VERIFY_CA ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 4 + ClickhouseConfig_ExternalDictionary_PostgresqlSource_VERIFY_FULL ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode = 5 +) + +var ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode_name = map[int32]string{ + 0: "SSL_MODE_UNSPECIFIED", + 1: "DISABLE", + 2: "ALLOW", + 3: "PREFER", + 4: "VERIFY_CA", + 5: "VERIFY_FULL", +} + +var ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode_value = map[string]int32{ + "SSL_MODE_UNSPECIFIED": 0, + "DISABLE": 1, + "ALLOW": 2, + "PREFER": 3, + "VERIFY_CA": 4, + "VERIFY_FULL": 5, +} + +func (x ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode) String() string { + return proto.EnumName(ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode_name, int32(x)) +} + +func (ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 4, 0} } type ClickhouseConfig_ExternalDictionary_Layout_Type int32 @@ -117,6 +160,7 @@ var ClickhouseConfig_ExternalDictionary_Layout_Type_name = map[int32]string{ 5: "CACHE", 6: "COMPLEX_KEY_CACHE", } + var ClickhouseConfig_ExternalDictionary_Layout_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "FLAT": 1, @@ -130,8 +174,9 @@ var ClickhouseConfig_ExternalDictionary_Layout_Type_value = map[string]int32{ func (x ClickhouseConfig_ExternalDictionary_Layout_Type) String() string { return proto.EnumName(ClickhouseConfig_ExternalDictionary_Layout_Type_name, int32(x)) } + func (ClickhouseConfig_ExternalDictionary_Layout_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 5, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 6, 0} } // ClickHouse configuration options. Detailed description for each set of options @@ -186,16 +231,17 @@ func (m *ClickhouseConfig) Reset() { *m = ClickhouseConfig{} } func (m *ClickhouseConfig) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig) ProtoMessage() {} func (*ClickhouseConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0} + return fileDescriptor_d960d4060d8a4a84, []int{0} } + func (m *ClickhouseConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig.Unmarshal(m, b) } func (m *ClickhouseConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig.Merge(dst, src) +func (m *ClickhouseConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig.Merge(m, src) } func (m *ClickhouseConfig) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig.Size(m) @@ -321,16 +367,17 @@ func (m *ClickhouseConfig_MergeTree) Reset() { *m = ClickhouseConfig_Mer func (m *ClickhouseConfig_MergeTree) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_MergeTree) ProtoMessage() {} func (*ClickhouseConfig_MergeTree) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 0} } + func (m *ClickhouseConfig_MergeTree) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_MergeTree.Unmarshal(m, b) } func (m *ClickhouseConfig_MergeTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_MergeTree.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_MergeTree) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_MergeTree.Merge(dst, src) +func (m *ClickhouseConfig_MergeTree) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_MergeTree.Merge(m, src) } func (m *ClickhouseConfig_MergeTree) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_MergeTree.Size(m) @@ -371,16 +418,17 @@ func (m *ClickhouseConfig_Compression) Reset() { *m = ClickhouseConfig_C func (m *ClickhouseConfig_Compression) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_Compression) ProtoMessage() {} func (*ClickhouseConfig_Compression) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 1} + return fileDescriptor_d960d4060d8a4a84, []int{0, 1} } + func (m *ClickhouseConfig_Compression) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_Compression.Unmarshal(m, b) } func (m *ClickhouseConfig_Compression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_Compression.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_Compression) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_Compression.Merge(dst, src) +func (m *ClickhouseConfig_Compression) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_Compression.Merge(m, src) } func (m *ClickhouseConfig_Compression) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_Compression.Size(m) @@ -421,20 +469,21 @@ type ClickhouseConfig_ExternalDictionary struct { // Layout for storing the dictionary in memory. // For in-depth description, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/query_language/dicts/external_dicts_dict_layout/). Layout *ClickhouseConfig_ExternalDictionary_Layout `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"` - // Required. Setting for the period of time between dictionary updates. + // Setting for the period of time between dictionary updates. // For details, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/query_language/dicts/external_dicts_dict_lifetime/). // // Types that are valid to be assigned to Lifetime: // *ClickhouseConfig_ExternalDictionary_FixedLifetime // *ClickhouseConfig_ExternalDictionary_LifetimeRange Lifetime isClickhouseConfig_ExternalDictionary_Lifetime `protobuf_oneof:"lifetime"` - // Required. Description of the source for the external dictionary. + // Description of the source for the external dictionary. // // Types that are valid to be assigned to Source: // *ClickhouseConfig_ExternalDictionary_HttpSource_ // *ClickhouseConfig_ExternalDictionary_MysqlSource_ // *ClickhouseConfig_ExternalDictionary_ClickhouseSource_ // *ClickhouseConfig_ExternalDictionary_MongodbSource_ + // *ClickhouseConfig_ExternalDictionary_PostgresqlSource_ Source isClickhouseConfig_ExternalDictionary_Source `protobuf_oneof:"source"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -445,16 +494,17 @@ func (m *ClickhouseConfig_ExternalDictionary) Reset() { *m = ClickhouseC func (m *ClickhouseConfig_ExternalDictionary) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_ExternalDictionary) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2} } + func (m *ClickhouseConfig_ExternalDictionary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary.Size(m) @@ -545,6 +595,10 @@ type ClickhouseConfig_ExternalDictionary_MongodbSource_ struct { MongodbSource *ClickhouseConfig_ExternalDictionary_MongodbSource `protobuf:"bytes,9,opt,name=mongodb_source,json=mongodbSource,proto3,oneof"` } +type ClickhouseConfig_ExternalDictionary_PostgresqlSource_ struct { + PostgresqlSource *ClickhouseConfig_ExternalDictionary_PostgresqlSource `protobuf:"bytes,10,opt,name=postgresql_source,json=postgresqlSource,proto3,oneof"` +} + func (*ClickhouseConfig_ExternalDictionary_HttpSource_) isClickhouseConfig_ExternalDictionary_Source() { } @@ -557,6 +611,9 @@ func (*ClickhouseConfig_ExternalDictionary_ClickhouseSource_) isClickhouseConfig func (*ClickhouseConfig_ExternalDictionary_MongodbSource_) isClickhouseConfig_ExternalDictionary_Source() { } +func (*ClickhouseConfig_ExternalDictionary_PostgresqlSource_) isClickhouseConfig_ExternalDictionary_Source() { +} + func (m *ClickhouseConfig_ExternalDictionary) GetSource() isClickhouseConfig_ExternalDictionary_Source { if m != nil { return m.Source @@ -592,163 +649,26 @@ func (m *ClickhouseConfig_ExternalDictionary) GetMongodbSource() *ClickhouseConf return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ClickhouseConfig_ExternalDictionary) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ClickhouseConfig_ExternalDictionary_OneofMarshaler, _ClickhouseConfig_ExternalDictionary_OneofUnmarshaler, _ClickhouseConfig_ExternalDictionary_OneofSizer, []interface{}{ +func (m *ClickhouseConfig_ExternalDictionary) GetPostgresqlSource() *ClickhouseConfig_ExternalDictionary_PostgresqlSource { + if x, ok := m.GetSource().(*ClickhouseConfig_ExternalDictionary_PostgresqlSource_); ok { + return x.PostgresqlSource + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ClickhouseConfig_ExternalDictionary) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*ClickhouseConfig_ExternalDictionary_FixedLifetime)(nil), (*ClickhouseConfig_ExternalDictionary_LifetimeRange)(nil), (*ClickhouseConfig_ExternalDictionary_HttpSource_)(nil), (*ClickhouseConfig_ExternalDictionary_MysqlSource_)(nil), (*ClickhouseConfig_ExternalDictionary_ClickhouseSource_)(nil), (*ClickhouseConfig_ExternalDictionary_MongodbSource_)(nil), + (*ClickhouseConfig_ExternalDictionary_PostgresqlSource_)(nil), } } -func _ClickhouseConfig_ExternalDictionary_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ClickhouseConfig_ExternalDictionary) - // lifetime - switch x := m.Lifetime.(type) { - case *ClickhouseConfig_ExternalDictionary_FixedLifetime: - b.EncodeVarint(4<<3 | proto.WireVarint) - b.EncodeVarint(uint64(x.FixedLifetime)) - case *ClickhouseConfig_ExternalDictionary_LifetimeRange: - b.EncodeVarint(5<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.LifetimeRange); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ClickhouseConfig_ExternalDictionary.Lifetime has unexpected type %T", x) - } - // source - switch x := m.Source.(type) { - case *ClickhouseConfig_ExternalDictionary_HttpSource_: - b.EncodeVarint(6<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.HttpSource); err != nil { - return err - } - case *ClickhouseConfig_ExternalDictionary_MysqlSource_: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.MysqlSource); err != nil { - return err - } - case *ClickhouseConfig_ExternalDictionary_ClickhouseSource_: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.ClickhouseSource); err != nil { - return err - } - case *ClickhouseConfig_ExternalDictionary_MongodbSource_: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.MongodbSource); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ClickhouseConfig_ExternalDictionary.Source has unexpected type %T", x) - } - return nil -} - -func _ClickhouseConfig_ExternalDictionary_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ClickhouseConfig_ExternalDictionary) - switch tag { - case 4: // lifetime.fixed_lifetime - if wire != proto.WireVarint { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeVarint() - m.Lifetime = &ClickhouseConfig_ExternalDictionary_FixedLifetime{int64(x)} - return true, err - case 5: // lifetime.lifetime_range - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClickhouseConfig_ExternalDictionary_Range) - err := b.DecodeMessage(msg) - m.Lifetime = &ClickhouseConfig_ExternalDictionary_LifetimeRange{msg} - return true, err - case 6: // source.http_source - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClickhouseConfig_ExternalDictionary_HttpSource) - err := b.DecodeMessage(msg) - m.Source = &ClickhouseConfig_ExternalDictionary_HttpSource_{msg} - return true, err - case 7: // source.mysql_source - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClickhouseConfig_ExternalDictionary_MysqlSource) - err := b.DecodeMessage(msg) - m.Source = &ClickhouseConfig_ExternalDictionary_MysqlSource_{msg} - return true, err - case 8: // source.clickhouse_source - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClickhouseConfig_ExternalDictionary_ClickhouseSource) - err := b.DecodeMessage(msg) - m.Source = &ClickhouseConfig_ExternalDictionary_ClickhouseSource_{msg} - return true, err - case 9: // source.mongodb_source - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(ClickhouseConfig_ExternalDictionary_MongodbSource) - err := b.DecodeMessage(msg) - m.Source = &ClickhouseConfig_ExternalDictionary_MongodbSource_{msg} - return true, err - default: - return false, nil - } -} - -func _ClickhouseConfig_ExternalDictionary_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ClickhouseConfig_ExternalDictionary) - // lifetime - switch x := m.Lifetime.(type) { - case *ClickhouseConfig_ExternalDictionary_FixedLifetime: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(x.FixedLifetime)) - case *ClickhouseConfig_ExternalDictionary_LifetimeRange: - s := proto.Size(x.LifetimeRange) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - // source - switch x := m.Source.(type) { - case *ClickhouseConfig_ExternalDictionary_HttpSource_: - s := proto.Size(x.HttpSource) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ClickhouseConfig_ExternalDictionary_MysqlSource_: - s := proto.Size(x.MysqlSource) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ClickhouseConfig_ExternalDictionary_ClickhouseSource_: - s := proto.Size(x.ClickhouseSource) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ClickhouseConfig_ExternalDictionary_MongodbSource_: - s := proto.Size(x.MongodbSource) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type ClickhouseConfig_ExternalDictionary_HttpSource struct { // URL of the source dictionary available over HTTP. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` @@ -767,16 +687,17 @@ func (m *ClickhouseConfig_ExternalDictionary_HttpSource) String() string { } func (*ClickhouseConfig_ExternalDictionary_HttpSource) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_HttpSource) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 0} } + func (m *ClickhouseConfig_ExternalDictionary_HttpSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_HttpSource.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_HttpSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_HttpSource.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_HttpSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_HttpSource.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_HttpSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_HttpSource.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_HttpSource) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_HttpSource.Size(m) @@ -832,16 +753,17 @@ func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) String() string { } func (*ClickhouseConfig_ExternalDictionary_MysqlSource) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_MysqlSource) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 1} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 1} } + func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_MysqlSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource.Size(m) @@ -911,7 +833,7 @@ func (m *ClickhouseConfig_ExternalDictionary_MysqlSource) GetInvalidateQuery() s type ClickhouseConfig_ExternalDictionary_MysqlSource_Replica struct { // MySQL host of the replica. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - // Required. The priority of the replica that ClickHouse takes into account when connecting. + // The priority of the replica that ClickHouse takes into account when connecting. // Replica with the highest priority should have this field set to the lowest number. Priority int64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // Port to use when connecting to the replica. @@ -934,16 +856,17 @@ func (m *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) String() strin } func (*ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 1, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 1, 0} } + func (m *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_MysqlSource_Replica) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica.Size(m) @@ -1017,16 +940,17 @@ func (m *ClickhouseConfig_ExternalDictionary_ClickhouseSource) String() string { } func (*ClickhouseConfig_ExternalDictionary_ClickhouseSource) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_ClickhouseSource) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 2} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 2} } + func (m *ClickhouseConfig_ExternalDictionary_ClickhouseSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_ClickhouseSource.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_ClickhouseSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_ClickhouseSource.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_ClickhouseSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_ClickhouseSource.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_ClickhouseSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_ClickhouseSource.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_ClickhouseSource) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_ClickhouseSource.Size(m) @@ -1112,16 +1036,17 @@ func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) String() string { } func (*ClickhouseConfig_ExternalDictionary_MongodbSource) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_MongodbSource) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 3} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 3} } + func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MongodbSource.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MongodbSource.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_MongodbSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MongodbSource.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MongodbSource.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_MongodbSource.Size(m) @@ -1174,12 +1099,118 @@ func (m *ClickhouseConfig_ExternalDictionary_MongodbSource) GetPassword() string return "" } +type ClickhouseConfig_ExternalDictionary_PostgresqlSource struct { + // Required. + Db string `protobuf:"bytes,1,opt,name=db,proto3" json:"db,omitempty"` + // Required. + Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` + // Required. + Hosts []string `protobuf:"bytes,3,rep,name=hosts,proto3" json:"hosts,omitempty"` + Port int64 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + // Required. + User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` + Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` + // Query for checking the dictionary status and figuring out whether the data should be reloaded. + InvalidateQuery string `protobuf:"bytes,7,opt,name=invalidate_query,json=invalidateQuery,proto3" json:"invalidate_query,omitempty"` + SslMode ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode `protobuf:"varint,8,opt,name=ssl_mode,json=sslMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode" json:"ssl_mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) Reset() { + *m = ClickhouseConfig_ExternalDictionary_PostgresqlSource{} +} +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) String() string { + return proto.CompactTextString(m) +} +func (*ClickhouseConfig_ExternalDictionary_PostgresqlSource) ProtoMessage() {} +func (*ClickhouseConfig_ExternalDictionary_PostgresqlSource) Descriptor() ([]byte, []int) { + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 4} +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource.Unmarshal(m, b) +} +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource.Marshal(b, m, deterministic) +} +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource.Merge(m, src) +} +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) XXX_Size() int { + return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource.Size(m) +} +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) XXX_DiscardUnknown() { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource.DiscardUnknown(m) +} + +var xxx_messageInfo_ClickhouseConfig_ExternalDictionary_PostgresqlSource proto.InternalMessageInfo + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetDb() string { + if m != nil { + return m.Db + } + return "" +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetTable() string { + if m != nil { + return m.Table + } + return "" +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetHosts() []string { + if m != nil { + return m.Hosts + } + return nil +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetPort() int64 { + if m != nil { + return m.Port + } + return 0 +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetUser() string { + if m != nil { + return m.User + } + return "" +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetPassword() string { + if m != nil { + return m.Password + } + return "" +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetInvalidateQuery() string { + if m != nil { + return m.InvalidateQuery + } + return "" +} + +func (m *ClickhouseConfig_ExternalDictionary_PostgresqlSource) GetSslMode() ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode { + if m != nil { + return m.SslMode + } + return ClickhouseConfig_ExternalDictionary_PostgresqlSource_SSL_MODE_UNSPECIFIED +} + type ClickhouseConfig_ExternalDictionary_Structure struct { // Single numeric key column for the dictionary. Id *ClickhouseConfig_ExternalDictionary_Structure_Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Complex key for the dictionary, containing of one or more key column(s). + // Composite key for the dictionary, containing of one or more key columns. + // For details, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key). Key *ClickhouseConfig_ExternalDictionary_Structure_Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Description of the fields available for database queries. + // For details, see [ClickHouse documentation](https://clickhouse.yandex/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes). Attributes []*ClickhouseConfig_ExternalDictionary_Structure_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1194,16 +1225,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Structure) String() string { } func (*ClickhouseConfig_ExternalDictionary_Structure) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Structure) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 4} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 5} } + func (m *ClickhouseConfig_ExternalDictionary_Structure) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Structure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Structure) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Structure) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Structure) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure.Size(m) @@ -1263,16 +1295,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Structure_Attribute) String() strin } func (*ClickhouseConfig_ExternalDictionary_Structure_Attribute) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Structure_Attribute) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 4, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 5, 0} } + func (m *ClickhouseConfig_ExternalDictionary_Structure_Attribute) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Attribute.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Attribute.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Structure_Attribute) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Attribute.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Structure_Attribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Attribute.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Attribute) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Attribute.Size(m) @@ -1342,16 +1375,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Structure_Id) String() string { } func (*ClickhouseConfig_ExternalDictionary_Structure_Id) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Structure_Id) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 4, 1} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 5, 1} } + func (m *ClickhouseConfig_ExternalDictionary_Structure_Id) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Id.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Id.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Structure_Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Id.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Structure_Id) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Id.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Id) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Id.Size(m) @@ -1386,16 +1420,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Structure_Key) String() string { } func (*ClickhouseConfig_ExternalDictionary_Structure_Key) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Structure_Key) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 4, 2} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 5, 2} } + func (m *ClickhouseConfig_ExternalDictionary_Structure_Key) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Key.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Key.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Structure_Key) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Key.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Structure_Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Key.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Structure_Key) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Structure_Key.Size(m) @@ -1433,16 +1468,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Layout) String() string { } func (*ClickhouseConfig_ExternalDictionary_Layout) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Layout) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 5} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 6} } + func (m *ClickhouseConfig_ExternalDictionary_Layout) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Layout.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Layout.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Layout) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Layout.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Layout) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Layout.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Layout) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Layout.Size(m) @@ -1483,16 +1519,17 @@ func (m *ClickhouseConfig_ExternalDictionary_Range) Reset() { func (m *ClickhouseConfig_ExternalDictionary_Range) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_ExternalDictionary_Range) ProtoMessage() {} func (*ClickhouseConfig_ExternalDictionary_Range) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 2, 6} + return fileDescriptor_d960d4060d8a4a84, []int{0, 2, 7} } + func (m *ClickhouseConfig_ExternalDictionary_Range) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Range.Unmarshal(m, b) } func (m *ClickhouseConfig_ExternalDictionary_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Range.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_ExternalDictionary_Range) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Range.Merge(dst, src) +func (m *ClickhouseConfig_ExternalDictionary_Range) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Range.Merge(m, src) } func (m *ClickhouseConfig_ExternalDictionary_Range) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_ExternalDictionary_Range.Size(m) @@ -1532,16 +1569,17 @@ func (m *ClickhouseConfig_GraphiteRollup) Reset() { *m = ClickhouseConfi func (m *ClickhouseConfig_GraphiteRollup) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_GraphiteRollup) ProtoMessage() {} func (*ClickhouseConfig_GraphiteRollup) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 3} + return fileDescriptor_d960d4060d8a4a84, []int{0, 3} } + func (m *ClickhouseConfig_GraphiteRollup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup.Unmarshal(m, b) } func (m *ClickhouseConfig_GraphiteRollup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_GraphiteRollup) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_GraphiteRollup.Merge(dst, src) +func (m *ClickhouseConfig_GraphiteRollup) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_GraphiteRollup.Merge(m, src) } func (m *ClickhouseConfig_GraphiteRollup) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup.Size(m) @@ -1584,16 +1622,17 @@ func (m *ClickhouseConfig_GraphiteRollup_Pattern) Reset() { func (m *ClickhouseConfig_GraphiteRollup_Pattern) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfig_GraphiteRollup_Pattern) ProtoMessage() {} func (*ClickhouseConfig_GraphiteRollup_Pattern) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 3, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 3, 0} } + func (m *ClickhouseConfig_GraphiteRollup_Pattern) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern.Unmarshal(m, b) } func (m *ClickhouseConfig_GraphiteRollup_Pattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_GraphiteRollup_Pattern) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern.Merge(dst, src) +func (m *ClickhouseConfig_GraphiteRollup_Pattern) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern.Merge(m, src) } func (m *ClickhouseConfig_GraphiteRollup_Pattern) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern.Size(m) @@ -1643,16 +1682,17 @@ func (m *ClickhouseConfig_GraphiteRollup_Pattern_Retention) String() string { } func (*ClickhouseConfig_GraphiteRollup_Pattern_Retention) ProtoMessage() {} func (*ClickhouseConfig_GraphiteRollup_Pattern_Retention) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{0, 3, 0, 0} + return fileDescriptor_d960d4060d8a4a84, []int{0, 3, 0, 0} } + func (m *ClickhouseConfig_GraphiteRollup_Pattern_Retention) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern_Retention.Unmarshal(m, b) } func (m *ClickhouseConfig_GraphiteRollup_Pattern_Retention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern_Retention.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfig_GraphiteRollup_Pattern_Retention) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern_Retention.Merge(dst, src) +func (m *ClickhouseConfig_GraphiteRollup_Pattern_Retention) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern_Retention.Merge(m, src) } func (m *ClickhouseConfig_GraphiteRollup_Pattern_Retention) XXX_Size() int { return xxx_messageInfo_ClickhouseConfig_GraphiteRollup_Pattern_Retention.Size(m) @@ -1694,16 +1734,17 @@ func (m *ClickhouseConfigSet) Reset() { *m = ClickhouseConfigSet{} } func (m *ClickhouseConfigSet) String() string { return proto.CompactTextString(m) } func (*ClickhouseConfigSet) ProtoMessage() {} func (*ClickhouseConfigSet) Descriptor() ([]byte, []int) { - return fileDescriptor_clickhouse_11d6c7d5d6b2d37c, []int{1} + return fileDescriptor_d960d4060d8a4a84, []int{1} } + func (m *ClickhouseConfigSet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClickhouseConfigSet.Unmarshal(m, b) } func (m *ClickhouseConfigSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClickhouseConfigSet.Marshal(b, m, deterministic) } -func (dst *ClickhouseConfigSet) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClickhouseConfigSet.Merge(dst, src) +func (m *ClickhouseConfigSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClickhouseConfigSet.Merge(m, src) } func (m *ClickhouseConfigSet) XXX_Size() int { return xxx_messageInfo_ClickhouseConfigSet.Size(m) @@ -1736,6 +1777,10 @@ func (m *ClickhouseConfigSet) GetDefaultConfig() *ClickhouseConfig { } func init() { + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_LogLevel", ClickhouseConfig_LogLevel_name, ClickhouseConfig_LogLevel_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_Compression_Method", ClickhouseConfig_Compression_Method_name, ClickhouseConfig_Compression_Method_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode", ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode_name, ClickhouseConfig_ExternalDictionary_PostgresqlSource_SslMode_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_ExternalDictionary_Layout_Type", ClickhouseConfig_ExternalDictionary_Layout_Type_name, ClickhouseConfig_ExternalDictionary_Layout_Type_value) proto.RegisterType((*ClickhouseConfig)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig") proto.RegisterType((*ClickhouseConfig_MergeTree)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree") proto.RegisterType((*ClickhouseConfig_Compression)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression") @@ -1745,6 +1790,7 @@ func init() { proto.RegisterType((*ClickhouseConfig_ExternalDictionary_MysqlSource_Replica)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica") proto.RegisterType((*ClickhouseConfig_ExternalDictionary_ClickhouseSource)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource") proto.RegisterType((*ClickhouseConfig_ExternalDictionary_MongodbSource)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource") + proto.RegisterType((*ClickhouseConfig_ExternalDictionary_PostgresqlSource)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource") proto.RegisterType((*ClickhouseConfig_ExternalDictionary_Structure)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure") proto.RegisterType((*ClickhouseConfig_ExternalDictionary_Structure_Attribute)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute") proto.RegisterType((*ClickhouseConfig_ExternalDictionary_Structure_Id)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id") @@ -1755,135 +1801,142 @@ func init() { proto.RegisterType((*ClickhouseConfig_GraphiteRollup_Pattern)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern") proto.RegisterType((*ClickhouseConfig_GraphiteRollup_Pattern_Retention)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention") proto.RegisterType((*ClickhouseConfigSet)(nil), "yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet") - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_LogLevel", ClickhouseConfig_LogLevel_name, ClickhouseConfig_LogLevel_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_Compression_Method", ClickhouseConfig_Compression_Method_name, ClickhouseConfig_Compression_Method_value) - proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig_ExternalDictionary_Layout_Type", ClickhouseConfig_ExternalDictionary_Layout_Type_name, ClickhouseConfig_ExternalDictionary_Layout_Type_value) } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto", fileDescriptor_clickhouse_11d6c7d5d6b2d37c) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto", fileDescriptor_d960d4060d8a4a84) } -var fileDescriptor_clickhouse_11d6c7d5d6b2d37c = []byte{ - // 1917 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4f, 0x73, 0xdb, 0xc6, - 0x15, 0x0f, 0x08, 0x92, 0x22, 0x1e, 0x25, 0x0a, 0xd9, 0x38, 0x0e, 0x8b, 0xc6, 0x8e, 0xa2, 0x71, - 0x27, 0xca, 0x64, 0x4c, 0x89, 0x52, 0xe4, 0xb4, 0xd3, 0xda, 0x53, 0x8a, 0xa2, 0x25, 0xc6,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6, 0x29, 0x71, 0x7c, 0xc3, 0xd2, 0x6d, 0x2f, 0x24, 0xf4, 0xc4, 0x70, 0xca, 0xb3, 0x97, - 0x4b, 0xbc, 0x1b, 0x13, 0x6d, 0xa6, 0x78, 0x30, 0xa7, 0x69, 0xc6, 0x2c, 0x48, 0x83, 0x02, 0x4b, - 0x81, 0xa7, 0xbe, 0x47, 0xca, 0xa5, 0x05, 0x69, 0x49, 0xc1, 0xa3, 0xb1, 0xf6, 0x4f, 0x09, 0x94, - 0xd1, 0xb9, 0x81, 0x4c, 0x78, 0x87, 0x92, 0xc0, 0xb1, 0x4d, 0x23, 0x24, 0x96, 0x6e, 0x11, 0x2b, - 0x12, 0x03, 0x36, 0xf7, 0x53, 0xdb, 0xb3, 0xfc, 0x53, 0x7e, 0x06, 0x5e, 0xe2, 0xd2, 0x8d, 0x31, - 0xc7, 0x66, 0x9a, 0xe2, 0x11, 0x67, 0x40, 0x14, 0xde, 0xbb, 0x44, 0x44, 0xef, 0x13, 0xd3, 0xf7, - 0xac, 0x7e, 0x7c, 0x20, 0xbe, 0x54, 0xec, 0xd6, 0x4b, 0xc5, 0x0e, 0x04, 0x91, 0xf6, 0x2c, 0x03, - 0xc5, 0xd4, 0xd9, 0x85, 0x3a, 0x90, 0x77, 0x49, 0xd8, 0xf3, 0xad, 0xf8, 0x4c, 0xff, 0x78, 0x0a, - 0x07, 0x62, 0x65, 0x87, 0x33, 0xe2, 0x98, 0x19, 0x7d, 0x00, 0x73, 0xae, 0xed, 0xf1, 0xec, 0x11, - 0x29, 0xce, 0x66, 0x23, 0x6f, 0xcc, 0x9c, 0x9f, 0x55, 0xe5, 0x7b, 0x77, 0xab, 0xb8, 0xe8, 0xda, - 0x1e, 0x4b, 0x0e, 0x9e, 0xbb, 0xb7, 0xe1, 0x8d, 0x89, 0x8f, 0x75, 0xca, 0x66, 0x51, 0x96, 0x17, - 0xa4, 0x25, 0x09, 0xab, 0xa9, 0x2f, 0x31, 0xc3, 0x17, 0xd7,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f, - 0xea, 0x54, 0x4c, 0xdf, 0x5d, 0x16, 0x9c, 0xb7, 0xc5, 0xd5, 0x72, 0xd7, 0xbf, 0xdd, 0x25, 0x1e, - 0xbf, 0xad, 0x58, 0xfe, 0x4e, 0x57, 0xde, 0x3f, 0x1f, 0x83, 0x9d, 0x3c, 0xb7, 0x5b, 0xfb, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xb2, 0xed, 0x78, 0x2d, 0x17, 0x00, 0x00, +var fileDescriptor_d960d4060d8a4a84 = []byte{ + // 2071 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4b, 0x93, 0xdb, 0xc6, + 0x11, 0x36, 0x08, 0x92, 0x4b, 0x34, 0xb5, 0x5c, 0x78, 0x2c, 0x2b, 0x0c, 0x22, 0xcb, 0xeb, 0x2d, + 0x25, 0x56, 0xca, 0x25, 0xae, 0xb8, 0xb2, 0xe4, 0xa4, 0x12, 0xa9, 0xc2, 0xd7, 0x6a, 0x69, 0x71, + 0x1f, 0x1e, 0x52, 0xab, 0x87, 0x2b, 0x46, 0x40, 0x60, 0x96, 0x84, 0x85, 0x97, 0x07, 0xc0, 0x8a, + 0x54, 0xaa, 0x54, 0x15, 0x1d, 0x72, 0xf0, 0x21, 0x95, 0x5f, 0x90, 0x5b, 0x7e, 0x40, 0x8e, 0xb9, + 0x39, 0x87, 0xd4, 0xfa, 0x92, 0x43, 0xaa, 0x52, 0xb9, 0xe5, 0x96, 0x43, 0x7e, 0x83, 0x0e, 0xa9, + 0xd4, 0xcc, 0x00, 0x7c, 0xac, 0x1e, 0xeb, 0xac, 0xa9, 0xf2, 0x0d, 0xd3, 0x83, 0xfe, 0xbe, 0x9e, + 0x9e, 0x9e, 0xee, 0x1e, 0x00, 0xae, 0x8f, 0x0d, 0xcf, 0x22, 0xa3, 0x75, 0xd3, 0xf1, 0x63, 0x6b, + 0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79, 0xd3, 0xa0, 0x36, 0x09, 0xcb, 0x59, 0xce, 0xf3, 0xf1, + 0x69, 0x79, 0x5a, 0xa3, 0x88, 0x50, 0xcf, 0x70, 0x9a, 0x29, 0xe6, 0x18, 0xcf, 0xe1, 0x23, 0x1f, + 0x56, 0x06, 0xd4, 0x08, 0x86, 0x76, 0x44, 0x74, 0xea, 0x3b, 0x4e, 0x1c, 0x94, 0x73, 0x9c, 0x72, + 0xf3, 0xb4, 0x94, 0xb7, 0x12, 0x38, 0xcc, 0xd1, 0x70, 0x69, 0x30, 0x37, 0x46, 0x3b, 0xb0, 0xe2, + 0x1a, 0x23, 0xdd, 0xf4, 0x3d, 0x8f, 0x70, 0x3b, 0xc2, 0x72, 0x9e, 0x6f, 0xd7, 0x0f, 0x2a, 0x22, + 0xec, 0x2a, 0x69, 0xd8, 0x55, 0xda, 0x5e, 0x74, 0xfd, 0xc3, 0x7d, 0xc3, 0x89, 0x49, 0xbd, 0xf0, + 0xec, 0xa8, 0x9a, 0xbd, 0x79, 0xa3, 0x7a, 0x05, 0x97, 0x5c, 0x63, 0xd4, 0x98, 0x2a, 0xa3, 0x4f, + 0xe1, 0x5c, 0x82, 0x67, 0xc6, 0x94, 0x12, 0x2f, 0xd2, 0xbf, 0x88, 0x09, 0x77, 0xdd, 0xd2, 0xff, + 0x03, 0x7b, 0x56, 0xc0, 0x26, 0x18, 0x9f, 0x08, 0x08, 0xd4, 0x06, 0xf4, 0x90, 0x90, 0x40, 0x37, + 0x1c, 0xfb, 0x90, 0xe8, 0x91, 0xed, 0x12, 0x3f, 0x8e, 0xca, 0x85, 0x13, 0x81, 0xb1, 0xca, 0xd4, + 0x6a, 0x4c, 0xab, 0x27, 0x94, 0x50, 0x17, 0xbe, 0x17, 0x7b, 0xe9, 0x4e, 0x13, 0x4b, 0x37, 0x0d, + 0x73, 0x48, 0xf4, 0xd0, 0x7e, 0x4c, 0xca, 0xca, 0xc9, 0x78, 0x6f, 0xcf, 0xea, 0x36, 0x98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, 0xf6, 0xe7, 0x0c, 0xbc, 0x75, 0x7c, 0xed, 0x5d, 0x12, 0xa1, 0x21, 0xa8, 0xe4, 0xe0, 0x40, + 0xe4, 0x17, 0x5d, 0xf8, 0x28, 0xa9, 0x40, 0x1f, 0x9d, 0xd2, 0xa3, 0xc9, 0x6e, 0xad, 0x4c, 0x60, + 0x93, 0x0f, 0xf8, 0xf7, 0xa0, 0xc8, 0x7a, 0x84, 0x94, 0x24, 0xf3, 0xad, 0x48, 0x30, 0x30, 0xac, + 0x04, 0xf9, 0x33, 0x28, 0x59, 0xe4, 0xc0, 0x88, 0x9d, 0x28, 0x05, 0x97, 0xbf, 0x1d, 0xf8, 0x72, + 0x02, 0x97, 0x2c, 0x68, 0xff, 0x41, 0x6f, 0x60, 0x47, 0xc3, 0xb8, 0x5f, 0x31, 0x7d, 0x77, 0x5d, + 0x60, 0x5e, 0x16, 0xff, 0x2e, 0x06, 0xfe, 0xe5, 0x01, 0xf1, 0xf8, 0xe7, 0xb0, 0xf5, 0x6f, 0xf4, + 0x4f, 0xe5, 0x67, 0x53, 0x61, 0x3f, 0xcf, 0xf5, 0xae, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x02, + 0x82, 0x6d, 0x6b, 0x8e, 0x19, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database.pb.go index 158a838f3..8f46b266f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/database.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ClickHouse Database resource. For more information, see the // [Developer's Guide](/docs/managed-clickhouse/concepts). @@ -35,16 +37,17 @@ func (m *Database) Reset() { *m = Database{} } func (m *Database) String() string { return proto.CompactTextString(m) } func (*Database) ProtoMessage() {} func (*Database) Descriptor() ([]byte, []int) { - return fileDescriptor_database_d83bcea5c6482814, []int{0} + return fileDescriptor_15a51ab89e06ec6b, []int{0} } + func (m *Database) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Database.Unmarshal(m, b) } func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Database.Marshal(b, m, deterministic) } -func (dst *Database) XXX_Merge(src proto.Message) { - xxx_messageInfo_Database.Merge(dst, src) +func (m *Database) XXX_Merge(src proto.Message) { + xxx_messageInfo_Database.Merge(m, src) } func (m *Database) XXX_Size() int { return xxx_messageInfo_Database.Size(m) @@ -81,16 +84,17 @@ func (m *DatabaseSpec) Reset() { *m = DatabaseSpec{} } func (m *DatabaseSpec) String() string { return proto.CompactTextString(m) } func (*DatabaseSpec) ProtoMessage() {} func (*DatabaseSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_database_d83bcea5c6482814, []int{1} + return fileDescriptor_15a51ab89e06ec6b, []int{1} } + func (m *DatabaseSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatabaseSpec.Unmarshal(m, b) } func (m *DatabaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DatabaseSpec.Marshal(b, m, deterministic) } -func (dst *DatabaseSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseSpec.Merge(dst, src) +func (m *DatabaseSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DatabaseSpec.Merge(m, src) } func (m *DatabaseSpec) XXX_Size() int { return xxx_messageInfo_DatabaseSpec.Size(m) @@ -114,10 +118,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/database.proto", fileDescriptor_database_d83bcea5c6482814) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/database.proto", fileDescriptor_15a51ab89e06ec6b) } -var fileDescriptor_database_d83bcea5c6482814 = []byte{ +var fileDescriptor_15a51ab89e06ec6b = []byte{ // 240 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xad, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4d, 0x49, 0xd2, 0x4f, 0xce, 0xc9, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database_service.pb.go index d43d02100..f9444f102 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/database_service.pb.go @@ -1,19 +1,20 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/database_service.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package clickhouse import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -25,7 +26,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetDatabaseRequest struct { // ID of the ClickHouse cluster that the database belongs to. @@ -43,16 +44,17 @@ func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*GetDatabaseRequest) ProtoMessage() {} func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{0} + return fileDescriptor_18a32bf44b43aca7, []int{0} } + func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) } func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *GetDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseRequest.Merge(dst, src) +func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDatabaseRequest.Merge(m, src) } func (m *GetDatabaseRequest) XXX_Size() int { return xxx_messageInfo_GetDatabaseRequest.Size(m) @@ -97,16 +99,17 @@ func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } func (*ListDatabasesRequest) ProtoMessage() {} func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{1} + return fileDescriptor_18a32bf44b43aca7, []int{1} } + func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) } func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic) } -func (dst *ListDatabasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesRequest.Merge(dst, src) +func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesRequest.Merge(m, src) } func (m *ListDatabasesRequest) XXX_Size() int { return xxx_messageInfo_ListDatabasesRequest.Size(m) @@ -139,7 +142,7 @@ func (m *ListDatabasesRequest) GetPageToken() string { } type ListDatabasesResponse struct { - // List of ClickHouse Database resources. + // List of ClickHouse databases. Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value @@ -155,16 +158,17 @@ func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } func (*ListDatabasesResponse) ProtoMessage() {} func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{2} + return fileDescriptor_18a32bf44b43aca7, []int{2} } + func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) } func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic) } -func (dst *ListDatabasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesResponse.Merge(dst, src) +func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesResponse.Merge(m, src) } func (m *ListDatabasesResponse) XXX_Size() int { return xxx_messageInfo_ListDatabasesResponse.Size(m) @@ -204,16 +208,17 @@ func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} } func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseRequest) ProtoMessage() {} func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{3} + return fileDescriptor_18a32bf44b43aca7, []int{3} } + func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) } func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseRequest.Merge(dst, src) +func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseRequest.Merge(m, src) } func (m *CreateDatabaseRequest) XXX_Size() int { return xxx_messageInfo_CreateDatabaseRequest.Size(m) @@ -252,16 +257,17 @@ func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseMetadata) ProtoMessage() {} func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{4} + return fileDescriptor_18a32bf44b43aca7, []int{4} } + func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) } func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseMetadata.Merge(dst, src) +func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src) } func (m *CreateDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_CreateDatabaseMetadata.Size(m) @@ -302,16 +308,17 @@ func (m *DeleteDatabaseRequest) Reset() { *m = DeleteDatabaseRequest{} } func (m *DeleteDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseRequest) ProtoMessage() {} func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{5} + return fileDescriptor_18a32bf44b43aca7, []int{5} } + func (m *DeleteDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseRequest.Unmarshal(m, b) } func (m *DeleteDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseRequest.Merge(dst, src) +func (m *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseRequest.Merge(m, src) } func (m *DeleteDatabaseRequest) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseRequest.Size(m) @@ -350,16 +357,17 @@ func (m *DeleteDatabaseMetadata) Reset() { *m = DeleteDatabaseMetadata{} func (m *DeleteDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseMetadata) ProtoMessage() {} func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_08aeb62acbe585c3, []int{6} + return fileDescriptor_18a32bf44b43aca7, []int{6} } + func (m *DeleteDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseMetadata.Unmarshal(m, b) } func (m *DeleteDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseMetadata.Merge(dst, src) +func (m *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseMetadata.Merge(m, src) } func (m *DeleteDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseMetadata.Size(m) @@ -394,6 +402,58 @@ func init() { proto.RegisterType((*DeleteDatabaseMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.DeleteDatabaseMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/database_service.proto", fileDescriptor_18a32bf44b43aca7) +} + +var fileDescriptor_18a32bf44b43aca7 = []byte{ + // 702 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x4f, 0x13, 0x4b, + 0x1c, 0xcd, 0x50, 0x6e, 0x43, 0x07, 0xb8, 0x24, 0x93, 0x5b, 0xd2, 0x34, 0x17, 0xc2, 0xdd, 0x9b, + 0x60, 0x53, 0xdd, 0xdd, 0x6e, 0x11, 0xa2, 0x02, 0x26, 0x16, 0x04, 0x4d, 0x04, 0x4c, 0x31, 0x31, + 0x41, 0x4c, 0x33, 0xdd, 0xfd, 0xb9, 0x6c, 0x68, 0x77, 0xd7, 0xce, 0xb4, 0xe1, 0x4f, 0x78, 0xd0, + 0x07, 0x8d, 0xbc, 0x9a, 0xf8, 0xe6, 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 0xc2, 0x51, 0x61, 0xd6, 0xce, 0x6a, 0xda, 0xe6, 0xab, + 0x1b, 0x35, 0xaf, 0xd0, 0xc1, 0x71, 0x5a, 0x3d, 0x33, 0x15, 0x71, 0xf1, 0x2a, 0x8a, 0x37, 0xa7, + 0x58, 0x7d, 0xa1, 0xdc, 0x2f, 0xbb, 0x7c, 0x5b, 0x98, 0x2d, 0x7d, 0x45, 0x66, 0xcb, 0xad, 0xac, + 0x2d, 0x99, 0x16, 0xdf, 0xa8, 0x16, 0x15, 0xdd, 0x29, 0xab, 0x82, 0xb2, 0x2c, 0x9e, 0x41, 0xd3, + 0x91, 0x4d, 0xb0, 0xfd, 0xd5, 0xd5, 0xf3, 0xdf, 0xc7, 0xe9, 0xe6, 0x5f, 0x31, 0xea, 0x03, 0x26, + 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x81, 0xf7, 0x00, 0x2b, 0x08, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -476,6 +536,23 @@ type DatabaseServiceServer interface { Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error) } +// UnimplementedDatabaseServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDatabaseServiceServer struct { +} + +func (*UnimplementedDatabaseServiceServer) Get(ctx context.Context, req *GetDatabaseRequest) (*Database, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDatabaseServiceServer) List(ctx context.Context, req *ListDatabasesRequest) (*ListDatabasesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDatabaseServiceServer) Create(ctx context.Context, req *CreateDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDatabaseServiceServer) Delete(ctx context.Context, req *DeleteDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterDatabaseServiceServer(s *grpc.Server, srv DatabaseServiceServer) { s.RegisterService(&_DatabaseService_serviceDesc, srv) } @@ -576,55 +653,3 @@ var _DatabaseService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/clickhouse/v1/database_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/database_service.proto", fileDescriptor_database_service_08aeb62acbe585c3) -} - -var fileDescriptor_database_service_08aeb62acbe585c3 = []byte{ - // 702 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x4f, 0x13, 0x4b, - 0x1c, 0xcd, 0x50, 0x6e, 0x43, 0x07, 0xb8, 0x24, 0x93, 0x5b, 0xd2, 0x34, 0x17, 0xc2, 0xdd, 0x9b, - 0x60, 0x53, 0xdd, 0xdd, 0x6e, 0x11, 0xa2, 0x02, 0x26, 0x16, 0x04, 0x4d, 0x04, 0x4c, 0x31, 0x31, - 0x41, 0x4c, 0x33, 0xdd, 0xfd, 0xb9, 0x6c, 0x68, 0x77, 0xd7, 0xce, 0xb4, 0xe1, 0x4f, 0x78, 0xd0, - 0x07, 0x8d, 0xbc, 0x9a, 0xf8, 0xe6, 0x97, 0x40, 0xbf, 0x03, 0x24, 0xbe, 0xe1, 0x57, 0x30, 0xc6, - 0x67, 0x1f, 0x7d, 0x32, 0xbb, 0xd3, 0x6e, 0xbb, 0x50, 0x68, 0x05, 0xde, 0x76, 0xe7, 0xf7, 0x3b, - 0x33, 0xe7, 0xcc, 0x9c, 0x33, 0x83, 0x27, 0xb7, 0xa9, 0x6d, 0xc0, 0x96, 0xaa, 0x97, 0x9c, 0xaa, - 0xa1, 0x96, 0x8d, 0xa2, 0xaa, 0x97, 0x2c, 0x7d, 0x73, 0xc3, 0xa9, 0x32, 0x50, 0x6b, 0x9a, 0x6a, - 0x50, 0x4e, 0x8b, 0x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d5, 0xd5, 0xf3, 0xdf, 0xc7, 0xe9, 0xe6, 0x5f, 0x31, 0xea, 0x03, 0x26, - 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x81, 0xf7, 0x00, 0x2b, 0x08, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset.pb.go index c572bb96e..ad0ff7f59 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/resource_preset.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ResourcePreset resource for describing hardware configuration presets. type ResourcePreset struct { @@ -37,16 +39,17 @@ func (m *ResourcePreset) Reset() { *m = ResourcePreset{} } func (m *ResourcePreset) String() string { return proto.CompactTextString(m) } func (*ResourcePreset) ProtoMessage() {} func (*ResourcePreset) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_8b47fe1881d4dab9, []int{0} + return fileDescriptor_24eaf27369654811, []int{0} } + func (m *ResourcePreset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourcePreset.Unmarshal(m, b) } func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic) } -func (dst *ResourcePreset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePreset.Merge(dst, src) +func (m *ResourcePreset) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcePreset.Merge(m, src) } func (m *ResourcePreset) XXX_Size() int { return xxx_messageInfo_ResourcePreset.Size(m) @@ -90,10 +93,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/resource_preset.proto", fileDescriptor_resource_preset_8b47fe1881d4dab9) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/resource_preset.proto", fileDescriptor_24eaf27369654811) } -var fileDescriptor_resource_preset_8b47fe1881d4dab9 = []byte{ +var fileDescriptor_24eaf27369654811 = []byte{ // 215 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xcf, 0xb1, 0x4b, 0x03, 0x31, 0x14, 0xc7, 0x71, 0xee, 0x4e, 0xab, 0xcd, 0xd0, 0x21, 0x88, 0xc4, 0x45, 0x0e, 0xa7, 0x5b, 0x9a, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset_service.pb.go index 87d56a854..d135ccc4a 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/resource_preset_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/resource_preset_service.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package clickhouse import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetResourcePresetRequest struct { // ID of the resource preset to return. @@ -38,16 +39,17 @@ func (m *GetResourcePresetRequest) Reset() { *m = GetResourcePresetReque func (m *GetResourcePresetRequest) String() string { return proto.CompactTextString(m) } func (*GetResourcePresetRequest) ProtoMessage() {} func (*GetResourcePresetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_3c94510b9cb0b96a, []int{0} + return fileDescriptor_2cc2720a06dabed9, []int{0} } + func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetResourcePresetRequest.Unmarshal(m, b) } func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetResourcePresetRequest.Marshal(b, m, deterministic) } -func (dst *GetResourcePresetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetResourcePresetRequest.Merge(dst, src) +func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourcePresetRequest.Merge(m, src) } func (m *GetResourcePresetRequest) XXX_Size() int { return xxx_messageInfo_GetResourcePresetRequest.Size(m) @@ -82,16 +84,17 @@ func (m *ListResourcePresetsRequest) Reset() { *m = ListResourcePresetsR func (m *ListResourcePresetsRequest) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsRequest) ProtoMessage() {} func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_3c94510b9cb0b96a, []int{1} + return fileDescriptor_2cc2720a06dabed9, []int{1} } + func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsRequest.Unmarshal(m, b) } func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsRequest.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsRequest.Merge(dst, src) +func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsRequest.Merge(m, src) } func (m *ListResourcePresetsRequest) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsRequest.Size(m) @@ -133,16 +136,17 @@ func (m *ListResourcePresetsResponse) Reset() { *m = ListResourcePresets func (m *ListResourcePresetsResponse) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsResponse) ProtoMessage() {} func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_3c94510b9cb0b96a, []int{2} + return fileDescriptor_2cc2720a06dabed9, []int{2} } + func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsResponse.Unmarshal(m, b) } func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsResponse.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsResponse.Merge(dst, src) +func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsResponse.Merge(m, src) } func (m *ListResourcePresetsResponse) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsResponse.Size(m) @@ -173,6 +177,44 @@ func init() { proto.RegisterType((*ListResourcePresetsResponse)(nil), "yandex.cloud.mdb.clickhouse.v1.ListResourcePresetsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/resource_preset_service.proto", fileDescriptor_2cc2720a06dabed9) +} + +var fileDescriptor_2cc2720a06dabed9 = []byte{ + // 470 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4d, 0x6b, 0x13, 0x41, + 0x18, 0x66, 0xba, 0xb5, 0x98, 0x51, 0x69, 0x19, 0x10, 0x96, 0xf5, 0x83, 0xb0, 0x87, 0xba, 0x97, + 0xcc, 0x64, 0xab, 0x82, 0x34, 0xc9, 0x25, 0x1e, 0x8a, 0xa0, 0x58, 0xb6, 0x22, 0xe8, 0x25, 0x4c, + 0x76, 0x5e, 0xb6, 0x43, 0x93, 0x99, 0x75, 0x67, 0x36, 0xd4, 0x8a, 0x20, 0x1e, 0x7b, 0xf5, 0x0f, + 0xf8, 0x0f, 0xbc, 0xf8, 0x1f, 0xda, 0xbb, 0x7f, 0xc1, 0x83, 0xbf, 0xc1, 0x93, 0xec, 0x6c, 0x4a, + 0x4d, 0xec, 0x87, 0xe9, 0x71, 0xf7, 0x99, 0xe7, 0x79, 0xde, 0xe7, 0xfd, 0xc0, 0xdd, 0xf7, 0x5c, + 0x09, 0xd8, 0x67, 0xe9, 0x48, 0x97, 0x82, 0x8d, 0xc5, 0x90, 0xa5, 0x23, 0x99, 0xee, 0xed, 0xea, + 0xd2, 0x00, 0x9b, 0xc4, 0xac, 0x00, 0xa3, 0xcb, 0x22, 0x85, 0x41, 0x5e, 0x80, 0x01, 0x3b, 0x30, + 0x50, 0x4c, 0x64, 0x0a, 0x34, 0x2f, 0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0x85, 0xce, 0x75, 0x67, + 0x75, 0x36, 0xac, 0x21, 0xeb, 0x78, 0x55, 0xc1, 0xbe, 0x1d, 0xfc, 0x55, 0x69, 0x95, 0xa9, 0x91, + 0xdc, 0xaa, 0x7e, 0x6f, 0x9f, 0x94, 0xb8, 0xf1, 0xc9, 0xc3, 0xb7, 0x67, 0xb5, 0x76, 0xea, 0xf5, + 0x20, 0xdf, 0x11, 0xf6, 0xb6, 0xc0, 0x92, 0x27, 0x97, 0x95, 0x72, 0xde, 0xac, 0x82, 0x05, 0x43, + 0x84, 0x4f, 0x3f, 0xff, 0xf8, 0xf9, 0x65, 0xa9, 0x47, 0x3a, 0x6c, 0xcc, 0x15, 0xcf, 0x40, 0xb4, + 0xce, 0xde, 0x96, 0x69, 0x46, 0xf6, 0xe1, 0xdf, 0x4d, 0xf8, 0x48, 0xbe, 0x21, 0xbc, 0x5c, 0xf5, + 0x9c, 0x6c, 0x5e, 0xe6, 0x7e, 0xfe, 0x2e, 0x04, 0x9d, 0x2b, 0x71, 0xeb, 0xa9, 0x86, 0xd4, 0xc5, + 0x88, 0xc8, 0xfa, 0xff, 0xc5, 0xe8, 0xbf, 0x7c, 0xfb, 0x22, 0x93, 0x76, 0xb7, 0x1c, 0xd2, 0x54, + 0x8f, 0x59, 0x6d, 0xdc, 0xaa, 0x2f, 0x26, 0xd3, 0xad, 0x0c, 0x94, 0xbb, 0x0a, 0x76, 0xf1, 0x29, + 0x75, 0x4e, 0xbf, 0x86, 0x2b, 0x8e, 0xf0, 0xf0, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xea, + 0x85, 0x77, 0x19, 0x04, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -229,6 +271,17 @@ type ResourcePresetServiceServer interface { List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) } +// UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedResourcePresetServiceServer struct { +} + +func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer) { s.RegisterService(&_ResourcePresetService_serviceDesc, srv) } @@ -285,41 +338,3 @@ var _ResourcePresetService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/clickhouse/v1/resource_preset_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/resource_preset_service.proto", fileDescriptor_resource_preset_service_3c94510b9cb0b96a) -} - -var fileDescriptor_resource_preset_service_3c94510b9cb0b96a = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4d, 0x6b, 0x13, 0x41, - 0x18, 0x66, 0xba, 0xb5, 0x98, 0x51, 0x69, 0x19, 0x10, 0x96, 0xf5, 0x83, 0xb0, 0x87, 0xba, 0x97, - 0xcc, 0x64, 0xab, 0x82, 0x34, 0xc9, 0x25, 0x1e, 0x8a, 0xa0, 0x58, 0xb6, 0x22, 0xe8, 0x25, 0x4c, - 0x76, 0x5e, 0xb6, 0x43, 0x93, 0x99, 0x75, 0x67, 0x36, 0xd4, 0x8a, 0x20, 0x1e, 0x7b, 0xf5, 0x0f, - 0xf8, 0x0f, 0xbc, 0xf8, 0x1f, 0xda, 0xbb, 0x7f, 0xc1, 0x83, 0xbf, 0xc1, 0x93, 0xec, 0x6c, 0x4a, - 0x4d, 0xec, 0x87, 0xe9, 0x71, 0xf7, 0x99, 0xe7, 0x79, 0xde, 0xe7, 0x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, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xea, - 0x85, 0x77, 0x19, 0x04, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user.pb.go index e30042084..818afd78a 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user.pb.go @@ -1,12 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/user.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" +package clickhouse -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +20,66 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type UserSettings_OverflowMode int32 + +const ( + UserSettings_OVERFLOW_MODE_UNSPECIFIED UserSettings_OverflowMode = 0 + UserSettings_OVERFLOW_MODE_THROW UserSettings_OverflowMode = 1 + UserSettings_OVERFLOW_MODE_BREAK UserSettings_OverflowMode = 2 +) + +var UserSettings_OverflowMode_name = map[int32]string{ + 0: "OVERFLOW_MODE_UNSPECIFIED", + 1: "OVERFLOW_MODE_THROW", + 2: "OVERFLOW_MODE_BREAK", +} + +var UserSettings_OverflowMode_value = map[string]int32{ + "OVERFLOW_MODE_UNSPECIFIED": 0, + "OVERFLOW_MODE_THROW": 1, + "OVERFLOW_MODE_BREAK": 2, +} + +func (x UserSettings_OverflowMode) String() string { + return proto.EnumName(UserSettings_OverflowMode_name, int32(x)) +} + +func (UserSettings_OverflowMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f24bb57d787c6d5e, []int{3, 0} +} + +type UserSettings_GroupByOverflowMode int32 + +const ( + UserSettings_GROUP_BY_OVERFLOW_MODE_UNSPECIFIED UserSettings_GroupByOverflowMode = 0 + UserSettings_GROUP_BY_OVERFLOW_MODE_THROW UserSettings_GroupByOverflowMode = 1 + UserSettings_GROUP_BY_OVERFLOW_MODE_BREAK UserSettings_GroupByOverflowMode = 2 + UserSettings_GROUP_BY_OVERFLOW_MODE_ANY UserSettings_GroupByOverflowMode = 3 +) + +var UserSettings_GroupByOverflowMode_name = map[int32]string{ + 0: "GROUP_BY_OVERFLOW_MODE_UNSPECIFIED", + 1: "GROUP_BY_OVERFLOW_MODE_THROW", + 2: "GROUP_BY_OVERFLOW_MODE_BREAK", + 3: "GROUP_BY_OVERFLOW_MODE_ANY", +} + +var UserSettings_GroupByOverflowMode_value = map[string]int32{ + "GROUP_BY_OVERFLOW_MODE_UNSPECIFIED": 0, + "GROUP_BY_OVERFLOW_MODE_THROW": 1, + "GROUP_BY_OVERFLOW_MODE_BREAK": 2, + "GROUP_BY_OVERFLOW_MODE_ANY": 3, +} + +func (x UserSettings_GroupByOverflowMode) String() string { + return proto.EnumName(UserSettings_GroupByOverflowMode_name, int32(x)) +} + +func (UserSettings_GroupByOverflowMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f24bb57d787c6d5e, []int{3, 1} +} // A ClickHouse User resource. For more information, see // the [Developer's guide](/docs/managed-clickhouse/concepts). @@ -28,6 +90,7 @@ type User struct { ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Set of permissions granted to the user. Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` + Settings *UserSettings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -37,16 +100,17 @@ func (m *User) Reset() { *m = User{} } func (m *User) String() string { return proto.CompactTextString(m) } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_user_002833f6340c62e6, []int{0} + return fileDescriptor_f24bb57d787c6d5e, []int{0} } + func (m *User) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_User.Unmarshal(m, b) } func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_User.Marshal(b, m, deterministic) } -func (dst *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(dst, src) +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) } func (m *User) XXX_Size() int { return xxx_messageInfo_User.Size(m) @@ -78,6 +142,13 @@ func (m *User) GetPermissions() []*Permission { return nil } +func (m *User) GetSettings() *UserSettings { + if m != nil { + return m.Settings + } + return nil +} + type Permission struct { // Name of the database that the permission grants access to. DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` @@ -90,16 +161,17 @@ func (m *Permission) Reset() { *m = Permission{} } func (m *Permission) String() string { return proto.CompactTextString(m) } func (*Permission) ProtoMessage() {} func (*Permission) Descriptor() ([]byte, []int) { - return fileDescriptor_user_002833f6340c62e6, []int{1} + return fileDescriptor_f24bb57d787c6d5e, []int{1} } + func (m *Permission) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Permission.Unmarshal(m, b) } func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Permission.Marshal(b, m, deterministic) } -func (dst *Permission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Permission.Merge(dst, src) +func (m *Permission) XXX_Merge(src proto.Message) { + xxx_messageInfo_Permission.Merge(m, src) } func (m *Permission) XXX_Size() int { return xxx_messageInfo_Permission.Size(m) @@ -124,6 +196,7 @@ type UserSpec struct { Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Set of permissions to grant to the user. Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` + Settings *UserSettings `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -133,16 +206,17 @@ func (m *UserSpec) Reset() { *m = UserSpec{} } func (m *UserSpec) String() string { return proto.CompactTextString(m) } func (*UserSpec) ProtoMessage() {} func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_user_002833f6340c62e6, []int{2} + return fileDescriptor_f24bb57d787c6d5e, []int{2} } + func (m *UserSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserSpec.Unmarshal(m, b) } func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) } -func (dst *UserSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSpec.Merge(dst, src) +func (m *UserSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSpec.Merge(m, src) } func (m *UserSpec) XXX_Size() int { return xxx_messageInfo_UserSpec.Size(m) @@ -174,37 +248,496 @@ func (m *UserSpec) GetPermissions() []*Permission { return nil } +func (m *UserSpec) GetSettings() *UserSettings { + if m != nil { + return m.Settings + } + return nil +} + +// ClickHouse user settings. Supported settings are a limited subset of all settings +// described in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/). +type UserSettings struct { + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/permissions_for_queries/#settings_readonly). + Readonly *wrappers.Int64Value `protobuf:"bytes,1,opt,name=readonly,proto3" json:"readonly,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/permissions_for_queries/#settings_allow_ddl). + AllowDdl *wrappers.BoolValue `protobuf:"bytes,2,opt,name=allow_ddl,json=allowDdl,proto3" json:"allow_ddl,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-insert_quorum). + InsertQuorum *wrappers.Int64Value `protobuf:"bytes,3,opt,name=insert_quorum,json=insertQuorum,proto3" json:"insert_quorum,omitempty"` + // Quorum write timeout in milliseconds. Default value: 60000. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-insert_quorum_timeout). + InsertQuorumTimeout *wrappers.Int64Value `protobuf:"bytes,4,opt,name=insert_quorum_timeout,json=insertQuorumTimeout,proto3" json:"insert_quorum_timeout,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-select_sequential_consistency). + SelectSequentialConsistency *wrappers.BoolValue `protobuf:"bytes,5,opt,name=select_sequential_consistency,json=selectSequentialConsistency,proto3" json:"select_sequential_consistency,omitempty"` + // Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used. Default value: 300000. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries). + MaxReplicaDelayForDistributedQueries *wrappers.Int64Value `protobuf:"bytes,6,opt,name=max_replica_delay_for_distributed_queries,json=maxReplicaDelayForDistributedQueries,proto3" json:"max_replica_delay_for_distributed_queries,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries). + FallbackToStaleReplicasForDistributedQueries *wrappers.BoolValue `protobuf:"bytes,7,opt,name=fallback_to_stale_replicas_for_distributed_queries,json=fallbackToStaleReplicasForDistributedQueries,proto3" json:"fallback_to_stale_replicas_for_distributed_queries,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-max_threads). + MaxThreads *wrappers.Int64Value `protobuf:"bytes,8,opt,name=max_threads,json=maxThreads,proto3" json:"max_threads,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#max-block-size). + MaxBlockSize *wrappers.Int64Value `protobuf:"bytes,9,opt,name=max_block_size,json=maxBlockSize,proto3" json:"max_block_size,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-max_insert_block_size). + MaxInsertBlockSize *wrappers.Int64Value `protobuf:"bytes,10,opt,name=max_insert_block_size,json=maxInsertBlockSize,proto3" json:"max_insert_block_size,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#settings_max_memory_usage). + MaxMemoryUsage *wrappers.Int64Value `protobuf:"bytes,11,opt,name=max_memory_usage,json=maxMemoryUsage,proto3" json:"max_memory_usage,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-memory-usage-for-user). + MaxMemoryUsageForUser *wrappers.Int64Value `protobuf:"bytes,12,opt,name=max_memory_usage_for_user,json=maxMemoryUsageForUser,proto3" json:"max_memory_usage_for_user,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-rows-to-read). + MaxRowsToRead *wrappers.Int64Value `protobuf:"bytes,13,opt,name=max_rows_to_read,json=maxRowsToRead,proto3" json:"max_rows_to_read,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-bytes-to-read). + MaxBytesToRead *wrappers.Int64Value `protobuf:"bytes,14,opt,name=max_bytes_to_read,json=maxBytesToRead,proto3" json:"max_bytes_to_read,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#read-overflow-mode). + ReadOverflowMode UserSettings_OverflowMode `protobuf:"varint,15,opt,name=read_overflow_mode,json=readOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"read_overflow_mode,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-rows-to-group-by). + MaxRowsToGroupBy *wrappers.Int64Value `protobuf:"bytes,16,opt,name=max_rows_to_group_by,json=maxRowsToGroupBy,proto3" json:"max_rows_to_group_by,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#group-by-overflow-mode). + GroupByOverflowMode UserSettings_GroupByOverflowMode `protobuf:"varint,17,opt,name=group_by_overflow_mode,json=groupByOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_GroupByOverflowMode" json:"group_by_overflow_mode,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-rows-to-sort). + MaxRowsToSort *wrappers.Int64Value `protobuf:"bytes,18,opt,name=max_rows_to_sort,json=maxRowsToSort,proto3" json:"max_rows_to_sort,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-bytes-to-sort). + MaxBytesToSort *wrappers.Int64Value `protobuf:"bytes,19,opt,name=max_bytes_to_sort,json=maxBytesToSort,proto3" json:"max_bytes_to_sort,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#sort-overflow-mode). + SortOverflowMode UserSettings_OverflowMode `protobuf:"varint,20,opt,name=sort_overflow_mode,json=sortOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"sort_overflow_mode,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-result-rows). + MaxResultRows *wrappers.Int64Value `protobuf:"bytes,21,opt,name=max_result_rows,json=maxResultRows,proto3" json:"max_result_rows,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-result-bytes). + MaxResultBytes *wrappers.Int64Value `protobuf:"bytes,22,opt,name=max_result_bytes,json=maxResultBytes,proto3" json:"max_result_bytes,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#result-overflow-mode). + ResultOverflowMode UserSettings_OverflowMode `protobuf:"varint,23,opt,name=result_overflow_mode,json=resultOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"result_overflow_mode,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-rows-in-distinct). + MaxRowsInDistinct *wrappers.Int64Value `protobuf:"bytes,24,opt,name=max_rows_in_distinct,json=maxRowsInDistinct,proto3" json:"max_rows_in_distinct,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-bytes-in-distinct). + MaxBytesInDistinct *wrappers.Int64Value `protobuf:"bytes,25,opt,name=max_bytes_in_distinct,json=maxBytesInDistinct,proto3" json:"max_bytes_in_distinct,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#distinct-overflow-mode). + DistinctOverflowMode UserSettings_OverflowMode `protobuf:"varint,26,opt,name=distinct_overflow_mode,json=distinctOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"distinct_overflow_mode,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-rows-to-transfer). + MaxRowsToTransfer *wrappers.Int64Value `protobuf:"bytes,27,opt,name=max_rows_to_transfer,json=maxRowsToTransfer,proto3" json:"max_rows_to_transfer,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-bytes-to-transfer). + MaxBytesToTransfer *wrappers.Int64Value `protobuf:"bytes,28,opt,name=max_bytes_to_transfer,json=maxBytesToTransfer,proto3" json:"max_bytes_to_transfer,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#transfer-overflow-mode). + TransferOverflowMode UserSettings_OverflowMode `protobuf:"varint,29,opt,name=transfer_overflow_mode,json=transferOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"transfer_overflow_mode,omitempty"` + // Maximum query execution time in milliseconds. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-execution-time). + MaxExecutionTime *wrappers.Int64Value `protobuf:"bytes,30,opt,name=max_execution_time,json=maxExecutionTime,proto3" json:"max_execution_time,omitempty"` + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#timeout-overflow-mode). + TimeoutOverflowMode UserSettings_OverflowMode `protobuf:"varint,31,opt,name=timeout_overflow_mode,json=timeoutOverflowMode,proto3,enum=yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode" json:"timeout_overflow_mode,omitempty"` + // Maximum number of columns that can be read from a table in a single query. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-columns-to-read). + MaxColumnsToRead *wrappers.Int64Value `protobuf:"bytes,32,opt,name=max_columns_to_read,json=maxColumnsToRead,proto3" json:"max_columns_to_read,omitempty"` + // Maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-temporary-columns). + MaxTemporaryColumns *wrappers.Int64Value `protobuf:"bytes,33,opt,name=max_temporary_columns,json=maxTemporaryColumns,proto3" json:"max_temporary_columns,omitempty"` + // Maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-temporary-non-const-columns). + MaxTemporaryNonConstColumns *wrappers.Int64Value `protobuf:"bytes,34,opt,name=max_temporary_non_const_columns,json=maxTemporaryNonConstColumns,proto3" json:"max_temporary_non_const_columns,omitempty"` + // The maximum part of a query that can be taken to RAM for parsing with the SQL parser, in bytes. Default value: 262144. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/settings/#settings-max_query_size). + MaxQuerySize *wrappers.Int64Value `protobuf:"bytes,35,opt,name=max_query_size,json=maxQuerySize,proto3" json:"max_query_size,omitempty"` + // Maximum depth of query syntax tree. Default value: 1000. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-ast-depth). + MaxAstDepth *wrappers.Int64Value `protobuf:"bytes,36,opt,name=max_ast_depth,json=maxAstDepth,proto3" json:"max_ast_depth,omitempty"` + // Maximum size of query syntax tree in number of nodes. Default value: 50000. + // See in-depth description in [ClickHouse documentation](https://clickhouse.yandex/docs/en/operations/settings/query_complexity/#max-ast-elements). + MaxAstElements *wrappers.Int64Value `protobuf:"bytes,37,opt,name=max_ast_elements,json=maxAstElements,proto3" json:"max_ast_elements,omitempty"` + // Maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk. Default value: 500000. + MaxExpandedAstElements *wrappers.Int64Value `protobuf:"bytes,38,opt,name=max_expanded_ast_elements,json=maxExpandedAstElements,proto3" json:"max_expanded_ast_elements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserSettings) Reset() { *m = UserSettings{} } +func (m *UserSettings) String() string { return proto.CompactTextString(m) } +func (*UserSettings) ProtoMessage() {} +func (*UserSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_f24bb57d787c6d5e, []int{3} +} + +func (m *UserSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSettings.Unmarshal(m, b) +} +func (m *UserSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSettings.Marshal(b, m, deterministic) +} +func (m *UserSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSettings.Merge(m, src) +} +func (m *UserSettings) XXX_Size() int { + return xxx_messageInfo_UserSettings.Size(m) +} +func (m *UserSettings) XXX_DiscardUnknown() { + xxx_messageInfo_UserSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSettings proto.InternalMessageInfo + +func (m *UserSettings) GetReadonly() *wrappers.Int64Value { + if m != nil { + return m.Readonly + } + return nil +} + +func (m *UserSettings) GetAllowDdl() *wrappers.BoolValue { + if m != nil { + return m.AllowDdl + } + return nil +} + +func (m *UserSettings) GetInsertQuorum() *wrappers.Int64Value { + if m != nil { + return m.InsertQuorum + } + return nil +} + +func (m *UserSettings) GetInsertQuorumTimeout() *wrappers.Int64Value { + if m != nil { + return m.InsertQuorumTimeout + } + return nil +} + +func (m *UserSettings) GetSelectSequentialConsistency() *wrappers.BoolValue { + if m != nil { + return m.SelectSequentialConsistency + } + return nil +} + +func (m *UserSettings) GetMaxReplicaDelayForDistributedQueries() *wrappers.Int64Value { + if m != nil { + return m.MaxReplicaDelayForDistributedQueries + } + return nil +} + +func (m *UserSettings) GetFallbackToStaleReplicasForDistributedQueries() *wrappers.BoolValue { + if m != nil { + return m.FallbackToStaleReplicasForDistributedQueries + } + return nil +} + +func (m *UserSettings) GetMaxThreads() *wrappers.Int64Value { + if m != nil { + return m.MaxThreads + } + return nil +} + +func (m *UserSettings) GetMaxBlockSize() *wrappers.Int64Value { + if m != nil { + return m.MaxBlockSize + } + return nil +} + +func (m *UserSettings) GetMaxInsertBlockSize() *wrappers.Int64Value { + if m != nil { + return m.MaxInsertBlockSize + } + return nil +} + +func (m *UserSettings) GetMaxMemoryUsage() *wrappers.Int64Value { + if m != nil { + return m.MaxMemoryUsage + } + return nil +} + +func (m *UserSettings) GetMaxMemoryUsageForUser() *wrappers.Int64Value { + if m != nil { + return m.MaxMemoryUsageForUser + } + return nil +} + +func (m *UserSettings) GetMaxRowsToRead() *wrappers.Int64Value { + if m != nil { + return m.MaxRowsToRead + } + return nil +} + +func (m *UserSettings) GetMaxBytesToRead() *wrappers.Int64Value { + if m != nil { + return m.MaxBytesToRead + } + return nil +} + +func (m *UserSettings) GetReadOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.ReadOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxRowsToGroupBy() *wrappers.Int64Value { + if m != nil { + return m.MaxRowsToGroupBy + } + return nil +} + +func (m *UserSettings) GetGroupByOverflowMode() UserSettings_GroupByOverflowMode { + if m != nil { + return m.GroupByOverflowMode + } + return UserSettings_GROUP_BY_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxRowsToSort() *wrappers.Int64Value { + if m != nil { + return m.MaxRowsToSort + } + return nil +} + +func (m *UserSettings) GetMaxBytesToSort() *wrappers.Int64Value { + if m != nil { + return m.MaxBytesToSort + } + return nil +} + +func (m *UserSettings) GetSortOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.SortOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxResultRows() *wrappers.Int64Value { + if m != nil { + return m.MaxResultRows + } + return nil +} + +func (m *UserSettings) GetMaxResultBytes() *wrappers.Int64Value { + if m != nil { + return m.MaxResultBytes + } + return nil +} + +func (m *UserSettings) GetResultOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.ResultOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxRowsInDistinct() *wrappers.Int64Value { + if m != nil { + return m.MaxRowsInDistinct + } + return nil +} + +func (m *UserSettings) GetMaxBytesInDistinct() *wrappers.Int64Value { + if m != nil { + return m.MaxBytesInDistinct + } + return nil +} + +func (m *UserSettings) GetDistinctOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.DistinctOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxRowsToTransfer() *wrappers.Int64Value { + if m != nil { + return m.MaxRowsToTransfer + } + return nil +} + +func (m *UserSettings) GetMaxBytesToTransfer() *wrappers.Int64Value { + if m != nil { + return m.MaxBytesToTransfer + } + return nil +} + +func (m *UserSettings) GetTransferOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.TransferOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxExecutionTime() *wrappers.Int64Value { + if m != nil { + return m.MaxExecutionTime + } + return nil +} + +func (m *UserSettings) GetTimeoutOverflowMode() UserSettings_OverflowMode { + if m != nil { + return m.TimeoutOverflowMode + } + return UserSettings_OVERFLOW_MODE_UNSPECIFIED +} + +func (m *UserSettings) GetMaxColumnsToRead() *wrappers.Int64Value { + if m != nil { + return m.MaxColumnsToRead + } + return nil +} + +func (m *UserSettings) GetMaxTemporaryColumns() *wrappers.Int64Value { + if m != nil { + return m.MaxTemporaryColumns + } + return nil +} + +func (m *UserSettings) GetMaxTemporaryNonConstColumns() *wrappers.Int64Value { + if m != nil { + return m.MaxTemporaryNonConstColumns + } + return nil +} + +func (m *UserSettings) GetMaxQuerySize() *wrappers.Int64Value { + if m != nil { + return m.MaxQuerySize + } + return nil +} + +func (m *UserSettings) GetMaxAstDepth() *wrappers.Int64Value { + if m != nil { + return m.MaxAstDepth + } + return nil +} + +func (m *UserSettings) GetMaxAstElements() *wrappers.Int64Value { + if m != nil { + return m.MaxAstElements + } + return nil +} + +func (m *UserSettings) GetMaxExpandedAstElements() *wrappers.Int64Value { + if m != nil { + return m.MaxExpandedAstElements + } + return nil +} + func init() { + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.UserSettings_OverflowMode", UserSettings_OverflowMode_name, UserSettings_OverflowMode_value) + proto.RegisterEnum("yandex.cloud.mdb.clickhouse.v1.UserSettings_GroupByOverflowMode", UserSettings_GroupByOverflowMode_name, UserSettings_GroupByOverflowMode_value) proto.RegisterType((*User)(nil), "yandex.cloud.mdb.clickhouse.v1.User") proto.RegisterType((*Permission)(nil), "yandex.cloud.mdb.clickhouse.v1.Permission") proto.RegisterType((*UserSpec)(nil), "yandex.cloud.mdb.clickhouse.v1.UserSpec") + proto.RegisterType((*UserSettings)(nil), "yandex.cloud.mdb.clickhouse.v1.UserSettings") } func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/user.proto", fileDescriptor_user_002833f6340c62e6) + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/user.proto", fileDescriptor_f24bb57d787c6d5e) } -var fileDescriptor_user_002833f6340c62e6 = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xac, 0x4c, 0xcc, 0x4b, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4d, 0x49, 0xd2, 0x4f, 0xce, 0xc9, - 0x4c, 0xce, 0xce, 0xc8, 0x2f, 0x2d, 0x4e, 0xd5, 0x2f, 0x33, 0xd4, 0x2f, 0x2d, 0x4e, 0x2d, 0xd2, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0x28, 0xd5, 0x03, 0x2b, 0xd5, 0xcb, 0x4d, 0x49, - 0xd2, 0x43, 0x28, 0xd5, 0x2b, 0x33, 0x94, 0x92, 0x45, 0x31, 0xaa, 0x2c, 0x31, 0x27, 0x33, 0x25, - 0xb1, 0x24, 0x33, 0x3f, 0x0f, 0xa2, 0x5d, 0xa9, 0x9d, 0x91, 0x8b, 0x25, 0xb4, 0x38, 0xb5, 0x48, - 0x48, 0x88, 0x8b,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 0x59, 0x92, 0x51, 0x9a, 0xa4, - 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x31, 0x44, 0x17, 0x12, 0x43, 0xe9, 0xf9, 0xba, 0xe9, 0xa9, 0x79, - 0xe0, 0xc8, 0xd1, 0xc7, 0x9f, 0x0a, 0xac, 0x11, 0xbc, 0x24, 0x36, 0xb0, 0x06, 0x63, 0x40, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x8b, 0x24, 0x59, 0x97, 0x39, 0x02, 0x00, 0x00, +var fileDescriptor_f24bb57d787c6d5e = []byte{ + // 1368 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcd, 0x72, 0xd3, 0xc8, + 0x16, 0xc7, 0xaf, 0x93, 0x10, 0x92, 0xce, 0x07, 0xa6, 0x9d, 0x04, 0x91, 0xe0, 0x90, 0x6b, 0xb8, + 0x54, 0xa0, 0xf0, 0x27, 0xb7, 0xb8, 0x50, 0x77, 0xa0, 0x88, 0xb1, 0x03, 0xae, 0x21, 0x31, 0xc8, + 0x0e, 0x0c, 0x50, 0x43, 0x57, 0x5b, 0xea, 0x38, 0x9a, 0x48, 0x6a, 0xa3, 0x6e, 0x25, 0x36, 0x2b, + 0x16, 0x53, 0xb3, 0xe0, 0x2d, 0xe6, 0x69, 0xc2, 0x76, 0xde, 0x62, 0xd6, 0xb3, 0x64, 0x35, 0xd5, + 0x2d, 0xc9, 0x96, 0x1c, 0xf2, 0xa1, 0x64, 0x33, 0xbb, 0x44, 0xdd, 0xff, 0xdf, 0x39, 0xe7, 0xdf, + 0xc7, 0xad, 0x63, 0x83, 0xdb, 0x3d, 0x6c, 0xeb, 0xa4, 0x9b, 0xd7, 0x4c, 0xea, 0xea, 0x79, 0x4b, + 0x6f, 0xe5, 0x35, 0xd3, 0xd0, 0x76, 0x77, 0xa8, 0xcb, 0x48, 0x7e, 0xaf, 0x98, 0x77, 0x19, 0x71, + 0x72, 0x1d, 0x87, 0x72, 0x0a, 0x97, 0xbd, 0xad, 0x39, 0xb9, 0x35, 0x67, 0xe9, 0xad, 0xdc, 0x60, + 0x6b, 0x6e, 0xaf, 0xb8, 0xb8, 0xdc, 0xa6, 0xb4, 0x6d, 0x92, 0xbc, 0xdc, 0xdd, 0x72, 0xb7, 0xf3, + 0xfb, 0x0e, 0xee, 0x74, 0x88, 0xc3, 0x3c, 0xfd, 0x62, 0x3a, 0x12, 0x6a, 0x0f, 0x9b, 0x86, 0x8e, + 0xb9, 0x41, 0x6d, 0x6f, 0x39, 0xf3, 0x47, 0x02, 0x8c, 0x6d, 0x31, 0xe2, 0x40, 0x08, 0xc6, 0x6c, + 0x6c, 0x11, 0x25, 0xb1, 0x92, 0x58, 0x9d, 0x54, 0xe5, 0xdf, 0x30, 0x0d, 0x80, 0x66, 0xba, 0x8c, + 0x13, 0x07, 0x19, 0xba, 0x32, 0x22, 0x57, 0x26, 0xfd, 0x27, 0x35, 0x1d, 0xbe, 0x00, 0x53, 0x1d, + 0xe2, 0x58, 0x06, 0x63, 0x06, 0xb5, 0x99, 0x32, 0xba, 0x32, 0xba, 0x3a, 0x55, 0xba, 0x93, 0x3b, + 0x3e, 0xe1, 0xdc, 0xcb, 0xbe, 0x44, 0x0d, 0xcb, 0xe1, 0x73, 0x30, 0xc1, 0x08, 0xe7, 0x86, 0xdd, + 0x66, 0xca, 0xd8, 0x4a, 0x62, 0x75, 0xaa, 0x74, 0xf7, 0x24, 0x94, 0x48, 0xbc, 0xe1, 0x6b, 0xd4, + 0xbe, 0x3a, 0x53, 0x04, 0x60, 0x10, 0x04, 0xde, 0x00, 0x33, 0x3a, 0xe6, 0xb8, 0x85, 0x19, 0x41, + 0xa1, 0x0a, 0xa7, 0x83, 0x87, 0x9b, 0xd8, 0x22, 0x99, 0xcf, 0x23, 0x60, 0x42, 0xd2, 0x3a, 0x44, + 0x83, 0xc5, 0xb0, 0x15, 0xe5, 0xf4, 0x9f,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0x0d, 0xe3, 0x13, 0x81, 0xaf, 0xc1, 0xbc, 0x40, 0xf9, 0xbd, 0x15, 0x22, 0x82, + 0xd3, 0x13, 0xa1, 0x85, 0xbb, 0x35, 0x09, 0x18, 0x70, 0x37, 0x41, 0x52, 0x70, 0x2d, 0x62, 0x51, + 0xa7, 0x87, 0x5c, 0x86, 0xdb, 0x44, 0x99, 0x8a, 0xd1, 0xfd, 0xa2, 0xc0, 0x0d, 0x29, 0xde, 0x12, + 0x5a, 0xf8, 0x01, 0x5c, 0x1d, 0xe6, 0xc9, 0x43, 0x13, 0xaf, 0x18, 0x65, 0x3a, 0x06, 0x78, 0x3e, + 0x0a, 0x5e, 0xa7, 0x8e, 0x7c, 0x6f, 0x6c, 0x78, 0xf9, 0x3a, 0x74, 0x9f, 0x89, 0xf6, 0x10, 0x3e, + 0x2b, 0x33, 0x31, 0xb0, 0x33, 0xa2, 0x0b, 0xe9, 0x3e, 0x6b, 0x52, 0x95, 0x60, 0x1d, 0xd6, 0xc1, + 0x65, 0x79, 0x42, 0x3d, 0x4e, 0x06, 0xbc, 0xd9, 0x98, 0xf5, 0x97, 0x85, 0xda, 0x07, 0xb6, 0x01, + 0x14, 0x0c, 0x44, 0xf7, 0x88, 0xb3, 0x2d, 0xee, 0x22, 0x8b, 0xea, 0x44, 0xb9, 0xb4, 0x92, 0x58, + 0x9d, 0x2d, 0x3d, 0x8c, 0x73, 0x55, 0xe6, 0xea, 0x3e, 0x61, 0x83, 0xea, 0x44, 0x4d, 0x0a, 0x68, + 0xf8, 0x09, 0x6c, 0x82, 0xb9, 0xb0, 0x11, 0x6d, 0x87, 0xba, 0x1d, 0xd4, 0xea, 0x29, 0xc9, 0x18, + 0xc9, 0x27, 0xfb, 0x66, 0x3c, 0x13, 0xf2, 0x72, 0x0f, 0xba, 0x60, 0x21, 0x20, 0x0d, 0x95, 0x70, + 0x59, 0x96, 0xf0, 0x24, 0x56, 0x09, 0x3e, 0x35, 0x52, 0x49, 0xaa, 0x7d, 0xf8, 0xe1, 0xf0, 0xa9, + 0x32, 0xea, 0x70, 0x05, 0x9e, 0xe9, 0x54, 0x1b, 0xd4, 0xe1, 0x87, 0x4e, 0x55, 0xf2, 0x52, 0x67, + 0x3b, 0x55, 0x09, 0x6c, 0x03, 0x28, 0x18, 0x43, 0x96, 0xcc, 0x9d, 0xfb, 0x54, 0x05, 0x34, 0x62, + 0xc4, 0x0b, 0x70, 0xc9, 0xbb, 0x80, 0x99, 0x6b, 0x72, 0xe9, 0x87, 0x32, 0x1f, 0xd7, 0x07, 0xa9, + 0x15, 0x6e, 0x04, 0x1f, 0x6e, 0x9f, 0x26, 0xed, 0x50, 0x16, 0x62, 0xda, 0xe0, 0xe1, 0xa4, 0x19, + 0x70, 0x17, 0xcc, 0xf9, 0xac, 0xa8, 0x11, 0x57, 0xce, 0x6b, 0x04, 0xf4, 0xb0, 0x11, 0x2b, 0xb6, + 0x42, 0x0d, 0x6e, 0xd8, 0xf2, 0xd6, 0x37, 0x6c, 0x8d, 0x2b, 0x4a, 0x8c, 0x02, 0x2e, 0xfb, 0x7d, + 0x51, 0xb3, 0x2b, 0xbe, 0x1c, 0xbe, 0xf1, 0x2e, 0x52, 0xaf, 0x37, 0xc2, 0xdc, 0xab, 0x31, 0xb8, + 0x30, 0xe8, 0x8f, 0x10, 0x98, 0x82, 0x85, 0x80, 0x35, 0x64, 0xcf, 0xe2, 0x79, 0xed, 0x99, 0x0b, + 0xc0, 0x47, 0x1a, 0xc4, 0x29, 0xe2, 0x0e, 0xb6, 0xd9, 0x36, 0x71, 0x94, 0xa5, 0x33, 0x18, 0xd4, + 0xa4, 0x4d, 0x5f, 0x1e, 0x35, 0x28, 0xcc, 0xbd, 0x76, 0x16, 0x83, 0x42, 0x60, 0x0a, 0x16, 0x02, + 0xd6, 0x90, 0x41, 0xe9, 0x73, 0x1b, 0x14, 0x80, 0x23, 0x06, 0xa9, 0x40, 0xa4, 0x81, 0x48, 0x97, + 0x68, 0xae, 0xf8, 0x0e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a, 0xeb, 0xaa, 0xba, 0xfe, + 0xa2, 0xfe, 0x06, 0x6d, 0xd4, 0x2b, 0x55, 0xb4, 0xb5, 0xd9, 0x78, 0x59, 0x7d, 0x5a, 0x5b, 0xaf, + 0x55, 0x2b, 0xc9, 0x7f, 0xc1, 0x2b, 0x20, 0x15, 0x5d, 0x6e, 0x3e, 0x57, 0xeb, 0x6f, 0x92, 0x89, + 0xc3, 0x0b, 0x65, 0xb5, 0xba, 0xf6, 0x63, 0x72, 0x24, 0xf3, 0x7b, 0x02, 0xa4, 0xbe, 0x33, 0x04, + 0xc0, 0x5b, 0x20, 0xf3, 0x4c, 0xad, 0x6f, 0xbd, 0x44, 0xe5, 0xb7, 0xe8, 0xb8, 0x88, 0x2b, 0xe0, + 0xda, 0x11, 0xfb, 0x82, 0xd0, 0x47, 0xef, 0xf0, 0x73, 0x80, 0xcb, 0x60, 0xf1, 0x88, 0x1d, 0x6b, + 0x9b, 0x6f, 0x93, 0xa3, 0xe5, 0xfa, 0xbb, 0x8d, 0xb6, 0xc1, 0x77, 0xdc, 0x56, 0x4e, 0xa3, 0x56, + 0xde, 0xfb, 0xf8, 0x66, 0xbd, 0x9f, 0x2f, 0xda, 0x34, 0xdb, 0x26, 0xb6, 0x74, 0x36, 0x7f, 0xfc, + 0x4f, 0x28, 0xff, 0x1f, 0xfc, 0xd7, 0x1a, 0x97, 0x82, 0x7b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, + 0xde, 0x45, 0xea, 0xca, 0x76, 0x11, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user_service.pb.go index 7146245ab..da601dab3 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/user_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/clickhouse/v1/user_service.proto -package clickhouse // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package clickhouse import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetUserRequest struct { // ID of the ClickHouse cluster the user belongs to. @@ -44,16 +45,17 @@ func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } func (*GetUserRequest) ProtoMessage() {} func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{0} + return fileDescriptor_7d727f99e64df8b6, []int{0} } + func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserRequest.Unmarshal(m, b) } func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) } -func (dst *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(dst, src) +func (m *GetUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserRequest.Merge(m, src) } func (m *GetUserRequest) XXX_Size() int { return xxx_messageInfo_GetUserRequest.Size(m) @@ -98,16 +100,17 @@ func (m *ListUsersRequest) Reset() { *m = ListUsersRequest{} } func (m *ListUsersRequest) String() string { return proto.CompactTextString(m) } func (*ListUsersRequest) ProtoMessage() {} func (*ListUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{1} + return fileDescriptor_7d727f99e64df8b6, []int{1} } + func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersRequest.Unmarshal(m, b) } func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersRequest.Marshal(b, m, deterministic) } -func (dst *ListUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersRequest.Merge(dst, src) +func (m *ListUsersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersRequest.Merge(m, src) } func (m *ListUsersRequest) XXX_Size() int { return xxx_messageInfo_ListUsersRequest.Size(m) @@ -156,16 +159,17 @@ func (m *ListUsersResponse) Reset() { *m = ListUsersResponse{} } func (m *ListUsersResponse) String() string { return proto.CompactTextString(m) } func (*ListUsersResponse) ProtoMessage() {} func (*ListUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{2} + return fileDescriptor_7d727f99e64df8b6, []int{2} } + func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersResponse.Unmarshal(m, b) } func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersResponse.Marshal(b, m, deterministic) } -func (dst *ListUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersResponse.Merge(dst, src) +func (m *ListUsersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersResponse.Merge(m, src) } func (m *ListUsersResponse) XXX_Size() int { return xxx_messageInfo_ListUsersResponse.Size(m) @@ -205,16 +209,17 @@ func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } func (m *CreateUserRequest) String() string { return proto.CompactTextString(m) } func (*CreateUserRequest) ProtoMessage() {} func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{3} + return fileDescriptor_7d727f99e64df8b6, []int{3} } + func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserRequest.Unmarshal(m, b) } func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic) } -func (dst *CreateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserRequest.Merge(dst, src) +func (m *CreateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserRequest.Merge(m, src) } func (m *CreateUserRequest) XXX_Size() int { return xxx_messageInfo_CreateUserRequest.Size(m) @@ -253,16 +258,17 @@ func (m *CreateUserMetadata) Reset() { *m = CreateUserMetadata{} } func (m *CreateUserMetadata) String() string { return proto.CompactTextString(m) } func (*CreateUserMetadata) ProtoMessage() {} func (*CreateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{4} + return fileDescriptor_7d727f99e64df8b6, []int{4} } + func (m *CreateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserMetadata.Unmarshal(m, b) } func (m *CreateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserMetadata.Marshal(b, m, deterministic) } -func (dst *CreateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserMetadata.Merge(dst, src) +func (m *CreateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserMetadata.Merge(m, src) } func (m *CreateUserMetadata) XXX_Size() int { return xxx_messageInfo_CreateUserMetadata.Size(m) @@ -294,12 +300,13 @@ type UpdateUserRequest struct { // Name of the user to be updated. // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - // Field mask that specifies which fields of the ClickHouse User resource should be updated. + // Field mask that specifies which attributes of the ClickHouse user should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New password for the user. Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // New set of permissions for the user. Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` + Settings *UserSettings `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -309,16 +316,17 @@ func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } func (m *UpdateUserRequest) String() string { return proto.CompactTextString(m) } func (*UpdateUserRequest) ProtoMessage() {} func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{5} + return fileDescriptor_7d727f99e64df8b6, []int{5} } + func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserRequest.Unmarshal(m, b) } func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) } -func (dst *UpdateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserRequest.Merge(dst, src) +func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserRequest.Merge(m, src) } func (m *UpdateUserRequest) XXX_Size() int { return xxx_messageInfo_UpdateUserRequest.Size(m) @@ -364,6 +372,13 @@ func (m *UpdateUserRequest) GetPermissions() []*Permission { return nil } +func (m *UpdateUserRequest) GetSettings() *UserSettings { + if m != nil { + return m.Settings + } + return nil +} + type UpdateUserMetadata struct { // ID of the ClickHouse cluster the user belongs to. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -378,16 +393,17 @@ func (m *UpdateUserMetadata) Reset() { *m = UpdateUserMetadata{} } func (m *UpdateUserMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateUserMetadata) ProtoMessage() {} func (*UpdateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{6} + return fileDescriptor_7d727f99e64df8b6, []int{6} } + func (m *UpdateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserMetadata.Unmarshal(m, b) } func (m *UpdateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserMetadata.Merge(dst, src) +func (m *UpdateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserMetadata.Merge(m, src) } func (m *UpdateUserMetadata) XXX_Size() int { return xxx_messageInfo_UpdateUserMetadata.Size(m) @@ -428,16 +444,17 @@ func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } func (m *DeleteUserRequest) String() string { return proto.CompactTextString(m) } func (*DeleteUserRequest) ProtoMessage() {} func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{7} + return fileDescriptor_7d727f99e64df8b6, []int{7} } + func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserRequest.Unmarshal(m, b) } func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) } -func (dst *DeleteUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserRequest.Merge(dst, src) +func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserRequest.Merge(m, src) } func (m *DeleteUserRequest) XXX_Size() int { return xxx_messageInfo_DeleteUserRequest.Size(m) @@ -476,16 +493,17 @@ func (m *DeleteUserMetadata) Reset() { *m = DeleteUserMetadata{} } func (m *DeleteUserMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteUserMetadata) ProtoMessage() {} func (*DeleteUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{8} + return fileDescriptor_7d727f99e64df8b6, []int{8} } + func (m *DeleteUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserMetadata.Unmarshal(m, b) } func (m *DeleteUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserMetadata.Merge(dst, src) +func (m *DeleteUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserMetadata.Merge(m, src) } func (m *DeleteUserMetadata) XXX_Size() int { return xxx_messageInfo_DeleteUserMetadata.Size(m) @@ -528,16 +546,17 @@ func (m *GrantUserPermissionRequest) Reset() { *m = GrantUserPermissionR func (m *GrantUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionRequest) ProtoMessage() {} func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{9} + return fileDescriptor_7d727f99e64df8b6, []int{9} } + func (m *GrantUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionRequest.Unmarshal(m, b) } func (m *GrantUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionRequest.Merge(dst, src) +func (m *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionRequest.Merge(m, src) } func (m *GrantUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionRequest.Size(m) @@ -583,16 +602,17 @@ func (m *GrantUserPermissionMetadata) Reset() { *m = GrantUserPermission func (m *GrantUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionMetadata) ProtoMessage() {} func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{10} + return fileDescriptor_7d727f99e64df8b6, []int{10} } + func (m *GrantUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionMetadata.Unmarshal(m, b) } func (m *GrantUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionMetadata.Merge(dst, src) +func (m *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionMetadata.Merge(m, src) } func (m *GrantUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionMetadata.Size(m) @@ -635,16 +655,17 @@ func (m *RevokeUserPermissionRequest) Reset() { *m = RevokeUserPermissio func (m *RevokeUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionRequest) ProtoMessage() {} func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{11} + return fileDescriptor_7d727f99e64df8b6, []int{11} } + func (m *RevokeUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionRequest.Unmarshal(m, b) } func (m *RevokeUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionRequest.Merge(dst, src) +func (m *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionRequest.Merge(m, src) } func (m *RevokeUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionRequest.Size(m) @@ -690,16 +711,17 @@ func (m *RevokeUserPermissionMetadata) Reset() { *m = RevokeUserPermissi func (m *RevokeUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionMetadata) ProtoMessage() {} func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_c4b5b8d2a1dd03ab, []int{12} + return fileDescriptor_7d727f99e64df8b6, []int{12} } + func (m *RevokeUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionMetadata.Unmarshal(m, b) } func (m *RevokeUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionMetadata.Merge(dst, src) +func (m *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionMetadata.Merge(m, src) } func (m *RevokeUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionMetadata.Size(m) @@ -740,6 +762,78 @@ func init() { proto.RegisterType((*RevokeUserPermissionMetadata)(nil), "yandex.cloud.mdb.clickhouse.v1.RevokeUserPermissionMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/user_service.proto", fileDescriptor_7d727f99e64df8b6) +} + +var fileDescriptor_7d727f99e64df8b6 = []byte{ + // 1011 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xd6, 0xe4, 0xc3, 0x8a, 0x5f, 0x37, 0x6d, 0x33, 0x12, 0x92, 0xb5, 0x69, 0x50, 0x58, 0x4a, + 0x09, 0x2e, 0xde, 0xf5, 0xba, 0x7c, 0x14, 0xa7, 0xe5, 0x23, 0x85, 0x86, 0x8f, 0xa6, 0x89, 0x36, + 0xed, 0x81, 0x54, 0xc8, 0x1a, 0x7b, 0xa7, 0xdb, 0x95, 0xed, 0xdd, 0x65, 0x67, 0xed, 0x36, 0x29, + 0x95, 0x50, 0x8f, 0x95, 0xb8, 0xc0, 0x4f, 0xe0, 0xc0, 0x89, 0x4b, 0xae, 0xfc, 0x00, 0xf7, 0x4a, + 0x10, 0xff, 0x80, 0x03, 0xe7, 0x72, 0x00, 0x71, 0x42, 0x33, 0xb3, 0xf1, 0xae, 0x63, 0x93, 0x75, + 0xe2, 0xa8, 0xbd, 0xed, 0x78, 0xde, 0x67, 0xde, 0xe7, 0x99, 0xf7, 0x6b, 0x0c, 0xc6, 0x36, 0x71, + 0x2d, 0xfa, 0x40, 0xaf, 0x37, 0xbd, 0xb6, 0xa5, 0xb7, 0xac, 0x9a, 0x5e, 0x6f, 0x3a, 0xf5, 0xc6, + 0x3d, 0xaf, 0xcd, 0xa8, 0xde, 0x31, 0xf4, 0x36, 0xa3, 0x41, 0x95, 0xd1, 0xa0, 0xe3, 0xd4, 0xa9, + 0xe6, 0x07, 0x5e, 0xe8, 0xe1, 0x97, 0x25, 0x44, 0x13, 0x10, 0xad, 0x65, 0xd5, 0xb4, 0x18, 0xa2, + 0x75, 0x0c, 0xe5, 0x9c, 0xed, 0x79, 0x76, 0x93, 0xea, 0xc4, 0x77, 0x74, 0xe2, 0xba, 0x5e, 0x48, + 0x42, 0xc7, 0x73, 0x99, 0x44, 0x2b, 0x8b, 0xd1, 0xae, 0x58, 0xd5, 0xda, 0x77, 0xf5, 0xbb, 0x0e, + 0x6d, 0x5a, 0xd5, 0x16, 0x61, 0x8d, 0xc8, 0xe2, 0x42, 0x1f, 0x25, 0xcf, 0xa7, 0x81, 0x38, 0x20, + 0xfe, 0x8a, 0xec, 0xde, 0x18, 0x81, 0x7a, 0x64, 0xaa, 0x44, 0xa6, 0x9c, 0xd2, 0xc1, 0x63, 0x16, + 0xfa, 0x8e, 0xe9, 0x90, 0xa6, 0x63, 0x25, 0xb6, 0xd5, 0x6d, 0x38, 0xbd, 0x4a, 0xc3, 0xdb, 0x8c, + 0x06, 0x26, 0xfd, 0xba, 0x4d, 0x59, 0x88, 0x2f, 0x02, 0xd4, 0x9b, 0x6d, 0x16, 0xd2, 0xa0, 0xea, + 0x58, 0x79, 0xb4, 0x88, 0x96, 0xb2, 0x2b, 0xa7, 0xfe, 0xec, 0x1a, 0xe8, 0xc9, 0x53, 0x63, 0xea, + 0xca, 0xd5, 0xb7, 0x4b, 0x66, 0x36, 0xda, 0xff, 0xcc, 0xc2, 0x15, 0xc8, 0x8a, 0x2b, 0x74, 0x49, + 0x8b, 0xe6, 0x27, 0x84, 0xed, 0x02, 0xb7, 0x7d, 0xd6, 0x35, 0x66, 0xef, 0x90, 0xe2, 0xce, 0x47, + 0xc5, 0xad, 0x52, 0xf1, 0xbd, 0xea, 0x57, 0x05, 0x09, 0x7e, 0xe7, 0x92, 0x39, 0xc3, 0xed, 0x6f, + 0x92, 0x16, 0x55, 0xbf, 0x47, 0x70, 0xf6, 0x86, 0xc3, 0x84, 0x73, 0x76, 0x2c, 0xef, 0xaf, 0x43, + 0xd6, 0x27, 0x36, 0xad, 0x32, 0x67, 0x47, 0x7a, 0x9f, 0x5c, 0x81, 0x7f, 0xbb, 0x46, 0xe6, 0xca, + 0x55, 0xa3, 0x54, 0x2a, 0x99, 0x33, 0x7c, 0x73, 0xd3, 0xd9, 0xa1, 0x78, 0x09, 0x40, 0x18, 0x86, + 0x5e, 0x83, 0xba, 0xf9, 0x49, 0x71, 0x6a, 0xf6, 0xc9, 0x53, 0x63, 0x5a, 0x58, 0x9a, 0xe2, 0x94, + 0x5b, 0x7c, 0x4f, 0xbd, 0x0f, 0x73, 0x09, 0x4e, 0xcc, 0xf7, 0x5c, 0x46, 0x71, 0x05, 0xa6, 0x39, + 0x6b, 0x96, 0x47, 0x8b, 0x93, 0x4b, 0xb9, 0xf2, 0x79, 0xed, 0xf0, 0x14, 0xd1, 0xc4, 0x75, 0x4a, + 0x08, 0xbe, 0x00, 0x67, 0x5c, 0xfa, 0x20, 0xac, 0x26, 0xfc, 0x8b, 0x7b, 0x32, 0x67, 0xf9, 0xcf, + 0x1b, 0x3d, 0xc7, 0xdf, 0x21, 0x98, 0xbb, 0x16, 0x50, 0x12, 0xd2, 0x63, 0x07, 0xe3, 0x8b, 0x28, + 0x18, 0xcc, 0xa7, 0x75, 0xe1, 0x24, 0x57, 0x5e, 0x1a, 0x85, 0xea, 0xa6, 0x4f, 0xeb, 0x2b, 0x53, + 0xfc, 0x54, 0x19, 0x1d, 0xbe, 0x56, 0x37, 0x00, 0xc7, 0x74, 0xd6, 0x68, 0x48, 0x2c, 0x12, 0x12, + 0xbc, 0x30, 0xc8, 0x27, 0xc9, 0x60, 0x7e, 0x20, 0x1d, 0x12, 0xf1, 0xfe, 0x67, 0x02, 0xe6, 0x6e, + 0xfb, 0xd6, 0x38, 0x0a, 0xc7, 0x48, 0x37, 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 0xe2, 0xd0, 0x9e, 0xff, 0xd2, 0xc1, 0xf9, 0xfd, 0x49, 0xcb, 0x0f, + 0xb7, 0x65, 0x25, 0x14, 0xc6, 0xad, 0x84, 0xbf, 0x10, 0x9c, 0x11, 0x1d, 0x34, 0xee, 0x0b, 0xb8, + 0x92, 0x5a, 0xbb, 0xff, 0x3b, 0x45, 0x46, 0x51, 0xfa, 0x2d, 0xda, 0xdd, 0x2b, 0xbc, 0x7a, 0x78, + 0xe3, 0x8e, 0xa3, 0xb7, 0xa9, 0xde, 0x1c, 0x33, 0x7a, 0x76, 0xbf, 0x3c, 0x1e, 0xcd, 0xbf, 0x11, + 0x9c, 0x95, 0x2d, 0x31, 0x21, 0x7b, 0x39, 0x4d, 0xf6, 0x21, 0xd3, 0x60, 0x14, 0xdd, 0x8f, 0xb9, + 0xee, 0xf3, 0x29, 0xbd, 0x38, 0x16, 0x7e, 0x4b, 0x5d, 0x1f, 0x53, 0x78, 0x70, 0x40, 0x61, 0x05, + 0x15, 0x56, 0xd6, 0xb7, 0xd6, 0x6c, 0x27, 0xbc, 0xd7, 0xae, 0x69, 0x75, 0xaf, 0xa5, 0x4b, 0xce, + 0x45, 0xf9, 0xc7, 0xc9, 0xf6, 0x8a, 0x36, 0x75, 0x45, 0x96, 0xe9, 0x87, 0xff, 0x31, 0x5b, 0x8e, + 0x57, 0xb5, 0x8c, 0x00, 0x5c, 0xfa, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x30, 0xe6, 0x94, 0x87, + 0x0e, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -861,6 +955,32 @@ type UserServiceServer interface { RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error) } +// UnimplementedUserServiceServer can be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { +} + +func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *GetUserRequest) (*User, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedUserServiceServer) List(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedUserServiceServer) GrantPermission(ctx context.Context, req *GrantUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method GrantPermission not implemented") +} +func (*UnimplementedUserServiceServer) RevokePermission(ctx context.Context, req *RevokeUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokePermission not implemented") +} + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) { s.RegisterService(&_UserService_serviceDesc, srv) } @@ -1027,73 +1147,3 @@ var _UserService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/clickhouse/v1/user_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/clickhouse/v1/user_service.proto", fileDescriptor_user_service_c4b5b8d2a1dd03ab) -} - -var fileDescriptor_user_service_c4b5b8d2a1dd03ab = []byte{ - // 990 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0xd6, 0x24, 0x8e, 0x15, 0xbf, 0x6e, 0xda, 0x66, 0x24, 0x24, 0x6b, 0xd3, 0xa0, 0xb0, 0x94, - 0x12,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 0x5e, 0xdb, 0x5c, 0x6d, - 0xda, 0xc1, 0x83, 0xb0, 0xae, 0x35, 0xdc, 0x8e, 0x2e, 0x39, 0x97, 0xe4, 0xe7, 0x4e, 0xd3, 0x2d, - 0x35, 0xa9, 0x23, 0xaa, 0x4c, 0x3f, 0xfc, 0x73, 0x6a, 0x29, 0x7e, 0xab, 0x67, 0x05, 0xe0, 0xca, - 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x14, 0x78, 0xfd, 0xcf, 0x3d, 0x0e, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup.pb.go index 50a261c09..63218b771 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/backup.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A MongoDB Backup resource. For more information, see the // [Developer's Guide](/docs/managed-mongodb/concepts). @@ -44,16 +46,17 @@ func (m *Backup) Reset() { *m = Backup{} } func (m *Backup) String() string { return proto.CompactTextString(m) } func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_8bb497f900b870bf, []int{0} + return fileDescriptor_461e9a87253eb299, []int{0} } + func (m *Backup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Backup.Unmarshal(m, b) } func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Backup.Marshal(b, m, deterministic) } -func (dst *Backup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Backup.Merge(dst, src) +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) } func (m *Backup) XXX_Size() int { return xxx_messageInfo_Backup.Size(m) @@ -111,10 +114,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/backup.proto", fileDescriptor_backup_8bb497f900b870bf) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/backup.proto", fileDescriptor_461e9a87253eb299) } -var fileDescriptor_backup_8bb497f900b870bf = []byte{ +var fileDescriptor_461e9a87253eb299 = []byte{ // 290 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbd, 0x4e, 0xf3, 0x30, 0x18, 0x85, 0xd5, 0xf4, 0xfb, 0x2a, 0x62, 0x24, 0x7e, 0x3c, 0x45, 0xed, 0x40, 0xc5, 0x14, 0x21, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup_service.pb.go index a893a8987..464b6798c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/backup_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/backup_service.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package mongodb import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetBackupRequest struct { // ID of the backup to return information about. @@ -38,16 +39,17 @@ func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } func (*GetBackupRequest) ProtoMessage() {} func (*GetBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_8136fe766e84b00c, []int{0} + return fileDescriptor_11029ddc87f407e2, []int{0} } + func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) } func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) } -func (dst *GetBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBackupRequest.Merge(dst, src) +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) } func (m *GetBackupRequest) XXX_Size() int { return xxx_messageInfo_GetBackupRequest.Size(m) @@ -82,16 +84,17 @@ func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListBackupsRequest) ProtoMessage() {} func (*ListBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_8136fe766e84b00c, []int{1} + return fileDescriptor_11029ddc87f407e2, []int{1} } + func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) } func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsRequest.Merge(dst, src) +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) } func (m *ListBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListBackupsRequest.Size(m) @@ -140,16 +143,17 @@ func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListBackupsResponse) ProtoMessage() {} func (*ListBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_8136fe766e84b00c, []int{2} + return fileDescriptor_11029ddc87f407e2, []int{2} } + func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) } func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsResponse.Merge(dst, src) +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) } func (m *ListBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListBackupsResponse.Size(m) @@ -180,6 +184,43 @@ func init() { proto.RegisterType((*ListBackupsResponse)(nil), "yandex.cloud.mdb.mongodb.v1.ListBackupsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/backup_service.proto", fileDescriptor_11029ddc87f407e2) +} + +var fileDescriptor_11029ddc87f407e2 = []byte{ + // 459 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x31, 0x6f, 0xd3, 0x40, + 0x14, 0xc7, 0xe5, 0x24, 0x94, 0xf8, 0xa0, 0x02, 0x1d, 0x4b, 0x94, 0x52, 0x29, 0xb8, 0x12, 0x75, + 0x87, 0xf8, 0xec, 0xa2, 0x4e, 0x34, 0x4b, 0x96, 0x28, 0x12, 0x03, 0x72, 0x99, 0x58, 0xa2, 0x73, + 0xee, 0x71, 0x9c, 0x1a, 0xdf, 0x99, 0xdc, 0xc5, 0x2a, 0x05, 0x16, 0xc6, 0x0c, 0x0c, 0xf0, 0x39, + 0xf8, 0x1c, 0xed, 0xce, 0x57, 0x60, 0xe0, 0x33, 0x30, 0x21, 0xdf, 0x39, 0x40, 0xa9, 0x64, 0xba, + 0x9d, 0xee, 0xff, 0x7e, 0xef, 0xfd, 0xf5, 0x7f, 0x0f, 0xc5, 0x6f, 0xa9, 0x64, 0x70, 0x46, 0xe6, + 0x0b, 0xb5, 0x62, 0x24, 0x67, 0x19, 0xc9, 0x95, 0xe4, 0x8a, 0x65, 0xa4, 0x4c, 0x48, 0x46, 0xe7, + 0xa7, 0xab, 0x62, 0xa6, 0x61, 0x59, 0x8a, 0x39, 0x44, 0xc5, 0x52, 0x19, 0x85, 0x77, 0x1c, 0x11, + 0x59, 0x22, 0xca, 0x59, 0x16, 0xd5, 0x44, 0x54, 0x26, 0xfd, 0x87, 0x5c, 0x29, 0xbe, 0x00, 0x42, + 0x0b, 0x41, 0xa8, 0x94, 0xca, 0x50, 0x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a, 0xe9, 0x76, 0xf5, 0xfd, + 0x7c, 0x33, 0xfd, 0xf0, 0x6b, 0x0b, 0x6d, 0x3b, 0xf6, 0xc4, 0x6d, 0x19, 0xaf, 0x3d, 0xd4, 0x9e, + 0x80, 0xc1, 0xc3, 0xc6, 0x79, 0xff, 0xc6, 0xdf, 0xbf, 0x89, 0xbd, 0x80, 0x7c, 0xfc, 0xf6, 0xfd, + 0x4b, 0xeb, 0x00, 0xef, 0x93, 0x9c, 0x4a, 0xca, 0x81, 0x0d, 0xaf, 0x6d, 0x58, 0x93, 0x77, 0xbf, + 0xd7, 0xf8, 0x01, 0x7f, 0xf2, 0x50, 0xa7, 0x4a, 0x07, 0x93, 0xc6, 0xf6, 0xd7, 0x97, 0xda, 0x8f, + 0x6f, 0x0e, 0xb8, 0xc4, 0x83, 0x3d, 0x6b, 0x6e, 0x17, 0xef, 0x34, 0x98, 0x1b, 0x4f, 0x5f, 0x4e, + 0xb8, 0x30, 0xaf, 0x57, 0x59, 0x34, 0x57, 0x39, 0x71, 0x23, 0x86, 0xee, 0x60, 0xb9, 0x1a, 0x72, + 0x90, 0xf6, 0x40, 0x49, 0xc3, 0x25, 0x3f, 0xad, 0x9f, 0xd9, 0x96, 0x2d, 0x7d, 0xf2, 0x2b, 0x00, + 0x00, 0xff, 0xff, 0x1f, 0x32, 0xcb, 0x4a, 0x83, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -192,11 +233,11 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type BackupServiceClient interface { - // Returns the specified MongoDB Backup resource. + // Returns the specified MongoDB backup. // - // To get the list of available MongoDB Backup resources, make a [List] request. + // To get the list of available MongoDB backups, make a [List] request. Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) - // Retrieves the list of Backup resources available for the specified folder. + // Retrieves the list of backups available for the specified folder. List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) } @@ -228,14 +269,25 @@ func (c *backupServiceClient) List(ctx context.Context, in *ListBackupsRequest, // BackupServiceServer is the server API for BackupService service. type BackupServiceServer interface { - // Returns the specified MongoDB Backup resource. + // Returns the specified MongoDB backup. // - // To get the list of available MongoDB Backup resources, make a [List] request. + // To get the list of available MongoDB backups, make a [List] request. Get(context.Context, *GetBackupRequest) (*Backup, error) - // Retrieves the list of Backup resources available for the specified folder. + // Retrieves the list of backups available for the specified folder. List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) } +// UnimplementedBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBackupServiceServer struct { +} + +func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer) { s.RegisterService(&_BackupService_serviceDesc, srv) } @@ -292,40 +344,3 @@ var _BackupService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/mongodb/v1/backup_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/backup_service.proto", fileDescriptor_backup_service_8136fe766e84b00c) -} - -var fileDescriptor_backup_service_8136fe766e84b00c = []byte{ - // 459 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xe5, 0x24, 0x94, 0xf8, 0xa0, 0x02, 0x1d, 0x4b, 0x94, 0x52, 0x29, 0xb8, 0x12, 0x75, - 0x87, 0xf8, 0xec, 0xa2, 0x4e, 0x34, 0x4b, 0x96, 0x28, 0x12, 0x03, 0x72, 0x99, 0x58, 0xa2, 0x73, - 0xee, 0x71, 0x9c, 0x1a, 0xdf, 0x99, 0xdc, 0xc5, 0x2a, 0x05, 0x16, 0xc6, 0x0c, 0x0c, 0xf0, 0x39, - 0xf8, 0x1c, 0xed, 0xce, 0x57, 0x60, 0xe0, 0x33, 0x30, 0x21, 0xdf, 0x39, 0x40, 0xa9, 0x64, 0xba, - 0x9d, 0xee, 0xff, 0x7e, 0xef, 0xfd, 0xf5, 0x7f, 0x0f, 0xc5, 0x6f, 0xa9, 0x64, 0x70, 0x46, 0xe6, - 0x0b, 0xb5, 0x62, 0x24, 0x67, 0x19, 0xc9, 0x95, 0xe4, 0x8a, 0x65, 0xa4, 0x4c, 0x48, 0x46, 0xe7, - 0xa7, 0xab, 0x62, 0xa6, 0x61, 0x59, 0x8a, 0x39, 0x44, 0xc5, 0x52, 0x19, 0x85, 0x77, 0x1c, 0x11, - 0x59, 0x22, 0xca, 0x59, 0x16, 0xd5, 0x44, 0x54, 0x26, 0xfd, 0x87, 0x5c, 0x29, 0xbe, 0x00, 0x42, - 0x0b, 0x41, 0xa8, 0x94, 0xca, 0x50, 0x23, 0x94, 0xd4, 0x0e, 0xed, 0xef, 0x5e, 0x19, 0x56, 0xd2, - 0x85, 0x60, 0x56, 0xaf, 0xe5, 0xf0, 0xff, 0x5e, 0x5c, 0x65, 0x70, 0x84, 0xee, 0x4f, 0xc0, 0x8c, - 0xed, 0x57, 0x0a, 0x6f, 0x56, 0xa0, 0x0d, 0x7e, 0x84, 0xfc, 0xda, 0xaf, 0x60, 0x3d, 0x6f, 0xe0, - 0x85, 0xfe, 0xb8, 0xf3, 0xe3, 0x22, 0xf1, 0xd2, 0xae, 0xfb, 0x9e, 0xb2, 0xe0, 0xb3, 0x87, 0xf0, - 0x33, 0xa1, 0x6b, 0x50, 0x6f, 0xc8, 0x03, 0xe4, 0xbf, 0x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97, 0xda, 0x8f, - 0x6f, 0x0e, 0xb8, 0xc4, 0x83, 0x3d, 0x6b, 0x6e, 0x17, 0xef, 0x34, 0x98, 0x1b, 0x4f, 0x5f, 0x4e, - 0xb8, 0x30, 0xaf, 0x57, 0x59, 0x34, 0x57, 0x39, 0x71, 0x23, 0x86, 0xee, 0x60, 0xb9, 0x1a, 0x72, - 0x90, 0xf6, 0x40, 0x49, 0xc3, 0x25, 0x3f, 0xad, 0x9f, 0xd9, 0x96, 0x2d, 0x7d, 0xf2, 0x2b, 0x00, - 0x00, 0xff, 0xff, 0x1f, 0x32, 0xcb, 0x4a, 0x83, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster.pb.go index 7b7aa3966..75a406116 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster.pb.go @@ -1,14 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/cluster.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -19,15 +21,15 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Deployment environment. type Cluster_Environment int32 const ( Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0 - // Stable environment with a conservative update policy: - // only hotfixes are applied during regular maintenance. + // Stable environment with a conservative update policy: only hotfixes + // are applied during regular maintenance. Cluster_PRODUCTION Cluster_Environment = 1 // Environment with more aggressive update policy: new versions // are rolled out irrespective of backward compatibility. @@ -39,6 +41,7 @@ var Cluster_Environment_name = map[int32]string{ 1: "PRODUCTION", 2: "PRESTABLE", } + var Cluster_Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "PRODUCTION": 1, @@ -48,8 +51,9 @@ var Cluster_Environment_value = map[string]int32{ func (x Cluster_Environment) String() string { return proto.EnumName(Cluster_Environment_name, int32(x)) } + func (Cluster_Environment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{0, 0} + return fileDescriptor_ccaf7a2567168975, []int{0, 0} } type Cluster_Health int32 @@ -71,6 +75,7 @@ var Cluster_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Cluster_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -81,8 +86,9 @@ var Cluster_Health_value = map[string]int32{ func (x Cluster_Health) String() string { return proto.EnumName(Cluster_Health_name, int32(x)) } + func (Cluster_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{0, 1} + return fileDescriptor_ccaf7a2567168975, []int{0, 1} } type Cluster_Status int32 @@ -116,6 +122,7 @@ var Cluster_Status_name = map[int32]string{ 6: "STOPPED", 7: "STARTING", } + var Cluster_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "CREATING": 1, @@ -130,17 +137,21 @@ var Cluster_Status_value = map[string]int32{ func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } + func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{0, 2} + return fileDescriptor_ccaf7a2567168975, []int{0, 2} } type Host_Type int32 const ( Host_TYPE_UNSPECIFIED Host_Type = 0 - Host_MONGOD Host_Type = 1 - Host_MONGOS Host_Type = 2 - Host_MONGOCFG Host_Type = 3 + // A mongod host. + Host_MONGOD Host_Type = 1 + // A mongos host. + Host_MONGOS Host_Type = 2 + // A mongocfg host. + Host_MONGOCFG Host_Type = 3 ) var Host_Type_name = map[int32]string{ @@ -149,6 +160,7 @@ var Host_Type_name = map[int32]string{ 2: "MONGOS", 3: "MONGOCFG", } + var Host_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MONGOD": 1, @@ -159,8 +171,9 @@ var Host_Type_value = map[string]int32{ func (x Host_Type) String() string { return proto.EnumName(Host_Type_name, int32(x)) } + func (Host_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{5, 0} + return fileDescriptor_ccaf7a2567168975, []int{6, 0} } type Host_Role int32 @@ -179,6 +192,7 @@ var Host_Role_name = map[int32]string{ 1: "PRIMARY", 2: "SECONDARY", } + var Host_Role_value = map[string]int32{ "ROLE_UNKNOWN": 0, "PRIMARY": 1, @@ -188,8 +202,9 @@ var Host_Role_value = map[string]int32{ func (x Host_Role) String() string { return proto.EnumName(Host_Role_name, int32(x)) } + func (Host_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{5, 1} + return fileDescriptor_ccaf7a2567168975, []int{6, 1} } type Host_Health int32 @@ -211,6 +226,7 @@ var Host_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Host_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -221,8 +237,9 @@ var Host_Health_value = map[string]int32{ func (x Host_Health) String() string { return proto.EnumName(Host_Health_name, int32(x)) } + func (Host_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{5, 2} + return fileDescriptor_ccaf7a2567168975, []int{6, 2} } type Service_Type int32 @@ -243,6 +260,7 @@ var Service_Type_name = map[int32]string{ 2: "MONGOS", 3: "MONGOCFG", } + var Service_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MONGOD": 1, @@ -253,8 +271,9 @@ var Service_Type_value = map[string]int32{ func (x Service_Type) String() string { return proto.EnumName(Service_Type_name, int32(x)) } + func (Service_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{6, 0} + return fileDescriptor_ccaf7a2567168975, []int{7, 0} } type Service_Health int32 @@ -273,6 +292,7 @@ var Service_Health_name = map[int32]string{ 1: "ALIVE", 2: "DEAD", } + var Service_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -282,12 +302,12 @@ var Service_Health_value = map[string]int32{ func (x Service_Health) String() string { return proto.EnumName(Service_Health_name, int32(x)) } + func (Service_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{6, 1} + return fileDescriptor_ccaf7a2567168975, []int{7, 1} } -// A MongoDB Cluster resource. For more information, see the -// [Cluster](/docs/managed-mongodb/concepts) section in the Developer's Guide. +// A managed MongoDB cluster. For more information, see the [documentation](/docs/managed-mongodb/concepts). type Cluster struct { // ID of the MongoDB cluster. // This ID is assigned by MDB at creation time. @@ -326,16 +346,17 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{0} + return fileDescriptor_ccaf7a2567168975, []int{0} } + func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) } func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) } -func (dst *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(dst, src) +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) } func (m *Cluster) XXX_Size() int { return xxx_messageInfo_Cluster.Size(m) @@ -454,16 +475,17 @@ func (m *Monitoring) Reset() { *m = Monitoring{} } func (m *Monitoring) String() string { return proto.CompactTextString(m) } func (*Monitoring) ProtoMessage() {} func (*Monitoring) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{1} + return fileDescriptor_ccaf7a2567168975, []int{1} } + func (m *Monitoring) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring.Unmarshal(m, b) } func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) } -func (dst *Monitoring) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring.Merge(dst, src) +func (m *Monitoring) XXX_Merge(src proto.Message) { + xxx_messageInfo_Monitoring.Merge(m, src) } func (m *Monitoring) XXX_Size() int { return xxx_messageInfo_Monitoring.Size(m) @@ -498,32 +520,42 @@ func (m *Monitoring) GetLink() string { type ClusterConfig struct { // Version of MongoDB server software. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // MongoDB feature compatibility version. See usage details in [MongoDB documentation](https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/). + // + // Possible values: + // * 3.6 — persist data compatibility for version 3.6. After setting this option the data will not be compatible with 3.4 or lower. + // * 4.0 — persist data compatibility for version 4.0. After setting this option the data will not be compatible with 3.6 or lower. + FeatureCompatibilityVersion string `protobuf:"bytes,5,opt,name=feature_compatibility_version,json=featureCompatibilityVersion,proto3" json:"feature_compatibility_version,omitempty"` // Configuration for MongoDB servers in the cluster. // // Types that are valid to be assigned to Mongodb: // *ClusterConfig_Mongodb_3_6 + // *ClusterConfig_Mongodb_4_0 Mongodb isClusterConfig_Mongodb `protobuf_oneof:"mongodb"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{2} + return fileDescriptor_ccaf7a2567168975, []int{2} } + func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) } func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) } -func (dst *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(dst, src) +func (m *ClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig.Merge(m, src) } func (m *ClusterConfig) XXX_Size() int { return xxx_messageInfo_ClusterConfig.Size(m) @@ -541,6 +573,13 @@ func (m *ClusterConfig) GetVersion() string { return "" } +func (m *ClusterConfig) GetFeatureCompatibilityVersion() string { + if m != nil { + return m.FeatureCompatibilityVersion + } + return "" +} + type isClusterConfig_Mongodb interface { isClusterConfig_Mongodb() } @@ -549,8 +588,14 @@ type ClusterConfig_Mongodb_3_6 struct { Mongodb_3_6 *Mongodb3_6 `protobuf:"bytes,2,opt,name=mongodb_3_6,json=mongodb36,proto3,oneof"` } +type ClusterConfig_Mongodb_4_0 struct { + Mongodb_4_0 *Mongodb4_0 `protobuf:"bytes,4,opt,name=mongodb_4_0,json=mongodb40,proto3,oneof"` +} + func (*ClusterConfig_Mongodb_3_6) isClusterConfig_Mongodb() {} +func (*ClusterConfig_Mongodb_4_0) isClusterConfig_Mongodb() {} + func (m *ClusterConfig) GetMongodb() isClusterConfig_Mongodb { if m != nil { return m.Mongodb @@ -565,6 +610,13 @@ func (m *ClusterConfig) GetMongodb_3_6() *Mongodb3_6 { return nil } +func (m *ClusterConfig) GetMongodb_4_0() *Mongodb4_0 { + if x, ok := m.GetMongodb().(*ClusterConfig_Mongodb_4_0); ok { + return x.Mongodb_4_0 + } + return nil +} + func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { if m != nil { return m.BackupWindowStart @@ -572,85 +624,48 @@ func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ClusterConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ClusterConfig_OneofMarshaler, _ClusterConfig_OneofUnmarshaler, _ClusterConfig_OneofSizer, []interface{}{ - (*ClusterConfig_Mongodb_3_6)(nil), - } -} - -func _ClusterConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ClusterConfig) - // mongodb - switch x := m.Mongodb.(type) { - case *ClusterConfig_Mongodb_3_6: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Mongodb_3_6); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ClusterConfig.Mongodb has unexpected type %T", x) +func (m *ClusterConfig) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ClusterConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ClusterConfig) - switch tag { - case 2: // mongodb.mongodb_3_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(Mongodb3_6) - err := b.DecodeMessage(msg) - m.Mongodb = &ClusterConfig_Mongodb_3_6{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ClusterConfig) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ClusterConfig_Mongodb_3_6)(nil), + (*ClusterConfig_Mongodb_4_0)(nil), } } -func _ClusterConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ClusterConfig) - // mongodb - switch x := m.Mongodb.(type) { - case *ClusterConfig_Mongodb_3_6: - s := proto.Size(x.Mongodb_3_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type Mongodb3_6 struct { - // Configuration and resource allocation for a MongoDB 3.6 cluster. - Mongod *Mongodb3_6_Mongod `protobuf:"bytes,1,opt,name=mongod,proto3" json:"mongod,omitempty"` - Mongocfg *Mongodb3_6_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` - Mongos *Mongodb3_6_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Configuration and resource allocation for mongod in a MongoDB 3.6 cluster. + Mongod *Mongodb3_6_Mongod `protobuf:"bytes,1,opt,name=mongod,proto3" json:"mongod,omitempty"` + // Configuration and resource allocation for mongocfg in a MongoDB 3.6 cluster. + Mongocfg *Mongodb3_6_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` + // Configuration and resource allocation for mongos in a MongoDB 3.6 cluster. + Mongos *Mongodb3_6_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Mongodb3_6) Reset() { *m = Mongodb3_6{} } func (m *Mongodb3_6) String() string { return proto.CompactTextString(m) } func (*Mongodb3_6) ProtoMessage() {} func (*Mongodb3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{3} + return fileDescriptor_ccaf7a2567168975, []int{3} } + func (m *Mongodb3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mongodb3_6.Unmarshal(m, b) } func (m *Mongodb3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Mongodb3_6.Marshal(b, m, deterministic) } -func (dst *Mongodb3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mongodb3_6.Merge(dst, src) +func (m *Mongodb3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb3_6.Merge(m, src) } func (m *Mongodb3_6) XXX_Size() int { return xxx_messageInfo_Mongodb3_6.Size(m) @@ -683,7 +698,7 @@ func (m *Mongodb3_6) GetMongos() *Mongodb3_6_Mongos { } type Mongodb3_6_Mongod struct { - // Configuration of a MongoDB 3.6 server. + // Configuration for a mongod 3.6 hosts. Config *config.MongodConfigSet3_6 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Resources allocated to MongoDB hosts. Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` @@ -696,16 +711,17 @@ func (m *Mongodb3_6_Mongod) Reset() { *m = Mongodb3_6_Mongod{} } func (m *Mongodb3_6_Mongod) String() string { return proto.CompactTextString(m) } func (*Mongodb3_6_Mongod) ProtoMessage() {} func (*Mongodb3_6_Mongod) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{3, 0} + return fileDescriptor_ccaf7a2567168975, []int{3, 0} } + func (m *Mongodb3_6_Mongod) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mongodb3_6_Mongod.Unmarshal(m, b) } func (m *Mongodb3_6_Mongod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Mongodb3_6_Mongod.Marshal(b, m, deterministic) } -func (dst *Mongodb3_6_Mongod) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mongodb3_6_Mongod.Merge(dst, src) +func (m *Mongodb3_6_Mongod) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb3_6_Mongod.Merge(m, src) } func (m *Mongodb3_6_Mongod) XXX_Size() int { return xxx_messageInfo_Mongodb3_6_Mongod.Size(m) @@ -743,16 +759,17 @@ func (m *Mongodb3_6_MongoCfg) Reset() { *m = Mongodb3_6_MongoCfg{} } func (m *Mongodb3_6_MongoCfg) String() string { return proto.CompactTextString(m) } func (*Mongodb3_6_MongoCfg) ProtoMessage() {} func (*Mongodb3_6_MongoCfg) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{3, 1} + return fileDescriptor_ccaf7a2567168975, []int{3, 1} } + func (m *Mongodb3_6_MongoCfg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mongodb3_6_MongoCfg.Unmarshal(m, b) } func (m *Mongodb3_6_MongoCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Mongodb3_6_MongoCfg.Marshal(b, m, deterministic) } -func (dst *Mongodb3_6_MongoCfg) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mongodb3_6_MongoCfg.Merge(dst, src) +func (m *Mongodb3_6_MongoCfg) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb3_6_MongoCfg.Merge(m, src) } func (m *Mongodb3_6_MongoCfg) XXX_Size() int { return xxx_messageInfo_Mongodb3_6_MongoCfg.Size(m) @@ -790,16 +807,17 @@ func (m *Mongodb3_6_Mongos) Reset() { *m = Mongodb3_6_Mongos{} } func (m *Mongodb3_6_Mongos) String() string { return proto.CompactTextString(m) } func (*Mongodb3_6_Mongos) ProtoMessage() {} func (*Mongodb3_6_Mongos) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{3, 2} + return fileDescriptor_ccaf7a2567168975, []int{3, 2} } + func (m *Mongodb3_6_Mongos) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mongodb3_6_Mongos.Unmarshal(m, b) } func (m *Mongodb3_6_Mongos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Mongodb3_6_Mongos.Marshal(b, m, deterministic) } -func (dst *Mongodb3_6_Mongos) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mongodb3_6_Mongos.Merge(dst, src) +func (m *Mongodb3_6_Mongos) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb3_6_Mongos.Merge(m, src) } func (m *Mongodb3_6_Mongos) XXX_Size() int { return xxx_messageInfo_Mongodb3_6_Mongos.Size(m) @@ -824,8 +842,215 @@ func (m *Mongodb3_6_Mongos) GetResources() *Resources { return nil } +type Mongodb4_0 struct { + // Configuration and resource allocation for mongod in a MongoDB 4.0 cluster. + Mongod *Mongodb4_0_Mongod `protobuf:"bytes,1,opt,name=mongod,proto3" json:"mongod,omitempty"` + // Configuration and resource allocation for mongocfg in a MongoDB 4.0 cluster. + Mongocfg *Mongodb4_0_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` + // Configuration and resource allocation for mongos in a MongoDB 4.0 cluster. + Mongos *Mongodb4_0_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Mongodb4_0) Reset() { *m = Mongodb4_0{} } +func (m *Mongodb4_0) String() string { return proto.CompactTextString(m) } +func (*Mongodb4_0) ProtoMessage() {} +func (*Mongodb4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_ccaf7a2567168975, []int{4} +} + +func (m *Mongodb4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Mongodb4_0.Unmarshal(m, b) +} +func (m *Mongodb4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Mongodb4_0.Marshal(b, m, deterministic) +} +func (m *Mongodb4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb4_0.Merge(m, src) +} +func (m *Mongodb4_0) XXX_Size() int { + return xxx_messageInfo_Mongodb4_0.Size(m) +} +func (m *Mongodb4_0) XXX_DiscardUnknown() { + xxx_messageInfo_Mongodb4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_Mongodb4_0 proto.InternalMessageInfo + +func (m *Mongodb4_0) GetMongod() *Mongodb4_0_Mongod { + if m != nil { + return m.Mongod + } + return nil +} + +func (m *Mongodb4_0) GetMongocfg() *Mongodb4_0_MongoCfg { + if m != nil { + return m.Mongocfg + } + return nil +} + +func (m *Mongodb4_0) GetMongos() *Mongodb4_0_Mongos { + if m != nil { + return m.Mongos + } + return nil +} + +type Mongodb4_0_Mongod struct { + // Configuration for mongod 4.0 hosts. + Config *config.MongodConfigSet4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to mongod hosts. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Mongodb4_0_Mongod) Reset() { *m = Mongodb4_0_Mongod{} } +func (m *Mongodb4_0_Mongod) String() string { return proto.CompactTextString(m) } +func (*Mongodb4_0_Mongod) ProtoMessage() {} +func (*Mongodb4_0_Mongod) Descriptor() ([]byte, []int) { + return fileDescriptor_ccaf7a2567168975, []int{4, 0} +} + +func (m *Mongodb4_0_Mongod) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Mongodb4_0_Mongod.Unmarshal(m, b) +} +func (m *Mongodb4_0_Mongod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Mongodb4_0_Mongod.Marshal(b, m, deterministic) +} +func (m *Mongodb4_0_Mongod) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb4_0_Mongod.Merge(m, src) +} +func (m *Mongodb4_0_Mongod) XXX_Size() int { + return xxx_messageInfo_Mongodb4_0_Mongod.Size(m) +} +func (m *Mongodb4_0_Mongod) XXX_DiscardUnknown() { + xxx_messageInfo_Mongodb4_0_Mongod.DiscardUnknown(m) +} + +var xxx_messageInfo_Mongodb4_0_Mongod proto.InternalMessageInfo + +func (m *Mongodb4_0_Mongod) GetConfig() *config.MongodConfigSet4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *Mongodb4_0_Mongod) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +type Mongodb4_0_MongoCfg struct { + // Configuration for mongocfg 4.0 hosts. + Config *config.MongoCfgConfigSet4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to mongocfg hosts. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Mongodb4_0_MongoCfg) Reset() { *m = Mongodb4_0_MongoCfg{} } +func (m *Mongodb4_0_MongoCfg) String() string { return proto.CompactTextString(m) } +func (*Mongodb4_0_MongoCfg) ProtoMessage() {} +func (*Mongodb4_0_MongoCfg) Descriptor() ([]byte, []int) { + return fileDescriptor_ccaf7a2567168975, []int{4, 1} +} + +func (m *Mongodb4_0_MongoCfg) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Mongodb4_0_MongoCfg.Unmarshal(m, b) +} +func (m *Mongodb4_0_MongoCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Mongodb4_0_MongoCfg.Marshal(b, m, deterministic) +} +func (m *Mongodb4_0_MongoCfg) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb4_0_MongoCfg.Merge(m, src) +} +func (m *Mongodb4_0_MongoCfg) XXX_Size() int { + return xxx_messageInfo_Mongodb4_0_MongoCfg.Size(m) +} +func (m *Mongodb4_0_MongoCfg) XXX_DiscardUnknown() { + xxx_messageInfo_Mongodb4_0_MongoCfg.DiscardUnknown(m) +} + +var xxx_messageInfo_Mongodb4_0_MongoCfg proto.InternalMessageInfo + +func (m *Mongodb4_0_MongoCfg) GetConfig() *config.MongoCfgConfigSet4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *Mongodb4_0_MongoCfg) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +type Mongodb4_0_Mongos struct { + // Configuration for mongos 4.0 hosts. + Config *config.MongosConfigSet4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to mongos hosts. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Mongodb4_0_Mongos) Reset() { *m = Mongodb4_0_Mongos{} } +func (m *Mongodb4_0_Mongos) String() string { return proto.CompactTextString(m) } +func (*Mongodb4_0_Mongos) ProtoMessage() {} +func (*Mongodb4_0_Mongos) Descriptor() ([]byte, []int) { + return fileDescriptor_ccaf7a2567168975, []int{4, 2} +} + +func (m *Mongodb4_0_Mongos) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Mongodb4_0_Mongos.Unmarshal(m, b) +} +func (m *Mongodb4_0_Mongos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Mongodb4_0_Mongos.Marshal(b, m, deterministic) +} +func (m *Mongodb4_0_Mongos) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mongodb4_0_Mongos.Merge(m, src) +} +func (m *Mongodb4_0_Mongos) XXX_Size() int { + return xxx_messageInfo_Mongodb4_0_Mongos.Size(m) +} +func (m *Mongodb4_0_Mongos) XXX_DiscardUnknown() { + xxx_messageInfo_Mongodb4_0_Mongos.DiscardUnknown(m) +} + +var xxx_messageInfo_Mongodb4_0_Mongos proto.InternalMessageInfo + +func (m *Mongodb4_0_Mongos) GetConfig() *config.MongosConfigSet4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *Mongodb4_0_Mongos) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + type Shard struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Name of the shard. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the cluster that the shard belongs to. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -836,16 +1061,17 @@ func (m *Shard) Reset() { *m = Shard{} } func (m *Shard) String() string { return proto.CompactTextString(m) } func (*Shard) ProtoMessage() {} func (*Shard) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{4} + return fileDescriptor_ccaf7a2567168975, []int{5} } + func (m *Shard) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Shard.Unmarshal(m, b) } func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Shard.Marshal(b, m, deterministic) } -func (dst *Shard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Shard.Merge(dst, src) +func (m *Shard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Shard.Merge(m, src) } func (m *Shard) XXX_Size() int { return xxx_messageInfo_Shard.Size(m) @@ -905,16 +1131,17 @@ func (m *Host) Reset() { *m = Host{} } func (m *Host) String() string { return proto.CompactTextString(m) } func (*Host) ProtoMessage() {} func (*Host) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{5} + return fileDescriptor_ccaf7a2567168975, []int{6} } + func (m *Host) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Host.Unmarshal(m, b) } func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Host.Marshal(b, m, deterministic) } -func (dst *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(dst, src) +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) } func (m *Host) XXX_Size() int { return xxx_messageInfo_Host.Size(m) @@ -1016,16 +1243,17 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{6} + return fileDescriptor_ccaf7a2567168975, []int{7} } + func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) } func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Service.Marshal(b, m, deterministic) } -func (dst *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(dst, src) +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) } func (m *Service) XXX_Size() int { return xxx_messageInfo_Service.Size(m) @@ -1071,16 +1299,17 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_68852b663fb163d9, []int{7} + return fileDescriptor_ccaf7a2567168975, []int{8} } + func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) } func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Resources.Marshal(b, m, deterministic) } -func (dst *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(dst, src) +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) } func (m *Resources) XXX_Size() int { return xxx_messageInfo_Resources.Size(m) @@ -1112,19 +1341,47 @@ func (m *Resources) GetDiskTypeId() string { return "" } +type Access struct { + // Allow access for DataLens + DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Access) Reset() { *m = Access{} } +func (m *Access) String() string { return proto.CompactTextString(m) } +func (*Access) ProtoMessage() {} +func (*Access) Descriptor() ([]byte, []int) { + return fileDescriptor_ccaf7a2567168975, []int{9} +} + +func (m *Access) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Access.Unmarshal(m, b) +} +func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Access.Marshal(b, m, deterministic) +} +func (m *Access) XXX_Merge(src proto.Message) { + xxx_messageInfo_Access.Merge(m, src) +} +func (m *Access) XXX_Size() int { + return xxx_messageInfo_Access.Size(m) +} +func (m *Access) XXX_DiscardUnknown() { + xxx_messageInfo_Access.DiscardUnknown(m) +} + +var xxx_messageInfo_Access proto.InternalMessageInfo + +func (m *Access) GetDataLens() bool { + if m != nil { + return m.DataLens + } + return false +} + func init() { - proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.mongodb.v1.Cluster") - proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mongodb.v1.Cluster.LabelsEntry") - proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.mongodb.v1.Monitoring") - proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.mongodb.v1.ClusterConfig") - proto.RegisterType((*Mongodb3_6)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6") - proto.RegisterType((*Mongodb3_6_Mongod)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.Mongod") - proto.RegisterType((*Mongodb3_6_MongoCfg)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.MongoCfg") - proto.RegisterType((*Mongodb3_6_Mongos)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.Mongos") - proto.RegisterType((*Shard)(nil), "yandex.cloud.mdb.mongodb.v1.Shard") - proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.mongodb.v1.Host") - proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.mongodb.v1.Service") - proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.mongodb.v1.Resources") proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) @@ -1133,92 +1390,117 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Host_Health", Host_Health_name, Host_Health_value) proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Service_Type", Service_Type_name, Service_Type_value) proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.Service_Health", Service_Health_name, Service_Health_value) + proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.mongodb.v1.Cluster") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mongodb.v1.Cluster.LabelsEntry") + proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.mongodb.v1.Monitoring") + proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.mongodb.v1.ClusterConfig") + proto.RegisterType((*Mongodb3_6)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6") + proto.RegisterType((*Mongodb3_6_Mongod)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.Mongod") + proto.RegisterType((*Mongodb3_6_MongoCfg)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.MongoCfg") + proto.RegisterType((*Mongodb3_6_Mongos)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb3_6.Mongos") + proto.RegisterType((*Mongodb4_0)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb4_0") + proto.RegisterType((*Mongodb4_0_Mongod)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb4_0.Mongod") + proto.RegisterType((*Mongodb4_0_MongoCfg)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb4_0.MongoCfg") + proto.RegisterType((*Mongodb4_0_Mongos)(nil), "yandex.cloud.mdb.mongodb.v1.Mongodb4_0.Mongos") + proto.RegisterType((*Shard)(nil), "yandex.cloud.mdb.mongodb.v1.Shard") + proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.mongodb.v1.Host") + proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.mongodb.v1.Service") + proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.mongodb.v1.Resources") + proto.RegisterType((*Access)(nil), "yandex.cloud.mdb.mongodb.v1.Access") } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/cluster.proto", fileDescriptor_cluster_68852b663fb163d9) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/cluster.proto", fileDescriptor_ccaf7a2567168975) } -var fileDescriptor_cluster_68852b663fb163d9 = []byte{ - // 1265 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x0e, 0xf5, 0x43, 0x89, 0x23, 0xc7, 0x60, 0xb7, 0x41, 0x43, 0xd8, 0x08, 0x6a,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50, 0x91, 0x21, 0x47, 0x3f, 0xc8, 0x10, 0x28, 0x3c, 0x04, 0xf7, 0xd7, 0x49, 0xd3, 0x52, - 0x14, 0x96, 0x9e, 0x46, 0x85, 0x35, 0x5e, 0x35, 0x39, 0xc1, 0xdb, 0xd7, 0xe5, 0x83, 0x84, 0xf2, - 0xd1, 0x8d, 0x83, 0x52, 0x7f, 0x0d, 0xda, 0xa2, 0x76, 0xd0, 0xb7, 0x80, 0xf2, 0xea, 0xf1, 0xa7, - 0x29, 0xa1, 0xe2, 0xe6, 0x89, 0x82, 0xd6, 0xf3, 0x93, 0x2e, 0x3f, 0x70, 0xf8, 0x4b, 0x3f, 0x8c, - 0xe8, 0x85, 0x4f, 0xa3, 0x37, 0xe2, 0x41, 0x55, 0xc4, 0x55, 0x26, 0xf0, 0xa2, 0x37, 0xec, 0x99, - 0xb0, 0xc1, 0x0f, 0x59, 0x80, 0xae, 0xea, 0x1b, 0x98, 0x8c, 0xb9, 0xe9, 0x84, 0x07, 0xce, 0xcf, - 0x47, 0xa3, 0x28, 0x3b, 0x9f, 0xf5, 0xcd, 0x41, 0x32, 0x69, 0x8a, 0x88, 0x3d, 0x10, 0xbf, 0x21, - 0xa3, 0xe4, 0xc1, 0x88, 0xc4, 0xfc, 0x7f, 0xa0, 0xb9, 0xe2, 0xff, 0xe4, 0x7b, 0xb9, 0xec, 0xab, - 0x5c, 0x75, 0xf7, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x96, 0x62, 0xe6, 0xaf, 0x53, 0x0d, 0x00, - 0x00, +var fileDescriptor_ccaf7a2567168975 = []byte{ + // 1404 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x5f, 0x73, 0xda, 0xc6, + 0x16, 0x8f, 0x00, 0x0b, 0x71, 0x70, 0x3c, 0xba, 0x7b, 0x33, 0x37, 0x8c, 0x3d, 0x99, 0xeb, 0xe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, 0xec, 0x15, 0x70, 0xc6, 0xf7, 0xd0, 0x0e, 0x14, 0x86, 0x51, + 0xe0, 0x91, 0xd8, 0xf1, 0xbd, 0x52, 0x86, 0x8b, 0x35, 0x21, 0xb0, 0x3c, 0xf4, 0x0c, 0x60, 0x10, + 0x13, 0x37, 0x21, 0x9e, 0xe3, 0x26, 0xa5, 0xec, 0xae, 0xb2, 0x57, 0x7c, 0xb2, 0x6d, 0x88, 0xa0, + 0x8c, 0x34, 0x6a, 0xa3, 0x97, 0x46, 0x8d, 0x0b, 0xd2, 0xba, 0x9e, 0x20, 0x04, 0xb9, 0xd0, 0x1d, + 0x93, 0x52, 0x8e, 0x53, 0xf2, 0x35, 0xda, 0x85, 0xa2, 0x47, 0xe8, 0x20, 0xf6, 0x27, 0x89, 0x1f, + 0x85, 0xa5, 0x0d, 0xae, 0x5a, 0x14, 0xa1, 0x53, 0x50, 0x03, 0xb7, 0x4f, 0x02, 0x5a, 0x52, 0x77, + 0xb3, 0x7b, 0xc5, 0x27, 0x55, 0x63, 0x49, 0xfe, 0x0d, 0x19, 0x93, 0xd1, 0xe2, 0x10, 0x33, 0x4c, + 0xe2, 0x19, 0x96, 0x78, 0x84, 0xa1, 0x48, 0xc2, 0x6b, 0x3f, 0x8e, 0xc2, 0x31, 0x09, 0x93, 0x52, + 0x7e, 0x57, 0xd9, 0xdb, 0x5a, 0x91, 0xce, 0xbc, 0xc1, 0xe1, 0x45, 0x12, 0x74, 0x02, 0x30, 0x8e, + 0x42, 0x3f, 0x89, 0x62, 0x3f, 0x1c, 0x95, 0x34, 0xee, 0xe1, 0x17, 0x4b, 0x29, 0xcf, 0xe6, 0xe6, + 0x78, 0x01, 0x8a, 0x8e, 0x40, 0x15, 0xb5, 0x2a, 0x15, 0x78, 0x4e, 0xbf, 0x5c, 0xc5, 0xaf, 0x06, + 0x47, 0x60, 0x89, 0x44, 0x0f, 0x00, 0x42, 0x92, 0xbc, 0x8e, 0xe2, 0x2b, 0x56, 0x39, 0x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f1, 0xe0, 0xc9, 0x62, 0x8d, + 0x09, 0xba, 0xfe, 0x5b, 0x36, 0xc6, 0x6f, 0x72, 0x25, 0x4b, 0xd0, 0xcd, 0xf9, 0x06, 0x26, 0x63, + 0x61, 0x5a, 0x5e, 0xf9, 0x33, 0x50, 0xc5, 0xe4, 0xc8, 0x89, 0xdc, 0xc4, 0x75, 0x02, 0x12, 0x52, + 0xfe, 0x6b, 0x1a, 0xd6, 0x98, 0xa0, 0x45, 0x42, 0x7a, 0x64, 0x7d, 0x7f, 0x32, 0xf2, 0x93, 0xcb, + 0x69, 0xdf, 0x18, 0x44, 0xe3, 0x8a, 0x48, 0xec, 0x23, 0xf1, 0x6f, 0xc2, 0x28, 0x7a, 0x34, 0x22, + 0x21, 0x7f, 0xd6, 0x57, 0x96, 0xfc, 0xcd, 0xf0, 0x5c, 0x2e, 0xfb, 0x2a, 0x37, 0xdd, 0xff, 0x3d, + 0x00, 0x00, 0xff, 0xff, 0x05, 0xe4, 0xe8, 0xa2, 0x4f, 0x11, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster_service.pb.go index 593079369..31e7a8866 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/cluster_service.pb.go @@ -1,23 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/cluster_service.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package mongodb import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -29,7 +30,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListClusterLogsRequest_ServiceType int32 @@ -43,6 +44,7 @@ var ListClusterLogsRequest_ServiceType_name = map[int32]string{ 0: "SERVICE_TYPE_UNSPECIFIED", 1: "MONGOD", } + var ListClusterLogsRequest_ServiceType_value = map[string]int32{ "SERVICE_TYPE_UNSPECIFIED": 0, "MONGOD": 1, @@ -51,8 +53,9 @@ var ListClusterLogsRequest_ServiceType_value = map[string]int32{ func (x ListClusterLogsRequest_ServiceType) String() string { return proto.EnumName(ListClusterLogsRequest_ServiceType_name, int32(x)) } + func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{20, 0} + return fileDescriptor_fdf7200f72aab6ae, []int{20, 0} } type GetClusterRequest struct { @@ -68,16 +71,17 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{0} + return fileDescriptor_fdf7200f72aab6ae, []int{0} } + func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) } func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(dst, src) +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) } func (m *GetClusterRequest) XXX_Size() int { return xxx_messageInfo_GetClusterRequest.Size(m) @@ -118,16 +122,17 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{1} + return fileDescriptor_fdf7200f72aab6ae, []int{1} } + func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) } func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) } -func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(dst, src) +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) } func (m *ListClustersRequest) XXX_Size() int { return xxx_messageInfo_ListClustersRequest.Size(m) @@ -183,16 +188,17 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{2} + return fileDescriptor_fdf7200f72aab6ae, []int{2} } + func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) } func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) } -func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(dst, src) +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) } func (m *ListClustersResponse) XXX_Size() int { return xxx_messageInfo_ListClustersResponse.Size(m) @@ -248,16 +254,17 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{3} + return fileDescriptor_fdf7200f72aab6ae, []int{3} } + func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) } func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) } -func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(dst, src) +func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterRequest.Merge(m, src) } func (m *CreateClusterRequest) XXX_Size() int { return xxx_messageInfo_CreateClusterRequest.Size(m) @@ -350,16 +357,17 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{4} + return fileDescriptor_fdf7200f72aab6ae, []int{4} } + func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) } func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(dst, src) +func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterMetadata.Merge(m, src) } func (m *CreateClusterMetadata) XXX_Size() int { return xxx_messageInfo_CreateClusterMetadata.Size(m) @@ -402,16 +410,17 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{5} + return fileDescriptor_fdf7200f72aab6ae, []int{5} } + func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) } func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(dst, src) +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) } func (m *UpdateClusterRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterRequest.Size(m) @@ -469,16 +478,17 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{6} + return fileDescriptor_fdf7200f72aab6ae, []int{6} } + func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) } func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(dst, src) +func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) } func (m *UpdateClusterMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterMetadata.Size(m) @@ -509,16 +519,17 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{7} + return fileDescriptor_fdf7200f72aab6ae, []int{7} } + func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) } func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) +func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(m, src) } func (m *DeleteClusterRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterRequest.Size(m) @@ -548,16 +559,17 @@ func (m *DeleteClusterMetadata) Reset() { *m = DeleteClusterMetadata{} } func (m *DeleteClusterMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterMetadata) ProtoMessage() {} func (*DeleteClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{8} + return fileDescriptor_fdf7200f72aab6ae, []int{8} } + func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterMetadata.Unmarshal(m, b) } func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterMetadata.Merge(dst, src) +func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterMetadata.Merge(m, src) } func (m *DeleteClusterMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterMetadata.Size(m) @@ -576,7 +588,7 @@ func (m *DeleteClusterMetadata) GetClusterId() string { } type StartClusterRequest struct { - // Required. ID of the MongoDB cluster to start. + // ID of the MongoDB cluster to start. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -587,16 +599,17 @@ func (m *StartClusterRequest) Reset() { *m = StartClusterRequest{} } func (m *StartClusterRequest) String() string { return proto.CompactTextString(m) } func (*StartClusterRequest) ProtoMessage() {} func (*StartClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{9} + return fileDescriptor_fdf7200f72aab6ae, []int{9} } + func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterRequest.Unmarshal(m, b) } func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterRequest.Marshal(b, m, deterministic) } -func (dst *StartClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterRequest.Merge(dst, src) +func (m *StartClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterRequest.Merge(m, src) } func (m *StartClusterRequest) XXX_Size() int { return xxx_messageInfo_StartClusterRequest.Size(m) @@ -615,7 +628,7 @@ func (m *StartClusterRequest) GetClusterId() string { } type StartClusterMetadata struct { - // Required. ID of the MongoDB cluster. + // ID of the MongoDB cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -626,16 +639,17 @@ func (m *StartClusterMetadata) Reset() { *m = StartClusterMetadata{} } func (m *StartClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StartClusterMetadata) ProtoMessage() {} func (*StartClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{10} + return fileDescriptor_fdf7200f72aab6ae, []int{10} } + func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterMetadata.Unmarshal(m, b) } func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StartClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterMetadata.Merge(dst, src) +func (m *StartClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterMetadata.Merge(m, src) } func (m *StartClusterMetadata) XXX_Size() int { return xxx_messageInfo_StartClusterMetadata.Size(m) @@ -654,7 +668,7 @@ func (m *StartClusterMetadata) GetClusterId() string { } type StopClusterRequest struct { - // Required. ID of the MongoDB cluster to stop. + // ID of the MongoDB cluster to stop. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -665,16 +679,17 @@ func (m *StopClusterRequest) Reset() { *m = StopClusterRequest{} } func (m *StopClusterRequest) String() string { return proto.CompactTextString(m) } func (*StopClusterRequest) ProtoMessage() {} func (*StopClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{11} + return fileDescriptor_fdf7200f72aab6ae, []int{11} } + func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterRequest.Unmarshal(m, b) } func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterRequest.Marshal(b, m, deterministic) } -func (dst *StopClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterRequest.Merge(dst, src) +func (m *StopClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterRequest.Merge(m, src) } func (m *StopClusterRequest) XXX_Size() int { return xxx_messageInfo_StopClusterRequest.Size(m) @@ -693,7 +708,7 @@ func (m *StopClusterRequest) GetClusterId() string { } type StopClusterMetadata struct { - // Required. ID of the MongoDB cluster. + // ID of the MongoDB cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -704,16 +719,17 @@ func (m *StopClusterMetadata) Reset() { *m = StopClusterMetadata{} } func (m *StopClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StopClusterMetadata) ProtoMessage() {} func (*StopClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{12} + return fileDescriptor_fdf7200f72aab6ae, []int{12} } + func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterMetadata.Unmarshal(m, b) } func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StopClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterMetadata.Merge(dst, src) +func (m *StopClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterMetadata.Merge(m, src) } func (m *StopClusterMetadata) XXX_Size() int { return xxx_messageInfo_StopClusterMetadata.Size(m) @@ -745,16 +761,17 @@ func (m *MoveClusterRequest) Reset() { *m = MoveClusterRequest{} } func (m *MoveClusterRequest) String() string { return proto.CompactTextString(m) } func (*MoveClusterRequest) ProtoMessage() {} func (*MoveClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{13} + return fileDescriptor_fdf7200f72aab6ae, []int{13} } + func (m *MoveClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterRequest.Unmarshal(m, b) } func (m *MoveClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterRequest.Marshal(b, m, deterministic) } -func (dst *MoveClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterRequest.Merge(dst, src) +func (m *MoveClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterRequest.Merge(m, src) } func (m *MoveClusterRequest) XXX_Size() int { return xxx_messageInfo_MoveClusterRequest.Size(m) @@ -795,16 +812,17 @@ func (m *MoveClusterMetadata) Reset() { *m = MoveClusterMetadata{} } func (m *MoveClusterMetadata) String() string { return proto.CompactTextString(m) } func (*MoveClusterMetadata) ProtoMessage() {} func (*MoveClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{14} + return fileDescriptor_fdf7200f72aab6ae, []int{14} } + func (m *MoveClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterMetadata.Unmarshal(m, b) } func (m *MoveClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterMetadata.Marshal(b, m, deterministic) } -func (dst *MoveClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterMetadata.Merge(dst, src) +func (m *MoveClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterMetadata.Merge(m, src) } func (m *MoveClusterMetadata) XXX_Size() int { return xxx_messageInfo_MoveClusterMetadata.Size(m) @@ -849,16 +867,17 @@ func (m *BackupClusterRequest) Reset() { *m = BackupClusterRequest{} } func (m *BackupClusterRequest) String() string { return proto.CompactTextString(m) } func (*BackupClusterRequest) ProtoMessage() {} func (*BackupClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{15} + return fileDescriptor_fdf7200f72aab6ae, []int{15} } + func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterRequest.Unmarshal(m, b) } func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterRequest.Marshal(b, m, deterministic) } -func (dst *BackupClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterRequest.Merge(dst, src) +func (m *BackupClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterRequest.Merge(m, src) } func (m *BackupClusterRequest) XXX_Size() int { return xxx_messageInfo_BackupClusterRequest.Size(m) @@ -888,16 +907,17 @@ func (m *BackupClusterMetadata) Reset() { *m = BackupClusterMetadata{} } func (m *BackupClusterMetadata) String() string { return proto.CompactTextString(m) } func (*BackupClusterMetadata) ProtoMessage() {} func (*BackupClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{16} + return fileDescriptor_fdf7200f72aab6ae, []int{16} } + func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterMetadata.Unmarshal(m, b) } func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterMetadata.Marshal(b, m, deterministic) } -func (dst *BackupClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterMetadata.Merge(dst, src) +func (m *BackupClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterMetadata.Merge(m, src) } func (m *BackupClusterMetadata) XXX_Size() int { return xxx_messageInfo_BackupClusterMetadata.Size(m) @@ -933,8 +953,10 @@ type RestoreClusterRequest struct { // Configurations for MongoDB hosts that should be created for // the cluster that is being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` - // Required. ID of the network to create the MongoDB cluster in. - NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // ID of the network to create the MongoDB cluster in. + NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // Required. ID of the folder to create the MongoDB cluster in. + FolderId string `protobuf:"bytes,9,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -944,16 +966,17 @@ func (m *RestoreClusterRequest) Reset() { *m = RestoreClusterRequest{} } func (m *RestoreClusterRequest) String() string { return proto.CompactTextString(m) } func (*RestoreClusterRequest) ProtoMessage() {} func (*RestoreClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{17} + return fileDescriptor_fdf7200f72aab6ae, []int{17} } + func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterRequest.Unmarshal(m, b) } func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterRequest.Marshal(b, m, deterministic) } -func (dst *RestoreClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterRequest.Merge(dst, src) +func (m *RestoreClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterRequest.Merge(m, src) } func (m *RestoreClusterRequest) XXX_Size() int { return xxx_messageInfo_RestoreClusterRequest.Size(m) @@ -1020,6 +1043,13 @@ func (m *RestoreClusterRequest) GetNetworkId() string { return "" } +func (m *RestoreClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + type RestoreClusterMetadata struct { // ID of the new MongoDB cluster that is being created from a backup. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -1034,16 +1064,17 @@ func (m *RestoreClusterMetadata) Reset() { *m = RestoreClusterMetadata{} func (m *RestoreClusterMetadata) String() string { return proto.CompactTextString(m) } func (*RestoreClusterMetadata) ProtoMessage() {} func (*RestoreClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{18} + return fileDescriptor_fdf7200f72aab6ae, []int{18} } + func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterMetadata.Unmarshal(m, b) } func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterMetadata.Marshal(b, m, deterministic) } -func (dst *RestoreClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterMetadata.Merge(dst, src) +func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterMetadata.Merge(m, src) } func (m *RestoreClusterMetadata) XXX_Size() int { return xxx_messageInfo_RestoreClusterMetadata.Size(m) @@ -1082,16 +1113,17 @@ func (m *LogRecord) Reset() { *m = LogRecord{} } func (m *LogRecord) String() string { return proto.CompactTextString(m) } func (*LogRecord) ProtoMessage() {} func (*LogRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{19} + return fileDescriptor_fdf7200f72aab6ae, []int{19} } + func (m *LogRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogRecord.Unmarshal(m, b) } func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) } -func (dst *LogRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRecord.Merge(dst, src) +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) } func (m *LogRecord) XXX_Size() int { return xxx_messageInfo_LogRecord.Size(m) @@ -1117,7 +1149,7 @@ func (m *LogRecord) GetMessage() map[string]string { } type ListClusterLogsRequest struct { - // Required. ID of the MongoDB cluster to request logs for. + // ID of the MongoDB cluster to request logs for. // To get the MongoDB cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Columns from the logs table to request. @@ -1142,16 +1174,17 @@ func (m *ListClusterLogsRequest) Reset() { *m = ListClusterLogsRequest{} func (m *ListClusterLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsRequest) ProtoMessage() {} func (*ListClusterLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{20} + return fileDescriptor_fdf7200f72aab6ae, []int{20} } + func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsRequest.Unmarshal(m, b) } func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsRequest.Merge(dst, src) +func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsRequest.Merge(m, src) } func (m *ListClusterLogsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterLogsRequest.Size(m) @@ -1228,16 +1261,17 @@ func (m *ListClusterLogsResponse) Reset() { *m = ListClusterLogsResponse func (m *ListClusterLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsResponse) ProtoMessage() {} func (*ListClusterLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{21} + return fileDescriptor_fdf7200f72aab6ae, []int{21} } + func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsResponse.Unmarshal(m, b) } func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsResponse.Merge(dst, src) +func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsResponse.Merge(m, src) } func (m *ListClusterLogsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterLogsResponse.Size(m) @@ -1263,7 +1297,7 @@ func (m *ListClusterLogsResponse) GetNextPageToken() string { } type ListClusterOperationsRequest struct { - // Required. ID of the MongoDB Cluster resource to list operations for. + // ID of the MongoDB Cluster resource to list operations for. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the @@ -1278,16 +1312,17 @@ func (m *ListClusterOperationsRequest) Reset() { *m = ListClusterOperati func (m *ListClusterOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsRequest) ProtoMessage() {} func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{22} + return fileDescriptor_fdf7200f72aab6ae, []int{22} } + func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsRequest.Unmarshal(m, b) } func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsRequest.Merge(dst, src) +func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsRequest.Merge(m, src) } func (m *ListClusterOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsRequest.Size(m) @@ -1336,16 +1371,17 @@ func (m *ListClusterOperationsResponse) Reset() { *m = ListClusterOperat func (m *ListClusterOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsResponse) ProtoMessage() {} func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{23} + return fileDescriptor_fdf7200f72aab6ae, []int{23} } + func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsResponse.Unmarshal(m, b) } func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsResponse.Merge(dst, src) +func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsResponse.Merge(m, src) } func (m *ListClusterOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsResponse.Size(m) @@ -1371,7 +1407,7 @@ func (m *ListClusterOperationsResponse) GetNextPageToken() string { } type ListClusterBackupsRequest struct { - // Required. ID of the MongoDB cluster. + // ID of the MongoDB cluster. // To get the MongoDB cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1387,16 +1423,17 @@ func (m *ListClusterBackupsRequest) Reset() { *m = ListClusterBackupsReq func (m *ListClusterBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsRequest) ProtoMessage() {} func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{24} + return fileDescriptor_fdf7200f72aab6ae, []int{24} } + func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsRequest.Unmarshal(m, b) } func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsRequest.Merge(dst, src) +func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsRequest.Merge(m, src) } func (m *ListClusterBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsRequest.Size(m) @@ -1445,16 +1482,17 @@ func (m *ListClusterBackupsResponse) Reset() { *m = ListClusterBackupsRe func (m *ListClusterBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsResponse) ProtoMessage() {} func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{25} + return fileDescriptor_fdf7200f72aab6ae, []int{25} } + func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsResponse.Unmarshal(m, b) } func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsResponse.Merge(dst, src) +func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsResponse.Merge(m, src) } func (m *ListClusterBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsResponse.Size(m) @@ -1480,7 +1518,7 @@ func (m *ListClusterBackupsResponse) GetNextPageToken() string { } type ListClusterHostsRequest struct { - // Required. ID of the MongoDB cluster. + // ID of the MongoDB cluster. // To get the MongoDB cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1496,16 +1534,17 @@ func (m *ListClusterHostsRequest) Reset() { *m = ListClusterHostsRequest func (m *ListClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsRequest) ProtoMessage() {} func (*ListClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{26} + return fileDescriptor_fdf7200f72aab6ae, []int{26} } + func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsRequest.Unmarshal(m, b) } func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsRequest.Merge(dst, src) +func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsRequest.Merge(m, src) } func (m *ListClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterHostsRequest.Size(m) @@ -1554,16 +1593,17 @@ func (m *ListClusterHostsResponse) Reset() { *m = ListClusterHostsRespon func (m *ListClusterHostsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsResponse) ProtoMessage() {} func (*ListClusterHostsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{27} + return fileDescriptor_fdf7200f72aab6ae, []int{27} } + func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsResponse.Unmarshal(m, b) } func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsResponse.Merge(dst, src) +func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsResponse.Merge(m, src) } func (m *ListClusterHostsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterHostsResponse.Size(m) @@ -1589,7 +1629,7 @@ func (m *ListClusterHostsResponse) GetNextPageToken() string { } type AddClusterHostsRequest struct { - // Required. ID of the MongoDB cluster to add hosts to. + // ID of the MongoDB cluster to add hosts to. // To get the MongoDB cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Configurations for MongoDB hosts that should be added to the cluster. @@ -1603,16 +1643,17 @@ func (m *AddClusterHostsRequest) Reset() { *m = AddClusterHostsRequest{} func (m *AddClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsRequest) ProtoMessage() {} func (*AddClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{28} + return fileDescriptor_fdf7200f72aab6ae, []int{28} } + func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsRequest.Unmarshal(m, b) } func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsRequest.Merge(dst, src) +func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsRequest.Merge(m, src) } func (m *AddClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_AddClusterHostsRequest.Size(m) @@ -1651,16 +1692,17 @@ func (m *AddClusterHostsMetadata) Reset() { *m = AddClusterHostsMetadata func (m *AddClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsMetadata) ProtoMessage() {} func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{29} + return fileDescriptor_fdf7200f72aab6ae, []int{29} } + func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsMetadata.Unmarshal(m, b) } func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsMetadata.Merge(dst, src) +func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsMetadata.Merge(m, src) } func (m *AddClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterHostsMetadata.Size(m) @@ -1686,7 +1728,7 @@ func (m *AddClusterHostsMetadata) GetHostNames() []string { } type DeleteClusterHostsRequest struct { - // Required. ID of the MongoDB cluster to remove hosts from. + // ID of the MongoDB cluster to remove hosts from. // To get the MongoDB cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Names of hosts to delete. @@ -1700,16 +1742,17 @@ func (m *DeleteClusterHostsRequest) Reset() { *m = DeleteClusterHostsReq func (m *DeleteClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsRequest) ProtoMessage() {} func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{30} + return fileDescriptor_fdf7200f72aab6ae, []int{30} } + func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsRequest.Unmarshal(m, b) } func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsRequest.Merge(dst, src) +func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsRequest.Merge(m, src) } func (m *DeleteClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsRequest.Size(m) @@ -1748,16 +1791,17 @@ func (m *DeleteClusterHostsMetadata) Reset() { *m = DeleteClusterHostsMe func (m *DeleteClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsMetadata) ProtoMessage() {} func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{31} + return fileDescriptor_fdf7200f72aab6ae, []int{31} } + func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsMetadata.Unmarshal(m, b) } func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsMetadata.Merge(dst, src) +func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsMetadata.Merge(m, src) } func (m *DeleteClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsMetadata.Size(m) @@ -1783,30 +1827,34 @@ func (m *DeleteClusterHostsMetadata) GetHostNames() []string { } type EnableClusterShardingRequest struct { - // Required. ID of the MongoDB cluster. - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - Mongocfg *EnableClusterShardingRequest_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` - Mongos *EnableClusterShardingRequest_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` - HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // ID of the MongoDB cluster to enable sharding for. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // mongocfg specification for sharding. + Mongocfg *EnableClusterShardingRequest_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` + // mongos specification for sharding. + Mongos *EnableClusterShardingRequest_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` + // Configurations for mongos and mongocfg hosts. + HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *EnableClusterShardingRequest) Reset() { *m = EnableClusterShardingRequest{} } func (m *EnableClusterShardingRequest) String() string { return proto.CompactTextString(m) } func (*EnableClusterShardingRequest) ProtoMessage() {} func (*EnableClusterShardingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{32} + return fileDescriptor_fdf7200f72aab6ae, []int{32} } + func (m *EnableClusterShardingRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnableClusterShardingRequest.Unmarshal(m, b) } func (m *EnableClusterShardingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnableClusterShardingRequest.Marshal(b, m, deterministic) } -func (dst *EnableClusterShardingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableClusterShardingRequest.Merge(dst, src) +func (m *EnableClusterShardingRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableClusterShardingRequest.Merge(m, src) } func (m *EnableClusterShardingRequest) XXX_Size() int { return xxx_messageInfo_EnableClusterShardingRequest.Size(m) @@ -1846,6 +1894,7 @@ func (m *EnableClusterShardingRequest) GetHostSpecs() []*HostSpec { } type EnableClusterShardingRequest_MongoCfg struct { + // Resources for mongocfg hosts. Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1856,16 +1905,17 @@ func (m *EnableClusterShardingRequest_MongoCfg) Reset() { *m = EnableClu func (m *EnableClusterShardingRequest_MongoCfg) String() string { return proto.CompactTextString(m) } func (*EnableClusterShardingRequest_MongoCfg) ProtoMessage() {} func (*EnableClusterShardingRequest_MongoCfg) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{32, 0} + return fileDescriptor_fdf7200f72aab6ae, []int{32, 0} } + func (m *EnableClusterShardingRequest_MongoCfg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnableClusterShardingRequest_MongoCfg.Unmarshal(m, b) } func (m *EnableClusterShardingRequest_MongoCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnableClusterShardingRequest_MongoCfg.Marshal(b, m, deterministic) } -func (dst *EnableClusterShardingRequest_MongoCfg) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableClusterShardingRequest_MongoCfg.Merge(dst, src) +func (m *EnableClusterShardingRequest_MongoCfg) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableClusterShardingRequest_MongoCfg.Merge(m, src) } func (m *EnableClusterShardingRequest_MongoCfg) XXX_Size() int { return xxx_messageInfo_EnableClusterShardingRequest_MongoCfg.Size(m) @@ -1884,6 +1934,7 @@ func (m *EnableClusterShardingRequest_MongoCfg) GetResources() *Resources { } type EnableClusterShardingRequest_Mongos struct { + // Resources for mongos hosts. Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1894,16 +1945,17 @@ func (m *EnableClusterShardingRequest_Mongos) Reset() { *m = EnableClust func (m *EnableClusterShardingRequest_Mongos) String() string { return proto.CompactTextString(m) } func (*EnableClusterShardingRequest_Mongos) ProtoMessage() {} func (*EnableClusterShardingRequest_Mongos) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{32, 1} + return fileDescriptor_fdf7200f72aab6ae, []int{32, 1} } + func (m *EnableClusterShardingRequest_Mongos) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnableClusterShardingRequest_Mongos.Unmarshal(m, b) } func (m *EnableClusterShardingRequest_Mongos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnableClusterShardingRequest_Mongos.Marshal(b, m, deterministic) } -func (dst *EnableClusterShardingRequest_Mongos) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableClusterShardingRequest_Mongos.Merge(dst, src) +func (m *EnableClusterShardingRequest_Mongos) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableClusterShardingRequest_Mongos.Merge(m, src) } func (m *EnableClusterShardingRequest_Mongos) XXX_Size() int { return xxx_messageInfo_EnableClusterShardingRequest_Mongos.Size(m) @@ -1922,7 +1974,7 @@ func (m *EnableClusterShardingRequest_Mongos) GetResources() *Resources { } type EnableClusterShardingMetadata struct { - // Required. ID of the MongoDB cluster. + // ID of the MongoDB cluster that sharding is being enabled for. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1933,16 +1985,17 @@ func (m *EnableClusterShardingMetadata) Reset() { *m = EnableClusterShar func (m *EnableClusterShardingMetadata) String() string { return proto.CompactTextString(m) } func (*EnableClusterShardingMetadata) ProtoMessage() {} func (*EnableClusterShardingMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{33} + return fileDescriptor_fdf7200f72aab6ae, []int{33} } + func (m *EnableClusterShardingMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_EnableClusterShardingMetadata.Unmarshal(m, b) } func (m *EnableClusterShardingMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_EnableClusterShardingMetadata.Marshal(b, m, deterministic) } -func (dst *EnableClusterShardingMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_EnableClusterShardingMetadata.Merge(dst, src) +func (m *EnableClusterShardingMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableClusterShardingMetadata.Merge(m, src) } func (m *EnableClusterShardingMetadata) XXX_Size() int { return xxx_messageInfo_EnableClusterShardingMetadata.Size(m) @@ -1961,7 +2014,11 @@ func (m *EnableClusterShardingMetadata) GetClusterId() string { } type GetClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the MongoDB cluster that the shard belongs to. + // To get the cluster ID use a [List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MongoDB shard to return. + // To get the name of the shard use a [ListShards] request. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1972,16 +2029,17 @@ func (m *GetClusterShardRequest) Reset() { *m = GetClusterShardRequest{} func (m *GetClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterShardRequest) ProtoMessage() {} func (*GetClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{34} + return fileDescriptor_fdf7200f72aab6ae, []int{34} } + func (m *GetClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterShardRequest.Unmarshal(m, b) } func (m *GetClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterShardRequest.Merge(dst, src) +func (m *GetClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterShardRequest.Merge(m, src) } func (m *GetClusterShardRequest) XXX_Size() int { return xxx_messageInfo_GetClusterShardRequest.Size(m) @@ -2007,8 +2065,15 @@ func (m *GetClusterShardRequest) GetShardName() string { } type ListClusterShardsRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // ID of the MongoDB cluster to list databases in. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterShardsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the + // [ListClusterShardsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2019,16 +2084,17 @@ func (m *ListClusterShardsRequest) Reset() { *m = ListClusterShardsReque func (m *ListClusterShardsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterShardsRequest) ProtoMessage() {} func (*ListClusterShardsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{35} + return fileDescriptor_fdf7200f72aab6ae, []int{35} } + func (m *ListClusterShardsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterShardsRequest.Unmarshal(m, b) } func (m *ListClusterShardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterShardsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterShardsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterShardsRequest.Merge(dst, src) +func (m *ListClusterShardsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsRequest.Merge(m, src) } func (m *ListClusterShardsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterShardsRequest.Size(m) @@ -2061,7 +2127,12 @@ func (m *ListClusterShardsRequest) GetPageToken() string { } type ListClusterShardsResponse struct { - Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + // List of MongoDB shards. + Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterShardsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterShardsRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2072,16 +2143,17 @@ func (m *ListClusterShardsResponse) Reset() { *m = ListClusterShardsResp func (m *ListClusterShardsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterShardsResponse) ProtoMessage() {} func (*ListClusterShardsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{36} + return fileDescriptor_fdf7200f72aab6ae, []int{36} } + func (m *ListClusterShardsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterShardsResponse.Unmarshal(m, b) } func (m *ListClusterShardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterShardsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterShardsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterShardsResponse.Merge(dst, src) +func (m *ListClusterShardsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsResponse.Merge(m, src) } func (m *ListClusterShardsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterShardsResponse.Size(m) @@ -2107,8 +2179,12 @@ func (m *ListClusterShardsResponse) GetNextPageToken() string { } type AddClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + // ID of the MongoDB cluster to add a shard to. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MongoDB shard to create. + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + // Configurations for mongod hosts to be created with the shard. HostSpecs []*HostSpec `protobuf:"bytes,3,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2119,16 +2195,17 @@ func (m *AddClusterShardRequest) Reset() { *m = AddClusterShardRequest{} func (m *AddClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterShardRequest) ProtoMessage() {} func (*AddClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{37} + return fileDescriptor_fdf7200f72aab6ae, []int{37} } + func (m *AddClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterShardRequest.Unmarshal(m, b) } func (m *AddClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterShardRequest.Merge(dst, src) +func (m *AddClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardRequest.Merge(m, src) } func (m *AddClusterShardRequest) XXX_Size() int { return xxx_messageInfo_AddClusterShardRequest.Size(m) @@ -2161,7 +2238,9 @@ func (m *AddClusterShardRequest) GetHostSpecs() []*HostSpec { } type AddClusterShardMetadata struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the MongoDB cluster that a shard is being added to. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard being added. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2172,16 +2251,17 @@ func (m *AddClusterShardMetadata) Reset() { *m = AddClusterShardMetadata func (m *AddClusterShardMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterShardMetadata) ProtoMessage() {} func (*AddClusterShardMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{38} + return fileDescriptor_fdf7200f72aab6ae, []int{38} } + func (m *AddClusterShardMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterShardMetadata.Unmarshal(m, b) } func (m *AddClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterShardMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterShardMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterShardMetadata.Merge(dst, src) +func (m *AddClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardMetadata.Merge(m, src) } func (m *AddClusterShardMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterShardMetadata.Size(m) @@ -2207,7 +2287,11 @@ func (m *AddClusterShardMetadata) GetShardName() string { } type DeleteClusterShardRequest struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the MongoDB cluster to delete a shard in. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MongoDB shard to delete. + // To get the name of the shard use a [ListShards] request. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2218,16 +2302,17 @@ func (m *DeleteClusterShardRequest) Reset() { *m = DeleteClusterShardReq func (m *DeleteClusterShardRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterShardRequest) ProtoMessage() {} func (*DeleteClusterShardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{39} + return fileDescriptor_fdf7200f72aab6ae, []int{39} } + func (m *DeleteClusterShardRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterShardRequest.Unmarshal(m, b) } func (m *DeleteClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterShardRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterShardRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterShardRequest.Merge(dst, src) +func (m *DeleteClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardRequest.Merge(m, src) } func (m *DeleteClusterShardRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterShardRequest.Size(m) @@ -2253,7 +2338,9 @@ func (m *DeleteClusterShardRequest) GetShardName() string { } type DeleteClusterShardMetadata struct { - ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the MongoDB cluster that a shard is being deleted in. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the shard being deleted. ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2264,16 +2351,17 @@ func (m *DeleteClusterShardMetadata) Reset() { *m = DeleteClusterShardMe func (m *DeleteClusterShardMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterShardMetadata) ProtoMessage() {} func (*DeleteClusterShardMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{40} + return fileDescriptor_fdf7200f72aab6ae, []int{40} } + func (m *DeleteClusterShardMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterShardMetadata.Unmarshal(m, b) } func (m *DeleteClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterShardMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterShardMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterShardMetadata.Merge(dst, src) +func (m *DeleteClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardMetadata.Merge(m, src) } func (m *DeleteClusterShardMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterShardMetadata.Size(m) @@ -2316,27 +2404,29 @@ type HostSpec struct { // * true — the host should have a public IP address. AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` // Type of the host to be deployed. - Type Host_Type `protobuf:"varint,4,opt,name=type,proto3,enum=yandex.cloud.mdb.mongodb.v1.Host_Type" json:"type,omitempty"` - ShardName string `protobuf:"bytes,5,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Type Host_Type `protobuf:"varint,4,opt,name=type,proto3,enum=yandex.cloud.mdb.mongodb.v1.Host_Type" json:"type,omitempty"` + // Name of the shard that the host belongs to. + ShardName string `protobuf:"bytes,5,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *HostSpec) Reset() { *m = HostSpec{} } func (m *HostSpec) String() string { return proto.CompactTextString(m) } func (*HostSpec) ProtoMessage() {} func (*HostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{41} + return fileDescriptor_fdf7200f72aab6ae, []int{41} } + func (m *HostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HostSpec.Unmarshal(m, b) } func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HostSpec.Marshal(b, m, deterministic) } -func (dst *HostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostSpec.Merge(dst, src) +func (m *HostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostSpec.Merge(m, src) } func (m *HostSpec) XXX_Size() int { return xxx_messageInfo_HostSpec.Size(m) @@ -2383,11 +2473,11 @@ func (m *HostSpec) GetShardName() string { } type MongodbSpec3_6 struct { - // Configuration and resource allocation for a mongod host. + // Configuration and resource allocation for mongod 3.6 hosts. Mongod *MongodbSpec3_6_Mongod `protobuf:"bytes,1,opt,name=mongod,proto3" json:"mongod,omitempty"` - // Configuration and resource allocation for a mongocfg host. + // Configuration and resource allocation for mongocfg 3.6 hosts. Mongocfg *MongodbSpec3_6_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` - // Configuration and resource allocation for a mongos host. + // Configuration and resource allocation for mongos 3.6 hosts. Mongos *MongodbSpec3_6_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2398,16 +2488,17 @@ func (m *MongodbSpec3_6) Reset() { *m = MongodbSpec3_6{} } func (m *MongodbSpec3_6) String() string { return proto.CompactTextString(m) } func (*MongodbSpec3_6) ProtoMessage() {} func (*MongodbSpec3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{42} + return fileDescriptor_fdf7200f72aab6ae, []int{42} } + func (m *MongodbSpec3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodbSpec3_6.Unmarshal(m, b) } func (m *MongodbSpec3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodbSpec3_6.Marshal(b, m, deterministic) } -func (dst *MongodbSpec3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodbSpec3_6.Merge(dst, src) +func (m *MongodbSpec3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec3_6.Merge(m, src) } func (m *MongodbSpec3_6) XXX_Size() int { return xxx_messageInfo_MongodbSpec3_6.Size(m) @@ -2440,9 +2531,9 @@ func (m *MongodbSpec3_6) GetMongos() *MongodbSpec3_6_Mongos { } type MongodbSpec3_6_Mongod struct { - // Configuration for a mongod 3.6 host. + // Configuration for mongod 3.6 hosts. Config *config.MongodConfig3_6 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Resources allocated to mongod hosts. + // Resources allocated to each mongod host. Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2453,16 +2544,17 @@ func (m *MongodbSpec3_6_Mongod) Reset() { *m = MongodbSpec3_6_Mongod{} } func (m *MongodbSpec3_6_Mongod) String() string { return proto.CompactTextString(m) } func (*MongodbSpec3_6_Mongod) ProtoMessage() {} func (*MongodbSpec3_6_Mongod) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{42, 0} + return fileDescriptor_fdf7200f72aab6ae, []int{42, 0} } + func (m *MongodbSpec3_6_Mongod) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodbSpec3_6_Mongod.Unmarshal(m, b) } func (m *MongodbSpec3_6_Mongod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodbSpec3_6_Mongod.Marshal(b, m, deterministic) } -func (dst *MongodbSpec3_6_Mongod) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodbSpec3_6_Mongod.Merge(dst, src) +func (m *MongodbSpec3_6_Mongod) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec3_6_Mongod.Merge(m, src) } func (m *MongodbSpec3_6_Mongod) XXX_Size() int { return xxx_messageInfo_MongodbSpec3_6_Mongod.Size(m) @@ -2488,8 +2580,9 @@ func (m *MongodbSpec3_6_Mongod) GetResources() *Resources { } type MongodbSpec3_6_MongoCfg struct { + // Configuration for mongocfg 3.6 hosts. Config *config.MongoCfgConfig3_6 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Resources allocated to mongocfg hosts. + // Resources allocated to each mongocfg host. Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2500,16 +2593,17 @@ func (m *MongodbSpec3_6_MongoCfg) Reset() { *m = MongodbSpec3_6_MongoCfg func (m *MongodbSpec3_6_MongoCfg) String() string { return proto.CompactTextString(m) } func (*MongodbSpec3_6_MongoCfg) ProtoMessage() {} func (*MongodbSpec3_6_MongoCfg) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{42, 1} + return fileDescriptor_fdf7200f72aab6ae, []int{42, 1} } + func (m *MongodbSpec3_6_MongoCfg) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodbSpec3_6_MongoCfg.Unmarshal(m, b) } func (m *MongodbSpec3_6_MongoCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodbSpec3_6_MongoCfg.Marshal(b, m, deterministic) } -func (dst *MongodbSpec3_6_MongoCfg) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodbSpec3_6_MongoCfg.Merge(dst, src) +func (m *MongodbSpec3_6_MongoCfg) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec3_6_MongoCfg.Merge(m, src) } func (m *MongodbSpec3_6_MongoCfg) XXX_Size() int { return xxx_messageInfo_MongodbSpec3_6_MongoCfg.Size(m) @@ -2535,8 +2629,9 @@ func (m *MongodbSpec3_6_MongoCfg) GetResources() *Resources { } type MongodbSpec3_6_Mongos struct { + // Configuration for mongos 3.6 hosts. Config *config.MongosConfig3_6 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - // Resources allocated to mongos hosts. + // Resources allocated to each mongos host. Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2547,16 +2642,17 @@ func (m *MongodbSpec3_6_Mongos) Reset() { *m = MongodbSpec3_6_Mongos{} } func (m *MongodbSpec3_6_Mongos) String() string { return proto.CompactTextString(m) } func (*MongodbSpec3_6_Mongos) ProtoMessage() {} func (*MongodbSpec3_6_Mongos) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{42, 2} + return fileDescriptor_fdf7200f72aab6ae, []int{42, 2} } + func (m *MongodbSpec3_6_Mongos) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodbSpec3_6_Mongos.Unmarshal(m, b) } func (m *MongodbSpec3_6_Mongos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodbSpec3_6_Mongos.Marshal(b, m, deterministic) } -func (dst *MongodbSpec3_6_Mongos) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodbSpec3_6_Mongos.Merge(dst, src) +func (m *MongodbSpec3_6_Mongos) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec3_6_Mongos.Merge(m, src) } func (m *MongodbSpec3_6_Mongos) XXX_Size() int { return xxx_messageInfo_MongodbSpec3_6_Mongos.Size(m) @@ -2581,34 +2677,251 @@ func (m *MongodbSpec3_6_Mongos) GetResources() *Resources { return nil } +type MongodbSpec4_0 struct { + // Configuration and resource allocation for mongod 4.0 hosts. + Mongod *MongodbSpec4_0_Mongod `protobuf:"bytes,1,opt,name=mongod,proto3" json:"mongod,omitempty"` + // Configuration and resource allocation for mongocfg 4.0 hosts. + Mongocfg *MongodbSpec4_0_MongoCfg `protobuf:"bytes,2,opt,name=mongocfg,proto3" json:"mongocfg,omitempty"` + // Configuration and resource allocation for mongos 4.0 hosts. + Mongos *MongodbSpec4_0_Mongos `protobuf:"bytes,3,opt,name=mongos,proto3" json:"mongos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodbSpec4_0) Reset() { *m = MongodbSpec4_0{} } +func (m *MongodbSpec4_0) String() string { return proto.CompactTextString(m) } +func (*MongodbSpec4_0) ProtoMessage() {} +func (*MongodbSpec4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_fdf7200f72aab6ae, []int{43} +} + +func (m *MongodbSpec4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodbSpec4_0.Unmarshal(m, b) +} +func (m *MongodbSpec4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodbSpec4_0.Marshal(b, m, deterministic) +} +func (m *MongodbSpec4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec4_0.Merge(m, src) +} +func (m *MongodbSpec4_0) XXX_Size() int { + return xxx_messageInfo_MongodbSpec4_0.Size(m) +} +func (m *MongodbSpec4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongodbSpec4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodbSpec4_0 proto.InternalMessageInfo + +func (m *MongodbSpec4_0) GetMongod() *MongodbSpec4_0_Mongod { + if m != nil { + return m.Mongod + } + return nil +} + +func (m *MongodbSpec4_0) GetMongocfg() *MongodbSpec4_0_MongoCfg { + if m != nil { + return m.Mongocfg + } + return nil +} + +func (m *MongodbSpec4_0) GetMongos() *MongodbSpec4_0_Mongos { + if m != nil { + return m.Mongos + } + return nil +} + +type MongodbSpec4_0_Mongod struct { + // Configuration for mongod 4.0 hosts. + Config *config.MongodConfig4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to each mongod host. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodbSpec4_0_Mongod) Reset() { *m = MongodbSpec4_0_Mongod{} } +func (m *MongodbSpec4_0_Mongod) String() string { return proto.CompactTextString(m) } +func (*MongodbSpec4_0_Mongod) ProtoMessage() {} +func (*MongodbSpec4_0_Mongod) Descriptor() ([]byte, []int) { + return fileDescriptor_fdf7200f72aab6ae, []int{43, 0} +} + +func (m *MongodbSpec4_0_Mongod) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodbSpec4_0_Mongod.Unmarshal(m, b) +} +func (m *MongodbSpec4_0_Mongod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodbSpec4_0_Mongod.Marshal(b, m, deterministic) +} +func (m *MongodbSpec4_0_Mongod) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec4_0_Mongod.Merge(m, src) +} +func (m *MongodbSpec4_0_Mongod) XXX_Size() int { + return xxx_messageInfo_MongodbSpec4_0_Mongod.Size(m) +} +func (m *MongodbSpec4_0_Mongod) XXX_DiscardUnknown() { + xxx_messageInfo_MongodbSpec4_0_Mongod.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodbSpec4_0_Mongod proto.InternalMessageInfo + +func (m *MongodbSpec4_0_Mongod) GetConfig() *config.MongodConfig4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *MongodbSpec4_0_Mongod) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +type MongodbSpec4_0_MongoCfg struct { + // Configuration for mongocfg 4.0 hosts. + Config *config.MongoCfgConfig4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to each mongocfg host. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodbSpec4_0_MongoCfg) Reset() { *m = MongodbSpec4_0_MongoCfg{} } +func (m *MongodbSpec4_0_MongoCfg) String() string { return proto.CompactTextString(m) } +func (*MongodbSpec4_0_MongoCfg) ProtoMessage() {} +func (*MongodbSpec4_0_MongoCfg) Descriptor() ([]byte, []int) { + return fileDescriptor_fdf7200f72aab6ae, []int{43, 1} +} + +func (m *MongodbSpec4_0_MongoCfg) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodbSpec4_0_MongoCfg.Unmarshal(m, b) +} +func (m *MongodbSpec4_0_MongoCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodbSpec4_0_MongoCfg.Marshal(b, m, deterministic) +} +func (m *MongodbSpec4_0_MongoCfg) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec4_0_MongoCfg.Merge(m, src) +} +func (m *MongodbSpec4_0_MongoCfg) XXX_Size() int { + return xxx_messageInfo_MongodbSpec4_0_MongoCfg.Size(m) +} +func (m *MongodbSpec4_0_MongoCfg) XXX_DiscardUnknown() { + xxx_messageInfo_MongodbSpec4_0_MongoCfg.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodbSpec4_0_MongoCfg proto.InternalMessageInfo + +func (m *MongodbSpec4_0_MongoCfg) GetConfig() *config.MongoCfgConfig4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *MongodbSpec4_0_MongoCfg) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +type MongodbSpec4_0_Mongos struct { + // Configuration for mongos 4.0 hosts. + Config *config.MongosConfig4_0 `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + // Resources allocated to each mongos host. + Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodbSpec4_0_Mongos) Reset() { *m = MongodbSpec4_0_Mongos{} } +func (m *MongodbSpec4_0_Mongos) String() string { return proto.CompactTextString(m) } +func (*MongodbSpec4_0_Mongos) ProtoMessage() {} +func (*MongodbSpec4_0_Mongos) Descriptor() ([]byte, []int) { + return fileDescriptor_fdf7200f72aab6ae, []int{43, 2} +} + +func (m *MongodbSpec4_0_Mongos) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodbSpec4_0_Mongos.Unmarshal(m, b) +} +func (m *MongodbSpec4_0_Mongos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodbSpec4_0_Mongos.Marshal(b, m, deterministic) +} +func (m *MongodbSpec4_0_Mongos) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodbSpec4_0_Mongos.Merge(m, src) +} +func (m *MongodbSpec4_0_Mongos) XXX_Size() int { + return xxx_messageInfo_MongodbSpec4_0_Mongos.Size(m) +} +func (m *MongodbSpec4_0_Mongos) XXX_DiscardUnknown() { + xxx_messageInfo_MongodbSpec4_0_Mongos.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodbSpec4_0_Mongos proto.InternalMessageInfo + +func (m *MongodbSpec4_0_Mongos) GetConfig() *config.MongosConfig4_0 { + if m != nil { + return m.Config + } + return nil +} + +func (m *MongodbSpec4_0_Mongos) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + type ConfigSpec struct { // Version of MongoDB used in the cluster. - // The only valid value: 3.6 + // Possible values: + // * 3.6 + // * 4.0 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // MongoDB feature compatibility version. See usage details in [MongoDB documentation](https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/). + // + // Possible values: + // * 3.6 — persist data compatibility for version 3.6. After setting this option the data will not be compatible with 3.4 or older. + // * 4.0 — persist data compatibility for version 4.0. After setting this option the data will not be compatible with 3.6 or older. + FeatureCompatibilityVersion string `protobuf:"bytes,5,opt,name=feature_compatibility_version,json=featureCompatibilityVersion,proto3" json:"feature_compatibility_version,omitempty"` // Types that are valid to be assigned to MongodbSpec: // *ConfigSpec_MongodbSpec_3_6 + // *ConfigSpec_MongodbSpec_4_0 MongodbSpec isConfigSpec_MongodbSpec `protobuf_oneof:"mongodb_spec"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } func (m *ConfigSpec) String() string { return proto.CompactTextString(m) } func (*ConfigSpec) ProtoMessage() {} func (*ConfigSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_86bdc30dc8ad0f00, []int{43} + return fileDescriptor_fdf7200f72aab6ae, []int{44} } + func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec.Unmarshal(m, b) } func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) } -func (dst *ConfigSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec.Merge(dst, src) +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) } func (m *ConfigSpec) XXX_Size() int { return xxx_messageInfo_ConfigSpec.Size(m) @@ -2626,6 +2939,13 @@ func (m *ConfigSpec) GetVersion() string { return "" } +func (m *ConfigSpec) GetFeatureCompatibilityVersion() string { + if m != nil { + return m.FeatureCompatibilityVersion + } + return "" +} + type isConfigSpec_MongodbSpec interface { isConfigSpec_MongodbSpec() } @@ -2634,8 +2954,14 @@ type ConfigSpec_MongodbSpec_3_6 struct { MongodbSpec_3_6 *MongodbSpec3_6 `protobuf:"bytes,2,opt,name=mongodb_spec_3_6,json=mongodbSpec36,proto3,oneof"` } +type ConfigSpec_MongodbSpec_4_0 struct { + MongodbSpec_4_0 *MongodbSpec4_0 `protobuf:"bytes,4,opt,name=mongodb_spec_4_0,json=mongodbSpec40,proto3,oneof"` +} + func (*ConfigSpec_MongodbSpec_3_6) isConfigSpec_MongodbSpec() {} +func (*ConfigSpec_MongodbSpec_4_0) isConfigSpec_MongodbSpec() {} + func (m *ConfigSpec) GetMongodbSpec() isConfigSpec_MongodbSpec { if m != nil { return m.MongodbSpec @@ -2650,6 +2976,13 @@ func (m *ConfigSpec) GetMongodbSpec_3_6() *MongodbSpec3_6 { return nil } +func (m *ConfigSpec) GetMongodbSpec_4_0() *MongodbSpec4_0 { + if x, ok := m.GetMongodbSpec().(*ConfigSpec_MongodbSpec_4_0); ok { + return x.MongodbSpec_4_0 + } + return nil +} + func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { if m != nil { return m.BackupWindowStart @@ -2657,62 +2990,23 @@ func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ConfigSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ConfigSpec_OneofMarshaler, _ConfigSpec_OneofUnmarshaler, _ConfigSpec_OneofSizer, []interface{}{ - (*ConfigSpec_MongodbSpec_3_6)(nil), - } -} - -func _ConfigSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ConfigSpec) - // mongodb_spec - switch x := m.MongodbSpec.(type) { - case *ConfigSpec_MongodbSpec_3_6: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.MongodbSpec_3_6); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ConfigSpec.MongodbSpec has unexpected type %T", x) +func (m *ConfigSpec) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ConfigSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ConfigSpec) - switch tag { - case 2: // mongodb_spec.mongodb_spec_3_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(MongodbSpec3_6) - err := b.DecodeMessage(msg) - m.MongodbSpec = &ConfigSpec_MongodbSpec_3_6{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConfigSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ConfigSpec_MongodbSpec_3_6)(nil), + (*ConfigSpec_MongodbSpec_4_0)(nil), } } -func _ConfigSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ConfigSpec) - // mongodb_spec - switch x := m.MongodbSpec.(type) { - case *ConfigSpec_MongodbSpec_3_6: - s := proto.Size(x.MongodbSpec_3_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) proto.RegisterType((*GetClusterRequest)(nil), "yandex.cloud.mdb.mongodb.v1.GetClusterRequest") proto.RegisterType((*ListClustersRequest)(nil), "yandex.cloud.mdb.mongodb.v1.ListClustersRequest") proto.RegisterType((*ListClustersResponse)(nil), "yandex.cloud.mdb.mongodb.v1.ListClustersResponse") @@ -2765,8 +3059,200 @@ func init() { proto.RegisterType((*MongodbSpec3_6_Mongod)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec3_6.Mongod") proto.RegisterType((*MongodbSpec3_6_MongoCfg)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec3_6.MongoCfg") proto.RegisterType((*MongodbSpec3_6_Mongos)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec3_6.Mongos") + proto.RegisterType((*MongodbSpec4_0)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec4_0") + proto.RegisterType((*MongodbSpec4_0_Mongod)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec4_0.Mongod") + proto.RegisterType((*MongodbSpec4_0_MongoCfg)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec4_0.MongoCfg") + proto.RegisterType((*MongodbSpec4_0_Mongos)(nil), "yandex.cloud.mdb.mongodb.v1.MongodbSpec4_0.Mongos") proto.RegisterType((*ConfigSpec)(nil), "yandex.cloud.mdb.mongodb.v1.ConfigSpec") - proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/cluster_service.proto", fileDescriptor_fdf7200f72aab6ae) +} + +var fileDescriptor_fdf7200f72aab6ae = []byte{ + // 2893 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5b, 0x5d, 0x6c, 0x1c, 0x57, + 0x15, 0xee, 0xf8, 0x67, 0xbd, 0x7b, 0x36, 0x71, 0xd3, 0x1b, 0x27, 0x75,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, 0xee, 0xbc, 0x8f, 0x7e, 0x2d, 0x01, 0x90, 0xdd, 0xcb, 0x3a, 0x09, + 0x48, 0x78, 0x9b, 0xfb, 0xba, 0x22, 0xa9, 0x62, 0x54, 0x36, 0x1e, 0x1e, 0xce, 0xb0, 0x04, 0x8e, + 0xb2, 0x51, 0x95, 0x20, 0x27, 0x6e, 0x12, 0x1f, 0x44, 0x8c, 0x1c, 0xdc, 0xad, 0x10, 0x71, 0x24, + 0x95, 0x9e, 0x41, 0xb6, 0x6c, 0x0d, 0x0c, 0xd3, 0x47, 0xaa, 0xc2, 0x29, 0x39, 0xb2, 0x0a, 0xc4, + 0x55, 0xfe, 0xd1, 0x0e, 0x02, 0x4c, 0x91, 0x08, 0x41, 0x20, 0xaa, 0x2e, 0x5f, 0x0b, 0x08, 0x02, + 0x7e, 0x75, 0x42, 0x76, 0xc4, 0x85, 0xe9, 0xfe, 0xdc, 0x6c, 0x7e, 0xe9, 0xf6, 0xd5, 0xaa, 0xe1, + 0xdc, 0x69, 0x95, 0xd2, 0x65, 0xab, 0x9e, 0x61, 0x60, 0x67, 0xd8, 0x3f, 0x7b, 0xaa, 0xd6, 0x4c, + 0x15, 0x9b, 0x74, 0xd1, 0x4c, 0xc8, 0x5f, 0x7e, 0xce, 0xf3, 0x9f, 0xa5, 0x18, 0x25, 0x2d, 0xfc, + 0x2f, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xc9, 0xb8, 0xdc, 0x2f, 0x36, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2817,7 +3303,8 @@ type ClusterServiceClient interface { AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) - // Enables sharding for the cluster. + // Enables sharding for the cluster: creates 3 mongocfg and 2 mongos hosts + // that would support adding and using shards in the cluster. EnableSharding(ctx context.Context, in *EnableClusterShardingRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the specified shard. GetShard(ctx context.Context, in *GetClusterShardRequest, opts ...grpc.CallOption) (*Shard, error) @@ -3064,7 +3551,8 @@ type ClusterServiceServer interface { AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error) - // Enables sharding for the cluster. + // Enables sharding for the cluster: creates 3 mongocfg and 2 mongos hosts + // that would support adding and using shards in the cluster. EnableSharding(context.Context, *EnableClusterShardingRequest) (*operation.Operation, error) // Returns the specified shard. GetShard(context.Context, *GetClusterShardRequest) (*Shard, error) @@ -3076,6 +3564,74 @@ type ClusterServiceServer interface { DeleteShard(context.Context, *DeleteClusterShardRequest) (*operation.Operation, error) } +// UnimplementedClusterServiceServer can be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { +} + +func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedClusterServiceServer) Move(ctx context.Context, req *MoveClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Backup not implemented") +} +func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented") +} +func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogs not implemented") +} +func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListHosts not implemented") +} +func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHosts not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteHosts not implemented") +} +func (*UnimplementedClusterServiceServer) EnableSharding(ctx context.Context, req *EnableClusterShardingRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableSharding not implemented") +} +func (*UnimplementedClusterServiceServer) GetShard(ctx context.Context, req *GetClusterShardRequest) (*Shard, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShard not implemented") +} +func (*UnimplementedClusterServiceServer) ListShards(ctx context.Context, req *ListClusterShardsRequest) (*ListClusterShardsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListShards not implemented") +} +func (*UnimplementedClusterServiceServer) AddShard(ctx context.Context, req *AddClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddShard not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteShard(ctx context.Context, req *DeleteClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteShard not implemented") +} + func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer) { s.RegisterService(&_ClusterService_serviceDesc, srv) } @@ -3550,184 +4106,3 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/mongodb/v1/cluster_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/cluster_service.proto", fileDescriptor_cluster_service_86bdc30dc8ad0f00) -} - -var fileDescriptor_cluster_service_86bdc30dc8ad0f00 = []byte{ - // 2756 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5b, 0x4d, 0x6c, 0x1b, 0xc7, - 0xf5, 0xcf, 0xea, 0x83, 0x22, 0x1f, 0x6d, 0x45, 0x19, 0xcb, 0x0e, 0xc3, 0x58, 0x89, 0xbc, 0x49, - 0x1c, 0x99, 0x86, 0xf8, 0x69, 0xd1, 0x96, 0x12, 0xc5, 0xb6, 0x3e, 0xec, 0x28, 0x91, 0x6c, 0x63, - 0x25, 0x3b, 0xfe, 0x3b, 0x7f, 0x97, 0x58, 0x72, 0x87, 0x34, 0x21, 0x72, 0x97, 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, 0x85, 0xd1, 0x04, 0x00, 0x25, 0x34, - 0xb4, 0x75, 0xac, 0x46, 0xfa, 0xa9, 0xd0, 0xd0, 0x93, 0x9d, 0xd4, 0x20, 0xa5, 0x94, 0xa8, 0x94, - 0x35, 0x32, 0x87, 0x44, 0x08, 0x14, 0xcb, 0x15, 0x03, 0xd7, 0x23, 0x03, 0x94, 0x0a, 0x9e, 0xec, - 0x34, 0xe5, 0xf1, 0x19, 0xf1, 0x6b, 0x02, 0x8c, 0xda, 0x91, 0xeb, 0x35, 0x4d, 0xd5, 0x31, 0xba, - 0x04, 0x41, 0xae, 0x9f, 0x1e, 0x11, 0xc6, 0xfb, 0x27, 0xc2, 0xe9, 0xd7, 0xe3, 0x2e, 0x31, 0x10, - 0x37, 0xcd, 0xd7, 0xe4, 0x42, 0xa7, 0xe1, 0x79, 0x15, 0x3f, 0x30, 0x72, 0x16, 0xb4, 0x44, 0xaf, - 0x90, 0x74, 0x94, 0x0c, 0xdf, 0x30, 0x61, 0x8a, 0xbf, 0x0d, 0xc0, 0xe8, 0x7c, 0x1d, 0xcb, 0x06, - 0x6e, 0xdb, 0x02, 0x1f, 0xd6, 0x4b, 0xc1, 0x80, 0x2a, 0x57, 0x99, 0xe1, 0x42, 0x73, 0x63, 0x84, - 0xea, 0xf3, 0xa7, 0xa9, 0xa3, 0x1f, 0xca, 0x93, 0x5b, 0x97, 0x27, 0xef, 0x24, 0x27, 0xa7, 0x73, - 0x77, 0x63, 0x8c, 0x2d, 0x9b, 0x91, 0x28, 0x29, 0x3a, 0x0b, 0x61, 0x05, 0xeb, 0x85, 0x7a, 0xb9, - 0x46, 0x1c, 0xdd, 0x6e, 0xc8, 0xf4, 0x54, 0x56, 0xb2, 0xce, 0xa2, 0xef, 0x09, 0x10, 0xa8, 0xc8, - 0x79, 0x5c, 0xd1, 0x23, 0x03, 0xd4, 0x18, 0xb3, 0xee, 0xc6, 0x70, 0x50, 0x27, 0xbe, 0x4c, 0xf9, - 0x17, 0x55, 0xa3, 0xbe, 0x39, 0x77, 0xf1, 0xf3, 0xa7, 0xa9, 0xf0, 0x87, 0x93, 0xb9, 0xe4, 0xe4, - 0xb4, 0x3c, 0xb9, 0x75, 0x37, 0xf6, 0x98, 0x61, 0x3b, 0x67, 0x62, 0xdc, 0xde, 0x49, 0x05, 0xa2, - 0xe6, 0x2f, 0x84, 0x46, 0x88, 0x22, 0x77, 0x2d, 0xf4, 0x12, 0x47, 0x83, 0x6e, 0x43, 0x18, 0xab, - 0x1b, 0xe5, 0xba, 0xa6, 0x56, 0xb1, 0x6a, 0x44, 0x06, 0xc7, 0x85, 0x89, 0xe1, 0x74, 0xd2, 0xcb, - 0x4e, 0xc5, 0x17, 0x5b, 0x7c, 0x73, 0x03, 0xc4, 0x62, 0x92, 0x55, 0x14, 0xba, 0x06, 0x61, 0x16, - 0x30, 0x39, 0xbd, 0x86, 0x0b, 0x91, 0xc0, 0xb8, 0x30, 0x11, 0x4e, 0xbf, 0xe9, 0x2e, 0x99, 0xd2, - 0xaf, 0xd6, 0x70, 0x81, 0x0b, 0x84, 0x42, 0x73, 0x04, 0xdd, 0x86, 0x61, 0x33, 0xa8, 0xa9, 0x44, - 0x3d, 0x32, 0x44, 0x2d, 0x79, 0xc6, 0x55, 0xe4, 0x02, 0x67, 0xa1, 0x42, 0x03, 0x8f, 0x77, 0x52, - 0x7d, 0xef, 0x24, 0xa5, 0xa3, 0x8a, 0x65, 0x54, 0x47, 0xcb, 0x00, 0x24, 0x05, 0x70, 0xa9, 0x41, - 0x2a, 0xf5, 0x0d, 0x57, 0xa9, 0x37, 0x75, 0x5c, 0xb7, 0x49, 0x0c, 0x35, 0xf8, 0x08, 0x95, 0x76, - 0x4f, 0xd3, 0x0d, 0x2e, 0x2d, 0xe4, 0x41, 0xda, 0xbb, 0x9a, 0x6e, 0xd8, 0xa5, 0xdd, 0xe3, 0x23, - 0x3a, 0x49, 0x23, 0x2a, 0x36, 0xee, 0x6b, 0xf5, 0x75, 0xe2, 0xc4,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, - 0x99, 0x26, 0xe6, 0x11, 0x32, 0x63, 0x5d, 0xf9, 0x0e, 0x44, 0x3b, 0x57, 0x3e, 0x20, 0xad, 0xbe, - 0x39, 0x00, 0x27, 0x17, 0x55, 0x39, 0x5f, 0x31, 0x85, 0xaf, 0xde, 0x93, 0xeb, 0x4a, 0x59, 0x2d, - 0xed, 0x4b, 0x33, 0x05, 0x82, 0x74, 0x9b, 0x0a, 0xc5, 0x12, 0x6f, 0x27, 0xcc, 0xb9, 0x6e, 0xa4, - 0xdb, 0xca, 0xf1, 0x15, 0x42, 0x37, 0x5f, 0x2c, 0x99, 0x27, 0x76, 0x53, 0x32, 0xfa, 0x12, 0x04, - 0xe8, 0x6f, 0x9d, 0xc6, 0x46, 0x38, 0x7d, 0xa9, 0xc7, 0x35, 0x74, 0xbe, 0x02, 0x97, 0xda, 0xe6, - 0x90, 0x03, 0xbd, 0x39, 0x64, 0xf4, 0x16, 0x04, 0x4d, 0x4d, 0xd0, 0x7b, 0x10, 0xaa, 0x63, 0x76, - 0xdb, 0xd2, 0xf9, 0x61, 0xed, 0x74, 0xb7, 0xcb, 0x00, 0xa3, 0xe6, 0x10, 0x5b, 0xec, 0xd1, 0x35, - 0x08, 0x30, 0xf4, 0x07, 0x29, 0x55, 0x7c, 0x07, 0xc6, 0x1c, 0x0d, 0xe6, 0xf5, 0x2a, 0xf6, 0x75, - 0x01, 0x4e, 0xb4, 0xda, 0xf2, 0x94, 0x7b, 0x5f, 0x9e, 0x34, 0x0b, 0xa0, 0x13, 0xe6, 0x9c, 0x8f, - 0xbb, 0x59, 0x88, 0x72, 0x10, 0xbf, 0x16, 0x7f, 0x28, 0xd8, 0x32, 0x23, 0xc5, 0xf1, 0xcc, 0x64, - 0xed, 0xaf, 0xda, 0x8a, 0xae, 0x89, 0xad, 0x79, 0x48, 0x0a, 0x50, 0x35, 0xcc, 0xbc, 0x2d, 0xba, - 0xee, 0x24, 0x33, 0x30, 0xe7, 0xf0, 0x9c, 0xb9, 0x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96, 0x61, 0xe2, 0x61, 0xab, 0x6f, 0xf2, 0x08, 0xfd, 0x52, - 0x00, 0x20, 0xd1, 0xcb, 0x5a, 0x92, 0xc8, 0x73, 0x98, 0xdb, 0xda, 0xab, 0xd1, 0xac, 0x5f, 0x36, - 0x9e, 0x1e, 0x2e, 0xb0, 0x02, 0x8e, 0x92, 0x7e, 0x95, 0x20, 0xc7, 0x6d, 0x92, 0x1f, 0xbc, 0x18, - 0xd9, 0xb9, 0xed, 0xe9, 0xc5, 0x91, 0x72, 0xf4, 0x0c, 0xb2, 0x67, 0x8f, 0x71, 0x90, 0x7e, 0x52, - 0x15, 0xa6, 0x44, 0xdf, 0x2a, 0x10, 0x57, 0xf9, 0x7b, 0x33, 0x09, 0x30, 0x45, 0x7c, 0x24, 0x01, - 0xbf, 0xba, 0x7c, 0xc5, 0x21, 0x09, 0xd8, 0xd5, 0x71, 0x89, 0x88, 0x8b, 0xb1, 0xde, 0xdc, 0x6c, - 0x6e, 0xe9, 0xce, 0xd5, 0x52, 0xd9, 0xb8, 0xd7, 0xc8, 0xc7, 0x0b, 0x5a, 0x35, 0xc1, 0xc0, 0x4e, - 0xb2, 0xbf, 0xfd, 0x2f, 0x69, 0x93, 0x25, 0xac, 0xd2, 0x45, 0x13, 0x2e, 0xff, 0x14, 0xf0, 0x16, - 0xff, 0x99, 0x0f, 0x50, 0xd2, 0xcc, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x14, 0xc4, 0x18, 0x52, - 0x1c, 0x32, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.pb.go index 2c5b6631a..b1df9ed5b 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor int32 @@ -38,18 +40,20 @@ var MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_name = map[in 2: "SNAPPY", 3: "ZLIB", } + var MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_value = map[string]int32{ "COMPRESSOR_UNSPECIFIED": 0, - "NONE": 1, - "SNAPPY": 2, - "ZLIB": 3, + "NONE": 1, + "SNAPPY": 2, + "ZLIB": 3, } func (x MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor) String() string { return proto.EnumName(MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_name, int32(x)) } + func (MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0, 0, 1, 0} + return fileDescriptor_8069fc8835af3200, []int{0, 0, 0, 1, 0} } type MongodConfig3_6_OperationProfiling_Mode int32 @@ -70,6 +74,7 @@ var MongodConfig3_6_OperationProfiling_Mode_name = map[int32]string{ 2: "SLOW_OP", 3: "ALL", } + var MongodConfig3_6_OperationProfiling_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "OFF": 1, @@ -80,17 +85,22 @@ var MongodConfig3_6_OperationProfiling_Mode_value = map[string]int32{ func (x MongodConfig3_6_OperationProfiling_Mode) String() string { return proto.EnumName(MongodConfig3_6_OperationProfiling_Mode_name, int32(x)) } + func (MongodConfig3_6_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 1, 0} + return fileDescriptor_8069fc8835af3200, []int{0, 1, 0} } type MongoCfgConfig3_6_OperationProfiling_Mode int32 const ( MongoCfgConfig3_6_OperationProfiling_MODE_UNSPECIFIED MongoCfgConfig3_6_OperationProfiling_Mode = 0 - MongoCfgConfig3_6_OperationProfiling_OFF MongoCfgConfig3_6_OperationProfiling_Mode = 1 - MongoCfgConfig3_6_OperationProfiling_SLOW_OP MongoCfgConfig3_6_OperationProfiling_Mode = 2 - MongoCfgConfig3_6_OperationProfiling_ALL MongoCfgConfig3_6_OperationProfiling_Mode = 3 + // The profiler is off and does not collect any data. This is the default + // profiler level. + MongoCfgConfig3_6_OperationProfiling_OFF MongoCfgConfig3_6_OperationProfiling_Mode = 1 + // The profiler collects data for operations that take longer than the value of [slow_op_threshold]. + MongoCfgConfig3_6_OperationProfiling_SLOW_OP MongoCfgConfig3_6_OperationProfiling_Mode = 2 + // The profiler collects data for all operations. + MongoCfgConfig3_6_OperationProfiling_ALL MongoCfgConfig3_6_OperationProfiling_Mode = 3 ) var MongoCfgConfig3_6_OperationProfiling_Mode_name = map[int32]string{ @@ -99,6 +109,7 @@ var MongoCfgConfig3_6_OperationProfiling_Mode_name = map[int32]string{ 2: "SLOW_OP", 3: "ALL", } + var MongoCfgConfig3_6_OperationProfiling_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "OFF": 1, @@ -109,8 +120,9 @@ var MongoCfgConfig3_6_OperationProfiling_Mode_value = map[string]int32{ func (x MongoCfgConfig3_6_OperationProfiling_Mode) String() string { return proto.EnumName(MongoCfgConfig3_6_OperationProfiling_Mode_name, int32(x)) } + func (MongoCfgConfig3_6_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 1, 0} + return fileDescriptor_8069fc8835af3200, []int{1, 1, 0} } // Configuration of a mongod daemon. Supported options are a limited subset of all @@ -131,16 +143,17 @@ func (m *MongodConfig3_6) Reset() { *m = MongodConfig3_6{} } func (m *MongodConfig3_6) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6) ProtoMessage() {} func (*MongodConfig3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0} + return fileDescriptor_8069fc8835af3200, []int{0} } + func (m *MongodConfig3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6.Unmarshal(m, b) } func (m *MongodConfig3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6.Merge(dst, src) +func (m *MongodConfig3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6.Merge(m, src) } func (m *MongodConfig3_6) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6.Size(m) @@ -186,16 +199,17 @@ func (m *MongodConfig3_6_Storage) Reset() { *m = MongodConfig3_6_Storage func (m *MongodConfig3_6_Storage) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6_Storage) ProtoMessage() {} func (*MongodConfig3_6_Storage) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0} + return fileDescriptor_8069fc8835af3200, []int{0, 0} } + func (m *MongodConfig3_6_Storage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Storage.Unmarshal(m, b) } func (m *MongodConfig3_6_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Storage.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Storage) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Storage.Merge(dst, src) +func (m *MongodConfig3_6_Storage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Storage.Merge(m, src) } func (m *MongodConfig3_6_Storage) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Storage.Size(m) @@ -235,16 +249,17 @@ func (m *MongodConfig3_6_Storage_WiredTiger) Reset() { *m = MongodConfig func (m *MongodConfig3_6_Storage_WiredTiger) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6_Storage_WiredTiger) ProtoMessage() {} func (*MongodConfig3_6_Storage_WiredTiger) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0, 0} + return fileDescriptor_8069fc8835af3200, []int{0, 0, 0} } + func (m *MongodConfig3_6_Storage_WiredTiger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger.Unmarshal(m, b) } func (m *MongodConfig3_6_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Storage_WiredTiger) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger.Merge(dst, src) +func (m *MongodConfig3_6_Storage_WiredTiger) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger.Merge(m, src) } func (m *MongodConfig3_6_Storage_WiredTiger) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger.Size(m) @@ -285,16 +300,17 @@ func (m *MongodConfig3_6_Storage_WiredTiger_EngineConfig) String() string { } func (*MongodConfig3_6_Storage_WiredTiger_EngineConfig) ProtoMessage() {} func (*MongodConfig3_6_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0, 0, 0} + return fileDescriptor_8069fc8835af3200, []int{0, 0, 0, 0} } + func (m *MongodConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_EngineConfig.Unmarshal(m, b) } func (m *MongodConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_EngineConfig.Merge(dst, src) +func (m *MongodConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_EngineConfig.Merge(m, src) } func (m *MongodConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_EngineConfig.Size(m) @@ -328,16 +344,17 @@ func (m *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) String() string { } func (*MongodConfig3_6_Storage_WiredTiger_CollectionConfig) ProtoMessage() {} func (*MongodConfig3_6_Storage_WiredTiger_CollectionConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0, 0, 1} + return fileDescriptor_8069fc8835af3200, []int{0, 0, 0, 1} } + func (m *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_CollectionConfig.Unmarshal(m, b) } func (m *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_CollectionConfig.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_CollectionConfig.Merge(dst, src) +func (m *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_CollectionConfig.Merge(m, src) } func (m *MongodConfig3_6_Storage_WiredTiger_CollectionConfig) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Storage_WiredTiger_CollectionConfig.Size(m) @@ -373,16 +390,17 @@ func (m *MongodConfig3_6_Storage_Journal) Reset() { *m = MongodConfig3_6 func (m *MongodConfig3_6_Storage_Journal) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6_Storage_Journal) ProtoMessage() {} func (*MongodConfig3_6_Storage_Journal) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 0, 1} + return fileDescriptor_8069fc8835af3200, []int{0, 0, 1} } + func (m *MongodConfig3_6_Storage_Journal) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Storage_Journal.Unmarshal(m, b) } func (m *MongodConfig3_6_Storage_Journal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Storage_Journal.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Storage_Journal) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Storage_Journal.Merge(dst, src) +func (m *MongodConfig3_6_Storage_Journal) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Storage_Journal.Merge(m, src) } func (m *MongodConfig3_6_Storage_Journal) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Storage_Journal.Size(m) @@ -423,16 +441,17 @@ func (m *MongodConfig3_6_OperationProfiling) Reset() { *m = MongodConfig func (m *MongodConfig3_6_OperationProfiling) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6_OperationProfiling) ProtoMessage() {} func (*MongodConfig3_6_OperationProfiling) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 1} + return fileDescriptor_8069fc8835af3200, []int{0, 1} } + func (m *MongodConfig3_6_OperationProfiling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_OperationProfiling.Unmarshal(m, b) } func (m *MongodConfig3_6_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_OperationProfiling.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_OperationProfiling) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_OperationProfiling.Merge(dst, src) +func (m *MongodConfig3_6_OperationProfiling) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_OperationProfiling.Merge(m, src) } func (m *MongodConfig3_6_OperationProfiling) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_OperationProfiling.Size(m) @@ -469,16 +488,17 @@ func (m *MongodConfig3_6_Network) Reset() { *m = MongodConfig3_6_Network func (m *MongodConfig3_6_Network) String() string { return proto.CompactTextString(m) } func (*MongodConfig3_6_Network) ProtoMessage() {} func (*MongodConfig3_6_Network) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{0, 2} + return fileDescriptor_8069fc8835af3200, []int{0, 2} } + func (m *MongodConfig3_6_Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfig3_6_Network.Unmarshal(m, b) } func (m *MongodConfig3_6_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfig3_6_Network.Marshal(b, m, deterministic) } -func (dst *MongodConfig3_6_Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfig3_6_Network.Merge(dst, src) +func (m *MongodConfig3_6_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig3_6_Network.Merge(m, src) } func (m *MongodConfig3_6_Network) XXX_Size() int { return xxx_messageInfo_MongodConfig3_6_Network.Size(m) @@ -512,16 +532,17 @@ func (m *MongoCfgConfig3_6) Reset() { *m = MongoCfgConfig3_6{} } func (m *MongoCfgConfig3_6) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfig3_6) ProtoMessage() {} func (*MongoCfgConfig3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1} + return fileDescriptor_8069fc8835af3200, []int{1} } + func (m *MongoCfgConfig3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6.Unmarshal(m, b) } func (m *MongoCfgConfig3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6.Merge(dst, src) +func (m *MongoCfgConfig3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6.Merge(m, src) } func (m *MongoCfgConfig3_6) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6.Size(m) @@ -565,16 +586,17 @@ func (m *MongoCfgConfig3_6_Storage) Reset() { *m = MongoCfgConfig3_6_Sto func (m *MongoCfgConfig3_6_Storage) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfig3_6_Storage) ProtoMessage() {} func (*MongoCfgConfig3_6_Storage) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 0} + return fileDescriptor_8069fc8835af3200, []int{1, 0} } + func (m *MongoCfgConfig3_6_Storage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6_Storage.Unmarshal(m, b) } func (m *MongoCfgConfig3_6_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6_Storage.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6_Storage) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6_Storage.Merge(dst, src) +func (m *MongoCfgConfig3_6_Storage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6_Storage.Merge(m, src) } func (m *MongoCfgConfig3_6_Storage) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6_Storage.Size(m) @@ -605,16 +627,17 @@ func (m *MongoCfgConfig3_6_Storage_WiredTiger) Reset() { *m = MongoCfgCo func (m *MongoCfgConfig3_6_Storage_WiredTiger) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfig3_6_Storage_WiredTiger) ProtoMessage() {} func (*MongoCfgConfig3_6_Storage_WiredTiger) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 0, 0} + return fileDescriptor_8069fc8835af3200, []int{1, 0, 0} } + func (m *MongoCfgConfig3_6_Storage_WiredTiger) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger.Unmarshal(m, b) } func (m *MongoCfgConfig3_6_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6_Storage_WiredTiger) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger.Merge(dst, src) +func (m *MongoCfgConfig3_6_Storage_WiredTiger) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger.Merge(m, src) } func (m *MongoCfgConfig3_6_Storage_WiredTiger) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger.Size(m) @@ -648,16 +671,17 @@ func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) String() string { } func (*MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) ProtoMessage() {} func (*MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 0, 0, 0} + return fileDescriptor_8069fc8835af3200, []int{1, 0, 0, 0} } + func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig.Unmarshal(m, b) } func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig.Merge(dst, src) +func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig.Merge(m, src) } func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig.Size(m) @@ -676,9 +700,11 @@ func (m *MongoCfgConfig3_6_Storage_WiredTiger_EngineConfig) GetCacheSizeGb() *wr } type MongoCfgConfig3_6_OperationProfiling struct { + // Operation profiling level. For details, see [MongoDB documentation](https://docs.mongodb.com/v3.6/tutorial/manage-the-database-profiler/). Mode MongoCfgConfig3_6_OperationProfiling_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig3_6_OperationProfiling_Mode" json:"mode,omitempty"` // The slow operation time threshold, in milliseconds. Operations that run - // for longer than this threshold are considered slow. + // for longer than this threshold are considered slow, and are processed by the profiler + // running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v3.6/reference/configuration-options/#operationProfiling.slowOpThresholdMs). SlowOpThreshold *wrappers.Int64Value `protobuf:"bytes,2,opt,name=slow_op_threshold,json=slowOpThreshold,proto3" json:"slow_op_threshold,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -689,16 +715,17 @@ func (m *MongoCfgConfig3_6_OperationProfiling) Reset() { *m = MongoCfgCo func (m *MongoCfgConfig3_6_OperationProfiling) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfig3_6_OperationProfiling) ProtoMessage() {} func (*MongoCfgConfig3_6_OperationProfiling) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 1} + return fileDescriptor_8069fc8835af3200, []int{1, 1} } + func (m *MongoCfgConfig3_6_OperationProfiling) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6_OperationProfiling.Unmarshal(m, b) } func (m *MongoCfgConfig3_6_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6_OperationProfiling.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6_OperationProfiling) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6_OperationProfiling.Merge(dst, src) +func (m *MongoCfgConfig3_6_OperationProfiling) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6_OperationProfiling.Merge(m, src) } func (m *MongoCfgConfig3_6_OperationProfiling) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6_OperationProfiling.Size(m) @@ -735,16 +762,17 @@ func (m *MongoCfgConfig3_6_Network) Reset() { *m = MongoCfgConfig3_6_Net func (m *MongoCfgConfig3_6_Network) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfig3_6_Network) ProtoMessage() {} func (*MongoCfgConfig3_6_Network) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{1, 2} + return fileDescriptor_8069fc8835af3200, []int{1, 2} } + func (m *MongoCfgConfig3_6_Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfig3_6_Network.Unmarshal(m, b) } func (m *MongoCfgConfig3_6_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfig3_6_Network.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfig3_6_Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfig3_6_Network.Merge(dst, src) +func (m *MongoCfgConfig3_6_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig3_6_Network.Merge(m, src) } func (m *MongoCfgConfig3_6_Network) XXX_Size() int { return xxx_messageInfo_MongoCfgConfig3_6_Network.Size(m) @@ -763,6 +791,7 @@ func (m *MongoCfgConfig3_6_Network) GetMaxIncomingConnections() *wrappers.Int64V } type MongosConfig3_6 struct { + // Network settings for mongos. Net *MongosConfig3_6_Network `protobuf:"bytes,1,opt,name=net,proto3" json:"net,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -773,16 +802,17 @@ func (m *MongosConfig3_6) Reset() { *m = MongosConfig3_6{} } func (m *MongosConfig3_6) String() string { return proto.CompactTextString(m) } func (*MongosConfig3_6) ProtoMessage() {} func (*MongosConfig3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{2} + return fileDescriptor_8069fc8835af3200, []int{2} } + func (m *MongosConfig3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongosConfig3_6.Unmarshal(m, b) } func (m *MongosConfig3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongosConfig3_6.Marshal(b, m, deterministic) } -func (dst *MongosConfig3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongosConfig3_6.Merge(dst, src) +func (m *MongosConfig3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfig3_6.Merge(m, src) } func (m *MongosConfig3_6) XXX_Size() int { return xxx_messageInfo_MongosConfig3_6.Size(m) @@ -812,16 +842,17 @@ func (m *MongosConfig3_6_Network) Reset() { *m = MongosConfig3_6_Network func (m *MongosConfig3_6_Network) String() string { return proto.CompactTextString(m) } func (*MongosConfig3_6_Network) ProtoMessage() {} func (*MongosConfig3_6_Network) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{2, 0} + return fileDescriptor_8069fc8835af3200, []int{2, 0} } + func (m *MongosConfig3_6_Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongosConfig3_6_Network.Unmarshal(m, b) } func (m *MongosConfig3_6_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongosConfig3_6_Network.Marshal(b, m, deterministic) } -func (dst *MongosConfig3_6_Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongosConfig3_6_Network.Merge(dst, src) +func (m *MongosConfig3_6_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfig3_6_Network.Merge(m, src) } func (m *MongosConfig3_6_Network) XXX_Size() int { return xxx_messageInfo_MongosConfig3_6_Network.Size(m) @@ -840,12 +871,12 @@ func (m *MongosConfig3_6_Network) GetMaxIncomingConnections() *wrappers.Int64Val } type MongodConfigSet3_6 struct { - // Effective settings for a MongoDB 3.6 cluster (a combination of settings defined + // Effective mongod settings for a MongoDB 3.6 cluster (a combination of settings defined // in [user_config] and [default_config]). EffectiveConfig *MongodConfig3_6 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` - // User-defined settings for a MongoDB 3.6 cluster. + // User-defined mongod settings for a MongoDB 3.6 cluster. UserConfig *MongodConfig3_6 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` - // Default configuration for a MongoDB 3.6 cluster. + // Default mongod configuration for a MongoDB 3.6 cluster. DefaultConfig *MongodConfig3_6 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -856,16 +887,17 @@ func (m *MongodConfigSet3_6) Reset() { *m = MongodConfigSet3_6{} } func (m *MongodConfigSet3_6) String() string { return proto.CompactTextString(m) } func (*MongodConfigSet3_6) ProtoMessage() {} func (*MongodConfigSet3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{3} + return fileDescriptor_8069fc8835af3200, []int{3} } + func (m *MongodConfigSet3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongodConfigSet3_6.Unmarshal(m, b) } func (m *MongodConfigSet3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongodConfigSet3_6.Marshal(b, m, deterministic) } -func (dst *MongodConfigSet3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongodConfigSet3_6.Merge(dst, src) +func (m *MongodConfigSet3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfigSet3_6.Merge(m, src) } func (m *MongodConfigSet3_6) XXX_Size() int { return xxx_messageInfo_MongodConfigSet3_6.Size(m) @@ -898,11 +930,12 @@ func (m *MongodConfigSet3_6) GetDefaultConfig() *MongodConfig3_6 { } type MongoCfgConfigSet3_6 struct { - // Effective settings for a MongoDB 3.6 cluster (a combination of settings defined + // Effective mongocfg settings for a MongoDB 3.6 cluster (a combination of settings defined // in [user_config] and [default_config]). EffectiveConfig *MongoCfgConfig3_6 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` - // User-defined settings for a MongoDB 3.6 cluster. - UserConfig *MongoCfgConfig3_6 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // User-defined mongocfg settings for a MongoDB 3.6 cluster. + UserConfig *MongoCfgConfig3_6 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // Default mongocfg configuration for a MongoDB 3.6 cluster. DefaultConfig *MongoCfgConfig3_6 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -913,16 +946,17 @@ func (m *MongoCfgConfigSet3_6) Reset() { *m = MongoCfgConfigSet3_6{} } func (m *MongoCfgConfigSet3_6) String() string { return proto.CompactTextString(m) } func (*MongoCfgConfigSet3_6) ProtoMessage() {} func (*MongoCfgConfigSet3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{4} + return fileDescriptor_8069fc8835af3200, []int{4} } + func (m *MongoCfgConfigSet3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongoCfgConfigSet3_6.Unmarshal(m, b) } func (m *MongoCfgConfigSet3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongoCfgConfigSet3_6.Marshal(b, m, deterministic) } -func (dst *MongoCfgConfigSet3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongoCfgConfigSet3_6.Merge(dst, src) +func (m *MongoCfgConfigSet3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfigSet3_6.Merge(m, src) } func (m *MongoCfgConfigSet3_6) XXX_Size() int { return xxx_messageInfo_MongoCfgConfigSet3_6.Size(m) @@ -971,16 +1005,17 @@ func (m *MongosConfigSet3_6) Reset() { *m = MongosConfigSet3_6{} } func (m *MongosConfigSet3_6) String() string { return proto.CompactTextString(m) } func (*MongosConfigSet3_6) ProtoMessage() {} func (*MongosConfigSet3_6) Descriptor() ([]byte, []int) { - return fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e, []int{5} + return fileDescriptor_8069fc8835af3200, []int{5} } + func (m *MongosConfigSet3_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MongosConfigSet3_6.Unmarshal(m, b) } func (m *MongosConfigSet3_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MongosConfigSet3_6.Marshal(b, m, deterministic) } -func (dst *MongosConfigSet3_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_MongosConfigSet3_6.Merge(dst, src) +func (m *MongosConfigSet3_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfigSet3_6.Merge(m, src) } func (m *MongosConfigSet3_6) XXX_Size() int { return xxx_messageInfo_MongosConfigSet3_6.Size(m) @@ -1013,6 +1048,9 @@ func (m *MongosConfigSet3_6) GetDefaultConfig() *MongosConfig3_6 { } func init() { + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor", MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_name, MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_value) + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6_OperationProfiling_Mode", MongodConfig3_6_OperationProfiling_Mode_name, MongodConfig3_6_OperationProfiling_Mode_value) + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig3_6_OperationProfiling_Mode", MongoCfgConfig3_6_OperationProfiling_Mode_name, MongoCfgConfig3_6_OperationProfiling_Mode_value) proto.RegisterType((*MongodConfig3_6)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6") proto.RegisterType((*MongodConfig3_6_Storage)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6.Storage") proto.RegisterType((*MongodConfig3_6_Storage_WiredTiger)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6.Storage.WiredTiger") @@ -1032,16 +1070,13 @@ func init() { proto.RegisterType((*MongodConfigSet3_6)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet3_6") proto.RegisterType((*MongoCfgConfigSet3_6)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet3_6") proto.RegisterType((*MongosConfigSet3_6)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet3_6") - proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor", MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_name, MongodConfig3_6_Storage_WiredTiger_CollectionConfig_Compressor_value) - proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig3_6_OperationProfiling_Mode", MongodConfig3_6_OperationProfiling_Mode_name, MongodConfig3_6_OperationProfiling_Mode_value) - proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig3_6_OperationProfiling_Mode", MongoCfgConfig3_6_OperationProfiling_Mode_name, MongoCfgConfig3_6_OperationProfiling_Mode_value) } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.proto", fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/config/mongodb3_6.proto", fileDescriptor_8069fc8835af3200) } -var fileDescriptor_mongodb3_6_0e1cb1c5b8514b0e = []byte{ +var fileDescriptor_8069fc8835af3200 = []byte{ // 1004 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcd, 0x6e, 0xe3, 0x54, 0x14, 0xc7, 0x71, 0x52, 0xea, 0x72, 0xd2, 0x36, 0xee, 0x65, 0x34, 0xaa, 0xcc, 0x87, 0x50, 0x56, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.pb.go new file mode 100644 index 000000000..457c71140 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.pb.go @@ -0,0 +1,1130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.proto + +package mongodb + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor int32 + +const ( + MongodConfig4_0_Storage_WiredTiger_CollectionConfig_COMPRESSOR_UNSPECIFIED MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 0 + // No compression. + MongodConfig4_0_Storage_WiredTiger_CollectionConfig_NONE MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 1 + // The [Snappy](https://docs.mongodb.com/v4.0/reference/glossary/#term-snappy) compression. + MongodConfig4_0_Storage_WiredTiger_CollectionConfig_SNAPPY MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 2 + // The [zlib](https://docs.mongodb.com/v4.0/reference/glossary/#term-zlib) compression. + MongodConfig4_0_Storage_WiredTiger_CollectionConfig_ZLIB MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 3 +) + +var MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name = map[int32]string{ + 0: "COMPRESSOR_UNSPECIFIED", + 1: "NONE", + 2: "SNAPPY", + 3: "ZLIB", +} + +var MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_value = map[string]int32{ + "COMPRESSOR_UNSPECIFIED": 0, + "NONE": 1, + "SNAPPY": 2, + "ZLIB": 3, +} + +func (x MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor) String() string { + return proto.EnumName(MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name, int32(x)) +} + +func (MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 1, 0} +} + +type MongodConfig4_0_OperationProfiling_Mode int32 + +const ( + MongodConfig4_0_OperationProfiling_MODE_UNSPECIFIED MongodConfig4_0_OperationProfiling_Mode = 0 + // The profiler is off and does not collect any data. + MongodConfig4_0_OperationProfiling_OFF MongodConfig4_0_OperationProfiling_Mode = 1 + // The profiler collects data for operations that take longer than the value of [slow_op_threshold]. + MongodConfig4_0_OperationProfiling_SLOW_OP MongodConfig4_0_OperationProfiling_Mode = 2 + // The profiler collects data for all operations. + MongodConfig4_0_OperationProfiling_ALL MongodConfig4_0_OperationProfiling_Mode = 3 +) + +var MongodConfig4_0_OperationProfiling_Mode_name = map[int32]string{ + 0: "MODE_UNSPECIFIED", + 1: "OFF", + 2: "SLOW_OP", + 3: "ALL", +} + +var MongodConfig4_0_OperationProfiling_Mode_value = map[string]int32{ + "MODE_UNSPECIFIED": 0, + "OFF": 1, + "SLOW_OP": 2, + "ALL": 3, +} + +func (x MongodConfig4_0_OperationProfiling_Mode) String() string { + return proto.EnumName(MongodConfig4_0_OperationProfiling_Mode_name, int32(x)) +} + +func (MongodConfig4_0_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 1, 0} +} + +type MongoCfgConfig4_0_OperationProfiling_Mode int32 + +const ( + MongoCfgConfig4_0_OperationProfiling_MODE_UNSPECIFIED MongoCfgConfig4_0_OperationProfiling_Mode = 0 + // The profiler is off and does not collect any data. + MongoCfgConfig4_0_OperationProfiling_OFF MongoCfgConfig4_0_OperationProfiling_Mode = 1 + // The profiler collects data for operations that take longer than the value of [slow_op_threshold]. + MongoCfgConfig4_0_OperationProfiling_SLOW_OP MongoCfgConfig4_0_OperationProfiling_Mode = 2 + // The profiler collects data for all operations. + MongoCfgConfig4_0_OperationProfiling_ALL MongoCfgConfig4_0_OperationProfiling_Mode = 3 +) + +var MongoCfgConfig4_0_OperationProfiling_Mode_name = map[int32]string{ + 0: "MODE_UNSPECIFIED", + 1: "OFF", + 2: "SLOW_OP", + 3: "ALL", +} + +var MongoCfgConfig4_0_OperationProfiling_Mode_value = map[string]int32{ + "MODE_UNSPECIFIED": 0, + "OFF": 1, + "SLOW_OP": 2, + "ALL": 3, +} + +func (x MongoCfgConfig4_0_OperationProfiling_Mode) String() string { + return proto.EnumName(MongoCfgConfig4_0_OperationProfiling_Mode_name, int32(x)) +} + +func (MongoCfgConfig4_0_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 1, 0} +} + +// Configuration of a mongod daemon. Supported options are a limited subset of all +// options described in [MongoDB documentation](https://docs.mongodb.com/v4.0/reference/configuration-options/). +type MongodConfig4_0 struct { + // `storage` section of mongod configuration. + Storage *MongodConfig4_0_Storage `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` + // `operationProfiling` section of mongod configuration. + OperationProfiling *MongodConfig4_0_OperationProfiling `protobuf:"bytes,2,opt,name=operation_profiling,json=operationProfiling,proto3" json:"operation_profiling,omitempty"` + // `net` section of mongod configuration. + Net *MongodConfig4_0_Network `protobuf:"bytes,3,opt,name=net,proto3" json:"net,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0) Reset() { *m = MongodConfig4_0{} } +func (m *MongodConfig4_0) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0) ProtoMessage() {} +func (*MongodConfig4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0} +} + +func (m *MongodConfig4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0.Unmarshal(m, b) +} +func (m *MongodConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0.Merge(m, src) +} +func (m *MongodConfig4_0) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0.Size(m) +} +func (m *MongodConfig4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0 proto.InternalMessageInfo + +func (m *MongodConfig4_0) GetStorage() *MongodConfig4_0_Storage { + if m != nil { + return m.Storage + } + return nil +} + +func (m *MongodConfig4_0) GetOperationProfiling() *MongodConfig4_0_OperationProfiling { + if m != nil { + return m.OperationProfiling + } + return nil +} + +func (m *MongodConfig4_0) GetNet() *MongodConfig4_0_Network { + if m != nil { + return m.Net + } + return nil +} + +type MongodConfig4_0_Storage struct { + // Configuration of the WiredTiger storage engine. + WiredTiger *MongodConfig4_0_Storage_WiredTiger `protobuf:"bytes,1,opt,name=wired_tiger,json=wiredTiger,proto3" json:"wired_tiger,omitempty"` + // Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.0/reference/glossary/#term-journal). + Journal *MongodConfig4_0_Storage_Journal `protobuf:"bytes,2,opt,name=journal,proto3" json:"journal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Storage) Reset() { *m = MongodConfig4_0_Storage{} } +func (m *MongodConfig4_0_Storage) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0_Storage) ProtoMessage() {} +func (*MongodConfig4_0_Storage) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0} +} + +func (m *MongodConfig4_0_Storage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Storage.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Storage.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Storage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Storage.Merge(m, src) +} +func (m *MongodConfig4_0_Storage) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Storage.Size(m) +} +func (m *MongodConfig4_0_Storage) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Storage.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Storage proto.InternalMessageInfo + +func (m *MongodConfig4_0_Storage) GetWiredTiger() *MongodConfig4_0_Storage_WiredTiger { + if m != nil { + return m.WiredTiger + } + return nil +} + +func (m *MongodConfig4_0_Storage) GetJournal() *MongodConfig4_0_Storage_Journal { + if m != nil { + return m.Journal + } + return nil +} + +// Configuration of WiredTiger storage engine. +type MongodConfig4_0_Storage_WiredTiger struct { + // Engine configuration for WiredTiger. + EngineConfig *MongodConfig4_0_Storage_WiredTiger_EngineConfig `protobuf:"bytes,1,opt,name=engine_config,json=engineConfig,proto3" json:"engine_config,omitempty"` + // Collection configuration for WiredTiger. + CollectionConfig *MongodConfig4_0_Storage_WiredTiger_CollectionConfig `protobuf:"bytes,2,opt,name=collection_config,json=collectionConfig,proto3" json:"collection_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Storage_WiredTiger) Reset() { *m = MongodConfig4_0_Storage_WiredTiger{} } +func (m *MongodConfig4_0_Storage_WiredTiger) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0_Storage_WiredTiger) ProtoMessage() {} +func (*MongodConfig4_0_Storage_WiredTiger) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0} +} + +func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Merge(m, src) +} +func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Size(m) +} +func (m *MongodConfig4_0_Storage_WiredTiger) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger proto.InternalMessageInfo + +func (m *MongodConfig4_0_Storage_WiredTiger) GetEngineConfig() *MongodConfig4_0_Storage_WiredTiger_EngineConfig { + if m != nil { + return m.EngineConfig + } + return nil +} + +func (m *MongodConfig4_0_Storage_WiredTiger) GetCollectionConfig() *MongodConfig4_0_Storage_WiredTiger_CollectionConfig { + if m != nil { + return m.CollectionConfig + } + return nil +} + +type MongodConfig4_0_Storage_WiredTiger_EngineConfig struct { + // The maximum size of the internal cache that WiredTiger will use for all data. + CacheSizeGb *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=cache_size_gb,json=cacheSizeGb,proto3" json:"cache_size_gb,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) Reset() { + *m = MongodConfig4_0_Storage_WiredTiger_EngineConfig{} +} +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) String() string { + return proto.CompactTextString(m) +} +func (*MongodConfig4_0_Storage_WiredTiger_EngineConfig) ProtoMessage() {} +func (*MongodConfig4_0_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 0} +} + +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Merge(m, src) +} +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Size(m) +} +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig proto.InternalMessageInfo + +func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) GetCacheSizeGb() *wrappers.DoubleValue { + if m != nil { + return m.CacheSizeGb + } + return nil +} + +type MongodConfig4_0_Storage_WiredTiger_CollectionConfig struct { + // Default type of compression to use for collection data. + BlockCompressor MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor `protobuf:"varint,1,opt,name=block_compressor,json=blockCompressor,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor" json:"block_compressor,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) Reset() { + *m = MongodConfig4_0_Storage_WiredTiger_CollectionConfig{} +} +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) String() string { + return proto.CompactTextString(m) +} +func (*MongodConfig4_0_Storage_WiredTiger_CollectionConfig) ProtoMessage() {} +func (*MongodConfig4_0_Storage_WiredTiger_CollectionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 1} +} + +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Merge(m, src) +} +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Size(m) +} +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig proto.InternalMessageInfo + +func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) GetBlockCompressor() MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor { + if m != nil { + return m.BlockCompressor + } + return MongodConfig4_0_Storage_WiredTiger_CollectionConfig_COMPRESSOR_UNSPECIFIED +} + +type MongodConfig4_0_Storage_Journal struct { + // Commit interval between journal operations, in milliseconds. + // Default: 100. + CommitInterval *wrappers.Int64Value `protobuf:"bytes,1,opt,name=commit_interval,json=commitInterval,proto3" json:"commit_interval,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Storage_Journal) Reset() { *m = MongodConfig4_0_Storage_Journal{} } +func (m *MongodConfig4_0_Storage_Journal) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0_Storage_Journal) ProtoMessage() {} +func (*MongodConfig4_0_Storage_Journal) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 1} +} + +func (m *MongodConfig4_0_Storage_Journal) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Storage_Journal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Storage_Journal) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Storage_Journal.Merge(m, src) +} +func (m *MongodConfig4_0_Storage_Journal) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Size(m) +} +func (m *MongodConfig4_0_Storage_Journal) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Storage_Journal.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Storage_Journal proto.InternalMessageInfo + +func (m *MongodConfig4_0_Storage_Journal) GetCommitInterval() *wrappers.Int64Value { + if m != nil { + return m.CommitInterval + } + return nil +} + +type MongodConfig4_0_OperationProfiling struct { + // Mode which specifies operations that should be profiled. + Mode MongodConfig4_0_OperationProfiling_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_OperationProfiling_Mode" json:"mode,omitempty"` + // The slow operation time threshold, in milliseconds. Operations that run + // for longer than this threshold are considered slow, and are processed by the profiler + // running in the SLOW_OP mode. + SlowOpThreshold *wrappers.Int64Value `protobuf:"bytes,2,opt,name=slow_op_threshold,json=slowOpThreshold,proto3" json:"slow_op_threshold,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_OperationProfiling) Reset() { *m = MongodConfig4_0_OperationProfiling{} } +func (m *MongodConfig4_0_OperationProfiling) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0_OperationProfiling) ProtoMessage() {} +func (*MongodConfig4_0_OperationProfiling) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 1} +} + +func (m *MongodConfig4_0_OperationProfiling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Unmarshal(m, b) +} +func (m *MongodConfig4_0_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_OperationProfiling) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_OperationProfiling.Merge(m, src) +} +func (m *MongodConfig4_0_OperationProfiling) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Size(m) +} +func (m *MongodConfig4_0_OperationProfiling) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_OperationProfiling.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_OperationProfiling proto.InternalMessageInfo + +func (m *MongodConfig4_0_OperationProfiling) GetMode() MongodConfig4_0_OperationProfiling_Mode { + if m != nil { + return m.Mode + } + return MongodConfig4_0_OperationProfiling_MODE_UNSPECIFIED +} + +func (m *MongodConfig4_0_OperationProfiling) GetSlowOpThreshold() *wrappers.Int64Value { + if m != nil { + return m.SlowOpThreshold + } + return nil +} + +type MongodConfig4_0_Network struct { + // The maximum number of simultaneous connections that mongod will accept. + MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfig4_0_Network) Reset() { *m = MongodConfig4_0_Network{} } +func (m *MongodConfig4_0_Network) String() string { return proto.CompactTextString(m) } +func (*MongodConfig4_0_Network) ProtoMessage() {} +func (*MongodConfig4_0_Network) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{0, 2} +} + +func (m *MongodConfig4_0_Network) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfig4_0_Network.Unmarshal(m, b) +} +func (m *MongodConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfig4_0_Network.Marshal(b, m, deterministic) +} +func (m *MongodConfig4_0_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfig4_0_Network.Merge(m, src) +} +func (m *MongodConfig4_0_Network) XXX_Size() int { + return xxx_messageInfo_MongodConfig4_0_Network.Size(m) +} +func (m *MongodConfig4_0_Network) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfig4_0_Network.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfig4_0_Network proto.InternalMessageInfo + +func (m *MongodConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value { + if m != nil { + return m.MaxIncomingConnections + } + return nil +} + +type MongoCfgConfig4_0 struct { + // `storage` section of mongocfg configuration. + Storage *MongoCfgConfig4_0_Storage `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` + // `operationProfiling` section of mongocfg configuration. + OperationProfiling *MongoCfgConfig4_0_OperationProfiling `protobuf:"bytes,2,opt,name=operation_profiling,json=operationProfiling,proto3" json:"operation_profiling,omitempty"` + // `net` section of mongocfg configuration. + Net *MongoCfgConfig4_0_Network `protobuf:"bytes,3,opt,name=net,proto3" json:"net,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0) Reset() { *m = MongoCfgConfig4_0{} } +func (m *MongoCfgConfig4_0) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfig4_0) ProtoMessage() {} +func (*MongoCfgConfig4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1} +} + +func (m *MongoCfgConfig4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0.Merge(m, src) +} +func (m *MongoCfgConfig4_0) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0.Size(m) +} +func (m *MongoCfgConfig4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0 proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0) GetStorage() *MongoCfgConfig4_0_Storage { + if m != nil { + return m.Storage + } + return nil +} + +func (m *MongoCfgConfig4_0) GetOperationProfiling() *MongoCfgConfig4_0_OperationProfiling { + if m != nil { + return m.OperationProfiling + } + return nil +} + +func (m *MongoCfgConfig4_0) GetNet() *MongoCfgConfig4_0_Network { + if m != nil { + return m.Net + } + return nil +} + +type MongoCfgConfig4_0_Storage struct { + // Configuration of the WiredTiger storage engine. + WiredTiger *MongoCfgConfig4_0_Storage_WiredTiger `protobuf:"bytes,1,opt,name=wired_tiger,json=wiredTiger,proto3" json:"wired_tiger,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0_Storage) Reset() { *m = MongoCfgConfig4_0_Storage{} } +func (m *MongoCfgConfig4_0_Storage) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfig4_0_Storage) ProtoMessage() {} +func (*MongoCfgConfig4_0_Storage) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 0} +} + +func (m *MongoCfgConfig4_0_Storage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0_Storage.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0_Storage.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0_Storage) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0_Storage.Merge(m, src) +} +func (m *MongoCfgConfig4_0_Storage) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0_Storage.Size(m) +} +func (m *MongoCfgConfig4_0_Storage) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0_Storage.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0_Storage proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0_Storage) GetWiredTiger() *MongoCfgConfig4_0_Storage_WiredTiger { + if m != nil { + return m.WiredTiger + } + return nil +} + +// Configuration of WiredTiger storage engine. +type MongoCfgConfig4_0_Storage_WiredTiger struct { + // Engine configuration for WiredTiger. + EngineConfig *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig `protobuf:"bytes,1,opt,name=engine_config,json=engineConfig,proto3" json:"engine_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0_Storage_WiredTiger) Reset() { *m = MongoCfgConfig4_0_Storage_WiredTiger{} } +func (m *MongoCfgConfig4_0_Storage_WiredTiger) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfig4_0_Storage_WiredTiger) ProtoMessage() {} +func (*MongoCfgConfig4_0_Storage_WiredTiger) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 0, 0} +} + +func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Merge(m, src) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Size(m) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0_Storage_WiredTiger) GetEngineConfig() *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig { + if m != nil { + return m.EngineConfig + } + return nil +} + +type MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig struct { + // The maximum size of the internal cache that WiredTiger will use for all data. + CacheSizeGb *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=cache_size_gb,json=cacheSizeGb,proto3" json:"cache_size_gb,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) Reset() { + *m = MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig{} +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) String() string { + return proto.CompactTextString(m) +} +func (*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) ProtoMessage() {} +func (*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 0, 0, 0} +} + +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Merge(m, src) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Size(m) +} +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) GetCacheSizeGb() *wrappers.DoubleValue { + if m != nil { + return m.CacheSizeGb + } + return nil +} + +type MongoCfgConfig4_0_OperationProfiling struct { + // Mode which specifies operations that should be profiled. + Mode MongoCfgConfig4_0_OperationProfiling_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0_OperationProfiling_Mode" json:"mode,omitempty"` + // The slow operation time threshold, in milliseconds. Operations that run + // for longer than this threshold are considered slow, and are processed by the profiler + // running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.0/reference/configuration-options/#operationProfiling.slowOpThresholdMs). + SlowOpThreshold *wrappers.Int64Value `protobuf:"bytes,2,opt,name=slow_op_threshold,json=slowOpThreshold,proto3" json:"slow_op_threshold,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0_OperationProfiling) Reset() { *m = MongoCfgConfig4_0_OperationProfiling{} } +func (m *MongoCfgConfig4_0_OperationProfiling) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfig4_0_OperationProfiling) ProtoMessage() {} +func (*MongoCfgConfig4_0_OperationProfiling) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 1} +} + +func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Merge(m, src) +} +func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Size(m) +} +func (m *MongoCfgConfig4_0_OperationProfiling) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0_OperationProfiling) GetMode() MongoCfgConfig4_0_OperationProfiling_Mode { + if m != nil { + return m.Mode + } + return MongoCfgConfig4_0_OperationProfiling_MODE_UNSPECIFIED +} + +func (m *MongoCfgConfig4_0_OperationProfiling) GetSlowOpThreshold() *wrappers.Int64Value { + if m != nil { + return m.SlowOpThreshold + } + return nil +} + +type MongoCfgConfig4_0_Network struct { + // The maximum number of simultaneous connections that mongocfg will accept. + MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfig4_0_Network) Reset() { *m = MongoCfgConfig4_0_Network{} } +func (m *MongoCfgConfig4_0_Network) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfig4_0_Network) ProtoMessage() {} +func (*MongoCfgConfig4_0_Network) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{1, 2} +} + +func (m *MongoCfgConfig4_0_Network) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfig4_0_Network.Unmarshal(m, b) +} +func (m *MongoCfgConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfig4_0_Network.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfig4_0_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfig4_0_Network.Merge(m, src) +} +func (m *MongoCfgConfig4_0_Network) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfig4_0_Network.Size(m) +} +func (m *MongoCfgConfig4_0_Network) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfig4_0_Network.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfig4_0_Network proto.InternalMessageInfo + +func (m *MongoCfgConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value { + if m != nil { + return m.MaxIncomingConnections + } + return nil +} + +type MongosConfig4_0 struct { + // Network settings for mongos. + Net *MongosConfig4_0_Network `protobuf:"bytes,1,opt,name=net,proto3" json:"net,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongosConfig4_0) Reset() { *m = MongosConfig4_0{} } +func (m *MongosConfig4_0) String() string { return proto.CompactTextString(m) } +func (*MongosConfig4_0) ProtoMessage() {} +func (*MongosConfig4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{2} +} + +func (m *MongosConfig4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongosConfig4_0.Unmarshal(m, b) +} +func (m *MongosConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongosConfig4_0.Marshal(b, m, deterministic) +} +func (m *MongosConfig4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfig4_0.Merge(m, src) +} +func (m *MongosConfig4_0) XXX_Size() int { + return xxx_messageInfo_MongosConfig4_0.Size(m) +} +func (m *MongosConfig4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongosConfig4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongosConfig4_0 proto.InternalMessageInfo + +func (m *MongosConfig4_0) GetNet() *MongosConfig4_0_Network { + if m != nil { + return m.Net + } + return nil +} + +type MongosConfig4_0_Network struct { + // The maximum number of simultaneous connections that mongos will accept. + MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongosConfig4_0_Network) Reset() { *m = MongosConfig4_0_Network{} } +func (m *MongosConfig4_0_Network) String() string { return proto.CompactTextString(m) } +func (*MongosConfig4_0_Network) ProtoMessage() {} +func (*MongosConfig4_0_Network) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{2, 0} +} + +func (m *MongosConfig4_0_Network) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongosConfig4_0_Network.Unmarshal(m, b) +} +func (m *MongosConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongosConfig4_0_Network.Marshal(b, m, deterministic) +} +func (m *MongosConfig4_0_Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfig4_0_Network.Merge(m, src) +} +func (m *MongosConfig4_0_Network) XXX_Size() int { + return xxx_messageInfo_MongosConfig4_0_Network.Size(m) +} +func (m *MongosConfig4_0_Network) XXX_DiscardUnknown() { + xxx_messageInfo_MongosConfig4_0_Network.DiscardUnknown(m) +} + +var xxx_messageInfo_MongosConfig4_0_Network proto.InternalMessageInfo + +func (m *MongosConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value { + if m != nil { + return m.MaxIncomingConnections + } + return nil +} + +type MongodConfigSet4_0 struct { + // Effective mongod settings for a MongoDB 4.0 cluster (a combination of settings defined + // in [user_config] and [default_config]). + EffectiveConfig *MongodConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` + // User-defined mongod settings for a MongoDB 4.0 cluster. + UserConfig *MongodConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // Default mongod configuration for a MongoDB 4.0 cluster. + DefaultConfig *MongodConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongodConfigSet4_0) Reset() { *m = MongodConfigSet4_0{} } +func (m *MongodConfigSet4_0) String() string { return proto.CompactTextString(m) } +func (*MongodConfigSet4_0) ProtoMessage() {} +func (*MongodConfigSet4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{3} +} + +func (m *MongodConfigSet4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongodConfigSet4_0.Unmarshal(m, b) +} +func (m *MongodConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongodConfigSet4_0.Marshal(b, m, deterministic) +} +func (m *MongodConfigSet4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongodConfigSet4_0.Merge(m, src) +} +func (m *MongodConfigSet4_0) XXX_Size() int { + return xxx_messageInfo_MongodConfigSet4_0.Size(m) +} +func (m *MongodConfigSet4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongodConfigSet4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongodConfigSet4_0 proto.InternalMessageInfo + +func (m *MongodConfigSet4_0) GetEffectiveConfig() *MongodConfig4_0 { + if m != nil { + return m.EffectiveConfig + } + return nil +} + +func (m *MongodConfigSet4_0) GetUserConfig() *MongodConfig4_0 { + if m != nil { + return m.UserConfig + } + return nil +} + +func (m *MongodConfigSet4_0) GetDefaultConfig() *MongodConfig4_0 { + if m != nil { + return m.DefaultConfig + } + return nil +} + +type MongoCfgConfigSet4_0 struct { + // Effective mongocfg settings for a MongoDB 4.0 cluster (a combination of settings defined + // in [user_config] and [default_config]). + EffectiveConfig *MongoCfgConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` + // User-defined mongocfg settings for a MongoDB 4.0 cluster. + UserConfig *MongoCfgConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // Default mongocfg configuration for a MongoDB 4.0 cluster. + DefaultConfig *MongoCfgConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongoCfgConfigSet4_0) Reset() { *m = MongoCfgConfigSet4_0{} } +func (m *MongoCfgConfigSet4_0) String() string { return proto.CompactTextString(m) } +func (*MongoCfgConfigSet4_0) ProtoMessage() {} +func (*MongoCfgConfigSet4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{4} +} + +func (m *MongoCfgConfigSet4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongoCfgConfigSet4_0.Unmarshal(m, b) +} +func (m *MongoCfgConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongoCfgConfigSet4_0.Marshal(b, m, deterministic) +} +func (m *MongoCfgConfigSet4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongoCfgConfigSet4_0.Merge(m, src) +} +func (m *MongoCfgConfigSet4_0) XXX_Size() int { + return xxx_messageInfo_MongoCfgConfigSet4_0.Size(m) +} +func (m *MongoCfgConfigSet4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongoCfgConfigSet4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongoCfgConfigSet4_0 proto.InternalMessageInfo + +func (m *MongoCfgConfigSet4_0) GetEffectiveConfig() *MongoCfgConfig4_0 { + if m != nil { + return m.EffectiveConfig + } + return nil +} + +func (m *MongoCfgConfigSet4_0) GetUserConfig() *MongoCfgConfig4_0 { + if m != nil { + return m.UserConfig + } + return nil +} + +func (m *MongoCfgConfigSet4_0) GetDefaultConfig() *MongoCfgConfig4_0 { + if m != nil { + return m.DefaultConfig + } + return nil +} + +type MongosConfigSet4_0 struct { + // Effective mongos settings for a MongoDB 4.0 cluster (a combination of settings defined + // in [user_config] and [default_config]). + EffectiveConfig *MongosConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` + // User-defined mongos settings for a MongoDB 4.0 cluster. + UserConfig *MongosConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // Default mongos configuration for a MongoDB 4.0 cluster. + DefaultConfig *MongosConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MongosConfigSet4_0) Reset() { *m = MongosConfigSet4_0{} } +func (m *MongosConfigSet4_0) String() string { return proto.CompactTextString(m) } +func (*MongosConfigSet4_0) ProtoMessage() {} +func (*MongosConfigSet4_0) Descriptor() ([]byte, []int) { + return fileDescriptor_3e01ff1b28bd2657, []int{5} +} + +func (m *MongosConfigSet4_0) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MongosConfigSet4_0.Unmarshal(m, b) +} +func (m *MongosConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MongosConfigSet4_0.Marshal(b, m, deterministic) +} +func (m *MongosConfigSet4_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_MongosConfigSet4_0.Merge(m, src) +} +func (m *MongosConfigSet4_0) XXX_Size() int { + return xxx_messageInfo_MongosConfigSet4_0.Size(m) +} +func (m *MongosConfigSet4_0) XXX_DiscardUnknown() { + xxx_messageInfo_MongosConfigSet4_0.DiscardUnknown(m) +} + +var xxx_messageInfo_MongosConfigSet4_0 proto.InternalMessageInfo + +func (m *MongosConfigSet4_0) GetEffectiveConfig() *MongosConfig4_0 { + if m != nil { + return m.EffectiveConfig + } + return nil +} + +func (m *MongosConfigSet4_0) GetUserConfig() *MongosConfig4_0 { + if m != nil { + return m.UserConfig + } + return nil +} + +func (m *MongosConfigSet4_0) GetDefaultConfig() *MongosConfig4_0 { + if m != nil { + return m.DefaultConfig + } + return nil +} + +func init() { + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor", MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name, MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_value) + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_OperationProfiling_Mode", MongodConfig4_0_OperationProfiling_Mode_name, MongodConfig4_0_OperationProfiling_Mode_value) + proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0_OperationProfiling_Mode", MongoCfgConfig4_0_OperationProfiling_Mode_name, MongoCfgConfig4_0_OperationProfiling_Mode_value) + proto.RegisterType((*MongodConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0") + proto.RegisterType((*MongodConfig4_0_Storage)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage") + proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger") + proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger_EngineConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.EngineConfig") + proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger_CollectionConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.CollectionConfig") + proto.RegisterType((*MongodConfig4_0_Storage_Journal)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.Journal") + proto.RegisterType((*MongodConfig4_0_OperationProfiling)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.OperationProfiling") + proto.RegisterType((*MongodConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Network") + proto.RegisterType((*MongoCfgConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0") + proto.RegisterType((*MongoCfgConfig4_0_Storage)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage") + proto.RegisterType((*MongoCfgConfig4_0_Storage_WiredTiger)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger") + proto.RegisterType((*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger.EngineConfig") + proto.RegisterType((*MongoCfgConfig4_0_OperationProfiling)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.OperationProfiling") + proto.RegisterType((*MongoCfgConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Network") + proto.RegisterType((*MongosConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0") + proto.RegisterType((*MongosConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0.Network") + proto.RegisterType((*MongodConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_0") + proto.RegisterType((*MongoCfgConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_0") + proto.RegisterType((*MongosConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_0") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.proto", fileDescriptor_3e01ff1b28bd2657) +} + +var fileDescriptor_3e01ff1b28bd2657 = []byte{ + // 982 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcd, 0x6e, 0xe3, 0x54, + 0x14, 0xc7, 0x49, 0x52, 0x9a, 0x72, 0xd2, 0x36, 0xee, 0x65, 0x34, 0xaa, 0xcc, 0x87, 0x50, 0x56, + 0x6c, 0x7a, 0x9d, 0x4c, 0x3b, 0x23, 0xa4, 0x0a, 0xc4, 0x34, 0x4d, 0x68, 0xa0, 0x89, 0x23, 0xbb, + 0x9d, 0x8a, 0x0a, 0x30, 0xfe, 0xb8, 0x71, 0xcd, 0xd8, 0xbe, 0x91, 0xed, 0x24, 0x9d, 0x6e, 0x19, + 0x96, 0xbc, 0x06, 0xec, 0x78, 0x8d, 0xee, 0x10, 0x6c, 0x79, 0x06, 0x9e, 0xa0, 0x0b, 0x84, 0x6c, + 0x5f, 0xe7, 0xb3, 0x69, 0x8b, 0x9b, 0xb2, 0x9a, 0x5d, 0x7d, 0xea, 0xf3, 0x3b, 0xf7, 0xfc, 0x73, + 0x3e, 0xae, 0x61, 0xfb, 0x95, 0xea, 0x1a, 0xe4, 0x5c, 0xd0, 0x6d, 0xda, 0x33, 0x04, 0xc7, 0xd0, + 0x04, 0x87, 0xba, 0x26, 0x35, 0x34, 0xa1, 0x5f, 0x11, 0x74, 0xea, 0x76, 0x2c, 0x33, 0xb1, 0xec, + 0x28, 0x65, 0xdc, 0xf5, 0x68, 0x40, 0x51, 0x29, 0x76, 0xc2, 0x91, 0x13, 0x76, 0x0c, 0x0d, 0xb3, + 0x57, 0x70, 0xbf, 0x82, 0x63, 0x27, 0xfe, 0x43, 0x93, 0x52, 0xd3, 0x26, 0x42, 0xe4, 0xa1, 0xf5, + 0x3a, 0xc2, 0xc0, 0x53, 0xbb, 0x5d, 0xe2, 0xf9, 0x31, 0x83, 0xff, 0x60, 0x22, 0x70, 0x5f, 0xb5, + 0x2d, 0x43, 0x0d, 0x2c, 0xea, 0xc6, 0xff, 0x2e, 0xfd, 0xba, 0x0a, 0xc5, 0x66, 0x04, 0xad, 0x46, + 0xbc, 0x1d, 0xa5, 0x8c, 0x8e, 0x21, 0xef, 0x07, 0xd4, 0x53, 0x4d, 0xb2, 0x99, 0xf9, 0x28, 0xf3, + 0x71, 0xe1, 0xc9, 0x2e, 0xbe, 0xfd, 0x20, 0x78, 0x8a, 0x82, 0xe5, 0x18, 0x21, 0x25, 0x2c, 0x34, + 0x80, 0x77, 0x69, 0x97, 0x78, 0x51, 0x74, 0xa5, 0xeb, 0xd1, 0x8e, 0x65, 0x5b, 0xae, 0xb9, 0x99, + 0x8d, 0x42, 0xd4, 0xd3, 0x84, 0x10, 0x13, 0x5c, 0x3b, 0xa1, 0x49, 0x88, 0xce, 0xd8, 0x50, 0x13, + 0x72, 0x2e, 0x09, 0x36, 0x73, 0xe9, 0x73, 0x69, 0x91, 0x60, 0x40, 0xbd, 0x97, 0x52, 0xc8, 0xe1, + 0xff, 0x59, 0x86, 0x3c, 0x4b, 0x0e, 0x99, 0x50, 0x18, 0x58, 0x1e, 0x31, 0x94, 0xc0, 0x32, 0x89, + 0xc7, 0xe4, 0xaa, 0xdf, 0x43, 0x2e, 0x7c, 0x12, 0xe2, 0x8e, 0x42, 0x9a, 0x04, 0x83, 0xe1, 0xdf, + 0xe8, 0x5b, 0xc8, 0xff, 0x40, 0x7b, 0x9e, 0xab, 0xda, 0x4c, 0xb0, 0xea, 0x7d, 0x82, 0x7c, 0x19, + 0xa3, 0xa4, 0x84, 0xc9, 0xff, 0xbe, 0x04, 0x30, 0x8a, 0x8c, 0xce, 0x61, 0x8d, 0xb8, 0xa6, 0xe5, + 0x12, 0x25, 0x06, 0xb1, 0xc4, 0xe4,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, 0x26, 0xd5, 0xf7, 0x73, 0xa5, 0x7a, 0x9a, + 0xaa, 0x03, 0x67, 0xc5, 0x7a, 0x71, 0x9d, 0x58, 0x29, 0xe1, 0xe3, 0x72, 0x7d, 0x33, 0x47, 0xae, + 0x94, 0xe8, 0x29, 0xc1, 0x86, 0x95, 0xe5, 0x2f, 0xbc, 0xb2, 0xfc, 0x87, 0xab, 0x2c, 0xff, 0xa1, + 0x2a, 0xcb, 0x9f, 0x27, 0xd4, 0x5e, 0xfb, 0xb4, 0x65, 0x5a, 0xc1, 0x59, 0x4f, 0xc3, 0x3a, 0x75, + 0x84, 0x98, 0xb7, 0x15, 0x7f, 0xb2, 0x9a, 0x74, 0xcb, 0x24, 0x6e, 0xd4, 0xdd, 0xc2, 0xed, 0x1f, + 0xd1, 0xbb, 0xcc, 0xa2, 0x2d, 0x47, 0x1e, 0xdb, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x09, 0x1a, + 0x1d, 0xf2, 0x79, 0x0f, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database.pb.go index 174454c41..4dd798286 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/database.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A MongoDB Database resource. For more information, see the // [Developer's Guide](/docs/managed-mongodb/concepts). @@ -35,16 +37,17 @@ func (m *Database) Reset() { *m = Database{} } func (m *Database) String() string { return proto.CompactTextString(m) } func (*Database) ProtoMessage() {} func (*Database) Descriptor() ([]byte, []int) { - return fileDescriptor_database_4ea16d4da2c264aa, []int{0} + return fileDescriptor_258e27fd8d7bf873, []int{0} } + func (m *Database) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Database.Unmarshal(m, b) } func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Database.Marshal(b, m, deterministic) } -func (dst *Database) XXX_Merge(src proto.Message) { - xxx_messageInfo_Database.Merge(dst, src) +func (m *Database) XXX_Merge(src proto.Message) { + xxx_messageInfo_Database.Merge(m, src) } func (m *Database) XXX_Size() int { return xxx_messageInfo_Database.Size(m) @@ -81,16 +84,17 @@ func (m *DatabaseSpec) Reset() { *m = DatabaseSpec{} } func (m *DatabaseSpec) String() string { return proto.CompactTextString(m) } func (*DatabaseSpec) ProtoMessage() {} func (*DatabaseSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_database_4ea16d4da2c264aa, []int{1} + return fileDescriptor_258e27fd8d7bf873, []int{1} } + func (m *DatabaseSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatabaseSpec.Unmarshal(m, b) } func (m *DatabaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DatabaseSpec.Marshal(b, m, deterministic) } -func (dst *DatabaseSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseSpec.Merge(dst, src) +func (m *DatabaseSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DatabaseSpec.Merge(m, src) } func (m *DatabaseSpec) XXX_Size() int { return xxx_messageInfo_DatabaseSpec.Size(m) @@ -114,11 +118,11 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/database.proto", fileDescriptor_database_4ea16d4da2c264aa) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/database.proto", fileDescriptor_258e27fd8d7bf873) } -var fileDescriptor_database_4ea16d4da2c264aa = []byte{ - // 237 bytes of a gzipped FileDescriptorProto +var fileDescriptor_258e27fd8d7bf873 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xaa, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4d, 0x49, 0xd2, 0xcf, 0xcd, 0xcf, 0x4b, 0xcf, 0x4f, 0x49, 0xd2, 0x2f, 0x33, 0xd4, 0x4f, 0x49, 0x2c, 0x49, 0x4c, 0x4a, 0x2c, 0x4e, @@ -127,11 +131,12 @@ var fileDescriptor_database_4ea16d4da2c264aa = []byte{ 0x25, 0xb1, 0x24, 0x33, 0x3f, 0x0f, 0xa2, 0x57, 0xc9, 0x96, 0x8b, 0xc3, 0x05, 0x6a, 0x9a, 0x90, 0x10, 0x17, 0x4b, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x98, 0x2d, 0x24, 0xcb, 0xc5, 0x95, 0x9c, 0x53, 0x5a, 0x5c, 0x92, 0x5a, 0x14, 0x9f, 0x99, 0x22, 0xc1, 0x04, - 0x96, 0xe1, 0x84, 0x8a, 0x78, 0xa6, 0x28, 0x39, 0x71, 0xf1, 0xc0, 0xb4, 0x07, 0x17, 0xa4, 0x26, - 0x0b, 0x19, 0x21, 0x1b, 0xe1, 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, + 0x62, 0x03, 0x2b, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xea, 0xaf, 0x3d, 0x16, 0x43, 0x01, + 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database_service.pb.go index 069af5cff..aa93d5dea 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/database_service.pb.go @@ -1,19 +1,20 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/database_service.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package mongodb import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -25,14 +26,14 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetDatabaseRequest struct { // ID of the MongoDB cluster that the database belongs to. // To get the cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Name of the MongoDB Database resource to return. - // To get the name of the database use a [DatabaseService.List] request. + // Name of the MongoDB database to return. + // To get the name of the database use a [List] request. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -43,16 +44,17 @@ func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*GetDatabaseRequest) ProtoMessage() {} func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{0} + return fileDescriptor_b50db49f4a5ed11a, []int{0} } + func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) } func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *GetDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseRequest.Merge(dst, src) +func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDatabaseRequest.Merge(m, src) } func (m *GetDatabaseRequest) XXX_Size() int { return xxx_messageInfo_GetDatabaseRequest.Size(m) @@ -81,7 +83,10 @@ type ListDatabasesRequest struct { // ID of the MongoDB cluster to list databases in. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListDatabasesResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the // [ListDatabasesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` @@ -94,16 +99,17 @@ func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } func (*ListDatabasesRequest) ProtoMessage() {} func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{1} + return fileDescriptor_b50db49f4a5ed11a, []int{1} } + func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) } func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic) } -func (dst *ListDatabasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesRequest.Merge(dst, src) +func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesRequest.Merge(m, src) } func (m *ListDatabasesRequest) XXX_Size() int { return xxx_messageInfo_ListDatabasesRequest.Size(m) @@ -136,7 +142,7 @@ func (m *ListDatabasesRequest) GetPageToken() string { } type ListDatabasesResponse struct { - // List of MongoDB Database resources. + // List of MongoDB databases. Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value @@ -152,16 +158,17 @@ func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } func (*ListDatabasesResponse) ProtoMessage() {} func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{2} + return fileDescriptor_b50db49f4a5ed11a, []int{2} } + func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) } func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic) } -func (dst *ListDatabasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesResponse.Merge(dst, src) +func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesResponse.Merge(m, src) } func (m *ListDatabasesResponse) XXX_Size() int { return xxx_messageInfo_ListDatabasesResponse.Size(m) @@ -201,16 +208,17 @@ func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} } func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseRequest) ProtoMessage() {} func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{3} + return fileDescriptor_b50db49f4a5ed11a, []int{3} } + func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) } func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseRequest.Merge(dst, src) +func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseRequest.Merge(m, src) } func (m *CreateDatabaseRequest) XXX_Size() int { return xxx_messageInfo_CreateDatabaseRequest.Size(m) @@ -249,16 +257,17 @@ func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseMetadata) ProtoMessage() {} func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{4} + return fileDescriptor_b50db49f4a5ed11a, []int{4} } + func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) } func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseMetadata.Merge(dst, src) +func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src) } func (m *CreateDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_CreateDatabaseMetadata.Size(m) @@ -299,16 +308,17 @@ func (m *DeleteDatabaseRequest) Reset() { *m = DeleteDatabaseRequest{} } func (m *DeleteDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseRequest) ProtoMessage() {} func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{5} + return fileDescriptor_b50db49f4a5ed11a, []int{5} } + func (m *DeleteDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseRequest.Unmarshal(m, b) } func (m *DeleteDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseRequest.Merge(dst, src) +func (m *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseRequest.Merge(m, src) } func (m *DeleteDatabaseRequest) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseRequest.Size(m) @@ -347,16 +357,17 @@ func (m *DeleteDatabaseMetadata) Reset() { *m = DeleteDatabaseMetadata{} func (m *DeleteDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseMetadata) ProtoMessage() {} func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_9ac08729ed097c0a, []int{6} + return fileDescriptor_b50db49f4a5ed11a, []int{6} } + func (m *DeleteDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseMetadata.Unmarshal(m, b) } func (m *DeleteDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseMetadata.Merge(dst, src) +func (m *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseMetadata.Merge(m, src) } func (m *DeleteDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseMetadata.Size(m) @@ -391,6 +402,58 @@ func init() { proto.RegisterType((*DeleteDatabaseMetadata)(nil), "yandex.cloud.mdb.mongodb.v1.DeleteDatabaseMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/database_service.proto", fileDescriptor_b50db49f4a5ed11a) +} + +var fileDescriptor_b50db49f4a5ed11a = []byte{ + // 697 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcf, 0x4f, 0x13, 0x4d, + 0x18, 0xce, 0x52, 0xbe, 0x86, 0x0e, 0xf0, 0x91, 0x4c, 0xbe, 0x92, 0xa6, 0xdf, 0xc7, 0x17, 0x5c, + 0x23, 0x62, 0x4d, 0x77, 0xba, 0x25, 0x18, 0x15, 0x38, 0xd8, 0x42, 0x08, 0xf1, 0x67, 0x0a, 0x27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 0x32, 0xea, 0xa9, 0xbd, 0x31, 0xd4, 0xdc, 0x09, 0x44, 0xdc, 0x54, 0xcf, 0x22, 0xe2, + 0xb6, 0x92, 0xc1, 0x5f, 0x15, 0x14, 0x97, 0xa6, 0xfc, 0x8d, 0x8e, 0xae, 0x4d, 0xd4, 0x8f, 0x8e, + 0x97, 0xfb, 0x47, 0x19, 0x72, 0xaa, 0xf3, 0x93, 0x72, 0xe0, 0xc9, 0x89, 0x62, 0xd4, 0x9f, 0x6a, + 0x4b, 0x8e, 0x27, 0xb6, 0xa4, 0xad, 0x32, 0x17, 0x61, 0xab, 0xc2, 0xca, 0xfa, 0xb2, 0x65, 0x8b, + 0x67, 0x75, 0x43, 0xab, 0x30, 0x87, 0x48, 0xba, 0x59, 0x39, 0xde, 0x2c, 0x96, 0xb5, 0xc0, 0x0d, + 0x4a, 0x93, 0x1e, 0x73, 0x6f, 0x2e, 0x5c, 0x1a, 0xf1, 0x00, 0x3a, 0xf3, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0x96, 0x76, 0x94, 0xd2, 0xf7, 0x07, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -473,6 +536,23 @@ type DatabaseServiceServer interface { Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error) } +// UnimplementedDatabaseServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDatabaseServiceServer struct { +} + +func (*UnimplementedDatabaseServiceServer) Get(ctx context.Context, req *GetDatabaseRequest) (*Database, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDatabaseServiceServer) List(ctx context.Context, req *ListDatabasesRequest) (*ListDatabasesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDatabaseServiceServer) Create(ctx context.Context, req *CreateDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDatabaseServiceServer) Delete(ctx context.Context, req *DeleteDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterDatabaseServiceServer(s *grpc.Server, srv DatabaseServiceServer) { s.RegisterService(&_DatabaseService_serviceDesc, srv) } @@ -573,55 +653,3 @@ var _DatabaseService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/mongodb/v1/database_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/database_service.proto", fileDescriptor_database_service_9ac08729ed097c0a) -} - -var fileDescriptor_database_service_9ac08729ed097c0a = []byte{ - // 697 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcf, 0x4f, 0x13, 0x4d, - 0x18, 0xce, 0x52, 0xbe, 0x86, 0x0e, 0xf0, 0x91, 0x4c, 0xbe, 0x92, 0xa6, 0xdf, 0xc7, 0x17, 0x5c, - 0x23, 0x62, 0x4d, 0x77, 0xba, 0x25, 0x18, 0x15, 0x38, 0xd8, 0x42, 0x08, 0xf1, 0x67, 0x0a, 0x27, - 0xc4, 0x34, 0xb3, 0xdd, 0xd7, 0x75, 0x63, 0x77, 0x67, 0xed, 0x4c, 0x1b, 0x7e, 0x04, 0x0f, 0xc6, - 0x98, 0xc8, 0xd5, 0xe8, 0xc1, 0x3f, 0xc1, 0x23, 0xff, 0x83, 0x81, 0x33, 0xfe, 0x01, 0x5e, 0x3c, - 0x78, 0xf6, 0xe8, 0xc9, 0xec, 0xce, 0x76, 0xdb, 0x42, 0xa9, 0x15, 0xb8, 0x4d, 0xe6, 0x7d, 0xde, - 0x79, 0x9f, 0x67, 0xe6, 0x79, 0xe7, 0x45, 0xf9, 0x2d, 0xea, 0x9a, 0xb0, 0x49, 0x2a, 0x55, 0x56, - 0x37, 0x89, 0x63, 0x1a, 0xc4, 0x61, 0xae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, 0xde, 0x2c, 0x96, 0xb5, 0xc0, 0x0d, - 0x4a, 0x93, 0x1e, 0x73, 0x6f, 0x2e, 0x5c, 0x1a, 0xf1, 0x00, 0x3a, 0xf3, 0x2b, 0x00, 0x00, 0xff, - 0xff, 0x96, 0x76, 0x94, 0xd2, 0xf7, 0x07, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset.pb.go index 35ad5245d..2bcf70446 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/resource_preset.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ResourcePreset resource for describing hardware configuration presets. type ResourcePreset struct { @@ -37,16 +39,17 @@ func (m *ResourcePreset) Reset() { *m = ResourcePreset{} } func (m *ResourcePreset) String() string { return proto.CompactTextString(m) } func (*ResourcePreset) ProtoMessage() {} func (*ResourcePreset) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_e8f81c1a07027864, []int{0} + return fileDescriptor_07c48b84d9988201, []int{0} } + func (m *ResourcePreset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourcePreset.Unmarshal(m, b) } func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic) } -func (dst *ResourcePreset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePreset.Merge(dst, src) +func (m *ResourcePreset) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcePreset.Merge(m, src) } func (m *ResourcePreset) XXX_Size() int { return xxx_messageInfo_ResourcePreset.Size(m) @@ -90,10 +93,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/resource_preset.proto", fileDescriptor_resource_preset_e8f81c1a07027864) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/resource_preset.proto", fileDescriptor_07c48b84d9988201) } -var fileDescriptor_resource_preset_e8f81c1a07027864 = []byte{ +var fileDescriptor_07c48b84d9988201 = []byte{ // 211 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8f, 0x31, 0x4b, 0x04, 0x31, 0x10, 0x85, 0xd9, 0x5d, 0x3d, 0xbd, 0x14, 0x57, 0x04, 0x91, 0x15, 0x9b, 0xc5, 0x6a, 0x9b, 0x4b, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset_service.pb.go index 2b2fd60b1..b9b4675f9 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/resource_preset_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/resource_preset_service.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package mongodb import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetResourcePresetRequest struct { // ID of the resource preset to return. @@ -38,16 +39,17 @@ func (m *GetResourcePresetRequest) Reset() { *m = GetResourcePresetReque func (m *GetResourcePresetRequest) String() string { return proto.CompactTextString(m) } func (*GetResourcePresetRequest) ProtoMessage() {} func (*GetResourcePresetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_0453cd5d31029933, []int{0} + return fileDescriptor_9f044bfca767b977, []int{0} } + func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetResourcePresetRequest.Unmarshal(m, b) } func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetResourcePresetRequest.Marshal(b, m, deterministic) } -func (dst *GetResourcePresetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetResourcePresetRequest.Merge(dst, src) +func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourcePresetRequest.Merge(m, src) } func (m *GetResourcePresetRequest) XXX_Size() int { return xxx_messageInfo_GetResourcePresetRequest.Size(m) @@ -82,16 +84,17 @@ func (m *ListResourcePresetsRequest) Reset() { *m = ListResourcePresetsR func (m *ListResourcePresetsRequest) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsRequest) ProtoMessage() {} func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_0453cd5d31029933, []int{1} + return fileDescriptor_9f044bfca767b977, []int{1} } + func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsRequest.Unmarshal(m, b) } func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsRequest.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsRequest.Merge(dst, src) +func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsRequest.Merge(m, src) } func (m *ListResourcePresetsRequest) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsRequest.Size(m) @@ -133,16 +136,17 @@ func (m *ListResourcePresetsResponse) Reset() { *m = ListResourcePresets func (m *ListResourcePresetsResponse) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsResponse) ProtoMessage() {} func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_0453cd5d31029933, []int{2} + return fileDescriptor_9f044bfca767b977, []int{2} } + func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsResponse.Unmarshal(m, b) } func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsResponse.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsResponse.Merge(dst, src) +func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsResponse.Merge(m, src) } func (m *ListResourcePresetsResponse) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsResponse.Size(m) @@ -173,6 +177,43 @@ func init() { proto.RegisterType((*ListResourcePresetsResponse)(nil), "yandex.cloud.mdb.mongodb.v1.ListResourcePresetsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/resource_preset_service.proto", fileDescriptor_9f044bfca767b977) +} + +var fileDescriptor_9f044bfca767b977 = []byte{ + // 457 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x6b, 0x13, 0x41, + 0x1c, 0x65, 0x92, 0x5a, 0xcc, 0x88, 0xb4, 0x0c, 0x08, 0xcb, 0x56, 0x21, 0xac, 0xa8, 0x81, 0x92, + 0x99, 0x6c, 0x44, 0xac, 0xff, 0x40, 0x72, 0x09, 0x05, 0x91, 0xb2, 0x15, 0x0f, 0x5e, 0xc2, 0x6c, + 0xe6, 0xc7, 0x38, 0x98, 0x9d, 0x59, 0x77, 0x26, 0xa1, 0x56, 0xbc, 0x78, 0xf4, 0xea, 0xd9, 0xab, + 0x17, 0x3f, 0x48, 0xbd, 0xfb, 0x15, 0x3c, 0x78, 0xf2, 0x03, 0x78, 0x92, 0x9d, 0xdd, 0x82, 0x89, + 0xed, 0xd2, 0xdc, 0x96, 0x7d, 0xf3, 0x7e, 0xef, 0xbd, 0x79, 0xbf, 0xc1, 0x0f, 0xde, 0x71, 0x2d, + 0xe0, 0x88, 0x4d, 0x67, 0x66, 0x2e, 0x58, 0x26, 0x52, 0x96, 0x19, 0x2d, 0x8d, 0x48, 0xd9, 0x22, + 0x66, 0x05, 0x58, 0x33, 0x2f, 0xa6, 0x30, 0xc9, 0x0b, 0xb0, 0xe0, 0x26, 0x16, 0x8a, 0x85, 0x9a, + 0x02, 0xcd, 0x0b, 0xe3, 0x0c, 0xd9, 0xa9, 0xa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 0xfc, + 0x63, 0xb3, 0x0c, 0xd4, 0x49, 0xae, 0x96, 0xbf, 0x0f, 0x4e, 0xfd, 0x0d, 0x7f, 0xb7, 0xf0, 0xb5, + 0xe5, 0x59, 0x87, 0xd5, 0x36, 0x90, 0x6f, 0x08, 0xb7, 0xc7, 0xe0, 0xc8, 0xbd, 0x46, 0x1f, 0xe7, + 0xb5, 0x13, 0xae, 0x63, 0x3f, 0x7a, 0xfa, 0xf1, 0xc7, 0xcf, 0xcf, 0xad, 0x87, 0x64, 0x8f, 0x65, + 0x5c, 0x73, 0x09, 0xa2, 0x7f, 0xc6, 0x66, 0xd4, 0xd1, 0xd8, 0xfb, 0xff, 0x5b, 0xff, 0x40, 0xbe, + 0x22, 0xbc, 0x51, 0xde, 0x33, 0xb9, 0xdf, 0xa8, 0x7b, 0x7e, 0xf9, 0xe1, 0xde, 0xfa, 0xc4, 0xaa, + 0xc3, 0x68, 0xd7, 0xbb, 0xbf, 0x45, 0x6e, 0x5e, 0xc0, 0xfd, 0x68, 0xff, 0xd5, 0x58, 0x2a, 0xf7, + 0x7a, 0x9e, 0xd2, 0xa9, 0xc9, 0x58, 0x25, 0xd9, 0xaf, 0x5e, 0x84, 0x34, 0x7d, 0x09, 0xda, 0x2f, + 0x3e, 0x6b, 0x78, 0x2a, 0x8f, 0xea, 0xcf, 0x74, 0xd3, 0x1f, 0xbd, 0xfb, 0x37, 0x00, 0x00, 0xff, + 0xff, 0xcf, 0x5c, 0x51, 0x57, 0xed, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -229,6 +270,17 @@ type ResourcePresetServiceServer interface { List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) } +// UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedResourcePresetServiceServer struct { +} + +func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer) { s.RegisterService(&_ResourcePresetService_serviceDesc, srv) } @@ -285,40 +337,3 @@ var _ResourcePresetService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/mongodb/v1/resource_preset_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/resource_preset_service.proto", fileDescriptor_resource_preset_service_0453cd5d31029933) -} - -var fileDescriptor_resource_preset_service_0453cd5d31029933 = []byte{ - // 457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x6b, 0x13, 0x41, - 0x1c, 0x65, 0x92, 0x5a, 0xcc, 0x88, 0xb4, 0x0c, 0x08, 0xcb, 0x56, 0x21, 0xac, 0xa8, 0x81, 0x92, - 0x99, 0x6c, 0x44, 0xac, 0xff, 0x40, 0x72, 0x09, 0x05, 0x91, 0xb2, 0x15, 0x0f, 0x5e, 0xc2, 0x6c, - 0xe6, 0xc7, 0x38, 0x98, 0x9d, 0x59, 0x77, 0x26, 0xa1, 0x56, 0xbc, 0x78, 0xf4, 0xea, 0xd9, 0xab, - 0x17, 0x3f, 0x48, 0xbd, 0xfb, 0x15, 0x3c, 0x78, 0xf2, 0x03, 0x78, 0x92, 0x9d, 0xdd, 0x82, 0x89, - 0xed, 0xd2, 0xdc, 0x96, 0x7d, 0xf3, 0x7e, 0xef, 0xbd, 0x79, 0xbf, 0xc1, 0x0f, 0xde, 0x71, 0x2d, - 0xe0, 0x88, 0x4d, 0x67, 0x66, 0x2e, 0x58, 0x26, 0x52, 0x96, 0x19, 0x2d, 0x8d, 0x48, 0xd9, 0x22, - 0x66, 0x05, 0x58, 0x33, 0x2f, 0xa6, 0x30, 0xc9, 0x0b, 0xb0, 0xe0, 0x26, 0x16, 0x8a, 0x85, 0x9a, - 0x02, 0xcd, 0x0b, 0xe3, 0x0c, 0xd9, 0xa9, 0xa8, 0xd4, 0x53, 0x69, 0x26, 0x52, 0x5a, 0x53, 0xe9, - 0x22, 0x0e, 0xaf, 0x4b, 0x63, 0xe4, 0x0c, 0x18, 0xcf, 0x15, 0xe3, 0x5a, 0x1b, 0xc7, 0x9d, 0x32, - 0xda, 0x56, 0xd4, 0xf0, 0xc6, 0x92, 0xea, 0x82, 0xcf, 0x94, 0xf0, 0x78, 0x0d, 0xc7, 0x6b, 0x98, - 0xaa, 0x28, 0xd1, 0x73, 0x1c, 0x8c, 0xc1, 0x25, 0x35, 0x76, 0xe0, 0xa1, 0x04, 0xde, 0xce, 0xc1, - 0x3a, 0x32, 0xc4, 0x64, 0x35, 0x89, 0x12, 0x01, 0xea, 0xa2, 0x5e, 0x67, 0xb4, 0xf1, 0xeb, 0x24, - 0x46, 0xc9, 0x76, 0xb1, 0x44, 0xdc, 0x17, 0x91, 0xc1, 0xe1, 0x33, 0x65, 0x57, 0x06, 0xda, 0xd3, - 0x89, 0x77, 0x70, 0x27, 0xe7, 0x12, 0x26, 0x56, 0x1d, 0x43, 0xd0, 0xea, 0xa2, 0x5e, 0x7b, 0x84, - 0xff, 0x9c, 0xc4, 0x9b, 0x8f, 0x9f, 0xc4, 0x83, 0xc1, 0x20, 0xb9, 0x5c, 0x82, 0x87, 0xea, 0x18, - 0x48, 0x0f, 0x63, 0x7f, 0xd0, 0x99, 0x37, 0xa0, 0x83, 0xb6, 0x97, 0xec, 0x7c, 0xfa, 0x1e, 0x5f, - 0xf2, 0x27, 0x13, 0x3f, 0xe5, 0x45, 0x89, 0x45, 0x5f, 0x10, 0xde, 0x39, 0x53, 0xd1, 0xe6, 0x46, - 0x5b, 0x20, 0x2f, 0xf1, 0xf6, 0x4a, 0x08, 0x1b, 0xa0, 0x6e, 0xbb, 0x77, 0x65, 0xb8, 0x4b, 0x1b, - 0x8a, 0xa0, 0x2b, 0x57, 0xb2, 0xb5, 0x9c, 0xd4, 0x92, 0xdb, 0x78, 0x4b, 0xc3, 0x91, 0x9b, 0xfc, - 0x63, 0xb3, 0x0c, 0xd4, 0x49, 0xae, 0x96, 0xbf, 0x0f, 0x4e, 0xfd, 0x0d, 0x7f, 0xb7, 0xf0, 0xb5, - 0xe5, 0x59, 0x87, 0xd5, 0x36, 0x90, 0x6f, 0x08, 0xb7, 0xc7, 0xe0, 0xc8, 0xbd, 0x46, 0x1f, 0xe7, - 0xb5, 0x13, 0xae, 0x63, 0x3f, 0x7a, 0xfa, 0xf1, 0xc7, 0xcf, 0xcf, 0xad, 0x87, 0x64, 0x8f, 0x65, - 0x5c, 0x73, 0x09, 0xa2, 0x7f, 0xc6, 0x66, 0xd4, 0xd1, 0xd8, 0xfb, 0xff, 0x5b, 0xff, 0x40, 0xbe, - 0x22, 0xbc, 0x51, 0xde, 0x33, 0xb9, 0xdf, 0xa8, 0x7b, 0x7e, 0xf9, 0xe1, 0xde, 0xfa, 0xc4, 0xaa, - 0xc3, 0x68, 0xd7, 0xbb, 0xbf, 0x45, 0x6e, 0x5e, 0xc0, 0xfd, 0x68, 0xff, 0xd5, 0x58, 0x2a, 0xf7, - 0x7a, 0x9e, 0xd2, 0xa9, 0xc9, 0x58, 0x25, 0xd9, 0xaf, 0x5e, 0x84, 0x34, 0x7d, 0x09, 0xda, 0x2f, - 0x3e, 0x6b, 0x78, 0x2a, 0x8f, 0xea, 0xcf, 0x74, 0xd3, 0x1f, 0xbd, 0xfb, 0x37, 0x00, 0x00, 0xff, - 0xff, 0xcf, 0x5c, 0x51, 0x57, 0xed, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user.pb.go index 8fb4f42e2..47b8d9d01 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/user.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" +package mongodb -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A MongoDB User resource. For more information, see the // [Developer's Guide](/docs/managed-mongodb/concepts). @@ -37,16 +39,17 @@ func (m *User) Reset() { *m = User{} } func (m *User) String() string { return proto.CompactTextString(m) } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_user_ce6db2103014c466, []int{0} + return fileDescriptor_4fde2355fb6bae94, []int{0} } + func (m *User) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_User.Unmarshal(m, b) } func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_User.Marshal(b, m, deterministic) } -func (dst *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(dst, src) +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) } func (m *User) XXX_Size() int { return xxx_messageInfo_User.Size(m) @@ -92,16 +95,17 @@ func (m *Permission) Reset() { *m = Permission{} } func (m *Permission) String() string { return proto.CompactTextString(m) } func (*Permission) ProtoMessage() {} func (*Permission) Descriptor() ([]byte, []int) { - return fileDescriptor_user_ce6db2103014c466, []int{1} + return fileDescriptor_4fde2355fb6bae94, []int{1} } + func (m *Permission) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Permission.Unmarshal(m, b) } func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Permission.Marshal(b, m, deterministic) } -func (dst *Permission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Permission.Merge(dst, src) +func (m *Permission) XXX_Merge(src proto.Message) { + xxx_messageInfo_Permission.Merge(m, src) } func (m *Permission) XXX_Size() int { return xxx_messageInfo_Permission.Size(m) @@ -142,16 +146,17 @@ func (m *UserSpec) Reset() { *m = UserSpec{} } func (m *UserSpec) String() string { return proto.CompactTextString(m) } func (*UserSpec) ProtoMessage() {} func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_user_ce6db2103014c466, []int{2} + return fileDescriptor_4fde2355fb6bae94, []int{2} } + func (m *UserSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserSpec.Unmarshal(m, b) } func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) } -func (dst *UserSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSpec.Merge(dst, src) +func (m *UserSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSpec.Merge(m, src) } func (m *UserSpec) XXX_Size() int { return xxx_messageInfo_UserSpec.Size(m) @@ -190,10 +195,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/user.proto", fileDescriptor_user_ce6db2103014c466) + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/user.proto", fileDescriptor_4fde2355fb6bae94) } -var fileDescriptor_user_ce6db2103014c466 = []byte{ +var fileDescriptor_4fde2355fb6bae94 = []byte{ // 345 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xab, 0x4c, 0xcc, 0x4b, 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4d, 0x49, 0xd2, 0xcf, 0xcd, 0xcf, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user_service.pb.go index 070cae5e8..8e5367f78 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/user_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/mongodb/v1/user_service.proto -package mongodb // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package mongodb import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetUserRequest struct { // ID of the MongoDB cluster the user belongs to. @@ -44,16 +45,17 @@ func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } func (*GetUserRequest) ProtoMessage() {} func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{0} + return fileDescriptor_4731409bfcdabc65, []int{0} } + func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserRequest.Unmarshal(m, b) } func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) } -func (dst *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(dst, src) +func (m *GetUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserRequest.Merge(m, src) } func (m *GetUserRequest) XXX_Size() int { return xxx_messageInfo_GetUserRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListUsersRequest) Reset() { *m = ListUsersRequest{} } func (m *ListUsersRequest) String() string { return proto.CompactTextString(m) } func (*ListUsersRequest) ProtoMessage() {} func (*ListUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{1} + return fileDescriptor_4731409bfcdabc65, []int{1} } + func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersRequest.Unmarshal(m, b) } func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersRequest.Marshal(b, m, deterministic) } -func (dst *ListUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersRequest.Merge(dst, src) +func (m *ListUsersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersRequest.Merge(m, src) } func (m *ListUsersRequest) XXX_Size() int { return xxx_messageInfo_ListUsersRequest.Size(m) @@ -153,16 +156,17 @@ func (m *ListUsersResponse) Reset() { *m = ListUsersResponse{} } func (m *ListUsersResponse) String() string { return proto.CompactTextString(m) } func (*ListUsersResponse) ProtoMessage() {} func (*ListUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{2} + return fileDescriptor_4731409bfcdabc65, []int{2} } + func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersResponse.Unmarshal(m, b) } func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersResponse.Marshal(b, m, deterministic) } -func (dst *ListUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersResponse.Merge(dst, src) +func (m *ListUsersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersResponse.Merge(m, src) } func (m *ListUsersResponse) XXX_Size() int { return xxx_messageInfo_ListUsersResponse.Size(m) @@ -202,16 +206,17 @@ func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } func (m *CreateUserRequest) String() string { return proto.CompactTextString(m) } func (*CreateUserRequest) ProtoMessage() {} func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{3} + return fileDescriptor_4731409bfcdabc65, []int{3} } + func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserRequest.Unmarshal(m, b) } func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic) } -func (dst *CreateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserRequest.Merge(dst, src) +func (m *CreateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserRequest.Merge(m, src) } func (m *CreateUserRequest) XXX_Size() int { return xxx_messageInfo_CreateUserRequest.Size(m) @@ -250,16 +255,17 @@ func (m *CreateUserMetadata) Reset() { *m = CreateUserMetadata{} } func (m *CreateUserMetadata) String() string { return proto.CompactTextString(m) } func (*CreateUserMetadata) ProtoMessage() {} func (*CreateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{4} + return fileDescriptor_4731409bfcdabc65, []int{4} } + func (m *CreateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserMetadata.Unmarshal(m, b) } func (m *CreateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserMetadata.Marshal(b, m, deterministic) } -func (dst *CreateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserMetadata.Merge(dst, src) +func (m *CreateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserMetadata.Merge(m, src) } func (m *CreateUserMetadata) XXX_Size() int { return xxx_messageInfo_CreateUserMetadata.Size(m) @@ -306,16 +312,17 @@ func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } func (m *UpdateUserRequest) String() string { return proto.CompactTextString(m) } func (*UpdateUserRequest) ProtoMessage() {} func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{5} + return fileDescriptor_4731409bfcdabc65, []int{5} } + func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserRequest.Unmarshal(m, b) } func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) } -func (dst *UpdateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserRequest.Merge(dst, src) +func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserRequest.Merge(m, src) } func (m *UpdateUserRequest) XXX_Size() int { return xxx_messageInfo_UpdateUserRequest.Size(m) @@ -375,16 +382,17 @@ func (m *UpdateUserMetadata) Reset() { *m = UpdateUserMetadata{} } func (m *UpdateUserMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateUserMetadata) ProtoMessage() {} func (*UpdateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{6} + return fileDescriptor_4731409bfcdabc65, []int{6} } + func (m *UpdateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserMetadata.Unmarshal(m, b) } func (m *UpdateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserMetadata.Merge(dst, src) +func (m *UpdateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserMetadata.Merge(m, src) } func (m *UpdateUserMetadata) XXX_Size() int { return xxx_messageInfo_UpdateUserMetadata.Size(m) @@ -425,16 +433,17 @@ func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } func (m *DeleteUserRequest) String() string { return proto.CompactTextString(m) } func (*DeleteUserRequest) ProtoMessage() {} func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{7} + return fileDescriptor_4731409bfcdabc65, []int{7} } + func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserRequest.Unmarshal(m, b) } func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) } -func (dst *DeleteUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserRequest.Merge(dst, src) +func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserRequest.Merge(m, src) } func (m *DeleteUserRequest) XXX_Size() int { return xxx_messageInfo_DeleteUserRequest.Size(m) @@ -473,16 +482,17 @@ func (m *DeleteUserMetadata) Reset() { *m = DeleteUserMetadata{} } func (m *DeleteUserMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteUserMetadata) ProtoMessage() {} func (*DeleteUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{8} + return fileDescriptor_4731409bfcdabc65, []int{8} } + func (m *DeleteUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserMetadata.Unmarshal(m, b) } func (m *DeleteUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserMetadata.Merge(dst, src) +func (m *DeleteUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserMetadata.Merge(m, src) } func (m *DeleteUserMetadata) XXX_Size() int { return xxx_messageInfo_DeleteUserMetadata.Size(m) @@ -525,16 +535,17 @@ func (m *GrantUserPermissionRequest) Reset() { *m = GrantUserPermissionR func (m *GrantUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionRequest) ProtoMessage() {} func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{9} + return fileDescriptor_4731409bfcdabc65, []int{9} } + func (m *GrantUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionRequest.Unmarshal(m, b) } func (m *GrantUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionRequest.Merge(dst, src) +func (m *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionRequest.Merge(m, src) } func (m *GrantUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionRequest.Size(m) @@ -581,16 +592,17 @@ func (m *GrantUserPermissionMetadata) Reset() { *m = GrantUserPermission func (m *GrantUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionMetadata) ProtoMessage() {} func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{10} + return fileDescriptor_4731409bfcdabc65, []int{10} } + func (m *GrantUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionMetadata.Unmarshal(m, b) } func (m *GrantUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionMetadata.Merge(dst, src) +func (m *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionMetadata.Merge(m, src) } func (m *GrantUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionMetadata.Size(m) @@ -633,16 +645,17 @@ func (m *RevokeUserPermissionRequest) Reset() { *m = RevokeUserPermissio func (m *RevokeUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionRequest) ProtoMessage() {} func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{11} + return fileDescriptor_4731409bfcdabc65, []int{11} } + func (m *RevokeUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionRequest.Unmarshal(m, b) } func (m *RevokeUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionRequest.Merge(dst, src) +func (m *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionRequest.Merge(m, src) } func (m *RevokeUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionRequest.Size(m) @@ -688,16 +701,17 @@ func (m *RevokeUserPermissionMetadata) Reset() { *m = RevokeUserPermissi func (m *RevokeUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionMetadata) ProtoMessage() {} func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_74333e64510eb416, []int{12} + return fileDescriptor_4731409bfcdabc65, []int{12} } + func (m *RevokeUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionMetadata.Unmarshal(m, b) } func (m *RevokeUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionMetadata.Merge(dst, src) +func (m *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionMetadata.Merge(m, src) } func (m *RevokeUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionMetadata.Size(m) @@ -738,6 +752,76 @@ func init() { proto.RegisterType((*RevokeUserPermissionMetadata)(nil), "yandex.cloud.mdb.mongodb.v1.RevokeUserPermissionMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/user_service.proto", fileDescriptor_4731409bfcdabc65) +} + +var fileDescriptor_4731409bfcdabc65 = []byte{ + // 987 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08,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xa3, 0x08, 0xfe, 0xfc, 0xe8, 0xa4, 0xf2, 0xc2, 0x90, 0xe1, 0x9a, 0x28, 0x7e, 0x57, + 0xb9, 0x33, 0x8e, 0xe2, 0xb0, 0x47, 0xda, 0x2a, 0xaa, 0xd4, 0xb7, 0x76, 0x37, 0x6d, 0x27, 0xfa, + 0xb8, 0xd3, 0xd4, 0x5a, 0xbe, 0xab, 0x4b, 0xbe, 0xaa, 0xfc, 0x67, 0x63, 0xfb, 0xaa, 0x4d, 0x3d, + 0x51, 0x54, 0x7a, 0xc6, 0x5f, 0x9e, 0xb5, 0xf8, 0xd8, 0xcc, 0x0b, 0xe8, 0xad, 0x7f, 0x02, 0x00, + 0x00, 0xff, 0xff, 0xb8, 0x9c, 0xe7, 0x3e, 0xf4, 0x0d, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -859,6 +943,32 @@ type UserServiceServer interface { RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error) } +// UnimplementedUserServiceServer can be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { +} + +func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *GetUserRequest) (*User, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedUserServiceServer) List(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedUserServiceServer) GrantPermission(ctx context.Context, req *GrantUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method GrantPermission not implemented") +} +func (*UnimplementedUserServiceServer) RevokePermission(ctx context.Context, req *RevokeUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokePermission not implemented") +} + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) { s.RegisterService(&_UserService_serviceDesc, srv) } @@ -1025,73 +1135,3 @@ var _UserService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/mongodb/v1/user_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/user_service.proto", fileDescriptor_user_service_74333e64510eb416) -} - -var fileDescriptor_user_service_74333e64510eb416 = []byte{ - // 987 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0x1b, 0xc5, - 0x1b, 0xd6, 0x24, 0x8e, 0x15, 0xbf, 0x6e, 0xda, 0x66, 0xa4, 0x9f, 0x64, 0x39, 0xcd, 0x4f, 0x61, - 0xa1, 0x6d, 0xe4, 0x68, 0x77, 0xbd, 0x2e, 0x90, 0x90, 0x34, 0x12, 0x38, 0x40, 0x14, 0xd1, 0x40, - 0xd8, 0x52, 0x09, 0x82, 0x90, 0x35, 0xf6, 0x4e, 0x97, 0x55, 0xbc, 0x7f, 0xd8, 0x59, 0x9b, 0x26, - 0x25, 0x42, 0x42, 0x9c, 0x7a, 0x84, 0x1b, 0x07, 0xbe, 0x00, 0xb7, 0x48, 0x7c, 0x00, 0x4e, 0xa9, - 0xc4, 0x01, 0x29, 0xf0, 0x11, 0x38, 0x70, 0xe0, 0x80, 0x38, 0xc2, 0x05, 0xcd, 0xcc, 0x26, 0xbb, - 0xb1, 0xcd, 0xda, 0xad, 0x23, 0x7a, 0x1b, 0xfb,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, 0xc8, 0xcb, - 0xc1, 0x3b, 0x44, 0x43, 0xdf, 0x6e, 0x18, 0x45, 0x43, 0x78, 0x74, 0x52, 0x59, 0x1a, 0x38, 0xd9, - 0xff, 0xd7, 0xbb, 0x58, 0xdf, 0x70, 0x83, 0x68, 0x5f, 0x96, 0x7b, 0x65, 0xac, 0x72, 0xff, 0x1d, - 0xc1, 0x15, 0x31, 0x21, 0x93, 0x9e, 0xc7, 0xcb, 0xd9, 0x7d, 0xf9, 0xaf, 0x5b, 0x62, 0x14, 0x8d, - 0x87, 0x47, 0x27, 0x95, 0xe7, 0xb3, 0x87, 0x72, 0x92, 0xb0, 0x1d, 0xe5, 0xad, 0x71, 0x12, 0x66, - 0x9f, 0xd7, 0xc5, 0x13, 0xf8, 0x07, 0x82, 0xab, 0x72, 0xce, 0xa5, 0xf4, 0xae, 0x64, 0xea, 0xcd, - 0x98, 0xf1, 0xa3, 0x08, 0xfe, 0xfc, 0xe8, 0xa4, 0xf2, 0xc2, 0x90, 0xe1, 0x9a, 0x28, 0x7e, 0x57, - 0xb9, 0x33, 0x8e, 0xe2, 0xb0, 0x47, 0xda, 0x2a, 0xaa, 0xd4, 0xb7, 0x76, 0x37, 0x6d, 0x27, 0xfa, - 0xb8, 0xd3, 0xd4, 0x5a, 0xbe, 0xab, 0x4b, 0xbe, 0xaa, 0xfc, 0x67, 0x63, 0xfb, 0xaa, 0x4d, 0x3d, - 0x51, 0x54, 0x7a, 0xc6, 0x5f, 0x9e, 0xb5, 0xf8, 0xd8, 0xcc, 0x0b, 0xe8, 0xad, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xb8, 0x9c, 0xe7, 0x3e, 0xf4, 0x0d, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup.pb.go new file mode 100644 index 000000000..e5080f9a8 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup.pb.go @@ -0,0 +1,130 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/backup.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// A MySQL backup. For more information, see +// the [documentation](/docs/managed-mysql/concepts/backup). +type Backup struct { + // ID of the backup. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // ID of the folder that the backup belongs to. + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + // ID of the MySQL cluster that the backup was created for. + SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"` + // Time when the backup operation was started. + StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Backup) Reset() { *m = Backup{} } +func (m *Backup) String() string { return proto.CompactTextString(m) } +func (*Backup) ProtoMessage() {} +func (*Backup) Descriptor() ([]byte, []int) { + return fileDescriptor_a9951bfdbe6ddc67, []int{0} +} + +func (m *Backup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Backup.Unmarshal(m, b) +} +func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Backup.Marshal(b, m, deterministic) +} +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) +} +func (m *Backup) XXX_Size() int { + return xxx_messageInfo_Backup.Size(m) +} +func (m *Backup) XXX_DiscardUnknown() { + xxx_messageInfo_Backup.DiscardUnknown(m) +} + +var xxx_messageInfo_Backup proto.InternalMessageInfo + +func (m *Backup) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Backup) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *Backup) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Backup) GetSourceClusterId() string { + if m != nil { + return m.SourceClusterId + } + return "" +} + +func (m *Backup) GetStartedAt() *timestamp.Timestamp { + if m != nil { + return m.StartedAt + } + return nil +} + +func init() { + proto.RegisterType((*Backup)(nil), "yandex.cloud.mdb.mysql.v1.Backup") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/backup.proto", fileDescriptor_a9951bfdbe6ddc67) +} + +var fileDescriptor_a9951bfdbe6ddc67 = []byte{ + // 286 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbf, 0x4e, 0xc3, 0x30, + 0x10, 0x87, 0x95, 0x50, 0x2a, 0x62, 0x06, 0x44, 0xc4, 0x10, 0x82, 0x10, 0x15, 0x03, 0xaa, 0x90, + 0x6a, 0x2b, 0x30, 0x21, 0xa6, 0xa6, 0x62, 0x60, 0x8d, 0x98, 0x58, 0x22, 0xff, 0x6b, 0xb0, 0xb0, + 0xe3, 0x92, 0x9c, 0x23, 0xfa, 0x84, 0x3c, 0x05, 0x3b, 0x8f, 0x81, 0xb0, 0xd3, 0x81, 0x01, 0xb1, + 0xd9, 0x77, 0xdf, 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 0x18, 0xe6, 0xd6, 0x90, 0xb0, 0xac, 0x45, 0x58, + 0x56, 0x63, 0x17, 0x8d, 0x6c, 0xfd, 0x38, 0xf9, 0xf3, 0x10, 0xf7, 0xfe, 0xc1, 0xa6, 0x1e, 0xbb, + 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x78, 0xbb, 0x89, 0x97, 0xb2, 0x01, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup_service.pb.go new file mode 100644 index 000000000..563ee8387 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/backup_service.pb.go @@ -0,0 +1,349 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/backup_service.proto + +package mysql + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetBackupRequest struct { + // ID of the backup to return information about. + // To get the backup ID, use a [ClusterService.ListBackups] request. + BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } +func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } +func (*GetBackupRequest) ProtoMessage() {} +func (*GetBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db0cba3bba75d8e1, []int{0} +} + +func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) +} +func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) +} +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) +} +func (m *GetBackupRequest) XXX_Size() int { + return xxx_messageInfo_GetBackupRequest.Size(m) +} +func (m *GetBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBackupRequest proto.InternalMessageInfo + +func (m *GetBackupRequest) GetBackupId() string { + if m != nil { + return m.BackupId + } + return "" +} + +type ListBackupsRequest struct { + // ID of the folder to list backups in. + // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListBackupsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, Set [page_token] to the [ListBackupsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } +func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } +func (*ListBackupsRequest) ProtoMessage() {} +func (*ListBackupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db0cba3bba75d8e1, []int{1} +} + +func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) +} +func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) +} +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) +} +func (m *ListBackupsRequest) XXX_Size() int { + return xxx_messageInfo_ListBackupsRequest.Size(m) +} +func (m *ListBackupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListBackupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBackupsRequest proto.InternalMessageInfo + +func (m *ListBackupsRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *ListBackupsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListBackupsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListBackupsResponse struct { + // List of MySQL backups. + Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value + // for the [ListBackupsRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } +func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } +func (*ListBackupsResponse) ProtoMessage() {} +func (*ListBackupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db0cba3bba75d8e1, []int{2} +} + +func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) +} +func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) +} +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) +} +func (m *ListBackupsResponse) XXX_Size() int { + return xxx_messageInfo_ListBackupsResponse.Size(m) +} +func (m *ListBackupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListBackupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBackupsResponse proto.InternalMessageInfo + +func (m *ListBackupsResponse) GetBackups() []*Backup { + if m != nil { + return m.Backups + } + return nil +} + +func (m *ListBackupsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterType((*GetBackupRequest)(nil), "yandex.cloud.mdb.mysql.v1.GetBackupRequest") + proto.RegisterType((*ListBackupsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListBackupsRequest") + proto.RegisterType((*ListBackupsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListBackupsResponse") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/backup_service.proto", fileDescriptor_db0cba3bba75d8e1) +} + +var fileDescriptor_db0cba3bba75d8e1 = []byte{ + // 462 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x6b, 0x13, 0x41, + 0x18, 0x86, 0x99, 0x24, 0xd6, 0xec, 0x68, 0x51, 0xc6, 0x4b, 0x1a, 0x15, 0x92, 0x05, 0x6d, 0x44, + 0x76, 0x26, 0x5b, 0xe9, 0xa9, 0xed, 0x25, 0x22, 0xa5, 0xe0, 0x41, 0xb6, 0x9e, 0xbc, 0x84, 0xd9, + 0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, 0x61, 0xdd, 0x25, 0x6b, 0x4b, 0xb1, 0x06, + 0xcf, 0x5e, 0x3d, 0xcd, 0xa4, 0x7d, 0x33, 0x49, 0xe9, 0x48, 0x17, 0xcc, 0xc7, 0x47, 0xfe, 0x58, + 0x33, 0x1d, 0x65, 0xa0, 0xdc, 0x79, 0xb2, 0xa5, 0x57, 0xbc, 0xe5, 0x3e, 0xd2, 0x15, 0x27, 0x7b, + 0xf2, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xee, 0xd6, 0xa3, 0xe7, 0x77, 0x03, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// BackupServiceClient is the client API for BackupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type BackupServiceClient interface { + // Returns the specified MySQL backup. + // + // To get the list of available MySQL backups, make a [List] request. + Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) + // Retrieves the list of MySQL backups available for the specified folder. + List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) +} + +type backupServiceClient struct { + cc *grpc.ClientConn +} + +func NewBackupServiceClient(cc *grpc.ClientConn) BackupServiceClient { + return &backupServiceClient{cc} +} + +func (c *backupServiceClient) Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) { + out := new(Backup) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.BackupService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *backupServiceClient) List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) { + out := new(ListBackupsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.BackupService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// BackupServiceServer is the server API for BackupService service. +type BackupServiceServer interface { + // Returns the specified MySQL backup. + // + // To get the list of available MySQL backups, make a [List] request. + Get(context.Context, *GetBackupRequest) (*Backup, error) + // Retrieves the list of MySQL backups available for the specified folder. + List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) +} + +// UnimplementedBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBackupServiceServer struct { +} + +func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + +func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer) { + s.RegisterService(&_BackupService_serviceDesc, srv) +} + +func _BackupService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBackupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BackupServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.BackupService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BackupServiceServer).Get(ctx, req.(*GetBackupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BackupService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListBackupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BackupServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.BackupService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BackupServiceServer).List(ctx, req.(*ListBackupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _BackupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.mdb.mysql.v1.BackupService", + HandlerType: (*BackupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _BackupService_Get_Handler, + }, + { + MethodName: "List", + Handler: _BackupService_List_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/mdb/mysql/v1/backup_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster.pb.go new file mode 100644 index 000000000..90306c0e1 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster.pb.go @@ -0,0 +1,936 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/cluster.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Cluster_Environment int32 + +const ( + Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0 + // Stable environment with a conservative update policy: + // only hotfixes are applied during regular maintenance. + Cluster_PRODUCTION Cluster_Environment = 1 + // Environment with more aggressive update policy: new versions + // are rolled out irrespective of backward compatibility. + Cluster_PRESTABLE Cluster_Environment = 2 +) + +var Cluster_Environment_name = map[int32]string{ + 0: "ENVIRONMENT_UNSPECIFIED", + 1: "PRODUCTION", + 2: "PRESTABLE", +} + +var Cluster_Environment_value = map[string]int32{ + "ENVIRONMENT_UNSPECIFIED": 0, + "PRODUCTION": 1, + "PRESTABLE": 2, +} + +func (x Cluster_Environment) String() string { + return proto.EnumName(Cluster_Environment_name, int32(x)) +} + +func (Cluster_Environment) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{0, 0} +} + +type Cluster_Health int32 + +const ( + // State of the cluster is unknown ([Host.health] for every host in the cluster is UNKNOWN). + Cluster_HEALTH_UNKNOWN Cluster_Health = 0 + // Cluster is alive and well ([Host.health] for every host in the cluster is ALIVE). + Cluster_ALIVE Cluster_Health = 1 + // Cluster is inoperable ([Host.health] for every host in the cluster is DEAD). + Cluster_DEAD Cluster_Health = 2 + // Cluster is working below capacity ([Host.health] for at least one host in the cluster is not ALIVE). + Cluster_DEGRADED Cluster_Health = 3 +) + +var Cluster_Health_name = map[int32]string{ + 0: "HEALTH_UNKNOWN", + 1: "ALIVE", + 2: "DEAD", + 3: "DEGRADED", +} + +var Cluster_Health_value = map[string]int32{ + "HEALTH_UNKNOWN": 0, + "ALIVE": 1, + "DEAD": 2, + "DEGRADED": 3, +} + +func (x Cluster_Health) String() string { + return proto.EnumName(Cluster_Health_name, int32(x)) +} + +func (Cluster_Health) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{0, 1} +} + +type Cluster_Status int32 + +const ( + // Cluster state is unknown. + Cluster_STATUS_UNKNOWN Cluster_Status = 0 + // Cluster is being created. + Cluster_CREATING Cluster_Status = 1 + // Cluster is running normally. + Cluster_RUNNING Cluster_Status = 2 + // Cluster encountered a problem and cannot operate. + Cluster_ERROR Cluster_Status = 3 + // Cluster is being updated. + Cluster_UPDATING Cluster_Status = 4 + // Cluster is stopping. + Cluster_STOPPING Cluster_Status = 5 + // Cluster stopped. + Cluster_STOPPED Cluster_Status = 6 + // Cluster is starting. + Cluster_STARTING Cluster_Status = 7 +) + +var Cluster_Status_name = map[int32]string{ + 0: "STATUS_UNKNOWN", + 1: "CREATING", + 2: "RUNNING", + 3: "ERROR", + 4: "UPDATING", + 5: "STOPPING", + 6: "STOPPED", + 7: "STARTING", +} + +var Cluster_Status_value = map[string]int32{ + "STATUS_UNKNOWN": 0, + "CREATING": 1, + "RUNNING": 2, + "ERROR": 3, + "UPDATING": 4, + "STOPPING": 5, + "STOPPED": 6, + "STARTING": 7, +} + +func (x Cluster_Status) String() string { + return proto.EnumName(Cluster_Status_name, int32(x)) +} + +func (Cluster_Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{0, 2} +} + +type Host_Role int32 + +const ( + // Role of the host in the cluster is unknown. + Host_ROLE_UNKNOWN Host_Role = 0 + // Host is the master MySQL server in the cluster. + Host_MASTER Host_Role = 1 + // Host is a replica MySQL server in the cluster. + Host_REPLICA Host_Role = 2 +) + +var Host_Role_name = map[int32]string{ + 0: "ROLE_UNKNOWN", + 1: "MASTER", + 2: "REPLICA", +} + +var Host_Role_value = map[string]int32{ + "ROLE_UNKNOWN": 0, + "MASTER": 1, + "REPLICA": 2, +} + +func (x Host_Role) String() string { + return proto.EnumName(Host_Role_name, int32(x)) +} + +func (Host_Role) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{3, 0} +} + +type Host_Health int32 + +const ( + // Health of the host is unknown. + Host_HEALTH_UNKNOWN Host_Health = 0 + // The host is performing all its functions normally. + Host_ALIVE Host_Health = 1 + // The host is inoperable, and cannot perform any of its essential functions. + Host_DEAD Host_Health = 2 + // The host is degraded, and can perform only some of its essential functions. + Host_DEGRADED Host_Health = 3 +) + +var Host_Health_name = map[int32]string{ + 0: "HEALTH_UNKNOWN", + 1: "ALIVE", + 2: "DEAD", + 3: "DEGRADED", +} + +var Host_Health_value = map[string]int32{ + "HEALTH_UNKNOWN": 0, + "ALIVE": 1, + "DEAD": 2, + "DEGRADED": 3, +} + +func (x Host_Health) String() string { + return proto.EnumName(Host_Health_name, int32(x)) +} + +func (Host_Health) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{3, 1} +} + +type Service_Type int32 + +const ( + Service_TYPE_UNSPECIFIED Service_Type = 0 + // The host is a MySQL server. + Service_MYSQL Service_Type = 1 +) + +var Service_Type_name = map[int32]string{ + 0: "TYPE_UNSPECIFIED", + 1: "MYSQL", +} + +var Service_Type_value = map[string]int32{ + "TYPE_UNSPECIFIED": 0, + "MYSQL": 1, +} + +func (x Service_Type) String() string { + return proto.EnumName(Service_Type_name, int32(x)) +} + +func (Service_Type) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{4, 0} +} + +type Service_Health int32 + +const ( + // Health of the server is unknown. + Service_HEALTH_UNKNOWN Service_Health = 0 + // The server is working normally. + Service_ALIVE Service_Health = 1 + // The server is dead or unresponsive. + Service_DEAD Service_Health = 2 +) + +var Service_Health_name = map[int32]string{ + 0: "HEALTH_UNKNOWN", + 1: "ALIVE", + 2: "DEAD", +} + +var Service_Health_value = map[string]int32{ + "HEALTH_UNKNOWN": 0, + "ALIVE": 1, + "DEAD": 2, +} + +func (x Service_Health) String() string { + return proto.EnumName(Service_Health_name, int32(x)) +} + +func (Service_Health) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{4, 1} +} + +// A MySQL cluster. For more information, see +// the [documentation](/docs/managed-mysql/concepts). +type Cluster struct { + // ID of the MySQL cluster. + // This ID is assigned by Managed Service for MySQL at creation time. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // ID of the folder that the MySQL cluster belongs to. + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + // Name of the MySQL cluster. + // The name must be unique within the folder, comply with RFC 1035 + // and be 1-63 characters long. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // Description of the MySQL cluster. 0-256 characters long. + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // Custom labels for the MySQL cluster as `key:value` pairs. + // Maximum 64 per resource. + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Deployment environment of the MySQL cluster. + Environment Cluster_Environment `protobuf:"varint,7,opt,name=environment,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Environment" json:"environment,omitempty"` + // Description of monitoring systems relevant to the MySQL cluster. + Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"` + // Configuration of the MySQL cluster. + Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` + // ID of the network that the cluster belongs to. + NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // Aggregated cluster health. + Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Health" json:"health,omitempty"` + // Current state of the cluster. + Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Status" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Cluster) Reset() { *m = Cluster{} } +func (m *Cluster) String() string { return proto.CompactTextString(m) } +func (*Cluster) ProtoMessage() {} +func (*Cluster) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{0} +} + +func (m *Cluster) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Cluster.Unmarshal(m, b) +} +func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) +} +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) +} +func (m *Cluster) XXX_Size() int { + return xxx_messageInfo_Cluster.Size(m) +} +func (m *Cluster) XXX_DiscardUnknown() { + xxx_messageInfo_Cluster.DiscardUnknown(m) +} + +var xxx_messageInfo_Cluster proto.InternalMessageInfo + +func (m *Cluster) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Cluster) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *Cluster) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Cluster) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Cluster) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Cluster) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *Cluster) GetEnvironment() Cluster_Environment { + if m != nil { + return m.Environment + } + return Cluster_ENVIRONMENT_UNSPECIFIED +} + +func (m *Cluster) GetMonitoring() []*Monitoring { + if m != nil { + return m.Monitoring + } + return nil +} + +func (m *Cluster) GetConfig() *ClusterConfig { + if m != nil { + return m.Config + } + return nil +} + +func (m *Cluster) GetNetworkId() string { + if m != nil { + return m.NetworkId + } + return "" +} + +func (m *Cluster) GetHealth() Cluster_Health { + if m != nil { + return m.Health + } + return Cluster_HEALTH_UNKNOWN +} + +func (m *Cluster) GetStatus() Cluster_Status { + if m != nil { + return m.Status + } + return Cluster_STATUS_UNKNOWN +} + +type Monitoring struct { + // Name of the monitoring system. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Description of the monitoring system. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // Link to the monitoring system charts for the MySQL cluster. + Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Monitoring) Reset() { *m = Monitoring{} } +func (m *Monitoring) String() string { return proto.CompactTextString(m) } +func (*Monitoring) ProtoMessage() {} +func (*Monitoring) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{1} +} + +func (m *Monitoring) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Monitoring.Unmarshal(m, b) +} +func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) +} +func (m *Monitoring) XXX_Merge(src proto.Message) { + xxx_messageInfo_Monitoring.Merge(m, src) +} +func (m *Monitoring) XXX_Size() int { + return xxx_messageInfo_Monitoring.Size(m) +} +func (m *Monitoring) XXX_DiscardUnknown() { + xxx_messageInfo_Monitoring.DiscardUnknown(m) +} + +var xxx_messageInfo_Monitoring proto.InternalMessageInfo + +func (m *Monitoring) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Monitoring) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Monitoring) GetLink() string { + if m != nil { + return m.Link + } + return "" +} + +type ClusterConfig struct { + // Version of MySQL server software. + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // Configuration for MySQL servers in the cluster. + // + // Types that are valid to be assigned to MysqlConfig: + // *ClusterConfig_MysqlConfig_5_7 + MysqlConfig isClusterConfig_MysqlConfig `protobuf_oneof:"mysql_config"` + // Resources allocated to MySQL hosts. + Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } +func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } +func (*ClusterConfig) ProtoMessage() {} +func (*ClusterConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{2} +} + +func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) +} +func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) +} +func (m *ClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig.Merge(m, src) +} +func (m *ClusterConfig) XXX_Size() int { + return xxx_messageInfo_ClusterConfig.Size(m) +} +func (m *ClusterConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterConfig proto.InternalMessageInfo + +func (m *ClusterConfig) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +type isClusterConfig_MysqlConfig interface { + isClusterConfig_MysqlConfig() +} + +type ClusterConfig_MysqlConfig_5_7 struct { + MysqlConfig_5_7 *config.MysqlConfigSet5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig57,proto3,oneof"` +} + +func (*ClusterConfig_MysqlConfig_5_7) isClusterConfig_MysqlConfig() {} + +func (m *ClusterConfig) GetMysqlConfig() isClusterConfig_MysqlConfig { + if m != nil { + return m.MysqlConfig + } + return nil +} + +func (m *ClusterConfig) GetMysqlConfig_5_7() *config.MysqlConfigSet5_7 { + if x, ok := m.GetMysqlConfig().(*ClusterConfig_MysqlConfig_5_7); ok { + return x.MysqlConfig_5_7 + } + return nil +} + +func (m *ClusterConfig) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { + if m != nil { + return m.BackupWindowStart + } + return nil +} + +func (m *ClusterConfig) GetAccess() *Access { + if m != nil { + return m.Access + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ClusterConfig) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ClusterConfig_MysqlConfig_5_7)(nil), + } +} + +type Host struct { + // Name of the MySQL host. The host name is assigned by Managed Service for MySQL + // at creation time, and cannot be changed. 1-63 characters long. + // + // The name is unique across all existing database hosts in Yandex.Cloud, + // as it defines the FQDN of the host. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the MySQL host. The ID is assigned by Managed Service for MySQL + // at creation time. + ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the availability zone where the MySQL host resides. + ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` + // Resources allocated to the host. + Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"` + // Role of the host in the cluster. + Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Role" json:"role,omitempty"` + // Status code of the aggregated health of the host. + Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Health" json:"health,omitempty"` + // Services provided by the host. + Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"` + // ID of the subnet that the host belongs to. + SubnetId string `protobuf:"bytes,8,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` + // Flag showing public IP assignment status to this host. + AssignPublicIp bool `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Host) Reset() { *m = Host{} } +func (m *Host) String() string { return proto.CompactTextString(m) } +func (*Host) ProtoMessage() {} +func (*Host) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{3} +} + +func (m *Host) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Host.Unmarshal(m, b) +} +func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Host.Marshal(b, m, deterministic) +} +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) +} +func (m *Host) XXX_Size() int { + return xxx_messageInfo_Host.Size(m) +} +func (m *Host) XXX_DiscardUnknown() { + xxx_messageInfo_Host.DiscardUnknown(m) +} + +var xxx_messageInfo_Host proto.InternalMessageInfo + +func (m *Host) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Host) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *Host) GetZoneId() string { + if m != nil { + return m.ZoneId + } + return "" +} + +func (m *Host) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *Host) GetRole() Host_Role { + if m != nil { + return m.Role + } + return Host_ROLE_UNKNOWN +} + +func (m *Host) GetHealth() Host_Health { + if m != nil { + return m.Health + } + return Host_HEALTH_UNKNOWN +} + +func (m *Host) GetServices() []*Service { + if m != nil { + return m.Services + } + return nil +} + +func (m *Host) GetSubnetId() string { + if m != nil { + return m.SubnetId + } + return "" +} + +func (m *Host) GetAssignPublicIp() bool { + if m != nil { + return m.AssignPublicIp + } + return false +} + +type Service struct { + // Type of the service provided by the host. + Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Type" json:"type,omitempty"` + // Status code of server availability. + Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Health" json:"health,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Service) Reset() { *m = Service{} } +func (m *Service) String() string { return proto.CompactTextString(m) } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{4} +} + +func (m *Service) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Service.Unmarshal(m, b) +} +func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Service.Marshal(b, m, deterministic) +} +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) +} +func (m *Service) XXX_Size() int { + return xxx_messageInfo_Service.Size(m) +} +func (m *Service) XXX_DiscardUnknown() { + xxx_messageInfo_Service.DiscardUnknown(m) +} + +var xxx_messageInfo_Service proto.InternalMessageInfo + +func (m *Service) GetType() Service_Type { + if m != nil { + return m.Type + } + return Service_TYPE_UNSPECIFIED +} + +func (m *Service) GetHealth() Service_Health { + if m != nil { + return m.Health + } + return Service_HEALTH_UNKNOWN +} + +type Resources struct { + // ID of the preset for computational resources available to a host (CPU, memory etc.). + // All available presets are listed in the [documentation](/docs/managed-mysql/concepts/instance-types). + ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` + // Volume of the storage available to a host. + DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` + // Type of the storage environment for the host. + // Possible values: + // * network-nvme — network SSD drive, + // * local-nvme — local SSD storage. + DiskTypeId string `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Resources) Reset() { *m = Resources{} } +func (m *Resources) String() string { return proto.CompactTextString(m) } +func (*Resources) ProtoMessage() {} +func (*Resources) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{5} +} + +func (m *Resources) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Resources.Unmarshal(m, b) +} +func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Resources.Marshal(b, m, deterministic) +} +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) +} +func (m *Resources) XXX_Size() int { + return xxx_messageInfo_Resources.Size(m) +} +func (m *Resources) XXX_DiscardUnknown() { + xxx_messageInfo_Resources.DiscardUnknown(m) +} + +var xxx_messageInfo_Resources proto.InternalMessageInfo + +func (m *Resources) GetResourcePresetId() string { + if m != nil { + return m.ResourcePresetId + } + return "" +} + +func (m *Resources) GetDiskSize() int64 { + if m != nil { + return m.DiskSize + } + return 0 +} + +func (m *Resources) GetDiskTypeId() string { + if m != nil { + return m.DiskTypeId + } + return "" +} + +type Access struct { + // Allow access for DataLens + DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Access) Reset() { *m = Access{} } +func (m *Access) String() string { return proto.CompactTextString(m) } +func (*Access) ProtoMessage() {} +func (*Access) Descriptor() ([]byte, []int) { + return fileDescriptor_4544583b17c4e771, []int{6} +} + +func (m *Access) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Access.Unmarshal(m, b) +} +func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Access.Marshal(b, m, deterministic) +} +func (m *Access) XXX_Merge(src proto.Message) { + xxx_messageInfo_Access.Merge(m, src) +} +func (m *Access) XXX_Size() int { + return xxx_messageInfo_Access.Size(m) +} +func (m *Access) XXX_DiscardUnknown() { + xxx_messageInfo_Access.DiscardUnknown(m) +} + +var xxx_messageInfo_Access proto.InternalMessageInfo + +func (m *Access) GetDataLens() bool { + if m != nil { + return m.DataLens + } + return false +} + +func init() { + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Host_Role", Host_Role_name, Host_Role_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Host_Health", Host_Health_name, Host_Health_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Service_Type", Service_Type_name, Service_Type_value) + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Service_Health", Service_Health_name, Service_Health_value) + proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.mysql.v1.Cluster") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mysql.v1.Cluster.LabelsEntry") + proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.mysql.v1.Monitoring") + proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.mysql.v1.ClusterConfig") + proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.mysql.v1.Host") + proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.mysql.v1.Service") + proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.mysql.v1.Resources") + proto.RegisterType((*Access)(nil), "yandex.cloud.mdb.mysql.v1.Access") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/cluster.proto", fileDescriptor_4544583b17c4e771) +} + +var fileDescriptor_4544583b17c4e771 = []byte{ + // 1143 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xef, 0x6e, 0xe2, 0x46, + 0x10, 0x0f, 0xe0, 0x18, 0x3c, 0x10, 0xe4, 0x6e, 0x4f, 0x3d, 0x37, 0xd1, 0xa9, 0xa9, 0xd5, 0x6b, + 0xa8, 0xd4, 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 0x25, 0xae, 0x30, 0x3d, 0x74, 0x04, 0x30, + 0x8c, 0x89, 0x9b, 0x12, 0xcf, 0x71, 0x53, 0xa5, 0xb0, 0x9b, 0xab, 0x95, 0x1b, 0xdb, 0x1a, 0x8f, + 0x4d, 0x5b, 0x04, 0xaf, 0xd9, 0x8b, 0xe0, 0xb1, 0x94, 0x59, 0xeb, 0x29, 0x42, 0x20, 0x84, 0xee, + 0x98, 0x28, 0x02, 0x73, 0xc9, 0xbe, 0xd1, 0x2e, 0x94, 0x3d, 0x92, 0x0c, 0x63, 0x7f, 0x92, 0xfa, + 0x51, 0xa8, 0x6c, 0xb2, 0xa3, 0x55, 0x15, 0x3a, 0x01, 0x31, 0x70, 0x07, 0x24, 0x48, 0x14, 0x71, + 0xb7, 0x50, 0x2b, 0x37, 0x34, 0xed, 0xde, 0x22, 0x6a, 0x59, 0x46, 0x5a, 0x9b, 0x01, 0x8c, 0x30, + 0x8d, 0xe7, 0x38, 0x43, 0xa3, 0x1e, 0x94, 0x49, 0x38, 0xf3, 0xe3, 0x28, 0x1c, 0x93, 0x30, 0x55, + 0x8a, 0xbb, 0xb9, 0x5a, 0xf5, 0x51, 0xce, 0x8c, 0x25, 0x0a, 0xaf, 0xba, 0x40, 0x06, 0xc0, 0x38, + 0x0a, 0xfd, 0x34, 0x8a, 0xfd, 0x70, 0xa4, 0x94, 0x58, 0x74, 0xcf, 0xd7, 0x38, 0x3c, 0xbb, 0x35, + 0xc6, 0x2b, 0x40, 0xf4, 0x03, 0x88, 0xbc, 0x47, 0x8a, 0xc4, 0xaa, 0x59, 0x7b, 0x38, 0xa6, 0x26, + 0xb3, 0xc7, 0x19, 0x0e, 0x3d, 0x03, 0x08, 0x49, 0x7a, 0x1d, 0xc5, 0x57, 0xb4, 0x63, 0xc0, 0x6a, + 0x28, 0x65, 0x1a, 0xd3, 0x43, 0x3a, 0x88, 0x97, 0xc4, 0x0d, 0xd2, 0x4b, 0xa5, 0xcc, 0x92, 0xfe, + 0xe6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0x00, 0x00, 0x00, 0xff, 0xff, 0x74, + 0x71, 0xe5, 0xd8, 0x08, 0x0a, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster_service.pb.go new file mode 100644 index 000000000..a3878cfd0 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/cluster_service.pb.go @@ -0,0 +1,3097 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/cluster_service.proto + +package mysql + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ListClusterLogsRequest_ServiceType int32 + +const ( + ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0 + // MySQL error log. + ListClusterLogsRequest_MYSQL_ERROR ListClusterLogsRequest_ServiceType = 1 + // MySQL general query log. + ListClusterLogsRequest_MYSQL_GENERAL ListClusterLogsRequest_ServiceType = 2 + // MySQL slow query log. + ListClusterLogsRequest_MYSQL_SLOW_QUERY ListClusterLogsRequest_ServiceType = 3 + // MySQL audit log. + ListClusterLogsRequest_MYSQL_AUDIT ListClusterLogsRequest_ServiceType = 4 +) + +var ListClusterLogsRequest_ServiceType_name = map[int32]string{ + 0: "SERVICE_TYPE_UNSPECIFIED", + 1: "MYSQL_ERROR", + 2: "MYSQL_GENERAL", + 3: "MYSQL_SLOW_QUERY", + 4: "MYSQL_AUDIT", +} + +var ListClusterLogsRequest_ServiceType_value = map[string]int32{ + "SERVICE_TYPE_UNSPECIFIED": 0, + "MYSQL_ERROR": 1, + "MYSQL_GENERAL": 2, + "MYSQL_SLOW_QUERY": 3, + "MYSQL_AUDIT": 4, +} + +func (x ListClusterLogsRequest_ServiceType) String() string { + return proto.EnumName(ListClusterLogsRequest_ServiceType_name, int32(x)) +} + +func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{16, 0} +} + +type GetClusterRequest struct { + // ID of the MySQL cluster to return. + // To get the cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } +func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } +func (*GetClusterRequest) ProtoMessage() {} +func (*GetClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{0} +} + +func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) +} +func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) +} +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) +} +func (m *GetClusterRequest) XXX_Size() int { + return xxx_messageInfo_GetClusterRequest.Size(m) +} +func (m *GetClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo + +func (m *GetClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type ListClustersRequest struct { + // ID of the folder to list MySQL clusters in. + // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // A filter expression that filters resources listed in the response. + // The expression must specify: + // 1. The field name. Currently you can only use filtering with the [Cluster.name] field. + // 2. An operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. + // 3. The value. Мust be 1-63 characters long and match the regular expression `^[a-zA-Z0-9_-]+$`. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } +func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } +func (*ListClustersRequest) ProtoMessage() {} +func (*ListClustersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{1} +} + +func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) +} +func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) +} +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) +} +func (m *ListClustersRequest) XXX_Size() int { + return xxx_messageInfo_ListClustersRequest.Size(m) +} +func (m *ListClustersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo + +func (m *ListClustersRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *ListClustersRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClustersRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListClustersRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListClustersResponse struct { + // List of MySQL clusters. + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value + // for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } +func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } +func (*ListClustersResponse) ProtoMessage() {} +func (*ListClustersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{2} +} + +func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) +} +func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) +} +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) +} +func (m *ListClustersResponse) XXX_Size() int { + return xxx_messageInfo_ListClustersResponse.Size(m) +} +func (m *ListClustersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo + +func (m *ListClustersResponse) GetClusters() []*Cluster { + if m != nil { + return m.Clusters + } + return nil +} + +func (m *ListClustersResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateClusterRequest struct { + // ID of the folder to create the MySQL cluster in. + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + // Name of the MySQL cluster. The name must be unique within the folder. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Description of the MySQL cluster. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource. + // For example, "project": "mvp" or "source": "dictionary". + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Deployment environment of the MySQL cluster. + Environment Cluster_Environment `protobuf:"varint,5,opt,name=environment,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Environment" json:"environment,omitempty"` + // Configuration and resources for hosts that should be created for the MySQL cluster. + ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + // Descriptions of databases to be created in the MySQL cluster. + DatabaseSpecs []*DatabaseSpec `protobuf:"bytes,7,rep,name=database_specs,json=databaseSpecs,proto3" json:"database_specs,omitempty"` + // Descriptions of database users to be created in the MySQL cluster. + UserSpecs []*UserSpec `protobuf:"bytes,8,rep,name=user_specs,json=userSpecs,proto3" json:"user_specs,omitempty"` + // Individual configurations for hosts that should be created for the MySQL cluster. + HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + // ID of the network to create the cluster in. + NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } +func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } +func (*CreateClusterRequest) ProtoMessage() {} +func (*CreateClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{3} +} + +func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) +} +func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) +} +func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterRequest.Merge(m, src) +} +func (m *CreateClusterRequest) XXX_Size() int { + return xxx_messageInfo_CreateClusterRequest.Size(m) +} +func (m *CreateClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateClusterRequest proto.InternalMessageInfo + +func (m *CreateClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *CreateClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CreateClusterRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateClusterRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *CreateClusterRequest) GetEnvironment() Cluster_Environment { + if m != nil { + return m.Environment + } + return Cluster_ENVIRONMENT_UNSPECIFIED +} + +func (m *CreateClusterRequest) GetConfigSpec() *ConfigSpec { + if m != nil { + return m.ConfigSpec + } + return nil +} + +func (m *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec { + if m != nil { + return m.DatabaseSpecs + } + return nil +} + +func (m *CreateClusterRequest) GetUserSpecs() []*UserSpec { + if m != nil { + return m.UserSpecs + } + return nil +} + +func (m *CreateClusterRequest) GetHostSpecs() []*HostSpec { + if m != nil { + return m.HostSpecs + } + return nil +} + +func (m *CreateClusterRequest) GetNetworkId() string { + if m != nil { + return m.NetworkId + } + return "" +} + +type CreateClusterMetadata struct { + // ID of the MySQL cluster that is being created. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } +func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateClusterMetadata) ProtoMessage() {} +func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{4} +} + +func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) +} +func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) +} +func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterMetadata.Merge(m, src) +} +func (m *CreateClusterMetadata) XXX_Size() int { + return xxx_messageInfo_CreateClusterMetadata.Size(m) +} +func (m *CreateClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateClusterMetadata proto.InternalMessageInfo + +func (m *CreateClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type UpdateClusterRequest struct { + // ID of the MySQL cluster to update. + // To get the MySQL cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Field mask that specifies which fields of the MySQL cluster should be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // New description of the MySQL cluster. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource. + // For example, "project": "mvp" or "source": "dictionary". + // + // The new set of labels will completely replace the old ones. To add a label, request the current + // set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set. + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // New configuration and resources for hosts in the cluster. + ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + // New name for the cluster. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } +func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateClusterRequest) ProtoMessage() {} +func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{5} +} + +func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) +} +func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) +} +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) +} +func (m *UpdateClusterRequest) XXX_Size() int { + return xxx_messageInfo_UpdateClusterRequest.Size(m) +} +func (m *UpdateClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo + +func (m *UpdateClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *UpdateClusterRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateClusterRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateClusterRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *UpdateClusterRequest) GetConfigSpec() *ConfigSpec { + if m != nil { + return m.ConfigSpec + } + return nil +} + +func (m *UpdateClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type UpdateClusterMetadata struct { + // ID of the MySQL cluster that is being modified. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } +func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateClusterMetadata) ProtoMessage() {} +func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{6} +} + +func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) +} +func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) +} +func (m *UpdateClusterMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateClusterMetadata.Size(m) +} +func (m *UpdateClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterMetadata proto.InternalMessageInfo + +func (m *UpdateClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type DeleteClusterRequest struct { + // ID of the MySQL cluster to delete. + // To get the MySQL cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } +func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterRequest) ProtoMessage() {} +func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{7} +} + +func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) +} +func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) +} +func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(m, src) +} +func (m *DeleteClusterRequest) XXX_Size() int { + return xxx_messageInfo_DeleteClusterRequest.Size(m) +} +func (m *DeleteClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterRequest proto.InternalMessageInfo + +func (m *DeleteClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type DeleteClusterMetadata struct { + // ID of the MySQL cluster that is being deleted. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterMetadata) Reset() { *m = DeleteClusterMetadata{} } +func (m *DeleteClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterMetadata) ProtoMessage() {} +func (*DeleteClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{8} +} + +func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterMetadata.Unmarshal(m, b) +} +func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterMetadata.Merge(m, src) +} +func (m *DeleteClusterMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteClusterMetadata.Size(m) +} +func (m *DeleteClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterMetadata proto.InternalMessageInfo + +func (m *DeleteClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type BackupClusterRequest struct { + // ID of the MySQL cluster to back up. + // To get the MySQL cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupClusterRequest) Reset() { *m = BackupClusterRequest{} } +func (m *BackupClusterRequest) String() string { return proto.CompactTextString(m) } +func (*BackupClusterRequest) ProtoMessage() {} +func (*BackupClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{9} +} + +func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupClusterRequest.Unmarshal(m, b) +} +func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupClusterRequest.Marshal(b, m, deterministic) +} +func (m *BackupClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterRequest.Merge(m, src) +} +func (m *BackupClusterRequest) XXX_Size() int { + return xxx_messageInfo_BackupClusterRequest.Size(m) +} +func (m *BackupClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BackupClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupClusterRequest proto.InternalMessageInfo + +func (m *BackupClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type BackupClusterMetadata struct { + // ID of the MySQL cluster that is being backed up. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupClusterMetadata) Reset() { *m = BackupClusterMetadata{} } +func (m *BackupClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*BackupClusterMetadata) ProtoMessage() {} +func (*BackupClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{10} +} + +func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupClusterMetadata.Unmarshal(m, b) +} +func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupClusterMetadata.Marshal(b, m, deterministic) +} +func (m *BackupClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterMetadata.Merge(m, src) +} +func (m *BackupClusterMetadata) XXX_Size() int { + return xxx_messageInfo_BackupClusterMetadata.Size(m) +} +func (m *BackupClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_BackupClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupClusterMetadata proto.InternalMessageInfo + +func (m *BackupClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type RestoreClusterRequest struct { + // ID of the backup to create a cluster from. + // To get the backup ID, use a [ClusterService.ListBackups] request. + BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` + // Timestamp of the moment to which the MySQL cluster should be restored. + Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + // Name of the new MySQL cluster. The name must be unique within the folder. + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + // Description of the new MySQL cluster. + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // Custom labels for the MySQL cluster as `key:value` pairs. Maximum 64 per resource. + // For example, "project": "mvp" or "source": "dictionary". + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Deployment environment of the new MySQL cluster. + Environment Cluster_Environment `protobuf:"varint,7,opt,name=environment,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Environment" json:"environment,omitempty"` + // Configuration for the MySQL cluster to be created. + ConfigSpec *ConfigSpec `protobuf:"bytes,8,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + // Configurations for MySQL hosts that should be added + // to the cluster that is being created from the backup. + HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + // ID of the network to create the MySQL cluster in. + NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // ID of the folder to create the MySQL cluster in. + FolderId string `protobuf:"bytes,11,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreClusterRequest) Reset() { *m = RestoreClusterRequest{} } +func (m *RestoreClusterRequest) String() string { return proto.CompactTextString(m) } +func (*RestoreClusterRequest) ProtoMessage() {} +func (*RestoreClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{11} +} + +func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreClusterRequest.Unmarshal(m, b) +} +func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreClusterRequest.Marshal(b, m, deterministic) +} +func (m *RestoreClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterRequest.Merge(m, src) +} +func (m *RestoreClusterRequest) XXX_Size() int { + return xxx_messageInfo_RestoreClusterRequest.Size(m) +} +func (m *RestoreClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreClusterRequest proto.InternalMessageInfo + +func (m *RestoreClusterRequest) GetBackupId() string { + if m != nil { + return m.BackupId + } + return "" +} + +func (m *RestoreClusterRequest) GetTime() *timestamp.Timestamp { + if m != nil { + return m.Time + } + return nil +} + +func (m *RestoreClusterRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *RestoreClusterRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *RestoreClusterRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *RestoreClusterRequest) GetEnvironment() Cluster_Environment { + if m != nil { + return m.Environment + } + return Cluster_ENVIRONMENT_UNSPECIFIED +} + +func (m *RestoreClusterRequest) GetConfigSpec() *ConfigSpec { + if m != nil { + return m.ConfigSpec + } + return nil +} + +func (m *RestoreClusterRequest) GetHostSpecs() []*HostSpec { + if m != nil { + return m.HostSpecs + } + return nil +} + +func (m *RestoreClusterRequest) GetNetworkId() string { + if m != nil { + return m.NetworkId + } + return "" +} + +func (m *RestoreClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +type RestoreClusterMetadata struct { + // ID of the new MySQL cluster that is being created from a backup. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the backup that is being used for creating a cluster. + BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreClusterMetadata) Reset() { *m = RestoreClusterMetadata{} } +func (m *RestoreClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*RestoreClusterMetadata) ProtoMessage() {} +func (*RestoreClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{12} +} + +func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreClusterMetadata.Unmarshal(m, b) +} +func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreClusterMetadata.Marshal(b, m, deterministic) +} +func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterMetadata.Merge(m, src) +} +func (m *RestoreClusterMetadata) XXX_Size() int { + return xxx_messageInfo_RestoreClusterMetadata.Size(m) +} +func (m *RestoreClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreClusterMetadata proto.InternalMessageInfo + +func (m *RestoreClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *RestoreClusterMetadata) GetBackupId() string { + if m != nil { + return m.BackupId + } + return "" +} + +type StartClusterFailoverRequest struct { + // ID of MySQL cluster. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // New master host. Switch to the most up-to-date replica if not provided. + HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterFailoverRequest) Reset() { *m = StartClusterFailoverRequest{} } +func (m *StartClusterFailoverRequest) String() string { return proto.CompactTextString(m) } +func (*StartClusterFailoverRequest) ProtoMessage() {} +func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{13} +} + +func (m *StartClusterFailoverRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterFailoverRequest.Unmarshal(m, b) +} +func (m *StartClusterFailoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterFailoverRequest.Marshal(b, m, deterministic) +} +func (m *StartClusterFailoverRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterFailoverRequest.Merge(m, src) +} +func (m *StartClusterFailoverRequest) XXX_Size() int { + return xxx_messageInfo_StartClusterFailoverRequest.Size(m) +} +func (m *StartClusterFailoverRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterFailoverRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterFailoverRequest proto.InternalMessageInfo + +func (m *StartClusterFailoverRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *StartClusterFailoverRequest) GetHostName() string { + if m != nil { + return m.HostName + } + return "" +} + +type StartClusterFailoverMetadata struct { + // ID of the MySQL cluster being failovered. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterFailoverMetadata) Reset() { *m = StartClusterFailoverMetadata{} } +func (m *StartClusterFailoverMetadata) String() string { return proto.CompactTextString(m) } +func (*StartClusterFailoverMetadata) ProtoMessage() {} +func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{14} +} + +func (m *StartClusterFailoverMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterFailoverMetadata.Unmarshal(m, b) +} +func (m *StartClusterFailoverMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterFailoverMetadata.Marshal(b, m, deterministic) +} +func (m *StartClusterFailoverMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterFailoverMetadata.Merge(m, src) +} +func (m *StartClusterFailoverMetadata) XXX_Size() int { + return xxx_messageInfo_StartClusterFailoverMetadata.Size(m) +} +func (m *StartClusterFailoverMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterFailoverMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterFailoverMetadata proto.InternalMessageInfo + +func (m *StartClusterFailoverMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type LogRecord struct { + // Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // Contents of the log record. + Message map[string]string `protobuf:"bytes,2,rep,name=message,proto3" json:"message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LogRecord) Reset() { *m = LogRecord{} } +func (m *LogRecord) String() string { return proto.CompactTextString(m) } +func (*LogRecord) ProtoMessage() {} +func (*LogRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{15} +} + +func (m *LogRecord) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LogRecord.Unmarshal(m, b) +} +func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) +} +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) +} +func (m *LogRecord) XXX_Size() int { + return xxx_messageInfo_LogRecord.Size(m) +} +func (m *LogRecord) XXX_DiscardUnknown() { + xxx_messageInfo_LogRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_LogRecord proto.InternalMessageInfo + +func (m *LogRecord) GetTimestamp() *timestamp.Timestamp { + if m != nil { + return m.Timestamp + } + return nil +} + +func (m *LogRecord) GetMessage() map[string]string { + if m != nil { + return m.Message + } + return nil +} + +type ListClusterLogsRequest struct { + // ID of the MySQL cluster to request logs for. + // To get the MySQL cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Columns from the logs table to request. + // If no columns are specified, entire log records are returned. + ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"` + // Type of the service to request logs about. + ServiceType ListClusterLogsRequest_ServiceType `protobuf:"varint,3,opt,name=service_type,json=serviceType,proto3,enum=yandex.cloud.mdb.mysql.v1.ListClusterLogsRequest_ServiceType" json:"service_type,omitempty"` + // Start timestamp for the logs request. + FromTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"` + // End timestamp for the logs request. + ToTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterLogsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the + // [ListClusterLogsResponse.next_page_token] returned by a previous list request. + PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Always return `next_page_token`, even if current page is empty. + AlwaysNextPageToken bool `protobuf:"varint,8,opt,name=always_next_page_token,json=alwaysNextPageToken,proto3" json:"always_next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterLogsRequest) Reset() { *m = ListClusterLogsRequest{} } +func (m *ListClusterLogsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClusterLogsRequest) ProtoMessage() {} +func (*ListClusterLogsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{16} +} + +func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterLogsRequest.Unmarshal(m, b) +} +func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterLogsRequest.Marshal(b, m, deterministic) +} +func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsRequest.Merge(m, src) +} +func (m *ListClusterLogsRequest) XXX_Size() int { + return xxx_messageInfo_ListClusterLogsRequest.Size(m) +} +func (m *ListClusterLogsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterLogsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterLogsRequest proto.InternalMessageInfo + +func (m *ListClusterLogsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListClusterLogsRequest) GetColumnFilter() []string { + if m != nil { + return m.ColumnFilter + } + return nil +} + +func (m *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType { + if m != nil { + return m.ServiceType + } + return ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED +} + +func (m *ListClusterLogsRequest) GetFromTime() *timestamp.Timestamp { + if m != nil { + return m.FromTime + } + return nil +} + +func (m *ListClusterLogsRequest) GetToTime() *timestamp.Timestamp { + if m != nil { + return m.ToTime + } + return nil +} + +func (m *ListClusterLogsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClusterLogsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListClusterLogsRequest) GetAlwaysNextPageToken() bool { + if m != nil { + return m.AlwaysNextPageToken + } + return false +} + +type ListClusterLogsResponse struct { + // Requested log records. + Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterLogsRequest.page_token] query parameter in the next list request. + // Each subsequent list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterLogsResponse) Reset() { *m = ListClusterLogsResponse{} } +func (m *ListClusterLogsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClusterLogsResponse) ProtoMessage() {} +func (*ListClusterLogsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{17} +} + +func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterLogsResponse.Unmarshal(m, b) +} +func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterLogsResponse.Marshal(b, m, deterministic) +} +func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsResponse.Merge(m, src) +} +func (m *ListClusterLogsResponse) XXX_Size() int { + return xxx_messageInfo_ListClusterLogsResponse.Size(m) +} +func (m *ListClusterLogsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterLogsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterLogsResponse proto.InternalMessageInfo + +func (m *ListClusterLogsResponse) GetLogs() []*LogRecord { + if m != nil { + return m.Logs + } + return nil +} + +func (m *ListClusterLogsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListClusterOperationsRequest struct { + // ID of the MySQL cluster to list operations for. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterOperationsRequest) Reset() { *m = ListClusterOperationsRequest{} } +func (m *ListClusterOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClusterOperationsRequest) ProtoMessage() {} +func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{18} +} + +func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterOperationsRequest.Unmarshal(m, b) +} +func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterOperationsRequest.Marshal(b, m, deterministic) +} +func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsRequest.Merge(m, src) +} +func (m *ListClusterOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListClusterOperationsRequest.Size(m) +} +func (m *ListClusterOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterOperationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterOperationsRequest proto.InternalMessageInfo + +func (m *ListClusterOperationsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListClusterOperationsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClusterOperationsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListClusterOperationsResponse struct { + // List of operations for the specified MySQL cluster. + Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterOperationsRequest.page_token] query parameter in the next list request. + // Each subsequent list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterOperationsResponse) Reset() { *m = ListClusterOperationsResponse{} } +func (m *ListClusterOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClusterOperationsResponse) ProtoMessage() {} +func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{19} +} + +func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterOperationsResponse.Unmarshal(m, b) +} +func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterOperationsResponse.Marshal(b, m, deterministic) +} +func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsResponse.Merge(m, src) +} +func (m *ListClusterOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListClusterOperationsResponse.Size(m) +} +func (m *ListClusterOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterOperationsResponse proto.InternalMessageInfo + +func (m *ListClusterOperationsResponse) GetOperations() []*operation.Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListClusterOperationsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListClusterBackupsRequest struct { + // ID of the MySQL cluster. + // To get the MySQL cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterBackupsRequest) Reset() { *m = ListClusterBackupsRequest{} } +func (m *ListClusterBackupsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClusterBackupsRequest) ProtoMessage() {} +func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{20} +} + +func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterBackupsRequest.Unmarshal(m, b) +} +func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterBackupsRequest.Marshal(b, m, deterministic) +} +func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsRequest.Merge(m, src) +} +func (m *ListClusterBackupsRequest) XXX_Size() int { + return xxx_messageInfo_ListClusterBackupsRequest.Size(m) +} +func (m *ListClusterBackupsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterBackupsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterBackupsRequest proto.InternalMessageInfo + +func (m *ListClusterBackupsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListClusterBackupsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClusterBackupsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListClusterBackupsResponse struct { + // List of MySQL backups. + Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterBackupsRequest.page_token] query parameter in the next list request. + // Each subsequent list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterBackupsResponse) Reset() { *m = ListClusterBackupsResponse{} } +func (m *ListClusterBackupsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClusterBackupsResponse) ProtoMessage() {} +func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{21} +} + +func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterBackupsResponse.Unmarshal(m, b) +} +func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterBackupsResponse.Marshal(b, m, deterministic) +} +func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsResponse.Merge(m, src) +} +func (m *ListClusterBackupsResponse) XXX_Size() int { + return xxx_messageInfo_ListClusterBackupsResponse.Size(m) +} +func (m *ListClusterBackupsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterBackupsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterBackupsResponse proto.InternalMessageInfo + +func (m *ListClusterBackupsResponse) GetBackups() []*Backup { + if m != nil { + return m.Backups + } + return nil +} + +func (m *ListClusterBackupsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListClusterHostsRequest struct { + // ID of the MySQL cluster. + // To get the MySQL cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterHostsRequest) Reset() { *m = ListClusterHostsRequest{} } +func (m *ListClusterHostsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClusterHostsRequest) ProtoMessage() {} +func (*ListClusterHostsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{22} +} + +func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterHostsRequest.Unmarshal(m, b) +} +func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterHostsRequest.Marshal(b, m, deterministic) +} +func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsRequest.Merge(m, src) +} +func (m *ListClusterHostsRequest) XXX_Size() int { + return xxx_messageInfo_ListClusterHostsRequest.Size(m) +} +func (m *ListClusterHostsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterHostsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterHostsRequest proto.InternalMessageInfo + +func (m *ListClusterHostsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListClusterHostsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClusterHostsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListClusterHostsResponse struct { + // List of MySQL hosts. + Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value + // for the [ListClusterHostsRequest.page_token] query parameter in the next list request. + // Each subsequent list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterHostsResponse) Reset() { *m = ListClusterHostsResponse{} } +func (m *ListClusterHostsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClusterHostsResponse) ProtoMessage() {} +func (*ListClusterHostsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{23} +} + +func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterHostsResponse.Unmarshal(m, b) +} +func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterHostsResponse.Marshal(b, m, deterministic) +} +func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsResponse.Merge(m, src) +} +func (m *ListClusterHostsResponse) XXX_Size() int { + return xxx_messageInfo_ListClusterHostsResponse.Size(m) +} +func (m *ListClusterHostsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterHostsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterHostsResponse proto.InternalMessageInfo + +func (m *ListClusterHostsResponse) GetHosts() []*Host { + if m != nil { + return m.Hosts + } + return nil +} + +func (m *ListClusterHostsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type AddClusterHostsRequest struct { + // ID of the MySQL cluster to add hosts to. + // To get the MySQL cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Configurations for MySQL hosts that should be added to the cluster. + HostSpecs []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterHostsRequest) Reset() { *m = AddClusterHostsRequest{} } +func (m *AddClusterHostsRequest) String() string { return proto.CompactTextString(m) } +func (*AddClusterHostsRequest) ProtoMessage() {} +func (*AddClusterHostsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{24} +} + +func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterHostsRequest.Unmarshal(m, b) +} +func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterHostsRequest.Marshal(b, m, deterministic) +} +func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsRequest.Merge(m, src) +} +func (m *AddClusterHostsRequest) XXX_Size() int { + return xxx_messageInfo_AddClusterHostsRequest.Size(m) +} +func (m *AddClusterHostsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterHostsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterHostsRequest proto.InternalMessageInfo + +func (m *AddClusterHostsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *AddClusterHostsRequest) GetHostSpecs() []*HostSpec { + if m != nil { + return m.HostSpecs + } + return nil +} + +type AddClusterHostsMetadata struct { + // ID of the MySQL cluster to which the hosts are being added. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Names of hosts that are being added to the cluster. + HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterHostsMetadata) Reset() { *m = AddClusterHostsMetadata{} } +func (m *AddClusterHostsMetadata) String() string { return proto.CompactTextString(m) } +func (*AddClusterHostsMetadata) ProtoMessage() {} +func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{25} +} + +func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterHostsMetadata.Unmarshal(m, b) +} +func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterHostsMetadata.Marshal(b, m, deterministic) +} +func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsMetadata.Merge(m, src) +} +func (m *AddClusterHostsMetadata) XXX_Size() int { + return xxx_messageInfo_AddClusterHostsMetadata.Size(m) +} +func (m *AddClusterHostsMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterHostsMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterHostsMetadata proto.InternalMessageInfo + +func (m *AddClusterHostsMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *AddClusterHostsMetadata) GetHostNames() []string { + if m != nil { + return m.HostNames + } + return nil +} + +type DeleteClusterHostsRequest struct { + // ID of the MySQL cluster to remove hosts from. + // To get the MySQL cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Names of hosts to delete. + HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterHostsRequest) Reset() { *m = DeleteClusterHostsRequest{} } +func (m *DeleteClusterHostsRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterHostsRequest) ProtoMessage() {} +func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{26} +} + +func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterHostsRequest.Unmarshal(m, b) +} +func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterHostsRequest.Marshal(b, m, deterministic) +} +func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsRequest.Merge(m, src) +} +func (m *DeleteClusterHostsRequest) XXX_Size() int { + return xxx_messageInfo_DeleteClusterHostsRequest.Size(m) +} +func (m *DeleteClusterHostsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterHostsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterHostsRequest proto.InternalMessageInfo + +func (m *DeleteClusterHostsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteClusterHostsRequest) GetHostNames() []string { + if m != nil { + return m.HostNames + } + return nil +} + +type DeleteClusterHostsMetadata struct { + // ID of the MySQL cluster to remove hosts from. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Names of hosts that are being deleted. + HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterHostsMetadata) Reset() { *m = DeleteClusterHostsMetadata{} } +func (m *DeleteClusterHostsMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterHostsMetadata) ProtoMessage() {} +func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{27} +} + +func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterHostsMetadata.Unmarshal(m, b) +} +func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterHostsMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsMetadata.Merge(m, src) +} +func (m *DeleteClusterHostsMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteClusterHostsMetadata.Size(m) +} +func (m *DeleteClusterHostsMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterHostsMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterHostsMetadata proto.InternalMessageInfo + +func (m *DeleteClusterHostsMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteClusterHostsMetadata) GetHostNames() []string { + if m != nil { + return m.HostNames + } + return nil +} + +type StartClusterRequest struct { + // ID of the MySQL cluster to start. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterRequest) Reset() { *m = StartClusterRequest{} } +func (m *StartClusterRequest) String() string { return proto.CompactTextString(m) } +func (*StartClusterRequest) ProtoMessage() {} +func (*StartClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{28} +} + +func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterRequest.Unmarshal(m, b) +} +func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterRequest.Marshal(b, m, deterministic) +} +func (m *StartClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterRequest.Merge(m, src) +} +func (m *StartClusterRequest) XXX_Size() int { + return xxx_messageInfo_StartClusterRequest.Size(m) +} +func (m *StartClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterRequest proto.InternalMessageInfo + +func (m *StartClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type StartClusterMetadata struct { + // ID of the MySQL cluster being started. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterMetadata) Reset() { *m = StartClusterMetadata{} } +func (m *StartClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*StartClusterMetadata) ProtoMessage() {} +func (*StartClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{29} +} + +func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterMetadata.Unmarshal(m, b) +} +func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterMetadata.Marshal(b, m, deterministic) +} +func (m *StartClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterMetadata.Merge(m, src) +} +func (m *StartClusterMetadata) XXX_Size() int { + return xxx_messageInfo_StartClusterMetadata.Size(m) +} +func (m *StartClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterMetadata proto.InternalMessageInfo + +func (m *StartClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type StopClusterRequest struct { + // ID of the MySQL cluster to stop. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StopClusterRequest) Reset() { *m = StopClusterRequest{} } +func (m *StopClusterRequest) String() string { return proto.CompactTextString(m) } +func (*StopClusterRequest) ProtoMessage() {} +func (*StopClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{30} +} + +func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopClusterRequest.Unmarshal(m, b) +} +func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopClusterRequest.Marshal(b, m, deterministic) +} +func (m *StopClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterRequest.Merge(m, src) +} +func (m *StopClusterRequest) XXX_Size() int { + return xxx_messageInfo_StopClusterRequest.Size(m) +} +func (m *StopClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StopClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StopClusterRequest proto.InternalMessageInfo + +func (m *StopClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type StopClusterMetadata struct { + // ID of the MySQL cluster being stopped. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StopClusterMetadata) Reset() { *m = StopClusterMetadata{} } +func (m *StopClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*StopClusterMetadata) ProtoMessage() {} +func (*StopClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{31} +} + +func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopClusterMetadata.Unmarshal(m, b) +} +func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopClusterMetadata.Marshal(b, m, deterministic) +} +func (m *StopClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterMetadata.Merge(m, src) +} +func (m *StopClusterMetadata) XXX_Size() int { + return xxx_messageInfo_StopClusterMetadata.Size(m) +} +func (m *StopClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_StopClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_StopClusterMetadata proto.InternalMessageInfo + +func (m *StopClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type MoveClusterRequest struct { + // ID of the MySQL cluster to move. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the destination folder. + DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MoveClusterRequest) Reset() { *m = MoveClusterRequest{} } +func (m *MoveClusterRequest) String() string { return proto.CompactTextString(m) } +func (*MoveClusterRequest) ProtoMessage() {} +func (*MoveClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{32} +} + +func (m *MoveClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MoveClusterRequest.Unmarshal(m, b) +} +func (m *MoveClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MoveClusterRequest.Marshal(b, m, deterministic) +} +func (m *MoveClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterRequest.Merge(m, src) +} +func (m *MoveClusterRequest) XXX_Size() int { + return xxx_messageInfo_MoveClusterRequest.Size(m) +} +func (m *MoveClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MoveClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_MoveClusterRequest proto.InternalMessageInfo + +func (m *MoveClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *MoveClusterRequest) GetDestinationFolderId() string { + if m != nil { + return m.DestinationFolderId + } + return "" +} + +type MoveClusterMetadata struct { + // ID of the MySQL cluster being moved. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // ID of the source folder. + SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"` + // ID of the destnation folder. + DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MoveClusterMetadata) Reset() { *m = MoveClusterMetadata{} } +func (m *MoveClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*MoveClusterMetadata) ProtoMessage() {} +func (*MoveClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{33} +} + +func (m *MoveClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MoveClusterMetadata.Unmarshal(m, b) +} +func (m *MoveClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MoveClusterMetadata.Marshal(b, m, deterministic) +} +func (m *MoveClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterMetadata.Merge(m, src) +} +func (m *MoveClusterMetadata) XXX_Size() int { + return xxx_messageInfo_MoveClusterMetadata.Size(m) +} +func (m *MoveClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_MoveClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_MoveClusterMetadata proto.InternalMessageInfo + +func (m *MoveClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *MoveClusterMetadata) GetSourceFolderId() string { + if m != nil { + return m.SourceFolderId + } + return "" +} + +func (m *MoveClusterMetadata) GetDestinationFolderId() string { + if m != nil { + return m.DestinationFolderId + } + return "" +} + +type UpdateClusterHostsMetadata struct { + // ID of the MySQL cluster to modify hosts in. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Names of hosts that are being modified. + HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateClusterHostsMetadata) Reset() { *m = UpdateClusterHostsMetadata{} } +func (m *UpdateClusterHostsMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateClusterHostsMetadata) ProtoMessage() {} +func (*UpdateClusterHostsMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{34} +} + +func (m *UpdateClusterHostsMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateClusterHostsMetadata.Unmarshal(m, b) +} +func (m *UpdateClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateClusterHostsMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterHostsMetadata.Merge(m, src) +} +func (m *UpdateClusterHostsMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateClusterHostsMetadata.Size(m) +} +func (m *UpdateClusterHostsMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterHostsMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterHostsMetadata proto.InternalMessageInfo + +func (m *UpdateClusterHostsMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *UpdateClusterHostsMetadata) GetHostNames() []string { + if m != nil { + return m.HostNames + } + return nil +} + +type HostSpec struct { + // ID of the availability zone where the host resides. + // To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request. + ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` + // ID of the subnet that the host should belong to. This subnet should be a part + // of the network that the cluster belongs to. + // The ID of the network is set in the field [Cluster.network_id]. + SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` + // Whether the host should get a public IP address on creation. + // + // After a host has been created, this setting cannot be changed. To remove an assigned public IP, or to assign + // a public IP to a host without one, recreate the host with [assign_public_ip] set as needed. + // + // Possible values: + // * false — don't assign a public IP to the host. + // * true — the host should have a public IP address. + AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HostSpec) Reset() { *m = HostSpec{} } +func (m *HostSpec) String() string { return proto.CompactTextString(m) } +func (*HostSpec) ProtoMessage() {} +func (*HostSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{35} +} + +func (m *HostSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HostSpec.Unmarshal(m, b) +} +func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HostSpec.Marshal(b, m, deterministic) +} +func (m *HostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostSpec.Merge(m, src) +} +func (m *HostSpec) XXX_Size() int { + return xxx_messageInfo_HostSpec.Size(m) +} +func (m *HostSpec) XXX_DiscardUnknown() { + xxx_messageInfo_HostSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_HostSpec proto.InternalMessageInfo + +func (m *HostSpec) GetZoneId() string { + if m != nil { + return m.ZoneId + } + return "" +} + +func (m *HostSpec) GetSubnetId() string { + if m != nil { + return m.SubnetId + } + return "" +} + +func (m *HostSpec) GetAssignPublicIp() bool { + if m != nil { + return m.AssignPublicIp + } + return false +} + +type ConfigSpec struct { + // Version of MySQL used in the cluster. + // Possible values: + // * 5.7 + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // Configuration of a MySQL cluster. + // + // Types that are valid to be assigned to MysqlConfig: + // *ConfigSpec_MysqlConfig_5_7 + MysqlConfig isConfigSpec_MysqlConfig `protobuf_oneof:"mysql_config"` + // Resources allocated to MySQL hosts. + Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } +func (m *ConfigSpec) String() string { return proto.CompactTextString(m) } +func (*ConfigSpec) ProtoMessage() {} +func (*ConfigSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_f04e32aaf9db2926, []int{36} +} + +func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConfigSpec.Unmarshal(m, b) +} +func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) +} +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) +} +func (m *ConfigSpec) XXX_Size() int { + return xxx_messageInfo_ConfigSpec.Size(m) +} +func (m *ConfigSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigSpec proto.InternalMessageInfo + +func (m *ConfigSpec) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +type isConfigSpec_MysqlConfig interface { + isConfigSpec_MysqlConfig() +} + +type ConfigSpec_MysqlConfig_5_7 struct { + MysqlConfig_5_7 *config.MysqlConfig5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig57,proto3,oneof"` +} + +func (*ConfigSpec_MysqlConfig_5_7) isConfigSpec_MysqlConfig() {} + +func (m *ConfigSpec) GetMysqlConfig() isConfigSpec_MysqlConfig { + if m != nil { + return m.MysqlConfig + } + return nil +} + +func (m *ConfigSpec) GetMysqlConfig_5_7() *config.MysqlConfig5_7 { + if x, ok := m.GetMysqlConfig().(*ConfigSpec_MysqlConfig_5_7); ok { + return x.MysqlConfig_5_7 + } + return nil +} + +func (m *ConfigSpec) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { + if m != nil { + return m.BackupWindowStart + } + return nil +} + +func (m *ConfigSpec) GetAccess() *Access { + if m != nil { + return m.Access + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConfigSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ConfigSpec_MysqlConfig_5_7)(nil), + } +} + +func init() { + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) + proto.RegisterType((*GetClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.GetClusterRequest") + proto.RegisterType((*ListClustersRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListClustersRequest") + proto.RegisterType((*ListClustersResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListClustersResponse") + proto.RegisterType((*CreateClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.CreateClusterRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mysql.v1.CreateClusterRequest.LabelsEntry") + proto.RegisterType((*CreateClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.CreateClusterMetadata") + proto.RegisterType((*UpdateClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.UpdateClusterRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mysql.v1.UpdateClusterRequest.LabelsEntry") + proto.RegisterType((*UpdateClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.UpdateClusterMetadata") + proto.RegisterType((*DeleteClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.DeleteClusterRequest") + proto.RegisterType((*DeleteClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.DeleteClusterMetadata") + proto.RegisterType((*BackupClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.BackupClusterRequest") + proto.RegisterType((*BackupClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.BackupClusterMetadata") + proto.RegisterType((*RestoreClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.RestoreClusterRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mysql.v1.RestoreClusterRequest.LabelsEntry") + proto.RegisterType((*RestoreClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.RestoreClusterMetadata") + proto.RegisterType((*StartClusterFailoverRequest)(nil), "yandex.cloud.mdb.mysql.v1.StartClusterFailoverRequest") + proto.RegisterType((*StartClusterFailoverMetadata)(nil), "yandex.cloud.mdb.mysql.v1.StartClusterFailoverMetadata") + proto.RegisterType((*LogRecord)(nil), "yandex.cloud.mdb.mysql.v1.LogRecord") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.mysql.v1.LogRecord.MessageEntry") + proto.RegisterType((*ListClusterLogsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterLogsRequest") + proto.RegisterType((*ListClusterLogsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterLogsResponse") + proto.RegisterType((*ListClusterOperationsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterOperationsRequest") + proto.RegisterType((*ListClusterOperationsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterOperationsResponse") + proto.RegisterType((*ListClusterBackupsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterBackupsRequest") + proto.RegisterType((*ListClusterBackupsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterBackupsResponse") + proto.RegisterType((*ListClusterHostsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterHostsRequest") + proto.RegisterType((*ListClusterHostsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListClusterHostsResponse") + proto.RegisterType((*AddClusterHostsRequest)(nil), "yandex.cloud.mdb.mysql.v1.AddClusterHostsRequest") + proto.RegisterType((*AddClusterHostsMetadata)(nil), "yandex.cloud.mdb.mysql.v1.AddClusterHostsMetadata") + proto.RegisterType((*DeleteClusterHostsRequest)(nil), "yandex.cloud.mdb.mysql.v1.DeleteClusterHostsRequest") + proto.RegisterType((*DeleteClusterHostsMetadata)(nil), "yandex.cloud.mdb.mysql.v1.DeleteClusterHostsMetadata") + proto.RegisterType((*StartClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.StartClusterRequest") + proto.RegisterType((*StartClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.StartClusterMetadata") + proto.RegisterType((*StopClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.StopClusterRequest") + proto.RegisterType((*StopClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.StopClusterMetadata") + proto.RegisterType((*MoveClusterRequest)(nil), "yandex.cloud.mdb.mysql.v1.MoveClusterRequest") + proto.RegisterType((*MoveClusterMetadata)(nil), "yandex.cloud.mdb.mysql.v1.MoveClusterMetadata") + proto.RegisterType((*UpdateClusterHostsMetadata)(nil), "yandex.cloud.mdb.mysql.v1.UpdateClusterHostsMetadata") + proto.RegisterType((*HostSpec)(nil), "yandex.cloud.mdb.mysql.v1.HostSpec") + proto.RegisterType((*ConfigSpec)(nil), "yandex.cloud.mdb.mysql.v1.ConfigSpec") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/cluster_service.proto", fileDescriptor_f04e32aaf9db2926) +} + +var fileDescriptor_f04e32aaf9db2926 = []byte{ + // 2485 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 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80, 0x0b, 0x59, + 0x11, 0x26, 0xeb, 0x6d, 0x1f, 0x59, 0x77, 0x08, 0xae, 0x31, 0x39, 0xd1, 0xba, 0x78, 0x62, 0x32, + 0x1e, 0x59, 0xc4, 0x16, 0x32, 0xa2, 0xfb, 0xca, 0xf8, 0xd0, 0x22, 0x36, 0x97, 0xf1, 0x48, 0x3c, + 0x11, 0x34, 0x0e, 0x60, 0x62, 0xfb, 0xb1, 0x55, 0xdb, 0xa4, 0x5e, 0x09, 0xcc, 0x69, 0x22, 0xcd, + 0x0b, 0x41, 0xac, 0x2d, 0x19, 0x89, 0x4b, 0x10, 0x73, 0x1d, 0x39, 0x1a, 0x82, 0xde, 0x4d, 0xbc, + 0xcd, 0xdd, 0x58, 0xa5, 0x8f, 0x68, 0x04, 0xfa, 0xb6, 0xf4, 0x72, 0x5d, 0x38, 0xad, 0xca, 0x5f, + 0xe6, 0x7a, 0x2e, 0x4a, 0xf2, 0x05, 0x38, 0xee, 0x71, 0xa1, 0x15, 0x6c, 0xeb, 0xd4, 0x1a, 0xe8, + 0xf4, 0xde, 0x1b, 0xc9, 0x7d, 0x07, 0xfd, 0xa7, 0x17, 0x46, 0xee, 0x54, 0x8d, 0xbd, 0x91, 0xd4, + 0xcd, 0x4d, 0x86, 0x2e, 0x43, 0xac, 0xce, 0x84, 0xb0, 0x9c, 0xc4, 0xd0, 0xc5, 0x26, 0x13, 0x0a, + 0xcf, 0x39, 0x8a, 0x93, 0x94, 0x94, 0x45, 0x9a, 0xb6, 0x56, 0x74, 0xb2, 0xa9, 0x02, 0x27, 0xa7, + 0xcf, 0xdf, 0x60, 0x50, 0xb5, 0x53, 0xec, 0x9b, 0x09, 0xaa, 0x96, 0x10, 0xe8, 0x3b, 0x68, 0x08, + 0x28, 0xe2, 0x52, 0x0a, 0x33, 0x23, 0x24, 0xf6, 0xbb, 0x90, 0x0e, 0xe9, 0x31, 0x1e, 0xfb, 0x04, + 0xf5, 0x98, 0x05, 0x18, 0xb9, 0x8e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0xcf, 0x27, 0x3b, 0xbb, 0xc9, 0x4c, + 0xe7, 0x31, 0x83, 0x4f, 0x05, 0x70, 0x4d, 0xbe, 0xd4, 0x95, 0x36, 0x73, 0xeb, 0xba, 0x5d, 0x78, + 0xc4, 0x2b, 0x39, 0x1a, 0xac, 0xff, 0x94, 0x20, 0xc6, 0xcb, 0x0e, 0xae, 0xdf, 0x74, 0xd0, 0xea, + 0xa6, 0x5b, 0x15, 0x9f, 0xed, 0xec, 0x26, 0xa7, 0x7c, 0xc7, 0x0e, 0x47, 0xae, 0x25, 0xdf, 0x6b, + 0x4e, 0x4a, 0xe6, 0xf2, 0xf7, 0x17, 0x8a, 0x25, 0xfb, 0x51, 0x7d, 0x5d, 0x29, 0x58, 0x15, 0xf1, + 0x77, 0xaa, 0x14, 0xff, 0x3b, 0x55, 0xd1, 0x4a, 0x15, 0xb1, 0xc9, 0xf6, 0xec, 0xfc, 0x3f, 0xab, + 0xcb, 0xec, 0x61, 0x3d, 0xcc, 0xc8, 0xa6, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x78, 0x74, 0x86, + 0x18, 0x5f, 0x27, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ClusterServiceClient is the client API for ClusterService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ClusterServiceClient interface { + // Returns the specified MySQL cluster. + // + // To get the list of available MySQL clusters, make a [List] request. + Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) + // Retrieves the list of MySQL clusters that belong to the specified folder. + List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) + // Creates a MySQL cluster in the specified folder. + Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Modifies the specified MySQL cluster. + Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified MySQL cluster. + Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Starts the specified MySQL cluster. + Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Stops the specified MySQL cluster. + Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Moves the specified MySQL cluster to the specified folder. + Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Creates a backup for the specified MySQL cluster. + Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Creates a new MySQL cluster using the specified backup. + Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Start a manual failover on the specified MySQL cluster. + StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Retrieves logs for the specified MySQL cluster. + // For more information about logs, see the [Logs](/docs/managed-mysql/concepts/logs) section in the documentation. + ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) + // Retrieves the list of operations for the specified MySQL cluster. + ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error) + // Retrieves the list of available backups for the specified MySQL cluster. + ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error) + // Retrieves a list of hosts for the specified MySQL cluster. + ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error) + // Creates new hosts for a cluster. + AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified hosts for a cluster. + DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) +} + +type clusterServiceClient struct { + cc *grpc.ClientConn +} + +func NewClusterServiceClient(cc *grpc.ClientConn) ClusterServiceClient { + return &clusterServiceClient{cc} +} + +func (c *clusterServiceClient) Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) { + out := new(Cluster) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { + out := new(ListClustersResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Start", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Stop", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Move", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Backup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/Restore", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/StartFailover", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) { + out := new(ListClusterLogsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/ListLogs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error) { + out := new(ListClusterOperationsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/ListOperations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error) { + out := new(ListClusterBackupsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/ListBackups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error) { + out := new(ListClusterHostsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/ListHosts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/AddHosts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ClusterService/DeleteHosts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ClusterServiceServer is the server API for ClusterService service. +type ClusterServiceServer interface { + // Returns the specified MySQL cluster. + // + // To get the list of available MySQL clusters, make a [List] request. + Get(context.Context, *GetClusterRequest) (*Cluster, error) + // Retrieves the list of MySQL clusters that belong to the specified folder. + List(context.Context, *ListClustersRequest) (*ListClustersResponse, error) + // Creates a MySQL cluster in the specified folder. + Create(context.Context, *CreateClusterRequest) (*operation.Operation, error) + // Modifies the specified MySQL cluster. + Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error) + // Deletes the specified MySQL cluster. + Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error) + // Starts the specified MySQL cluster. + Start(context.Context, *StartClusterRequest) (*operation.Operation, error) + // Stops the specified MySQL cluster. + Stop(context.Context, *StopClusterRequest) (*operation.Operation, error) + // Moves the specified MySQL cluster to the specified folder. + Move(context.Context, *MoveClusterRequest) (*operation.Operation, error) + // Creates a backup for the specified MySQL cluster. + Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error) + // Creates a new MySQL cluster using the specified backup. + Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error) + // Start a manual failover on the specified MySQL cluster. + StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error) + // Retrieves logs for the specified MySQL cluster. + // For more information about logs, see the [Logs](/docs/managed-mysql/concepts/logs) section in the documentation. + ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error) + // Retrieves the list of operations for the specified MySQL cluster. + ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) + // Retrieves the list of available backups for the specified MySQL cluster. + ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) + // Retrieves a list of hosts for the specified MySQL cluster. + ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error) + // Creates new hosts for a cluster. + AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error) + // Deletes the specified hosts for a cluster. + DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error) +} + +// UnimplementedClusterServiceServer can be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { +} + +func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedClusterServiceServer) Move(ctx context.Context, req *MoveClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Backup not implemented") +} +func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented") +} +func (*UnimplementedClusterServiceServer) StartFailover(ctx context.Context, req *StartClusterFailoverRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartFailover not implemented") +} +func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogs not implemented") +} +func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListHosts not implemented") +} +func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHosts not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteHosts not implemented") +} + +func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer) { + s.RegisterService(&_ClusterService_serviceDesc, srv) +} + +func _ClusterService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Get(ctx, req.(*GetClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClustersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).List(ctx, req.(*ListClustersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Create(ctx, req.(*CreateClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Update(ctx, req.(*UpdateClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Delete(ctx, req.(*DeleteClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Start(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Start", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Start(ctx, req.(*StartClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StopClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Stop(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Stop", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Stop(ctx, req.(*StopClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Move_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MoveClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Move(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Move", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Move(ctx, req.(*MoveClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Backup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BackupClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Backup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Backup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Backup(ctx, req.(*BackupClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Restore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestoreClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Restore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/Restore", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Restore(ctx, req.(*RestoreClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_StartFailover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartClusterFailoverRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).StartFailover(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/StartFailover", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).StartFailover(ctx, req.(*StartClusterFailoverRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_ListLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClusterLogsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).ListLogs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/ListLogs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).ListLogs(ctx, req.(*ListClusterLogsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClusterOperationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).ListOperations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/ListOperations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).ListOperations(ctx, req.(*ListClusterOperationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_ListBackups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClusterBackupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).ListBackups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/ListBackups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).ListBackups(ctx, req.(*ListClusterBackupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_ListHosts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClusterHostsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).ListHosts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/ListHosts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).ListHosts(ctx, req.(*ListClusterHostsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_AddHosts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddClusterHostsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).AddHosts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/AddHosts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).AddHosts(ctx, req.(*AddClusterHostsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_DeleteHosts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteClusterHostsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).DeleteHosts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ClusterService/DeleteHosts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).DeleteHosts(ctx, req.(*DeleteClusterHostsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ClusterService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.mdb.mysql.v1.ClusterService", + HandlerType: (*ClusterServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _ClusterService_Get_Handler, + }, + { + MethodName: "List", + Handler: _ClusterService_List_Handler, + }, + { + MethodName: "Create", + Handler: _ClusterService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _ClusterService_Update_Handler, + }, + { + MethodName: "Delete", + Handler: _ClusterService_Delete_Handler, + }, + { + MethodName: "Start", + Handler: _ClusterService_Start_Handler, + }, + { + MethodName: "Stop", + Handler: _ClusterService_Stop_Handler, + }, + { + MethodName: "Move", + Handler: _ClusterService_Move_Handler, + }, + { + MethodName: "Backup", + Handler: _ClusterService_Backup_Handler, + }, + { + MethodName: "Restore", + Handler: _ClusterService_Restore_Handler, + }, + { + MethodName: "StartFailover", + Handler: _ClusterService_StartFailover_Handler, + }, + { + MethodName: "ListLogs", + Handler: _ClusterService_ListLogs_Handler, + }, + { + MethodName: "ListOperations", + Handler: _ClusterService_ListOperations_Handler, + }, + { + MethodName: "ListBackups", + Handler: _ClusterService_ListBackups_Handler, + }, + { + MethodName: "ListHosts", + Handler: _ClusterService_ListHosts_Handler, + }, + { + MethodName: "AddHosts", + Handler: _ClusterService_AddHosts_Handler, + }, + { + MethodName: "DeleteHosts", + Handler: _ClusterService_DeleteHosts_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/mdb/mysql/v1/cluster_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config/mysql5_7.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config/mysql5_7.pb.go new file mode 100644 index 000000000..a347315a9 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config/mysql5_7.pb.go @@ -0,0 +1,361 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/config/mysql5_7.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type MysqlConfig5_7_SQLMode int32 + +const ( + MysqlConfig5_7_SQLMODE_UNSPECIFIED MysqlConfig5_7_SQLMode = 0 + MysqlConfig5_7_ALLOW_INVALID_DATES MysqlConfig5_7_SQLMode = 1 + MysqlConfig5_7_ANSI_QUOTES MysqlConfig5_7_SQLMode = 2 + MysqlConfig5_7_ERROR_FOR_DIVISION_BY_ZERO MysqlConfig5_7_SQLMode = 3 + MysqlConfig5_7_HIGH_NOT_PRECEDENCE MysqlConfig5_7_SQLMode = 4 + MysqlConfig5_7_IGNORE_SPACE MysqlConfig5_7_SQLMode = 5 + MysqlConfig5_7_NO_AUTO_VALUE_ON_ZERO MysqlConfig5_7_SQLMode = 6 + MysqlConfig5_7_NO_BACKSLASH_ESCAPES MysqlConfig5_7_SQLMode = 7 + MysqlConfig5_7_NO_ENGINE_SUBSTITUTION MysqlConfig5_7_SQLMode = 8 + MysqlConfig5_7_NO_UNSIGNED_SUBTRACTION MysqlConfig5_7_SQLMode = 9 + MysqlConfig5_7_NO_ZERO_DATE MysqlConfig5_7_SQLMode = 10 + MysqlConfig5_7_NO_ZERO_IN_DATE MysqlConfig5_7_SQLMode = 11 + MysqlConfig5_7_NO_FIELD_OPTIONS MysqlConfig5_7_SQLMode = 12 + MysqlConfig5_7_NO_KEY_OPTIONS MysqlConfig5_7_SQLMode = 13 + MysqlConfig5_7_NO_TABLE_OPTIONS MysqlConfig5_7_SQLMode = 14 + MysqlConfig5_7_ONLY_FULL_GROUP_BY MysqlConfig5_7_SQLMode = 15 + MysqlConfig5_7_PAD_CHAR_TO_FULL_LENGTH MysqlConfig5_7_SQLMode = 16 + MysqlConfig5_7_PIPES_AS_CONCAT MysqlConfig5_7_SQLMode = 17 + MysqlConfig5_7_REAL_AS_FLOAT MysqlConfig5_7_SQLMode = 18 + MysqlConfig5_7_STRICT_ALL_TABLES MysqlConfig5_7_SQLMode = 19 + MysqlConfig5_7_STRICT_TRANS_TABLES MysqlConfig5_7_SQLMode = 20 + MysqlConfig5_7_ANSI MysqlConfig5_7_SQLMode = 21 + MysqlConfig5_7_TRADITIONAL MysqlConfig5_7_SQLMode = 22 + MysqlConfig5_7_DB2 MysqlConfig5_7_SQLMode = 23 + MysqlConfig5_7_MAXDB MysqlConfig5_7_SQLMode = 24 + MysqlConfig5_7_MSSQL MysqlConfig5_7_SQLMode = 25 + MysqlConfig5_7_MYSQL323 MysqlConfig5_7_SQLMode = 26 + MysqlConfig5_7_MYSQL40 MysqlConfig5_7_SQLMode = 27 + MysqlConfig5_7_ORACLE MysqlConfig5_7_SQLMode = 28 + MysqlConfig5_7_POSTGRESQL MysqlConfig5_7_SQLMode = 29 +) + +var MysqlConfig5_7_SQLMode_name = map[int32]string{ + 0: "SQLMODE_UNSPECIFIED", + 1: "ALLOW_INVALID_DATES", + 2: "ANSI_QUOTES", + 3: "ERROR_FOR_DIVISION_BY_ZERO", + 4: "HIGH_NOT_PRECEDENCE", + 5: "IGNORE_SPACE", + 6: "NO_AUTO_VALUE_ON_ZERO", + 7: "NO_BACKSLASH_ESCAPES", + 8: "NO_ENGINE_SUBSTITUTION", + 9: "NO_UNSIGNED_SUBTRACTION", + 10: "NO_ZERO_DATE", + 11: "NO_ZERO_IN_DATE", + 12: "NO_FIELD_OPTIONS", + 13: "NO_KEY_OPTIONS", + 14: "NO_TABLE_OPTIONS", + 15: "ONLY_FULL_GROUP_BY", + 16: "PAD_CHAR_TO_FULL_LENGTH", + 17: "PIPES_AS_CONCAT", + 18: "REAL_AS_FLOAT", + 19: "STRICT_ALL_TABLES", + 20: "STRICT_TRANS_TABLES", + 21: "ANSI", + 22: "TRADITIONAL", + 23: "DB2", + 24: "MAXDB", + 25: "MSSQL", + 26: "MYSQL323", + 27: "MYSQL40", + 28: "ORACLE", + 29: "POSTGRESQL", +} + +var MysqlConfig5_7_SQLMode_value = map[string]int32{ + "SQLMODE_UNSPECIFIED": 0, + "ALLOW_INVALID_DATES": 1, + "ANSI_QUOTES": 2, + "ERROR_FOR_DIVISION_BY_ZERO": 3, + "HIGH_NOT_PRECEDENCE": 4, + "IGNORE_SPACE": 5, + "NO_AUTO_VALUE_ON_ZERO": 6, + "NO_BACKSLASH_ESCAPES": 7, + "NO_ENGINE_SUBSTITUTION": 8, + "NO_UNSIGNED_SUBTRACTION": 9, + "NO_ZERO_DATE": 10, + "NO_ZERO_IN_DATE": 11, + "NO_FIELD_OPTIONS": 12, + "NO_KEY_OPTIONS": 13, + "NO_TABLE_OPTIONS": 14, + "ONLY_FULL_GROUP_BY": 15, + "PAD_CHAR_TO_FULL_LENGTH": 16, + "PIPES_AS_CONCAT": 17, + "REAL_AS_FLOAT": 18, + "STRICT_ALL_TABLES": 19, + "STRICT_TRANS_TABLES": 20, + "ANSI": 21, + "TRADITIONAL": 22, + "DB2": 23, + "MAXDB": 24, + "MSSQL": 25, + "MYSQL323": 26, + "MYSQL40": 27, + "ORACLE": 28, + "POSTGRESQL": 29, +} + +func (x MysqlConfig5_7_SQLMode) String() string { + return proto.EnumName(MysqlConfig5_7_SQLMode_name, int32(x)) +} + +func (MysqlConfig5_7_SQLMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_6392ad3afb3c33c0, []int{0, 0} +} + +// Options and structure of `MysqlConfig5_7` reflects MySQL 5.7 configuration file +type MysqlConfig5_7 struct { + // Size of the InnoDB buffer pool used for caching table and index data. + // + // For details, see [MySQL documentation for the parameter](https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size). + InnodbBufferPoolSize *wrappers.Int64Value `protobuf:"bytes,1,opt,name=innodb_buffer_pool_size,json=innodbBufferPoolSize,proto3" json:"innodb_buffer_pool_size,omitempty"` + // The maximum permitted number of simultaneous client connections. + // + // For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_connections). + MaxConnections *wrappers.Int64Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` + // Time that it takes to process a query before it is considered slow. + // + // For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_long_query_time). + LongQueryTime *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=long_query_time,json=longQueryTime,proto3" json:"long_query_time,omitempty"` + // Enable writing of general query log of MySQL. + // + // For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_general_log). + GeneralLog *wrappers.BoolValue `protobuf:"bytes,4,opt,name=general_log,json=generalLog,proto3" json:"general_log,omitempty"` + // Enable writing of audit log of MySQL. + // + // For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/mysql-security-excerpt/5.6/en/audit-log-options-variables.html#option_mysqld_audit-log). + AuditLog *wrappers.BoolValue `protobuf:"bytes,5,opt,name=audit_log,json=auditLog,proto3" json:"audit_log,omitempty"` + // Server SQL mode of MySQL. + // + // For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sql-mode-setting) + SqlMode []MysqlConfig5_7_SQLMode `protobuf:"varint,6,rep,packed,name=sql_mode,json=sqlMode,proto3,enum=yandex.cloud.mdb.mysql.v1.config.MysqlConfig5_7_SQLMode" json:"sql_mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MysqlConfig5_7) Reset() { *m = MysqlConfig5_7{} } +func (m *MysqlConfig5_7) String() string { return proto.CompactTextString(m) } +func (*MysqlConfig5_7) ProtoMessage() {} +func (*MysqlConfig5_7) Descriptor() ([]byte, []int) { + return fileDescriptor_6392ad3afb3c33c0, []int{0} +} + +func (m *MysqlConfig5_7) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MysqlConfig5_7.Unmarshal(m, b) +} +func (m *MysqlConfig5_7) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MysqlConfig5_7.Marshal(b, m, deterministic) +} +func (m *MysqlConfig5_7) XXX_Merge(src proto.Message) { + xxx_messageInfo_MysqlConfig5_7.Merge(m, src) +} +func (m *MysqlConfig5_7) XXX_Size() int { + return xxx_messageInfo_MysqlConfig5_7.Size(m) +} +func (m *MysqlConfig5_7) XXX_DiscardUnknown() { + xxx_messageInfo_MysqlConfig5_7.DiscardUnknown(m) +} + +var xxx_messageInfo_MysqlConfig5_7 proto.InternalMessageInfo + +func (m *MysqlConfig5_7) GetInnodbBufferPoolSize() *wrappers.Int64Value { + if m != nil { + return m.InnodbBufferPoolSize + } + return nil +} + +func (m *MysqlConfig5_7) GetMaxConnections() *wrappers.Int64Value { + if m != nil { + return m.MaxConnections + } + return nil +} + +func (m *MysqlConfig5_7) GetLongQueryTime() *wrappers.DoubleValue { + if m != nil { + return m.LongQueryTime + } + return nil +} + +func (m *MysqlConfig5_7) GetGeneralLog() *wrappers.BoolValue { + if m != nil { + return m.GeneralLog + } + return nil +} + +func (m *MysqlConfig5_7) GetAuditLog() *wrappers.BoolValue { + if m != nil { + return m.AuditLog + } + return nil +} + +func (m *MysqlConfig5_7) GetSqlMode() []MysqlConfig5_7_SQLMode { + if m != nil { + return m.SqlMode + } + return nil +} + +type MysqlConfigSet5_7 struct { + // Effective settings for a MySQL 5.7 cluster (a combination of settings defined + // in [user_config] and [default_config]). + EffectiveConfig *MysqlConfig5_7 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"` + // User-defined settings for a MySQL 5.7 cluster. + UserConfig *MysqlConfig5_7 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"` + // Default configuration for a MySQL 5.7 cluster. + DefaultConfig *MysqlConfig5_7 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MysqlConfigSet5_7) Reset() { *m = MysqlConfigSet5_7{} } +func (m *MysqlConfigSet5_7) String() string { return proto.CompactTextString(m) } +func (*MysqlConfigSet5_7) ProtoMessage() {} +func (*MysqlConfigSet5_7) Descriptor() ([]byte, []int) { + return fileDescriptor_6392ad3afb3c33c0, []int{1} +} + +func (m *MysqlConfigSet5_7) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MysqlConfigSet5_7.Unmarshal(m, b) +} +func (m *MysqlConfigSet5_7) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MysqlConfigSet5_7.Marshal(b, m, deterministic) +} +func (m *MysqlConfigSet5_7) XXX_Merge(src proto.Message) { + xxx_messageInfo_MysqlConfigSet5_7.Merge(m, src) +} +func (m *MysqlConfigSet5_7) XXX_Size() int { + return xxx_messageInfo_MysqlConfigSet5_7.Size(m) +} +func (m *MysqlConfigSet5_7) XXX_DiscardUnknown() { + xxx_messageInfo_MysqlConfigSet5_7.DiscardUnknown(m) +} + +var xxx_messageInfo_MysqlConfigSet5_7 proto.InternalMessageInfo + +func (m *MysqlConfigSet5_7) GetEffectiveConfig() *MysqlConfig5_7 { + if m != nil { + return m.EffectiveConfig + } + return nil +} + +func (m *MysqlConfigSet5_7) GetUserConfig() *MysqlConfig5_7 { + if m != nil { + return m.UserConfig + } + return nil +} + +func (m *MysqlConfigSet5_7) GetDefaultConfig() *MysqlConfig5_7 { + if m != nil { + return m.DefaultConfig + } + return nil +} + +func init() { + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.config.MysqlConfig5_7_SQLMode", MysqlConfig5_7_SQLMode_name, MysqlConfig5_7_SQLMode_value) + proto.RegisterType((*MysqlConfig5_7)(nil), "yandex.cloud.mdb.mysql.v1.config.MysqlConfig5_7") + proto.RegisterType((*MysqlConfigSet5_7)(nil), "yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet5_7") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/config/mysql5_7.proto", fileDescriptor_6392ad3afb3c33c0) +} + +var fileDescriptor_6392ad3afb3c33c0 = []byte{ + // 920 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0xdd, 0x52, 0x1b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 0x68, 0x05, 0x2c, 0x5e, 0xe0, + 0x5f, 0xbd, 0x06, 0x2c, 0xa5, 0x4b, 0x29, 0x5b, 0x14, 0xbe, 0x44, 0xab, 0x20, 0x77, 0x71, 0x25, + 0x5b, 0xf4, 0xb0, 0x7e, 0x08, 0xcb, 0x28, 0x0f, 0x96, 0xd3, 0xdd, 0x51, 0x15, 0xee, 0x22, 0x00, + 0x96, 0xb8, 0xc0, 0x2e, 0x25, 0xf0, 0x15, 0x2a, 0x00, 0x10, 0x70, 0x19, 0x36, 0x05, 0xb1, 0xb6, + 0xd7, 0xfb, 0x7f, 0xce, 0x81, 0xf5, 0xff, 0x5c, 0x48, 0xa9, 0x27, 0x76, 0x94, 0xfc, 0x06, 0xa0, + 0xee, 0xf5, 0xec, 0x1f, 0x7a, 0xa7, 0x55, 0x76, 0x6d, 0x67, 0x33, 0xa4, 0xfa, 0x7f, 0xef, 0xb7, + 0x28, 0x3e, 0x91, 0x32, 0x0d, 0xb5, 0x40, 0x7e, 0x3a, 0xd6, 0xa3, 0x47, 0xee, 0xdc, 0x77, 0x72, + 0x81, 0x85, 0xcc, 0x90, 0x1f, 0x40, 0xa1, 0xab, 0x7b, 0xd1, 0x34, 0x9e, 0x3c, 0x52, 0xe7, 0xbf, + 0x93, 0xba, 0x36, 0xe3, 0x64, 0x4a, 0x83, 0x7e, 0xfc, 0xa5, 0x3f, 0x98, 0xfc, 0x3e, 0xed, 0x38, + 0xd7, 0x66, 0x38, 0x7b, 0x05, 0x0e, 0xb2, 0x91, 0xdc, 0x37, 0x07, 0x7d, 0x9d, 0xa4, 0xe3, 0xe1, + 0xd9, 0xe7, 0xe1, 0x5d, 0xba, 0xef, 0x2c, 0xa5, 0xd9, 0x87, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x98, 0x8a, 0x01, 0x9e, 0x4f, 0x06, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database.pb.go new file mode 100644 index 000000000..6cf81828c --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database.pb.go @@ -0,0 +1,141 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/database.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// A MySQL database. For more information, see +// the [documentation](/docs/managed-mysql/concepts). +type Database struct { + // Name of the database. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the MySQL cluster that the database belongs to. + ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Database) Reset() { *m = Database{} } +func (m *Database) String() string { return proto.CompactTextString(m) } +func (*Database) ProtoMessage() {} +func (*Database) Descriptor() ([]byte, []int) { + return fileDescriptor_b0f1bbaaf00a6a25, []int{0} +} + +func (m *Database) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Database.Unmarshal(m, b) +} +func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Database.Marshal(b, m, deterministic) +} +func (m *Database) XXX_Merge(src proto.Message) { + xxx_messageInfo_Database.Merge(m, src) +} +func (m *Database) XXX_Size() int { + return xxx_messageInfo_Database.Size(m) +} +func (m *Database) XXX_DiscardUnknown() { + xxx_messageInfo_Database.DiscardUnknown(m) +} + +var xxx_messageInfo_Database proto.InternalMessageInfo + +func (m *Database) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Database) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type DatabaseSpec struct { + // Name of the MySQL database. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DatabaseSpec) Reset() { *m = DatabaseSpec{} } +func (m *DatabaseSpec) String() string { return proto.CompactTextString(m) } +func (*DatabaseSpec) ProtoMessage() {} +func (*DatabaseSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_b0f1bbaaf00a6a25, []int{1} +} + +func (m *DatabaseSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DatabaseSpec.Unmarshal(m, b) +} +func (m *DatabaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DatabaseSpec.Marshal(b, m, deterministic) +} +func (m *DatabaseSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DatabaseSpec.Merge(m, src) +} +func (m *DatabaseSpec) XXX_Size() int { + return xxx_messageInfo_DatabaseSpec.Size(m) +} +func (m *DatabaseSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DatabaseSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_DatabaseSpec proto.InternalMessageInfo + +func (m *DatabaseSpec) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func init() { + proto.RegisterType((*Database)(nil), "yandex.cloud.mdb.mysql.v1.Database") + proto.RegisterType((*DatabaseSpec)(nil), "yandex.cloud.mdb.mysql.v1.DatabaseSpec") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/database.proto", fileDescriptor_b0f1bbaaf00a6a25) +} + +var fileDescriptor_b0f1bbaaf00a6a25 = []byte{ + // 235 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xa8, 0x4c, 0xcc, 0x4b, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x4d, 0x49, 0xd2, 0xcf, 0xad, 0x2c, + 0x2e, 0xcc, 0xd1, 0x2f, 0x33, 0xd4, 0x4f, 0x49, 0x2c, 0x49, 0x4c, 0x4a, 0x2c, 0x4e, 0xd5, 0x2b, + 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x84, 0xa8, 0xd4, 0x03, 0xab, 0xd4, 0xcb, 0x4d, 0x49, 0xd2, + 0x03, 0xab, 0xd4, 0x2b, 0x33, 0x94, 0x92, 0x45, 0x31, 0xa4, 0x2c, 0x31, 0x27, 0x33, 0x25, 0xb1, + 0x24, 0x33, 0x3f, 0x0f, 0xa2, 0x53, 0xc9, 0x96, 0x8b, 0xc3, 0x05, 0x6a, 0x96, 0x90, 0x10, 0x17, + 0x4b, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x98, 0x2d, 0x24, 0xcb, + 0xc5, 0x95, 0x9c, 0x53, 0x5a, 0x5c, 0x92, 0x5a, 0x14, 0x9f, 0x99, 0x22, 0xc1, 0x04, 0x96, 0xe1, + 0x84, 0x8a, 0x78, 0xa6, 0x28, 0x39, 0x71, 0xf1, 0xc0, 0xb4, 0x07, 0x17, 0xa4, 0x26, 0x0b, 0x19, + 0x21, 0x1b, 0xe1, 0x24, 0xf7, 0xe2, 0xb8, 0x21, 0xe3, 0xa7, 0xe3, 0x86, 0x7c, 0xd1, 0x89, 0xba, + 0x55, 0x8e, 0xba, 0x51, 0x06, 0xba, 0x96, 0xf1, 0xba, 0xb1, 0x5a, 0x5d, 0x27, 0x0c, 0x59, 0x6c, + 0x6c, 0xcd, 0x8c, 0x21, 0x56, 0x38, 0xb9, 0x46, 0x39, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, + 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x9c, 0xab, 0x0b, 0x71, 0x6e, 0x7a, 0xbe, 0x6e, 0x7a, 0x6a, 0x1e, + 0xd8, 0xa5, 0xfa, 0x38, 0x03, 0xc3, 0x1a, 0xcc, 0x48, 0x62, 0x03, 0x2b, 0x33, 0x06, 0x04, 0x00, + 0x00, 0xff, 0xff, 0xec, 0x26, 0x38, 0x79, 0x36, 0x01, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database_service.pb.go new file mode 100644 index 000000000..55e064b1d --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/database_service.pb.go @@ -0,0 +1,655 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/database_service.proto + +package mysql + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetDatabaseRequest struct { + // ID of the MySQL cluster that the database belongs to. + // To get the cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MySQL database to return. + // To get the name of the database use a [DatabaseService.List] request. + DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } +func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } +func (*GetDatabaseRequest) ProtoMessage() {} +func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{0} +} + +func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) +} +func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic) +} +func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDatabaseRequest.Merge(m, src) +} +func (m *GetDatabaseRequest) XXX_Size() int { + return xxx_messageInfo_GetDatabaseRequest.Size(m) +} +func (m *GetDatabaseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDatabaseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDatabaseRequest proto.InternalMessageInfo + +func (m *GetDatabaseRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *GetDatabaseRequest) GetDatabaseName() string { + if m != nil { + return m.DatabaseName + } + return "" +} + +type ListDatabasesRequest struct { + // ID of the MySQL cluster to list databases in. + // To get the cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListDatabasesResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, Set [page_token] to the [ListDatabasesResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } +func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDatabasesRequest) ProtoMessage() {} +func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{1} +} + +func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) +} +func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic) +} +func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesRequest.Merge(m, src) +} +func (m *ListDatabasesRequest) XXX_Size() int { + return xxx_messageInfo_ListDatabasesRequest.Size(m) +} +func (m *ListDatabasesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDatabasesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDatabasesRequest proto.InternalMessageInfo + +func (m *ListDatabasesRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListDatabasesRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListDatabasesRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListDatabasesResponse struct { + // List of MySQL databases. + Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value + // for the [ListDatabasesRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } +func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDatabasesResponse) ProtoMessage() {} +func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{2} +} + +func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) +} +func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic) +} +func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesResponse.Merge(m, src) +} +func (m *ListDatabasesResponse) XXX_Size() int { + return xxx_messageInfo_ListDatabasesResponse.Size(m) +} +func (m *ListDatabasesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDatabasesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDatabasesResponse proto.InternalMessageInfo + +func (m *ListDatabasesResponse) GetDatabases() []*Database { + if m != nil { + return m.Databases + } + return nil +} + +func (m *ListDatabasesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateDatabaseRequest struct { + // ID of the MySQL cluster to create a database in. + // To get the cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Configuration of the database to create. + DatabaseSpec *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} } +func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) } +func (*CreateDatabaseRequest) ProtoMessage() {} +func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{3} +} + +func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) +} +func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic) +} +func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseRequest.Merge(m, src) +} +func (m *CreateDatabaseRequest) XXX_Size() int { + return xxx_messageInfo_CreateDatabaseRequest.Size(m) +} +func (m *CreateDatabaseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDatabaseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateDatabaseRequest proto.InternalMessageInfo + +func (m *CreateDatabaseRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec { + if m != nil { + return m.DatabaseSpec + } + return nil +} + +type CreateDatabaseMetadata struct { + // ID of the MySQL cluster where a database is being created. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MySQL database that is being created. + DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} } +func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateDatabaseMetadata) ProtoMessage() {} +func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{4} +} + +func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) +} +func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic) +} +func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src) +} +func (m *CreateDatabaseMetadata) XXX_Size() int { + return xxx_messageInfo_CreateDatabaseMetadata.Size(m) +} +func (m *CreateDatabaseMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateDatabaseMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateDatabaseMetadata proto.InternalMessageInfo + +func (m *CreateDatabaseMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateDatabaseMetadata) GetDatabaseName() string { + if m != nil { + return m.DatabaseName + } + return "" +} + +type DeleteDatabaseRequest struct { + // ID of the MySQL cluster to delete a database in. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the database to delete. + // To get the name of the database, use a [DatabaseService.List] request. + DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDatabaseRequest) Reset() { *m = DeleteDatabaseRequest{} } +func (m *DeleteDatabaseRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDatabaseRequest) ProtoMessage() {} +func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{5} +} + +func (m *DeleteDatabaseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDatabaseRequest.Unmarshal(m, b) +} +func (m *DeleteDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDatabaseRequest.Marshal(b, m, deterministic) +} +func (m *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseRequest.Merge(m, src) +} +func (m *DeleteDatabaseRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDatabaseRequest.Size(m) +} +func (m *DeleteDatabaseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDatabaseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDatabaseRequest proto.InternalMessageInfo + +func (m *DeleteDatabaseRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteDatabaseRequest) GetDatabaseName() string { + if m != nil { + return m.DatabaseName + } + return "" +} + +type DeleteDatabaseMetadata struct { + // ID of the MySQL cluster where a database is being deleted. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the MySQL database that is being deleted. + DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDatabaseMetadata) Reset() { *m = DeleteDatabaseMetadata{} } +func (m *DeleteDatabaseMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteDatabaseMetadata) ProtoMessage() {} +func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_2a4229dfcf64927d, []int{6} +} + +func (m *DeleteDatabaseMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDatabaseMetadata.Unmarshal(m, b) +} +func (m *DeleteDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDatabaseMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseMetadata.Merge(m, src) +} +func (m *DeleteDatabaseMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteDatabaseMetadata.Size(m) +} +func (m *DeleteDatabaseMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDatabaseMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteDatabaseMetadata proto.InternalMessageInfo + +func (m *DeleteDatabaseMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteDatabaseMetadata) GetDatabaseName() string { + if m != nil { + return m.DatabaseName + } + return "" +} + +func init() { + proto.RegisterType((*GetDatabaseRequest)(nil), "yandex.cloud.mdb.mysql.v1.GetDatabaseRequest") + proto.RegisterType((*ListDatabasesRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListDatabasesRequest") + proto.RegisterType((*ListDatabasesResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListDatabasesResponse") + proto.RegisterType((*CreateDatabaseRequest)(nil), "yandex.cloud.mdb.mysql.v1.CreateDatabaseRequest") + proto.RegisterType((*CreateDatabaseMetadata)(nil), "yandex.cloud.mdb.mysql.v1.CreateDatabaseMetadata") + proto.RegisterType((*DeleteDatabaseRequest)(nil), "yandex.cloud.mdb.mysql.v1.DeleteDatabaseRequest") + proto.RegisterType((*DeleteDatabaseMetadata)(nil), "yandex.cloud.mdb.mysql.v1.DeleteDatabaseMetadata") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/database_service.proto", fileDescriptor_2a4229dfcf64927d) +} + +var fileDescriptor_2a4229dfcf64927d = []byte{ + // 693 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x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 0x6c, 0x3a, 0x75, 0x41, 0x60, + 0xcf, 0x61, 0xf3, 0xd2, 0xd8, 0xf8, 0x9b, 0x82, 0xa2, 0xd2, 0xaa, 0xb8, 0xd7, 0xbe, 0x1d, 0xfb, + 0x2c, 0x79, 0xaf, 0xbd, 0xa2, 0xf9, 0x20, 0x3f, 0x6b, 0x8c, 0xd4, 0xc2, 0xf1, 0x59, 0x5a, 0xed, + 0xda, 0x0d, 0x43, 0x8d, 0x19, 0x21, 0x60, 0x5e, 0xbd, 0xbc, 0x80, 0x87, 0x4a, 0x1a, 0xff, 0x50, + 0x50, 0x54, 0x9a, 0xb0, 0xa7, 0x86, 0x8e, 0x2d, 0xd3, 0x8f, 0x86, 0x77, 0xc7, 0x67, 0x69, 0xd2, + 0xd5, 0xe7, 0x71, 0xf9, 0xb1, 0xc9, 0xbf, 0xa3, 0x50, 0x7d, 0xad, 0xaf, 0x3a, 0x3e, 0xdf, 0x95, + 0x46, 0x4a, 0x5f, 0xdd, 0x48, 0x99, 0xd5, 0xcd, 0x6c, 0xc9, 0xe6, 0x6f, 0xaa, 0x05, 0xbd, 0xe8, + 0x39, 0x44, 0xc2, 0x6a, 0xf2, 0x13, 0x2b, 0x79, 0x5a, 0x09, 0x5c, 0xb1, 0x31, 0xe9, 0xfa, 0xbb, + 0x3d, 0x12, 0x83, 0x42, 0x54, 0xa4, 0xcd, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xc1, 0xa7, 0xf6, + 0x1d, 0xd5, 0x07, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// DatabaseServiceClient is the client API for DatabaseService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type DatabaseServiceClient interface { + // Returns the specified MySQL database. + // + // To get the list of available MySQL databases, make a [List] request. + Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) + // Retrieves the list of MySQL databases in the specified cluster. + List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) + // Creates a new MySQL database in the specified cluster. + Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified MySQL database. + Delete(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) +} + +type databaseServiceClient struct { + cc *grpc.ClientConn +} + +func NewDatabaseServiceClient(cc *grpc.ClientConn) DatabaseServiceClient { + return &databaseServiceClient{cc} +} + +func (c *databaseServiceClient) Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) { + out := new(Database) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.DatabaseService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseServiceClient) List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) { + out := new(ListDatabasesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.DatabaseService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseServiceClient) Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.DatabaseService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseServiceClient) Delete(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.DatabaseService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DatabaseServiceServer is the server API for DatabaseService service. +type DatabaseServiceServer interface { + // Returns the specified MySQL database. + // + // To get the list of available MySQL databases, make a [List] request. + Get(context.Context, *GetDatabaseRequest) (*Database, error) + // Retrieves the list of MySQL databases in the specified cluster. + List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error) + // Creates a new MySQL database in the specified cluster. + Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error) + // Deletes the specified MySQL database. + Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error) +} + +// UnimplementedDatabaseServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDatabaseServiceServer struct { +} + +func (*UnimplementedDatabaseServiceServer) Get(ctx context.Context, req *GetDatabaseRequest) (*Database, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDatabaseServiceServer) List(ctx context.Context, req *ListDatabasesRequest) (*ListDatabasesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDatabaseServiceServer) Create(ctx context.Context, req *CreateDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDatabaseServiceServer) Delete(ctx context.Context, req *DeleteDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + +func RegisterDatabaseServiceServer(s *grpc.Server, srv DatabaseServiceServer) { + s.RegisterService(&_DatabaseService_serviceDesc, srv) +} + +func _DatabaseService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDatabaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.DatabaseService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServiceServer).Get(ctx, req.(*GetDatabaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DatabaseService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListDatabasesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.DatabaseService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServiceServer).List(ctx, req.(*ListDatabasesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DatabaseService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateDatabaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.DatabaseService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServiceServer).Create(ctx, req.(*CreateDatabaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DatabaseService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDatabaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.DatabaseService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServiceServer).Delete(ctx, req.(*DeleteDatabaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _DatabaseService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.mdb.mysql.v1.DatabaseService", + HandlerType: (*DatabaseServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _DatabaseService_Get_Handler, + }, + { + MethodName: "List", + Handler: _DatabaseService_List_Handler, + }, + { + MethodName: "Create", + Handler: _DatabaseService_Create_Handler, + }, + { + MethodName: "Delete", + Handler: _DatabaseService_Delete_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/mdb/mysql/v1/database_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset.pb.go new file mode 100644 index 000000000..25a2dab8a --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset.pb.go @@ -0,0 +1,114 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/resource_preset.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// A preset of resources for hardware configuration of MySQL hosts. +type ResourcePreset struct { + // ID of the resource preset. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // IDs of availability zones where the resource preset is available. + ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"` + // Number of CPU cores for a MySQL host created with the preset. + Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` + // RAM volume for a MySQL host created with the preset, in bytes. + Memory int64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResourcePreset) Reset() { *m = ResourcePreset{} } +func (m *ResourcePreset) String() string { return proto.CompactTextString(m) } +func (*ResourcePreset) ProtoMessage() {} +func (*ResourcePreset) Descriptor() ([]byte, []int) { + return fileDescriptor_9a481545fa1a0dc2, []int{0} +} + +func (m *ResourcePreset) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResourcePreset.Unmarshal(m, b) +} +func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic) +} +func (m *ResourcePreset) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcePreset.Merge(m, src) +} +func (m *ResourcePreset) XXX_Size() int { + return xxx_messageInfo_ResourcePreset.Size(m) +} +func (m *ResourcePreset) XXX_DiscardUnknown() { + xxx_messageInfo_ResourcePreset.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourcePreset proto.InternalMessageInfo + +func (m *ResourcePreset) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *ResourcePreset) GetZoneIds() []string { + if m != nil { + return m.ZoneIds + } + return nil +} + +func (m *ResourcePreset) GetCores() int64 { + if m != nil { + return m.Cores + } + return 0 +} + +func (m *ResourcePreset) GetMemory() int64 { + if m != nil { + return m.Memory + } + return 0 +} + +func init() { + proto.RegisterType((*ResourcePreset)(nil), "yandex.cloud.mdb.mysql.v1.ResourcePreset") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/resource_preset.proto", fileDescriptor_9a481545fa1a0dc2) +} + +var fileDescriptor_9a481545fa1a0dc2 = []byte{ + // 207 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8f, 0x31, 0x4f, 0x85, 0x30, + 0x10, 0x80, 0x03, 0xe8, 0xd3, 0xd7, 0xe1, 0x0d, 0x8d, 0x31, 0x7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or/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset_service.pb.go new file mode 100644 index 000000000..97b26bdf6 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/resource_preset_service.pb.go @@ -0,0 +1,339 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/resource_preset_service.proto + +package mysql + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetResourcePresetRequest struct { + // ID of the resource preset to return. + // To get the resource preset ID, use a [ResourcePresetService.List] request. + ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetResourcePresetRequest) Reset() { *m = GetResourcePresetRequest{} } +func (m *GetResourcePresetRequest) String() string { return proto.CompactTextString(m) } +func (*GetResourcePresetRequest) ProtoMessage() {} +func (*GetResourcePresetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ca3c22c0aa16c49e, []int{0} +} + +func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetResourcePresetRequest.Unmarshal(m, b) +} +func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetResourcePresetRequest.Marshal(b, m, deterministic) +} +func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourcePresetRequest.Merge(m, src) +} +func (m *GetResourcePresetRequest) XXX_Size() int { + return xxx_messageInfo_GetResourcePresetRequest.Size(m) +} +func (m *GetResourcePresetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetResourcePresetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetResourcePresetRequest proto.InternalMessageInfo + +func (m *GetResourcePresetRequest) GetResourcePresetId() string { + if m != nil { + return m.ResourcePresetId + } + return "" +} + +type ListResourcePresetsRequest struct { + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListResourcePresetsResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListResourcePresetsRequest) Reset() { *m = ListResourcePresetsRequest{} } +func (m *ListResourcePresetsRequest) String() string { return proto.CompactTextString(m) } +func (*ListResourcePresetsRequest) ProtoMessage() {} +func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ca3c22c0aa16c49e, []int{1} +} + +func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListResourcePresetsRequest.Unmarshal(m, b) +} +func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListResourcePresetsRequest.Marshal(b, m, deterministic) +} +func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsRequest.Merge(m, src) +} +func (m *ListResourcePresetsRequest) XXX_Size() int { + return xxx_messageInfo_ListResourcePresetsRequest.Size(m) +} +func (m *ListResourcePresetsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcePresetsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcePresetsRequest proto.InternalMessageInfo + +func (m *ListResourcePresetsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListResourcePresetsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListResourcePresetsResponse struct { + // List of resource presets. + ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value + // for the [ListResourcePresetsRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListResourcePresetsResponse) Reset() { *m = ListResourcePresetsResponse{} } +func (m *ListResourcePresetsResponse) String() string { return proto.CompactTextString(m) } +func (*ListResourcePresetsResponse) ProtoMessage() {} +func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ca3c22c0aa16c49e, []int{2} +} + +func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListResourcePresetsResponse.Unmarshal(m, b) +} +func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListResourcePresetsResponse.Marshal(b, m, deterministic) +} +func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsResponse.Merge(m, src) +} +func (m *ListResourcePresetsResponse) XXX_Size() int { + return xxx_messageInfo_ListResourcePresetsResponse.Size(m) +} +func (m *ListResourcePresetsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcePresetsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcePresetsResponse proto.InternalMessageInfo + +func (m *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset { + if m != nil { + return m.ResourcePresets + } + return nil +} + +func (m *ListResourcePresetsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +func init() { + proto.RegisterType((*GetResourcePresetRequest)(nil), "yandex.cloud.mdb.mysql.v1.GetResourcePresetRequest") + proto.RegisterType((*ListResourcePresetsRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListResourcePresetsRequest") + proto.RegisterType((*ListResourcePresetsResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListResourcePresetsResponse") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/resource_preset_service.proto", fileDescriptor_ca3c22c0aa16c49e) +} + +var fileDescriptor_ca3c22c0aa16c49e = []byte{ + // 458 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0x99, 0xa4, 0x16, 0x33, 0x22, 0x2d, 0x03, 0xc2, 0xba, 0x2a, 0xc4, 0xf5, 0x60, 0x7a, + 0xc8, 0xcc, 0x4e, 0x8a, 0x55, 0xf0, 0xcf, 0x21, 0x22, 0x45, 0x10, 0x29, 0xdb, 0x9e, 0xbc, 0x84, + 0x49, 0xe6, 0x65, 0x1d, 0xcc, 0xce, 0x6c, 0x77, 0x26, 0xa1, 0xad, 0x78, 0xf1, 0xe8, 0xd5, 0x2f, + 0xe0, 0x45, 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 0x41, + 0xfb, 0xab, 0x6f, 0x7e, 0x44, 0x0f, 0xfd, 0xc7, 0x78, 0xdd, 0xb7, 0x6d, 0xff, 0x0e, 0x00, 0x00, + 0xff, 0xff, 0x65, 0x26, 0xc6, 0x30, 0xe0, 0x03, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ResourcePresetServiceClient is the client API for ResourcePresetService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ResourcePresetServiceClient interface { + // Returns the specified resource preset. + // + // To get the list of available resource presets, make a [List] request. + Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error) + // Retrieves the list of available resource presets. + List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error) +} + +type resourcePresetServiceClient struct { + cc *grpc.ClientConn +} + +func NewResourcePresetServiceClient(cc *grpc.ClientConn) ResourcePresetServiceClient { + return &resourcePresetServiceClient{cc} +} + +func (c *resourcePresetServiceClient) Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error) { + out := new(ResourcePreset) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *resourcePresetServiceClient) List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error) { + out := new(ListResourcePresetsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ResourcePresetServiceServer is the server API for ResourcePresetService service. +type ResourcePresetServiceServer interface { + // Returns the specified resource preset. + // + // To get the list of available resource presets, make a [List] request. + Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error) + // Retrieves the list of available resource presets. + List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) +} + +// UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedResourcePresetServiceServer struct { +} + +func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + +func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer) { + s.RegisterService(&_ResourcePresetService_serviceDesc, srv) +} + +func _ResourcePresetService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetResourcePresetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResourcePresetServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResourcePresetServiceServer).Get(ctx, req.(*GetResourcePresetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ResourcePresetService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListResourcePresetsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ResourcePresetServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.ResourcePresetService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ResourcePresetServiceServer).List(ctx, req.(*ListResourcePresetsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ResourcePresetService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.mdb.mysql.v1.ResourcePresetService", + HandlerType: (*ResourcePresetServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _ResourcePresetService_Get_Handler, + }, + { + MethodName: "List", + Handler: _ResourcePresetService_List_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/mdb/mysql/v1/resource_preset_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user.pb.go new file mode 100644 index 000000000..a6c868368 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user.pb.go @@ -0,0 +1,341 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/user.proto + +package mysql + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Permission_Privilege int32 + +const ( + Permission_PRIVILEGE_UNSPECIFIED Permission_Privilege = 0 + // All privileges that can be made available to the user. + Permission_ALL_PRIVILEGES Permission_Privilege = 1 + // Altering tables. + Permission_ALTER Permission_Privilege = 2 + // Altering stored routines (stored procedures and functions). + Permission_ALTER_ROUTINE Permission_Privilege = 3 + // Creating tables or indexes. + Permission_CREATE Permission_Privilege = 4 + // Creating stored routines. + Permission_CREATE_ROUTINE Permission_Privilege = 5 + // Creating temporary tables. + Permission_CREATE_TEMPORARY_TABLES Permission_Privilege = 6 + // Creating views. + Permission_CREATE_VIEW Permission_Privilege = 7 + // Deleting tables. + Permission_DELETE Permission_Privilege = 8 + // Removing tables or views. + Permission_DROP Permission_Privilege = 9 + // Creating, altering, dropping, or displaying events for the Event Scheduler. + Permission_EVENT Permission_Privilege = 10 + // Executing stored routines. + Permission_EXECUTE Permission_Privilege = 11 + // Creating and removing indexes. + Permission_INDEX Permission_Privilege = 12 + // Inserting rows into the database. + Permission_INSERT Permission_Privilege = 13 + // Using LOCK TABLES statement for tables available with SELECT privilege. + Permission_LOCK_TABLES Permission_Privilege = 14 + // Selecting rows from tables. + // + // Some SELECT statements can be allowed without the SELECT privilege. All + // statements that read column values require the SELECT privilege. See + // details in [MySQL documentation](https://dev.mysql.com/doc/refman/5.7/en/privileges-provided.html#priv_select). + Permission_SELECT Permission_Privilege = 15 + // Using the SHOW CREATE VIEW statement. Also needed for views used with EXPLAIN. + Permission_SHOW_VIEW Permission_Privilege = 16 + // Creating, removing, executing, or displaying triggers for a table. + Permission_TRIGGER Permission_Privilege = 17 + // Updating rows in the database. + Permission_UPDATE Permission_Privilege = 18 +) + +var Permission_Privilege_name = map[int32]string{ + 0: "PRIVILEGE_UNSPECIFIED", + 1: "ALL_PRIVILEGES", + 2: "ALTER", + 3: "ALTER_ROUTINE", + 4: "CREATE", + 5: "CREATE_ROUTINE", + 6: "CREATE_TEMPORARY_TABLES", + 7: "CREATE_VIEW", + 8: "DELETE", + 9: "DROP", + 10: "EVENT", + 11: "EXECUTE", + 12: "INDEX", + 13: "INSERT", + 14: "LOCK_TABLES", + 15: "SELECT", + 16: "SHOW_VIEW", + 17: "TRIGGER", + 18: "UPDATE", +} + +var Permission_Privilege_value = map[string]int32{ + "PRIVILEGE_UNSPECIFIED": 0, + "ALL_PRIVILEGES": 1, + "ALTER": 2, + "ALTER_ROUTINE": 3, + "CREATE": 4, + "CREATE_ROUTINE": 5, + "CREATE_TEMPORARY_TABLES": 6, + "CREATE_VIEW": 7, + "DELETE": 8, + "DROP": 9, + "EVENT": 10, + "EXECUTE": 11, + "INDEX": 12, + "INSERT": 13, + "LOCK_TABLES": 14, + "SELECT": 15, + "SHOW_VIEW": 16, + "TRIGGER": 17, + "UPDATE": 18, +} + +func (x Permission_Privilege) String() string { + return proto.EnumName(Permission_Privilege_name, int32(x)) +} + +func (Permission_Privilege) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_5965312201724c83, []int{1, 0} +} + +// A MySQL user. For more information, see +// the [documentation](/docs/managed-mysql/concepts). +type User struct { + // Name of the MySQL user. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the MySQL cluster the user belongs to. + ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Set of permissions granted to the user. + Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *User) Reset() { *m = User{} } +func (m *User) String() string { return proto.CompactTextString(m) } +func (*User) ProtoMessage() {} +func (*User) Descriptor() ([]byte, []int) { + return fileDescriptor_5965312201724c83, []int{0} +} + +func (m *User) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_User.Unmarshal(m, b) +} +func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_User.Marshal(b, m, deterministic) +} +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) +} +func (m *User) XXX_Size() int { + return xxx_messageInfo_User.Size(m) +} +func (m *User) XXX_DiscardUnknown() { + xxx_messageInfo_User.DiscardUnknown(m) +} + +var xxx_messageInfo_User proto.InternalMessageInfo + +func (m *User) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *User) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *User) GetPermissions() []*Permission { + if m != nil { + return m.Permissions + } + return nil +} + +type Permission struct { + // Name of the database that the permission grants access to. + DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + // Roles granted to the user within the database. + Roles []Permission_Privilege `protobuf:"varint,2,rep,packed,name=roles,proto3,enum=yandex.cloud.mdb.mysql.v1.Permission_Privilege" json:"roles,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Permission) Reset() { *m = Permission{} } +func (m *Permission) String() string { return proto.CompactTextString(m) } +func (*Permission) ProtoMessage() {} +func (*Permission) Descriptor() ([]byte, []int) { + return fileDescriptor_5965312201724c83, []int{1} +} + +func (m *Permission) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Permission.Unmarshal(m, b) +} +func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Permission.Marshal(b, m, deterministic) +} +func (m *Permission) XXX_Merge(src proto.Message) { + xxx_messageInfo_Permission.Merge(m, src) +} +func (m *Permission) XXX_Size() int { + return xxx_messageInfo_Permission.Size(m) +} +func (m *Permission) XXX_DiscardUnknown() { + xxx_messageInfo_Permission.DiscardUnknown(m) +} + +var xxx_messageInfo_Permission proto.InternalMessageInfo + +func (m *Permission) GetDatabaseName() string { + if m != nil { + return m.DatabaseName + } + return "" +} + +func (m *Permission) GetRoles() []Permission_Privilege { + if m != nil { + return m.Roles + } + return nil +} + +type UserSpec struct { + // Name of the MySQL user. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Password of the MySQL user. + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` + // Set of permissions to grant to the user. + Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserSpec) Reset() { *m = UserSpec{} } +func (m *UserSpec) String() string { return proto.CompactTextString(m) } +func (*UserSpec) ProtoMessage() {} +func (*UserSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_5965312201724c83, []int{2} +} + +func (m *UserSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSpec.Unmarshal(m, b) +} +func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) +} +func (m *UserSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSpec.Merge(m, src) +} +func (m *UserSpec) XXX_Size() int { + return xxx_messageInfo_UserSpec.Size(m) +} +func (m *UserSpec) XXX_DiscardUnknown() { + xxx_messageInfo_UserSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSpec proto.InternalMessageInfo + +func (m *UserSpec) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UserSpec) GetPassword() string { + if m != nil { + return m.Password + } + return "" +} + +func (m *UserSpec) GetPermissions() []*Permission { + if m != nil { + return m.Permissions + } + return nil +} + +func init() { + proto.RegisterEnum("yandex.cloud.mdb.mysql.v1.Permission_Privilege", Permission_Privilege_name, Permission_Privilege_value) + proto.RegisterType((*User)(nil), "yandex.cloud.mdb.mysql.v1.User") + proto.RegisterType((*Permission)(nil), "yandex.cloud.mdb.mysql.v1.Permission") + proto.RegisterType((*UserSpec)(nil), "yandex.cloud.mdb.mysql.v1.UserSpec") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/user.proto", fileDescriptor_5965312201724c83) +} + +var fileDescriptor_5965312201724c83 = []byte{ + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x4d, 0x6f, 0xd3, 0x4e, + 0x10, 0xc6, 0xff, 0x79, 0x6b, 0x93, 0x49, 0xd3, 0x6e, 0x57, 0xfa, 0x8b, 0xb4, 0xa8, 0xa8, 0x0a, + 0x20, 0x15, 0xa4, 0xd8, 0x38, 0xbd, 0x14, 0x41, 0x91, 0xf2, 0x32, 0x04, 0x0b, 0xe3, 0x58, 0x6b, + 0xa7, 0x2d, 0x45, 0xc8, 0x72, 0xe2, 0x25, 0x58, 0x72, 0xe2, 0x60, 0x27, 0x29, 0xe5, 0xd8, 0x63, + 0x3f, 0x0d, 0x48, 0x7c, 0x87, 0xf6, 0xa3, 0x70, 0xe6, 0x13, 0xa0, 0xb5, 0xd3, 0x10, 0x0e, 0x95, + 0x38, 0x70, 0x1b, 0xcd, 0xef, 0x79, 0x66, 0x66, 0xa5, 0x67, 0xe1, 0xc1, 0xb9, 0x33, 0x72, 0xf9, + 0x67, 0xb9, 0xef, 0x07, 0x53, 0x57, 0x1e, 0xba, 0x3d, 0x79, 0x78, 0x1e, 0x7d, 0xf2, 0xe5, 0x99, + 0x22, 0x4f, 0x23, 0x1e, 0x4a, 0xe3, 0x30, 0x98, 0x04, 0x74, 0x2b, 0x51, 0x49, 0xb1, 0x4a, 0x1a, + 0xba, 0x3d, 0x29, 0x56, 0x49, 0x33, 0x65, 0xfb, 0xde, 0x20, 0x08, 0x06, 0x3e, 0x97, 0x63, 0x61, + 0x6f, 0xfa, 0x41, 0x3e, 0x0b, 0x9d, 0xf1, 0x98, 0x87, 0x51, 0x62, 0xdd, 0xde, 0xf9, 0x63, 0xc1, + 0xcc, 0xf1, 0x3d, 0xd7, 0x99, 0x78, 0xc1, 0x28, 0xc1, 0x95, 0x8b, 0x14, 0x64, 0xbb, 0x11, 0x0f, + 0x29, 0x85, 0xec, 0xc8, 0x19, 0xf2, 0x72, 0x6a, 0x37, 0xb5, 0x57, 0x60, 0x71, 0x4d, 0x77, 0x00, + 0xfa, 0xfe, 0x34, 0x9a, 0xf0, 0xd0, 0xf6, 0xdc, 0x72, 0x3a, 0x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, 0x14, 0x7f, 0x0b, 0xf9, 0xd6, 0x5f, 0xf9, + 0x2c, 0x2e, 0x7a, 0x2b, 0xb1, 0x6c, 0xff, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x0c, 0xd4, + 0x9c, 0xbf, 0x03, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user_service.pb.go new file mode 100644 index 000000000..d70216522 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/user_service.pb.go @@ -0,0 +1,1137 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/mdb/mysql/v1/user_service.proto + +package mysql + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetUserRequest struct { + // ID of the MySQL cluster. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Required. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } +func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } +func (*GetUserRequest) ProtoMessage() {} +func (*GetUserRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{0} +} + +func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetUserRequest.Unmarshal(m, b) +} +func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) +} +func (m *GetUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserRequest.Merge(m, src) +} +func (m *GetUserRequest) XXX_Size() int { + return xxx_messageInfo_GetUserRequest.Size(m) +} +func (m *GetUserRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUserRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUserRequest proto.InternalMessageInfo + +func (m *GetUserRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *GetUserRequest) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type ListUsersRequest struct { + // ID of the cluster to list MySQL users in. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // The maximum number of results per page to return. If the number of available + // results is larger than [page_size], the service returns a [ListUsersResponse.next_page_token] + // that can be used to get the next page of results in subsequent list requests. + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Page token. To get the next page of results, set [page_token] to the [ListUsersResponse.next_page_token] + // returned by a previous list request. + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListUsersRequest) Reset() { *m = ListUsersRequest{} } +func (m *ListUsersRequest) String() string { return proto.CompactTextString(m) } +func (*ListUsersRequest) ProtoMessage() {} +func (*ListUsersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{1} +} + +func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListUsersRequest.Unmarshal(m, b) +} +func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListUsersRequest.Marshal(b, m, deterministic) +} +func (m *ListUsersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersRequest.Merge(m, src) +} +func (m *ListUsersRequest) XXX_Size() int { + return xxx_messageInfo_ListUsersRequest.Size(m) +} +func (m *ListUsersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListUsersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListUsersRequest proto.InternalMessageInfo + +func (m *ListUsersRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListUsersRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListUsersRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListUsersResponse struct { + // Requested list of MySQL users. + Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + // This token allows you to get the next page of results for list requests. If the number of results + // is larger than [ListUsersRequest.page_size], use the [next_page_token] as the value + // for the [ListUsersRequest.page_token] parameter in the next list request. Each subsequent + // list request will have its own [next_page_token] to continue paging through the results. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListUsersResponse) Reset() { *m = ListUsersResponse{} } +func (m *ListUsersResponse) String() string { return proto.CompactTextString(m) } +func (*ListUsersResponse) ProtoMessage() {} +func (*ListUsersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{2} +} + +func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListUsersResponse.Unmarshal(m, b) +} +func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListUsersResponse.Marshal(b, m, deterministic) +} +func (m *ListUsersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersResponse.Merge(m, src) +} +func (m *ListUsersResponse) XXX_Size() int { + return xxx_messageInfo_ListUsersResponse.Size(m) +} +func (m *ListUsersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListUsersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListUsersResponse proto.InternalMessageInfo + +func (m *ListUsersResponse) GetUsers() []*User { + if m != nil { + return m.Users + } + return nil +} + +func (m *ListUsersResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateUserRequest struct { + // ID of the MySQL cluster to create a user for. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Properties of the user to be created. + UserSpec *UserSpec `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } +func (m *CreateUserRequest) String() string { return proto.CompactTextString(m) } +func (*CreateUserRequest) ProtoMessage() {} +func (*CreateUserRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{3} +} + +func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateUserRequest.Unmarshal(m, b) +} +func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic) +} +func (m *CreateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserRequest.Merge(m, src) +} +func (m *CreateUserRequest) XXX_Size() int { + return xxx_messageInfo_CreateUserRequest.Size(m) +} +func (m *CreateUserRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateUserRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateUserRequest proto.InternalMessageInfo + +func (m *CreateUserRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateUserRequest) GetUserSpec() *UserSpec { + if m != nil { + return m.UserSpec + } + return nil +} + +type CreateUserMetadata struct { + // ID of the MySQL cluster the user is being created for. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user that is being created. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateUserMetadata) Reset() { *m = CreateUserMetadata{} } +func (m *CreateUserMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateUserMetadata) ProtoMessage() {} +func (*CreateUserMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{4} +} + +func (m *CreateUserMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateUserMetadata.Unmarshal(m, b) +} +func (m *CreateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateUserMetadata.Marshal(b, m, deterministic) +} +func (m *CreateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserMetadata.Merge(m, src) +} +func (m *CreateUserMetadata) XXX_Size() int { + return xxx_messageInfo_CreateUserMetadata.Size(m) +} +func (m *CreateUserMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateUserMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateUserMetadata proto.InternalMessageInfo + +func (m *CreateUserMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *CreateUserMetadata) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type UpdateUserRequest struct { + // ID of the MySQL cluster the user belongs to. + // To get the cluster ID use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user to be updated. + // To get the name of the user use a [UserService.List] request. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + // Field mask that specifies which fields of the MySQL user should be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // New password for the user. + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + // New set of permissions for the user. + Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } +func (m *UpdateUserRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateUserRequest) ProtoMessage() {} +func (*UpdateUserRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{5} +} + +func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserRequest.Unmarshal(m, b) +} +func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) +} +func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserRequest.Merge(m, src) +} +func (m *UpdateUserRequest) XXX_Size() int { + return xxx_messageInfo_UpdateUserRequest.Size(m) +} +func (m *UpdateUserRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserRequest proto.InternalMessageInfo + +func (m *UpdateUserRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *UpdateUserRequest) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +func (m *UpdateUserRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateUserRequest) GetPassword() string { + if m != nil { + return m.Password + } + return "" +} + +func (m *UpdateUserRequest) GetPermissions() []*Permission { + if m != nil { + return m.Permissions + } + return nil +} + +type UpdateUserMetadata struct { + // ID of the MySQL cluster the user belongs to. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user that is being updated. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateUserMetadata) Reset() { *m = UpdateUserMetadata{} } +func (m *UpdateUserMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateUserMetadata) ProtoMessage() {} +func (*UpdateUserMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{6} +} + +func (m *UpdateUserMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateUserMetadata.Unmarshal(m, b) +} +func (m *UpdateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateUserMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserMetadata.Merge(m, src) +} +func (m *UpdateUserMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateUserMetadata.Size(m) +} +func (m *UpdateUserMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateUserMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateUserMetadata proto.InternalMessageInfo + +func (m *UpdateUserMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *UpdateUserMetadata) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type DeleteUserRequest struct { + // ID of the MySQL cluster the user belongs to. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user to delete. + // To get the name of the user, use a [UserService.List] request. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } +func (m *DeleteUserRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteUserRequest) ProtoMessage() {} +func (*DeleteUserRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{7} +} + +func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteUserRequest.Unmarshal(m, b) +} +func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) +} +func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserRequest.Merge(m, src) +} +func (m *DeleteUserRequest) XXX_Size() int { + return xxx_messageInfo_DeleteUserRequest.Size(m) +} +func (m *DeleteUserRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteUserRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteUserRequest proto.InternalMessageInfo + +func (m *DeleteUserRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteUserRequest) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type DeleteUserMetadata struct { + // ID of the MySQL cluster the user belongs to. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user that is being deleted. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteUserMetadata) Reset() { *m = DeleteUserMetadata{} } +func (m *DeleteUserMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteUserMetadata) ProtoMessage() {} +func (*DeleteUserMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{8} +} + +func (m *DeleteUserMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteUserMetadata.Unmarshal(m, b) +} +func (m *DeleteUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteUserMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserMetadata.Merge(m, src) +} +func (m *DeleteUserMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteUserMetadata.Size(m) +} +func (m *DeleteUserMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteUserMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteUserMetadata proto.InternalMessageInfo + +func (m *DeleteUserMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteUserMetadata) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type GrantUserPermissionRequest struct { + // ID of the MySQL cluster the user belongs to. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user to grant the permission to. + // To get the name of the user, use a [UserService.List] request. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + // Permission that should be granted to the specified user. + Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GrantUserPermissionRequest) Reset() { *m = GrantUserPermissionRequest{} } +func (m *GrantUserPermissionRequest) String() string { return proto.CompactTextString(m) } +func (*GrantUserPermissionRequest) ProtoMessage() {} +func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{9} +} + +func (m *GrantUserPermissionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GrantUserPermissionRequest.Unmarshal(m, b) +} +func (m *GrantUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GrantUserPermissionRequest.Marshal(b, m, deterministic) +} +func (m *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionRequest.Merge(m, src) +} +func (m *GrantUserPermissionRequest) XXX_Size() int { + return xxx_messageInfo_GrantUserPermissionRequest.Size(m) +} +func (m *GrantUserPermissionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GrantUserPermissionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GrantUserPermissionRequest proto.InternalMessageInfo + +func (m *GrantUserPermissionRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *GrantUserPermissionRequest) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +func (m *GrantUserPermissionRequest) GetPermission() *Permission { + if m != nil { + return m.Permission + } + return nil +} + +type GrantUserPermissionMetadata struct { + // ID of the MySQL cluster the user belongs to. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user that is being granted a permission. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GrantUserPermissionMetadata) Reset() { *m = GrantUserPermissionMetadata{} } +func (m *GrantUserPermissionMetadata) String() string { return proto.CompactTextString(m) } +func (*GrantUserPermissionMetadata) ProtoMessage() {} +func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{10} +} + +func (m *GrantUserPermissionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GrantUserPermissionMetadata.Unmarshal(m, b) +} +func (m *GrantUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GrantUserPermissionMetadata.Marshal(b, m, deterministic) +} +func (m *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionMetadata.Merge(m, src) +} +func (m *GrantUserPermissionMetadata) XXX_Size() int { + return xxx_messageInfo_GrantUserPermissionMetadata.Size(m) +} +func (m *GrantUserPermissionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_GrantUserPermissionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_GrantUserPermissionMetadata proto.InternalMessageInfo + +func (m *GrantUserPermissionMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *GrantUserPermissionMetadata) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +type RevokeUserPermissionRequest struct { + // ID of the MySQL cluster the user belongs to. + // To get the cluster ID, use a [ClusterService.List] request. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user to revoke a permission from. + // To get the name of the user, use a [UserService.List] request. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + // Permission that should be revoked from the specified user. + Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RevokeUserPermissionRequest) Reset() { *m = RevokeUserPermissionRequest{} } +func (m *RevokeUserPermissionRequest) String() string { return proto.CompactTextString(m) } +func (*RevokeUserPermissionRequest) ProtoMessage() {} +func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{11} +} + +func (m *RevokeUserPermissionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RevokeUserPermissionRequest.Unmarshal(m, b) +} +func (m *RevokeUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RevokeUserPermissionRequest.Marshal(b, m, deterministic) +} +func (m *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionRequest.Merge(m, src) +} +func (m *RevokeUserPermissionRequest) XXX_Size() int { + return xxx_messageInfo_RevokeUserPermissionRequest.Size(m) +} +func (m *RevokeUserPermissionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RevokeUserPermissionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RevokeUserPermissionRequest proto.InternalMessageInfo + +func (m *RevokeUserPermissionRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *RevokeUserPermissionRequest) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +func (m *RevokeUserPermissionRequest) GetPermission() *Permission { + if m != nil { + return m.Permission + } + return nil +} + +type RevokeUserPermissionMetadata struct { + // ID of the MySQL cluster the user belongs to. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + // Name of the user whose permission is being revoked. + UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RevokeUserPermissionMetadata) Reset() { *m = RevokeUserPermissionMetadata{} } +func (m *RevokeUserPermissionMetadata) String() string { return proto.CompactTextString(m) } +func (*RevokeUserPermissionMetadata) ProtoMessage() {} +func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_3d3e45e6c932b8d1, []int{12} +} + +func (m *RevokeUserPermissionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RevokeUserPermissionMetadata.Unmarshal(m, b) +} +func (m *RevokeUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RevokeUserPermissionMetadata.Marshal(b, m, deterministic) +} +func (m *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionMetadata.Merge(m, src) +} +func (m *RevokeUserPermissionMetadata) XXX_Size() int { + return xxx_messageInfo_RevokeUserPermissionMetadata.Size(m) +} +func (m *RevokeUserPermissionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_RevokeUserPermissionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_RevokeUserPermissionMetadata proto.InternalMessageInfo + +func (m *RevokeUserPermissionMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *RevokeUserPermissionMetadata) GetUserName() string { + if m != nil { + return m.UserName + } + return "" +} + +func init() { + proto.RegisterType((*GetUserRequest)(nil), "yandex.cloud.mdb.mysql.v1.GetUserRequest") + proto.RegisterType((*ListUsersRequest)(nil), "yandex.cloud.mdb.mysql.v1.ListUsersRequest") + proto.RegisterType((*ListUsersResponse)(nil), "yandex.cloud.mdb.mysql.v1.ListUsersResponse") + proto.RegisterType((*CreateUserRequest)(nil), "yandex.cloud.mdb.mysql.v1.CreateUserRequest") + proto.RegisterType((*CreateUserMetadata)(nil), "yandex.cloud.mdb.mysql.v1.CreateUserMetadata") + proto.RegisterType((*UpdateUserRequest)(nil), "yandex.cloud.mdb.mysql.v1.UpdateUserRequest") + proto.RegisterType((*UpdateUserMetadata)(nil), "yandex.cloud.mdb.mysql.v1.UpdateUserMetadata") + proto.RegisterType((*DeleteUserRequest)(nil), "yandex.cloud.mdb.mysql.v1.DeleteUserRequest") + proto.RegisterType((*DeleteUserMetadata)(nil), "yandex.cloud.mdb.mysql.v1.DeleteUserMetadata") + proto.RegisterType((*GrantUserPermissionRequest)(nil), "yandex.cloud.mdb.mysql.v1.GrantUserPermissionRequest") + proto.RegisterType((*GrantUserPermissionMetadata)(nil), "yandex.cloud.mdb.mysql.v1.GrantUserPermissionMetadata") + proto.RegisterType((*RevokeUserPermissionRequest)(nil), "yandex.cloud.mdb.mysql.v1.RevokeUserPermissionRequest") + proto.RegisterType((*RevokeUserPermissionMetadata)(nil), "yandex.cloud.mdb.mysql.v1.RevokeUserPermissionMetadata") +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/mysql/v1/user_service.proto", fileDescriptor_3d3e45e6c932b8d1) +} + +var fileDescriptor_3d3e45e6c932b8d1 = []byte{ + // 962 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xcd, 0x6f, 0x1b, 0x45, + 0x14, 0xd7, 0x24, 0x8e, 0x15, 0x3f, 0x53, 0xda, 0x8c, 0x84, 0x64, 0x36, 0x8d, 0x08, 0xdb, 0x0f, + 0x82, 0xd3, 0xdd, 0xf5, 0xba, 0x4a, 0xd5, 0x26, 0x2d, 0x52, 0x53, 0xda, 0xa8, 0x40, 0xdb, 0x68, + 0x4b, 0x91, 0x08, 0x42, 0xd6, 0xd8, 0x3b, 0x35, 0xab, 0x78, 0x3f, 0xba, 0xb3, 0x36, 0x4d, 0x42, + 0x2e, 0x9c,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7, 0x0f, 0xaa, 0xe3, + 0xd7, 0x02, 0xe7, 0xff, 0x1b, 0x82, 0xbc, 0x1c, 0xb5, 0x99, 0xfc, 0x07, 0x76, 0xc1, 0x28, 0xfc, + 0x83, 0xbd, 0x6e, 0x79, 0x71, 0xe8, 0x24, 0x7f, 0xeb, 0xe0, 0x1a, 0xbd, 0xed, 0x06, 0xd1, 0x96, + 0x2c, 0xee, 0xf2, 0x31, 0x8a, 0xfb, 0x25, 0x82, 0xd3, 0x62, 0x22, 0x26, 0xbd, 0x8d, 0x97, 0xb2, + 0xfa, 0xef, 0xd0, 0x8d, 0x30, 0x8a, 0xbe, 0x9d, 0xbd, 0x6e, 0xf9, 0x5c, 0xf6, 0x08, 0x4e, 0x12, + 0x75, 0x5f, 0xbd, 0x3b, 0x7e, 0xa2, 0x9a, 0xfd, 0x9a, 0x78, 0xe2, 0xfe, 0x44, 0x70, 0x46, 0xce, + 0xb2, 0x94, 0xd6, 0x2b, 0x19, 0x5a, 0x33, 0xa6, 0xf9, 0x28, 0x62, 0x77, 0xf7, 0xba, 0xe5, 0xf3, + 0x47, 0x8c, 0xcf, 0x44, 0xed, 0x03, 0xf5, 0xa3, 0xf1, 0xd5, 0x86, 0x07, 0x64, 0x2d, 0xa3, 0xf2, + 0xea, 0xed, 0x8d, 0x5b, 0x4d, 0x27, 0xfa, 0xaa, 0x5d, 0xd7, 0x1b, 0xbe, 0x6b, 0x48, 0xb6, 0x9a, + 0xfc, 0x42, 0x69, 0xfa, 0x5a, 0x93, 0x7a, 0xa2, 0x94, 0x8c, 0x43, 0x3f, 0x5d, 0x56, 0xc4, 0x43, + 0x3d, 0x2f, 0x60, 0x97, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x41, 0x07, 0xf3, 0x01, 0xd0, 0x0d, + 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// UserServiceClient is the client API for UserService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type UserServiceClient interface { + // Returns the specified MySQL user. + // + // To get the list of available MySQL users, make a [List] request. + Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) + // Retrieves a list of MySQL users in the specified cluster. + List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) + // Creates a MySQL user in the specified cluster. + Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Modifies the specified MySQL user. + Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified MySQL user. + Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Grants a permission to the specified MySQL user. + GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Revokes a permission from the specified MySQL user. + RevokePermission(ctx context.Context, in *RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) +} + +type userServiceClient struct { + cc *grpc.ClientConn +} + +func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient { + return &userServiceClient{cc} +} + +func (c *userServiceClient) Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) { + out := new(User) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) { + out := new(ListUsersResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/GrantPermission", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RevokePermission(ctx context.Context, in *RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.mysql.v1.UserService/RevokePermission", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UserServiceServer is the server API for UserService service. +type UserServiceServer interface { + // Returns the specified MySQL user. + // + // To get the list of available MySQL users, make a [List] request. + Get(context.Context, *GetUserRequest) (*User, error) + // Retrieves a list of MySQL users in the specified cluster. + List(context.Context, *ListUsersRequest) (*ListUsersResponse, error) + // Creates a MySQL user in the specified cluster. + Create(context.Context, *CreateUserRequest) (*operation.Operation, error) + // Modifies the specified MySQL user. + Update(context.Context, *UpdateUserRequest) (*operation.Operation, error) + // Deletes the specified MySQL user. + Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error) + // Grants a permission to the specified MySQL user. + GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error) + // Revokes a permission from the specified MySQL user. + RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error) +} + +// UnimplementedUserServiceServer can be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { +} + +func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *GetUserRequest) (*User, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedUserServiceServer) List(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedUserServiceServer) GrantPermission(ctx context.Context, req *GrantUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method GrantPermission not implemented") +} +func (*UnimplementedUserServiceServer) RevokePermission(ctx context.Context, req *RevokeUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokePermission not implemented") +} + +func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) { + s.RegisterService(&_UserService_serviceDesc, srv) +} + +func _UserService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).Get(ctx, req.(*GetUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).List(ctx, req.(*ListUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).Create(ctx, req.(*CreateUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).Update(ctx, req.(*UpdateUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).Delete(ctx, req.(*DeleteUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_GrantPermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GrantUserPermissionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).GrantPermission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/GrantPermission", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).GrantPermission(ctx, req.(*GrantUserPermissionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RevokePermission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RevokeUserPermissionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RevokePermission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.mysql.v1.UserService/RevokePermission", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RevokePermission(ctx, req.(*RevokeUserPermissionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _UserService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.mdb.mysql.v1.UserService", + HandlerType: (*UserServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _UserService_Get_Handler, + }, + { + MethodName: "List", + Handler: _UserService_List_Handler, + }, + { + MethodName: "Create", + Handler: _UserService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _UserService_Update_Handler, + }, + { + MethodName: "Delete", + Handler: _UserService_Delete_Handler, + }, + { + MethodName: "GrantPermission", + Handler: _UserService_GrantPermission_Handler, + }, + { + MethodName: "RevokePermission", + Handler: _UserService_RevokePermission_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/mdb/mysql/v1/user_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup.pb.go index 62d4bd254..46713e745 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/backup.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A PostgreSQL Backup resource. For more information, see // the [Developer's Guide](/docs/managed-postgresql/concepts/backup). @@ -42,16 +44,17 @@ func (m *Backup) Reset() { *m = Backup{} } func (m *Backup) String() string { return proto.CompactTextString(m) } func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_201d65cfeeef8a8a, []int{0} + return fileDescriptor_12b8aee21e233390, []int{0} } + func (m *Backup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Backup.Unmarshal(m, b) } func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Backup.Marshal(b, m, deterministic) } -func (dst *Backup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Backup.Merge(dst, src) +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) } func (m *Backup) XXX_Size() int { return xxx_messageInfo_Backup.Size(m) @@ -102,10 +105,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/backup.proto", fileDescriptor_backup_201d65cfeeef8a8a) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/backup.proto", fileDescriptor_12b8aee21e233390) } -var fileDescriptor_backup_201d65cfeeef8a8a = []byte{ +var fileDescriptor_12b8aee21e233390 = []byte{ // 268 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0x33, 0x31, 0x14, 0x85, 0x99, 0xf9, 0x7f, 0x8b, 0x13, 0x41, 0x71, 0x56, 0x43, 0x05, 0x2d, 0xae, 0x8a, 0xd2, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup_service.pb.go index 00e4837f9..bd3b9c696 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/backup_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/backup_service.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package postgresql import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetBackupRequest struct { // ID of the backup to return information about. @@ -38,16 +39,17 @@ func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } func (*GetBackupRequest) ProtoMessage() {} func (*GetBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_76dfe2452a94567c, []int{0} + return fileDescriptor_173a66996cdfa60b, []int{0} } + func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) } func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) } -func (dst *GetBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBackupRequest.Merge(dst, src) +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) } func (m *GetBackupRequest) XXX_Size() int { return xxx_messageInfo_GetBackupRequest.Size(m) @@ -85,16 +87,17 @@ func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListBackupsRequest) ProtoMessage() {} func (*ListBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_76dfe2452a94567c, []int{1} + return fileDescriptor_173a66996cdfa60b, []int{1} } + func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) } func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsRequest.Merge(dst, src) +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) } func (m *ListBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListBackupsRequest.Size(m) @@ -143,16 +146,17 @@ func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListBackupsResponse) ProtoMessage() {} func (*ListBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_76dfe2452a94567c, []int{2} + return fileDescriptor_173a66996cdfa60b, []int{2} } + func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) } func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsResponse.Merge(dst, src) +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) } func (m *ListBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListBackupsResponse.Size(m) @@ -183,6 +187,44 @@ func init() { proto.RegisterType((*ListBackupsResponse)(nil), "yandex.cloud.mdb.postgresql.v1.ListBackupsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/backup_service.proto", fileDescriptor_173a66996cdfa60b) +} + +var fileDescriptor_173a66996cdfa60b = []byte{ + // 466 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xbf, 0x6f, 0x13, 0x31, + 0x14, 0xc7, 0xe5, 0x24, 0x94, 0x9c, 0xa1, 0x02, 0x99, 0x25, 0x8a, 0xa0, 0x0a, 0x37, 0x94, 0xf0, + 0x23, 0xe7, 0xbb, 0x44, 0x9d, 0x68, 0x25, 0x94, 0xa5, 0xaa, 0x04, 0x02, 0x5d, 0x99, 0x58, 0x22, + 0x5f, 0xfc, 0x30, 0x56, 0x2f, 0xf6, 0x35, 0x76, 0xa2, 0x52, 0xc4, 0xc2, 0x98, 0x91, 0x0e, 0xfc, + 0x39, 0x8c, 0xed, 0xce, 0xbf, 0xc0, 0xc0, 0xdf, 0xc0, 0x84, 0xce, 0x4e, 0x08, 0x2d, 0x28, 0x2d, + 0xa3, 0xfd, 0x7d, 0x9f, 0xf7, 0xbe, 0x7a, 0xdf, 0x87, 0x7b, 0xef, 0x99, 0xe2, 0x70, 0x44, 0x87, + 0xb9, 0x9e, 0x70, 0x3a, 0xe2, 0x19, 0x2d, 0xb4, 0xb1, 0x62, 0x0c, 0xe6, 0x30, 0xa7, 0xd3, 0x84, + 0x66, 0x6c, 0x78, 0x30, 0x29, 0x06, 0x06, 0xc6, 0x53, 0x39, 0x84, 0xa8, 0x18, 0x6b, 0xab, 0xc9, + 0x86, 0x87, 0x22, 0x07, 0x45, 0x23, 0x9e, 0x45, 0x4b, 0x28, 0x9a, 0x26, 0xcd, 0xbb, 0x42, 0x6b, + 0x91, 0x03, 0x65, 0x85, 0xa4, 0x4c, 0x29, 0x6d, 0x99, 0x95, 0x5a, 0x19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0x23, 0xeb, 0x65, 0xc5, 0xab, 0x85, 0x99, 0xee, 0xd7, 0x0a, 0x5e, 0xf7, 0x6d, 0xf6, 0x7d, 0xf4, + 0xe4, 0x04, 0xe1, 0xea, 0x2e, 0x58, 0x12, 0x5f, 0x36, 0xfd, 0x62, 0x20, 0xcd, 0x2b, 0xfa, 0x0d, + 0xbb, 0x9f, 0xbe, 0x7d, 0x3f, 0xa9, 0x3c, 0x21, 0x8f, 0xe8, 0x88, 0x29, 0x26, 0x80, 0x77, 0xfe, + 0x95, 0xbc, 0xa1, 0x1f, 0x7e, 0xc7, 0xfb, 0x91, 0x7c, 0x41, 0xb8, 0x56, 0x2e, 0x8d, 0x74, 0x2f, + 0x1b, 0xf2, 0x77, 0xde, 0xcd, 0xde, 0x7f, 0x31, 0x3e, 0x8e, 0x70, 0xd3, 0xb9, 0x6c, 0x91, 0x8d, + 0xd5, 0x2e, 0xfb, 0x2f, 0xdf, 0xbc, 0x10, 0xd2, 0xbe, 0x9b, 0x64, 0xd1, 0x50, 0x8f, 0xa8, 0x1f, + 0xd4, 0xf1, 0x47, 0x2d, 0x74, 0x47, 0x80, 0x72, 0x17, 0x4c, 0x57, 0x5f, 0xfb, 0xd3, 0xe5, 0x2b, + 0x5b, 0x73, 0x40, 0xef, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0xd4, 0x32, 0xc6, 0xb3, 0x03, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -239,6 +281,17 @@ type BackupServiceServer interface { List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) } +// UnimplementedBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBackupServiceServer struct { +} + +func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer) { s.RegisterService(&_BackupService_serviceDesc, srv) } @@ -295,41 +348,3 @@ var _BackupService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/postgresql/v1/backup_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/backup_service.proto", fileDescriptor_backup_service_76dfe2452a94567c) -} - -var fileDescriptor_backup_service_76dfe2452a94567c = []byte{ - // 466 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xbf, 0x6f, 0x13, 0x31, - 0x14, 0xc7, 0xe5, 0x24, 0x94, 0x9c, 0xa1, 0x02, 0x99, 0x25, 0x8a, 0xa0, 0x0a, 0x37, 0x94, 0xf0, - 0x23, 0xe7, 0xbb, 0x44, 0x9d, 0x68, 0x25, 0x94, 0xa5, 0xaa, 0x04, 0x02, 0x5d, 0x99, 0x58, 0x22, - 0x5f, 0xfc, 0x30, 0x56, 0x2f, 0xf6, 0x35, 0x76, 0xa2, 0x52, 0xc4, 0xc2, 0x98, 0x91, 0x0e, 0xfc, - 0x39, 0x8c, 0xed, 0xce, 0xbf, 0xc0, 0xc0, 0xdf, 0xc0, 0x84, 0xce, 0x4e, 0x08, 0x2d, 0x28, 0x2d, - 0xa3, 0xfd, 0x7d, 0x9f, 0xf7, 0xbe, 0x7a, 0xdf, 0x87, 0x7b, 0xef, 0x99, 0xe2, 0x70, 0x44, 0x87, - 0xb9, 0x9e, 0x70, 0x3a, 0xe2, 0x19, 0x2d, 0xb4, 0xb1, 0x62, 0x0c, 0xe6, 0x30, 0xa7, 0xd3, 0x84, - 0x66, 0x6c, 0x78, 0x30, 0x29, 0x06, 0x06, 0xc6, 0x53, 0x39, 0x84, 0xa8, 0x18, 0x6b, 0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7, 0xc6, 0x4d, 0x03, 0xb5, 0xaa, 0xed, 0x1b, 0xdd, 0xcd, 0x68, 0xf5, 0xfe, - 0xa3, 0xf9, 0x3e, 0x16, 0x18, 0x49, 0xf0, 0x2d, 0x05, 0x47, 0x76, 0xf0, 0x87, 0x91, 0xca, 0x45, - 0x23, 0xeb, 0x65, 0xc5, 0xab, 0x85, 0x99, 0xee, 0xd7, 0x0a, 0x5e, 0xf7, 0x6d, 0xf6, 0x7d, 0xf4, - 0xe4, 0x04, 0xe1, 0xea, 0x2e, 0x58, 0x12, 0x5f, 0x36, 0xfd, 0x62, 0x20, 0xcd, 0x2b, 0xfa, 0x0d, - 0xbb, 0x9f, 0xbe, 0x7d, 0x3f, 0xa9, 0x3c, 0x21, 0x8f, 0xe8, 0x88, 0x29, 0x26, 0x80, 0x77, 0xfe, - 0x95, 0xbc, 0xa1, 0x1f, 0x7e, 0xc7, 0xfb, 0x91, 0x7c, 0x41, 0xb8, 0x56, 0x2e, 0x8d, 0x74, 0x2f, - 0x1b, 0xf2, 0x77, 0xde, 0xcd, 0xde, 0x7f, 0x31, 0x3e, 0x8e, 0x70, 0xd3, 0xb9, 0x6c, 0x91, 0x8d, - 0xd5, 0x2e, 0xfb, 0x2f, 0xdf, 0xbc, 0x10, 0xd2, 0xbe, 0x9b, 0x64, 0xd1, 0x50, 0x8f, 0xa8, 0x1f, - 0xd4, 0xf1, 0x47, 0x2d, 0x74, 0x47, 0x80, 0x72, 0x17, 0x4c, 0x57, 0x5f, 0xfb, 0xd3, 0xe5, 0x2b, - 0x5b, 0x73, 0x40, 0xef, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0xd4, 0x32, 0xc6, 0xb3, 0x03, - 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster.pb.go index 8517692e6..8eaf826cf 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster.pb.go @@ -1,15 +1,17 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/cluster.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -20,7 +22,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Cluster_Environment int32 @@ -39,6 +41,7 @@ var Cluster_Environment_name = map[int32]string{ 1: "PRODUCTION", 2: "PRESTABLE", } + var Cluster_Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "PRODUCTION": 1, @@ -48,8 +51,9 @@ var Cluster_Environment_value = map[string]int32{ func (x Cluster_Environment) String() string { return proto.EnumName(Cluster_Environment_name, int32(x)) } + func (Cluster_Environment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{0, 0} + return fileDescriptor_66e5c6384d029c45, []int{0, 0} } type Cluster_Health int32 @@ -71,6 +75,7 @@ var Cluster_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Cluster_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -81,8 +86,9 @@ var Cluster_Health_value = map[string]int32{ func (x Cluster_Health) String() string { return proto.EnumName(Cluster_Health_name, int32(x)) } + func (Cluster_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{0, 1} + return fileDescriptor_66e5c6384d029c45, []int{0, 1} } type Cluster_Status int32 @@ -116,6 +122,7 @@ var Cluster_Status_name = map[int32]string{ 6: "STOPPED", 7: "STARTING", } + var Cluster_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "CREATING": 1, @@ -130,8 +137,9 @@ var Cluster_Status_value = map[string]int32{ func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } + func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{0, 2} + return fileDescriptor_66e5c6384d029c45, []int{0, 2} } type ConnectionPoolerConfig_PoolingMode int32 @@ -152,6 +160,7 @@ var ConnectionPoolerConfig_PoolingMode_name = map[int32]string{ 2: "TRANSACTION", 3: "STATEMENT", } + var ConnectionPoolerConfig_PoolingMode_value = map[string]int32{ "POOLING_MODE_UNSPECIFIED": 0, "SESSION": 1, @@ -162,8 +171,9 @@ var ConnectionPoolerConfig_PoolingMode_value = map[string]int32{ func (x ConnectionPoolerConfig_PoolingMode) String() string { return proto.EnumName(ConnectionPoolerConfig_PoolingMode_name, int32(x)) } + func (ConnectionPoolerConfig_PoolingMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{3, 0} + return fileDescriptor_66e5c6384d029c45, []int{3, 0} } type Host_Role int32 @@ -182,6 +192,7 @@ var Host_Role_name = map[int32]string{ 1: "MASTER", 2: "REPLICA", } + var Host_Role_value = map[string]int32{ "ROLE_UNKNOWN": 0, "MASTER": 1, @@ -191,8 +202,9 @@ var Host_Role_value = map[string]int32{ func (x Host_Role) String() string { return proto.EnumName(Host_Role_name, int32(x)) } + func (Host_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{4, 0} + return fileDescriptor_66e5c6384d029c45, []int{4, 0} } type Host_ReplicaType int32 @@ -208,6 +220,7 @@ var Host_ReplicaType_name = map[int32]string{ 1: "ASYNC", 2: "SYNC", } + var Host_ReplicaType_value = map[string]int32{ "REPLICA_TYPE_UNKNOWN": 0, "ASYNC": 1, @@ -217,8 +230,9 @@ var Host_ReplicaType_value = map[string]int32{ func (x Host_ReplicaType) String() string { return proto.EnumName(Host_ReplicaType_name, int32(x)) } + func (Host_ReplicaType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{4, 1} + return fileDescriptor_66e5c6384d029c45, []int{4, 1} } type Host_Health int32 @@ -240,6 +254,7 @@ var Host_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Host_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -250,8 +265,9 @@ var Host_Health_value = map[string]int32{ func (x Host_Health) String() string { return proto.EnumName(Host_Health_name, int32(x)) } + func (Host_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{4, 2} + return fileDescriptor_66e5c6384d029c45, []int{4, 2} } type Service_Type int32 @@ -269,6 +285,7 @@ var Service_Type_name = map[int32]string{ 1: "POSTGRESQL", 2: "POOLER", } + var Service_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "POSTGRESQL": 1, @@ -278,8 +295,9 @@ var Service_Type_value = map[string]int32{ func (x Service_Type) String() string { return proto.EnumName(Service_Type_name, int32(x)) } + func (Service_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{6, 0} + return fileDescriptor_66e5c6384d029c45, []int{6, 0} } type Service_Health int32 @@ -298,6 +316,7 @@ var Service_Health_name = map[int32]string{ 1: "ALIVE", 2: "DEAD", } + var Service_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -307,8 +326,9 @@ var Service_Health_value = map[string]int32{ func (x Service_Health) String() string { return proto.EnumName(Service_Health_name, int32(x)) } + func (Service_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{6, 1} + return fileDescriptor_66e5c6384d029c45, []int{6, 1} } // A PostgreSQL Cluster resource. For more information, see @@ -350,16 +370,17 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{0} + return fileDescriptor_66e5c6384d029c45, []int{0} } + func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) } func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) } -func (dst *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(dst, src) +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) } func (m *Cluster) XXX_Size() int { return xxx_messageInfo_Cluster.Size(m) @@ -471,16 +492,17 @@ func (m *Monitoring) Reset() { *m = Monitoring{} } func (m *Monitoring) String() string { return proto.CompactTextString(m) } func (*Monitoring) ProtoMessage() {} func (*Monitoring) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{1} + return fileDescriptor_66e5c6384d029c45, []int{1} } + func (m *Monitoring) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring.Unmarshal(m, b) } func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) } -func (dst *Monitoring) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring.Merge(dst, src) +func (m *Monitoring) XXX_Merge(src proto.Message) { + xxx_messageInfo_Monitoring.Merge(m, src) } func (m *Monitoring) XXX_Size() int { return xxx_messageInfo_Monitoring.Size(m) @@ -528,27 +550,30 @@ type ClusterConfig struct { Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // Configuration setting which enables/disables autofailover in cluster. Autofailover *wrappers.BoolValue `protobuf:"bytes,6,opt,name=autofailover,proto3" json:"autofailover,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,7,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,7,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,9,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{2} + return fileDescriptor_66e5c6384d029c45, []int{2} } + func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) } func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) } -func (dst *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(dst, src) +func (m *ClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig.Merge(m, src) } func (m *ClusterConfig) XXX_Size() int { return xxx_messageInfo_ClusterConfig.Size(m) @@ -644,99 +669,22 @@ func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ClusterConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ClusterConfig_OneofMarshaler, _ClusterConfig_OneofUnmarshaler, _ClusterConfig_OneofSizer, []interface{}{ - (*ClusterConfig_PostgresqlConfig_9_6)(nil), - (*ClusterConfig_PostgresqlConfig_10)(nil), - (*ClusterConfig_PostgresqlConfig_11)(nil), - } -} - -func _ClusterConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ClusterConfig) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ClusterConfig_PostgresqlConfig_9_6: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_9_6); err != nil { - return err - } - case *ClusterConfig_PostgresqlConfig_10: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_10); err != nil { - return err - } - case *ClusterConfig_PostgresqlConfig_11: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_11); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ClusterConfig.PostgresqlConfig has unexpected type %T", x) +func (m *ClusterConfig) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ClusterConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ClusterConfig) - switch tag { - case 2: // postgresql_config.postgresql_config_9_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfigSet9_6) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ClusterConfig_PostgresqlConfig_9_6{msg} - return true, err - case 3: // postgresql_config.postgresql_config_10 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfigSet10) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ClusterConfig_PostgresqlConfig_10{msg} - return true, err - case 8: // postgresql_config.postgresql_config_11 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfigSet11) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ClusterConfig_PostgresqlConfig_11{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ClusterConfig) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ClusterConfig_PostgresqlConfig_9_6)(nil), + (*ClusterConfig_PostgresqlConfig_10)(nil), + (*ClusterConfig_PostgresqlConfig_11)(nil), } } -func _ClusterConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ClusterConfig) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ClusterConfig_PostgresqlConfig_9_6: - s := proto.Size(x.PostgresqlConfig_9_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ClusterConfig_PostgresqlConfig_10: - s := proto.Size(x.PostgresqlConfig_10) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ClusterConfig_PostgresqlConfig_11: - s := proto.Size(x.PostgresqlConfig_11) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type ConnectionPoolerConfig struct { // Mode that the connection pooler is working in. // See descriptions of all modes in the [documentation for PgBouncer](https://pgbouncer.github.io/usage). @@ -750,16 +698,17 @@ func (m *ConnectionPoolerConfig) Reset() { *m = ConnectionPoolerConfig{} func (m *ConnectionPoolerConfig) String() string { return proto.CompactTextString(m) } func (*ConnectionPoolerConfig) ProtoMessage() {} func (*ConnectionPoolerConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{3} + return fileDescriptor_66e5c6384d029c45, []int{3} } + func (m *ConnectionPoolerConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConnectionPoolerConfig.Unmarshal(m, b) } func (m *ConnectionPoolerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConnectionPoolerConfig.Marshal(b, m, deterministic) } -func (dst *ConnectionPoolerConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectionPoolerConfig.Merge(dst, src) +func (m *ConnectionPoolerConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConnectionPoolerConfig.Merge(m, src) } func (m *ConnectionPoolerConfig) XXX_Size() int { return xxx_messageInfo_ConnectionPoolerConfig.Size(m) @@ -820,16 +769,17 @@ func (m *Host) Reset() { *m = Host{} } func (m *Host) String() string { return proto.CompactTextString(m) } func (*Host) ProtoMessage() {} func (*Host) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{4} + return fileDescriptor_66e5c6384d029c45, []int{4} } + func (m *Host) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Host.Unmarshal(m, b) } func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Host.Marshal(b, m, deterministic) } -func (dst *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(dst, src) +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) } func (m *Host) XXX_Size() int { return xxx_messageInfo_Host.Size(m) @@ -948,16 +898,17 @@ func (m *HostConfig) Reset() { *m = HostConfig{} } func (m *HostConfig) String() string { return proto.CompactTextString(m) } func (*HostConfig) ProtoMessage() {} func (*HostConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{5} + return fileDescriptor_66e5c6384d029c45, []int{5} } + func (m *HostConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HostConfig.Unmarshal(m, b) } func (m *HostConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HostConfig.Marshal(b, m, deterministic) } -func (dst *HostConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostConfig.Merge(dst, src) +func (m *HostConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostConfig.Merge(m, src) } func (m *HostConfig) XXX_Size() int { return xxx_messageInfo_HostConfig.Size(m) @@ -1018,99 +969,15 @@ func (m *HostConfig) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11 { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*HostConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _HostConfig_OneofMarshaler, _HostConfig_OneofUnmarshaler, _HostConfig_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*HostConfig) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*HostConfig_PostgresqlConfig_9_6)(nil), (*HostConfig_PostgresqlConfig_10)(nil), (*HostConfig_PostgresqlConfig_11)(nil), } } -func _HostConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*HostConfig) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *HostConfig_PostgresqlConfig_9_6: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_9_6); err != nil { - return err - } - case *HostConfig_PostgresqlConfig_10: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_10); err != nil { - return err - } - case *HostConfig_PostgresqlConfig_11: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_11); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("HostConfig.PostgresqlConfig has unexpected type %T", x) - } - return nil -} - -func _HostConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*HostConfig) - switch tag { - case 1: // postgresql_config.postgresql_config_9_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig9_6) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &HostConfig_PostgresqlConfig_9_6{msg} - return true, err - case 2: // postgresql_config.postgresql_config_10 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig10) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &HostConfig_PostgresqlConfig_10{msg} - return true, err - case 3: // postgresql_config.postgresql_config_11 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig11) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &HostConfig_PostgresqlConfig_11{msg} - return true, err - default: - return false, nil - } -} - -func _HostConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*HostConfig) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *HostConfig_PostgresqlConfig_9_6: - s := proto.Size(x.PostgresqlConfig_9_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HostConfig_PostgresqlConfig_10: - s := proto.Size(x.PostgresqlConfig_10) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *HostConfig_PostgresqlConfig_11: - s := proto.Size(x.PostgresqlConfig_11) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type Service struct { // Type of the service provided by the host. Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.postgresql.v1.Service_Type" json:"type,omitempty"` @@ -1125,16 +992,17 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{6} + return fileDescriptor_66e5c6384d029c45, []int{6} } + func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) } func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Service.Marshal(b, m, deterministic) } -func (dst *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(dst, src) +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) } func (m *Service) XXX_Size() int { return xxx_messageInfo_Service.Size(m) @@ -1180,16 +1048,17 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_75c4156e122d92ad, []int{7} + return fileDescriptor_66e5c6384d029c45, []int{7} } + func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) } func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Resources.Marshal(b, m, deterministic) } -func (dst *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(dst, src) +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) } func (m *Resources) XXX_Size() int { return xxx_messageInfo_Resources.Size(m) @@ -1221,16 +1090,47 @@ func (m *Resources) GetDiskTypeId() string { return "" } +type Access struct { + // Allow access for DataLens + DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Access) Reset() { *m = Access{} } +func (m *Access) String() string { return proto.CompactTextString(m) } +func (*Access) ProtoMessage() {} +func (*Access) Descriptor() ([]byte, []int) { + return fileDescriptor_66e5c6384d029c45, []int{8} +} + +func (m *Access) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Access.Unmarshal(m, b) +} +func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Access.Marshal(b, m, deterministic) +} +func (m *Access) XXX_Merge(src proto.Message) { + xxx_messageInfo_Access.Merge(m, src) +} +func (m *Access) XXX_Size() int { + return xxx_messageInfo_Access.Size(m) +} +func (m *Access) XXX_DiscardUnknown() { + xxx_messageInfo_Access.DiscardUnknown(m) +} + +var xxx_messageInfo_Access proto.InternalMessageInfo + +func (m *Access) GetDataLens() bool { + if m != nil { + return m.DataLens + } + return false +} + func init() { - proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.postgresql.v1.Cluster") - proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.postgresql.v1.Cluster.LabelsEntry") - proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.postgresql.v1.Monitoring") - proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.postgresql.v1.ClusterConfig") - proto.RegisterType((*ConnectionPoolerConfig)(nil), "yandex.cloud.mdb.postgresql.v1.ConnectionPoolerConfig") - proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.postgresql.v1.Host") - proto.RegisterType((*HostConfig)(nil), "yandex.cloud.mdb.postgresql.v1.HostConfig") - proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.postgresql.v1.Service") - proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.postgresql.v1.Resources") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) @@ -1240,106 +1140,118 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Host_Health", Host_Health_name, Host_Health_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Service_Type", Service_Type_name, Service_Type_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.Service_Health", Service_Health_name, Service_Health_value) + proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.postgresql.v1.Cluster") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.postgresql.v1.Cluster.LabelsEntry") + proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.postgresql.v1.Monitoring") + proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.postgresql.v1.ClusterConfig") + proto.RegisterType((*ConnectionPoolerConfig)(nil), "yandex.cloud.mdb.postgresql.v1.ConnectionPoolerConfig") + proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.postgresql.v1.Host") + proto.RegisterType((*HostConfig)(nil), "yandex.cloud.mdb.postgresql.v1.HostConfig") + proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.postgresql.v1.Service") + proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.postgresql.v1.Resources") + proto.RegisterType((*Access)(nil), "yandex.cloud.mdb.postgresql.v1.Access") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/cluster.proto", fileDescriptor_cluster_75c4156e122d92ad) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/cluster.proto", fileDescriptor_66e5c6384d029c45) } -var fileDescriptor_cluster_75c4156e122d92ad = []byte{ - // 1492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcd, 0x57, 0xdb, 0xc6, - 0x16, 0x8f, 0x3f, 0xf0, 0xc7, 0x95, 0xe1, 0x29, 0x13, 0x5e, 0xa2, 0x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ff, 0xb8, 0x40, 0xd9, 0x92, - 0x7b, 0x10, 0x00, 0x00, +var fileDescriptor_66e5c6384d029c45 = []byte{ + // 1535 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x77, 0xda, 0xca, + 0x11, 0x0f, 0x1f, 0x16, 0x30, 0xc2, 0xae, 0xb2, 0xd7, 0xbd, 0x57, 0xc7, 0xee, 0x4d, 0x7d, 0x38, + 0xa7, 0xad, 0x9b, 0xc6, 0xc2, 0x90, 0x1e, 0x37, 0x6e, 0x93, 0xb4, 0x18, 0x14, 0x5b, 0x0d, 0x06, + 0xba, 0xc2, 0x4e, 0xd3, 0x3e, 0xe8, 0x08, 0xb4, 0xc6, 0x3a, 0x16, 0x5a, 0x45, 0x12, 0x76, 0xc8, + 0x53, 0x1f, 0xfa, 0xff, 0xf5, 0xb9, 0x2f, 0xfd, 0x4b, 0xfa, 0xd0, 0xb3, 0xbb, 0x32, 0xe0, 0x0f, + 0x02, 0x76, 0xfa, 0xa6, 0x9d, 0x99, 0xdf, 0xec, 0xc7, 0xcc, 0xfc, 0x66, 0x04, 0x2f, 0xc6, 0xb6, + 0xef, 0x90, 0xcf, 0xe5, 0xbe, 0x47, 0x47, 0x4e, 0x79, 0xe8, 0xf4, 0xca, 0x01, 0x8d, 0xe2, 0x41, + 0x48, 0xa2, 0x4f, 0x5e, 0xf9, 0xb2, 0x52, 0xee, 0x7b, 0xa3, 0x28, 0x26, 0xa1, 0x16, 0x84, 0x34, + 0xa6, 0xe8, 0x99, 0xb0, 0xd6, 0xb8, 0xb5, 0x36, 0x74, 0x7a, 0xda, 0xd4, 0x5a, 0xbb, 0xac, 0x6c, + 0xfc, 0x7c, 0x40, 0xe9, 0xc0, 0x23, 0x65, 0x6e, 0xdd, 0x1b, 0x9d, 0x95, 0x63, 0x77, 0x48, 0xa2, + 0xd8, 0x1e, 0x06, 0xc2, 0x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, 0xb4, + 0xcf, 0x1a, 0xf6, 0x18, 0x3f, 0x15, 0x90, 0x0f, 0x1c, 0x61, 0x32, 0x00, 0x7a, 0x0b, 0x92, 0xdd, + 0xef, 0x93, 0x28, 0x4a, 0x18, 0xf4, 0x97, 0x8b, 0x6e, 0x53, 0xe3, 0xd6, 0x38, 0x41, 0x1d, 0x7c, + 0x07, 0x4f, 0xef, 0xc4, 0xb7, 0xf4, 0xef, 0x14, 0x7c, 0x7f, 0xff, 0x73, 0x22, 0x02, 0xfc, 0x41, + 0x5d, 0x7f, 0x60, 0x0d, 0xa9, 0x23, 0x6a, 0x6e, 0xad, 0x7a, 0xf0, 0xb8, 0xe0, 0x68, 0x1d, 0xe1, + 0xea, 0x98, 0x3a, 0x04, 0xcb, 0xc1, 0x74, 0x51, 0xfa, 0x2b, 0xc8, 0x33, 0x3a, 0xf4, 0x33, 0x50, + 0x3b, 0xed, 0x76, 0xd3, 0x68, 0x1d, 0x5a, 0xc7, 0xed, 0x86, 0x7e, 0x8b, 0xe8, 0x18, 0x51, 0xe8, + 0xa6, 0x29, 0x58, 0xee, 0x27, 0x20, 0x77, 0x71, 0xad, 0x65, 0xd6, 0x04, 0xed, 0xa5, 0x19, 0xed, + 0x31, 0x72, 0xd2, 0x19, 0x43, 0x2a, 0x99, 0xd2, 0x7f, 0x24, 0xc8, 0x1e, 0xd1, 0x28, 0xbe, 0x97, + 0x35, 0x7e, 0x04, 0x48, 0x86, 0xc0, 0xe9, 0x38, 0x50, 0x48, 0x24, 0x86, 0x83, 0x7e, 0x80, 0xdc, + 0x17, 0xea, 0x13, 0xa6, 0x13, 0xac, 0x21, 0xb1, 0xa5, 0xe1, 0xdc, 0x4c, 0xab, 0xec, 0x37, 0xa4, + 0xd5, 0x1b, 0xc8, 0x86, 0xd4, 0x23, 0x3c, 0x35, 0xd7, 0x16, 0xfb, 0x60, 0x17, 0xd1, 0x30, 0xf5, + 0x08, 0xe6, 0x30, 0x54, 0x9f, 0x74, 0x3a, 0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 0xa4, 0x4b, 0xaf, 0x41, + 0x9e, 0x71, 0x87, 0x54, 0x58, 0x4f, 0x74, 0x56, 0xf7, 0x63, 0x47, 0xbf, 0xd5, 0xe3, 0xcd, 0x8f, + 0xad, 0xba, 0xe8, 0xf1, 0xfc, 0xeb, 0xff, 0x30, 0x16, 0xfc, 0x37, 0x0d, 0x30, 0x7d, 0x47, 0x14, + 0xcd, 0x6b, 0x93, 0x29, 0x1e, 0x92, 0xb7, 0x0f, 0xee, 0x20, 0x53, 0xdf, 0xf3, 0xfb, 0xe4, 0xa7, + 0x39, 0x7d, 0xf2, 0xb1, 0xad, 0x79, 0xba, 0xe7, 0xdc, 0x46, 0xf9, 0x69, 0x4e, 0xa3, 0xcc, 0x7c, + 0xfb, 0x96, 0x73, 0x3a, 0xe5, 0xfd, 0xdc, 0xfd, 0x8f, 0x34, 0xe4, 0x92, 0x72, 0x44, 0x7f, 0x82, + 0x2c, 0xcf, 0x44, 0x41, 0xd2, 0x2f, 0x96, 0xac, 0x62, 0x8d, 0x67, 0x21, 0x47, 0xce, 0x8c, 0xce, + 0xe9, 0xe5, 0x46, 0xde, 0x6b, 0x1f, 0x37, 0x39, 0xa5, 0xf4, 0x0a, 0xb2, 0x3c, 0x19, 0xd7, 0x41, + 0x49, 0x92, 0xf0, 0xf6, 0xa4, 0xda, 0x36, 0xbb, 0x87, 0x58, 0x37, 0xff, 0xd2, 0x54, 0x52, 0x2c, + 0xb5, 0x19, 0xdd, 0xeb, 0x58, 0x49, 0x97, 0x2a, 0x0f, 0xce, 0xc7, 0xd2, 0x67, 0x28, 0x4c, 0xc8, + 0x15, 0xbd, 0x60, 0x5c, 0x23, 0x16, 0x56, 0x10, 0x92, 0x48, 0x30, 0x92, 0x20, 0x7d, 0xe5, 0x5a, + 0xd3, 0xe1, 0x0a, 0x83, 0xff, 0x0e, 0x3a, 0x6e, 0x74, 0x61, 0x45, 0xee, 0x17, 0x31, 0x7d, 0x67, + 0x70, 0x9e, 0x09, 0x4c, 0xf7, 0x0b, 0x9b, 0x29, 0x8b, 0x5c, 0xc9, 0x5e, 0x66, 0xda, 0x03, 0x80, + 0xc9, 0xd8, 0xe5, 0x0c, 0xa7, 0xf4, 0x0b, 0x90, 0x44, 0x7f, 0xe5, 0x8e, 0xec, 0xd8, 0xb6, 0x3c, + 0xe2, 0x47, 0x7c, 0xb7, 0x3c, 0xce, 0x33, 0x41, 0x93, 0xf8, 0xd1, 0x41, 0xfb, 0x6f, 0xc7, 0x03, + 0x37, 0x3e, 0x1f, 0xf5, 0xb4, 0x3e, 0x1d, 0x96, 0xc5, 0x8b, 0xee, 0x88, 0x3f, 0xda, 0x01, 0xdd, + 0x19, 0x10, 0x9f, 0xd3, 0x5a, 0xf9, 0xeb, 0xbf, 0xba, 0x7f, 0x98, 0xae, 0x7a, 0x12, 0x07, 0xbc, + 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x75, 0xda, 0x73, 0xe2, 0x10, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster_service.pb.go index fdd691430..992084d5a 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/cluster_service.pb.go @@ -1,24 +1,25 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/cluster_service.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package postgresql import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -30,7 +31,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListClusterLogsRequest_ServiceType int32 @@ -47,6 +48,7 @@ var ListClusterLogsRequest_ServiceType_name = map[int32]string{ 1: "POSTGRESQL", 2: "POOLER", } + var ListClusterLogsRequest_ServiceType_value = map[string]int32{ "SERVICE_TYPE_UNSPECIFIED": 0, "POSTGRESQL": 1, @@ -56,8 +58,9 @@ var ListClusterLogsRequest_ServiceType_value = map[string]int32{ func (x ListClusterLogsRequest_ServiceType) String() string { return proto.EnumName(ListClusterLogsRequest_ServiceType_name, int32(x)) } + func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{20, 0} + return fileDescriptor_fd68e7d7288beb05, []int{20, 0} } type GetClusterRequest struct { @@ -73,16 +76,17 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{0} + return fileDescriptor_fd68e7d7288beb05, []int{0} } + func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) } func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(dst, src) +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) } func (m *GetClusterRequest) XXX_Size() int { return xxx_messageInfo_GetClusterRequest.Size(m) @@ -126,16 +130,17 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{1} + return fileDescriptor_fd68e7d7288beb05, []int{1} } + func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) } func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) } -func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(dst, src) +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) } func (m *ListClustersRequest) XXX_Size() int { return xxx_messageInfo_ListClustersRequest.Size(m) @@ -191,16 +196,17 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{2} + return fileDescriptor_fd68e7d7288beb05, []int{2} } + func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) } func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) } -func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(dst, src) +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) } func (m *ListClustersResponse) XXX_Size() int { return xxx_messageInfo_ListClustersResponse.Size(m) @@ -256,16 +262,17 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{3} + return fileDescriptor_fd68e7d7288beb05, []int{3} } + func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) } func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) } -func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(dst, src) +func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterRequest.Merge(m, src) } func (m *CreateClusterRequest) XXX_Size() int { return xxx_messageInfo_CreateClusterRequest.Size(m) @@ -358,16 +365,17 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{4} + return fileDescriptor_fd68e7d7288beb05, []int{4} } + func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) } func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(dst, src) +func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterMetadata.Merge(m, src) } func (m *CreateClusterMetadata) XXX_Size() int { return xxx_messageInfo_CreateClusterMetadata.Size(m) @@ -400,27 +408,29 @@ type UpdateClusterRequest struct { // set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // New configuration and resources for hosts in the cluster. - ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"` + // New name for the cluster. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{5} + return fileDescriptor_fd68e7d7288beb05, []int{5} } + func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) } func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(dst, src) +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) } func (m *UpdateClusterRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterRequest.Size(m) @@ -485,16 +495,17 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{6} + return fileDescriptor_fd68e7d7288beb05, []int{6} } + func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) } func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(dst, src) +func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) } func (m *UpdateClusterMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterMetadata.Size(m) @@ -525,16 +536,17 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{7} + return fileDescriptor_fd68e7d7288beb05, []int{7} } + func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) } func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) +func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(m, src) } func (m *DeleteClusterRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterRequest.Size(m) @@ -564,16 +576,17 @@ func (m *DeleteClusterMetadata) Reset() { *m = DeleteClusterMetadata{} } func (m *DeleteClusterMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterMetadata) ProtoMessage() {} func (*DeleteClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{8} + return fileDescriptor_fd68e7d7288beb05, []int{8} } + func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterMetadata.Unmarshal(m, b) } func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterMetadata.Merge(dst, src) +func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterMetadata.Merge(m, src) } func (m *DeleteClusterMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterMetadata.Size(m) @@ -592,7 +605,7 @@ func (m *DeleteClusterMetadata) GetClusterId() string { } type StartClusterRequest struct { - // Required. ID of the PostgreSQL cluster to start. + // ID of the PostgreSQL cluster to start. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -603,16 +616,17 @@ func (m *StartClusterRequest) Reset() { *m = StartClusterRequest{} } func (m *StartClusterRequest) String() string { return proto.CompactTextString(m) } func (*StartClusterRequest) ProtoMessage() {} func (*StartClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{9} + return fileDescriptor_fd68e7d7288beb05, []int{9} } + func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterRequest.Unmarshal(m, b) } func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterRequest.Marshal(b, m, deterministic) } -func (dst *StartClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterRequest.Merge(dst, src) +func (m *StartClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterRequest.Merge(m, src) } func (m *StartClusterRequest) XXX_Size() int { return xxx_messageInfo_StartClusterRequest.Size(m) @@ -631,7 +645,7 @@ func (m *StartClusterRequest) GetClusterId() string { } type StartClusterMetadata struct { - // Required. ID of the PostgreSQL cluster. + // ID of the PostgreSQL cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -642,16 +656,17 @@ func (m *StartClusterMetadata) Reset() { *m = StartClusterMetadata{} } func (m *StartClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StartClusterMetadata) ProtoMessage() {} func (*StartClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{10} + return fileDescriptor_fd68e7d7288beb05, []int{10} } + func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterMetadata.Unmarshal(m, b) } func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StartClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterMetadata.Merge(dst, src) +func (m *StartClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterMetadata.Merge(m, src) } func (m *StartClusterMetadata) XXX_Size() int { return xxx_messageInfo_StartClusterMetadata.Size(m) @@ -670,7 +685,7 @@ func (m *StartClusterMetadata) GetClusterId() string { } type StopClusterRequest struct { - // Required. ID of the PostgreSQL cluster to stop. + // ID of the PostgreSQL cluster to stop. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -681,16 +696,17 @@ func (m *StopClusterRequest) Reset() { *m = StopClusterRequest{} } func (m *StopClusterRequest) String() string { return proto.CompactTextString(m) } func (*StopClusterRequest) ProtoMessage() {} func (*StopClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{11} + return fileDescriptor_fd68e7d7288beb05, []int{11} } + func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterRequest.Unmarshal(m, b) } func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterRequest.Marshal(b, m, deterministic) } -func (dst *StopClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterRequest.Merge(dst, src) +func (m *StopClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterRequest.Merge(m, src) } func (m *StopClusterRequest) XXX_Size() int { return xxx_messageInfo_StopClusterRequest.Size(m) @@ -709,7 +725,7 @@ func (m *StopClusterRequest) GetClusterId() string { } type StopClusterMetadata struct { - // Required. ID of the PostgreSQL cluster. + // ID of the PostgreSQL cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -720,16 +736,17 @@ func (m *StopClusterMetadata) Reset() { *m = StopClusterMetadata{} } func (m *StopClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StopClusterMetadata) ProtoMessage() {} func (*StopClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{12} + return fileDescriptor_fd68e7d7288beb05, []int{12} } + func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterMetadata.Unmarshal(m, b) } func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StopClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterMetadata.Merge(dst, src) +func (m *StopClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterMetadata.Merge(m, src) } func (m *StopClusterMetadata) XXX_Size() int { return xxx_messageInfo_StopClusterMetadata.Size(m) @@ -761,16 +778,17 @@ func (m *MoveClusterRequest) Reset() { *m = MoveClusterRequest{} } func (m *MoveClusterRequest) String() string { return proto.CompactTextString(m) } func (*MoveClusterRequest) ProtoMessage() {} func (*MoveClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{13} + return fileDescriptor_fd68e7d7288beb05, []int{13} } + func (m *MoveClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterRequest.Unmarshal(m, b) } func (m *MoveClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterRequest.Marshal(b, m, deterministic) } -func (dst *MoveClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterRequest.Merge(dst, src) +func (m *MoveClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterRequest.Merge(m, src) } func (m *MoveClusterRequest) XXX_Size() int { return xxx_messageInfo_MoveClusterRequest.Size(m) @@ -811,16 +829,17 @@ func (m *MoveClusterMetadata) Reset() { *m = MoveClusterMetadata{} } func (m *MoveClusterMetadata) String() string { return proto.CompactTextString(m) } func (*MoveClusterMetadata) ProtoMessage() {} func (*MoveClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{14} + return fileDescriptor_fd68e7d7288beb05, []int{14} } + func (m *MoveClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterMetadata.Unmarshal(m, b) } func (m *MoveClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterMetadata.Marshal(b, m, deterministic) } -func (dst *MoveClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterMetadata.Merge(dst, src) +func (m *MoveClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterMetadata.Merge(m, src) } func (m *MoveClusterMetadata) XXX_Size() int { return xxx_messageInfo_MoveClusterMetadata.Size(m) @@ -865,16 +884,17 @@ func (m *BackupClusterRequest) Reset() { *m = BackupClusterRequest{} } func (m *BackupClusterRequest) String() string { return proto.CompactTextString(m) } func (*BackupClusterRequest) ProtoMessage() {} func (*BackupClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{15} + return fileDescriptor_fd68e7d7288beb05, []int{15} } + func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterRequest.Unmarshal(m, b) } func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterRequest.Marshal(b, m, deterministic) } -func (dst *BackupClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterRequest.Merge(dst, src) +func (m *BackupClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterRequest.Merge(m, src) } func (m *BackupClusterRequest) XXX_Size() int { return xxx_messageInfo_BackupClusterRequest.Size(m) @@ -904,16 +924,17 @@ func (m *BackupClusterMetadata) Reset() { *m = BackupClusterMetadata{} } func (m *BackupClusterMetadata) String() string { return proto.CompactTextString(m) } func (*BackupClusterMetadata) ProtoMessage() {} func (*BackupClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{16} + return fileDescriptor_fd68e7d7288beb05, []int{16} } + func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterMetadata.Unmarshal(m, b) } func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterMetadata.Marshal(b, m, deterministic) } -func (dst *BackupClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterMetadata.Merge(dst, src) +func (m *BackupClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterMetadata.Merge(m, src) } func (m *BackupClusterMetadata) XXX_Size() int { return xxx_messageInfo_BackupClusterMetadata.Size(m) @@ -959,7 +980,9 @@ type RestoreClusterRequest struct { // the cluster that is being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the PostgreSQL cluster in. - NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // ID of the folder to create the PostgreSQL cluster in. + FolderId string `protobuf:"bytes,11,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -969,16 +992,17 @@ func (m *RestoreClusterRequest) Reset() { *m = RestoreClusterRequest{} } func (m *RestoreClusterRequest) String() string { return proto.CompactTextString(m) } func (*RestoreClusterRequest) ProtoMessage() {} func (*RestoreClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{17} + return fileDescriptor_fd68e7d7288beb05, []int{17} } + func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterRequest.Unmarshal(m, b) } func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterRequest.Marshal(b, m, deterministic) } -func (dst *RestoreClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterRequest.Merge(dst, src) +func (m *RestoreClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterRequest.Merge(m, src) } func (m *RestoreClusterRequest) XXX_Size() int { return xxx_messageInfo_RestoreClusterRequest.Size(m) @@ -1059,6 +1083,13 @@ func (m *RestoreClusterRequest) GetNetworkId() string { return "" } +func (m *RestoreClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + type RestoreClusterMetadata struct { // ID of the new PostgreSQL cluster that is being created from a backup. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -1073,16 +1104,17 @@ func (m *RestoreClusterMetadata) Reset() { *m = RestoreClusterMetadata{} func (m *RestoreClusterMetadata) String() string { return proto.CompactTextString(m) } func (*RestoreClusterMetadata) ProtoMessage() {} func (*RestoreClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{18} + return fileDescriptor_fd68e7d7288beb05, []int{18} } + func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterMetadata.Unmarshal(m, b) } func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterMetadata.Marshal(b, m, deterministic) } -func (dst *RestoreClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterMetadata.Merge(dst, src) +func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterMetadata.Merge(m, src) } func (m *RestoreClusterMetadata) XXX_Size() int { return xxx_messageInfo_RestoreClusterMetadata.Size(m) @@ -1121,16 +1153,17 @@ func (m *LogRecord) Reset() { *m = LogRecord{} } func (m *LogRecord) String() string { return proto.CompactTextString(m) } func (*LogRecord) ProtoMessage() {} func (*LogRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{19} + return fileDescriptor_fd68e7d7288beb05, []int{19} } + func (m *LogRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogRecord.Unmarshal(m, b) } func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) } -func (dst *LogRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRecord.Merge(dst, src) +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) } func (m *LogRecord) XXX_Size() int { return xxx_messageInfo_LogRecord.Size(m) @@ -1186,16 +1219,17 @@ func (m *ListClusterLogsRequest) Reset() { *m = ListClusterLogsRequest{} func (m *ListClusterLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsRequest) ProtoMessage() {} func (*ListClusterLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{20} + return fileDescriptor_fd68e7d7288beb05, []int{20} } + func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsRequest.Unmarshal(m, b) } func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsRequest.Merge(dst, src) +func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsRequest.Merge(m, src) } func (m *ListClusterLogsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterLogsRequest.Size(m) @@ -1279,16 +1313,17 @@ func (m *ListClusterLogsResponse) Reset() { *m = ListClusterLogsResponse func (m *ListClusterLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsResponse) ProtoMessage() {} func (*ListClusterLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{21} + return fileDescriptor_fd68e7d7288beb05, []int{21} } + func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsResponse.Unmarshal(m, b) } func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsResponse.Merge(dst, src) +func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsResponse.Merge(m, src) } func (m *ListClusterLogsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterLogsResponse.Size(m) @@ -1332,16 +1367,17 @@ func (m *ListClusterOperationsRequest) Reset() { *m = ListClusterOperati func (m *ListClusterOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsRequest) ProtoMessage() {} func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{22} + return fileDescriptor_fd68e7d7288beb05, []int{22} } + func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsRequest.Unmarshal(m, b) } func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsRequest.Merge(dst, src) +func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsRequest.Merge(m, src) } func (m *ListClusterOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsRequest.Size(m) @@ -1390,16 +1426,17 @@ func (m *ListClusterOperationsResponse) Reset() { *m = ListClusterOperat func (m *ListClusterOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsResponse) ProtoMessage() {} func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{23} + return fileDescriptor_fd68e7d7288beb05, []int{23} } + func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsResponse.Unmarshal(m, b) } func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsResponse.Merge(dst, src) +func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsResponse.Merge(m, src) } func (m *ListClusterOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsResponse.Size(m) @@ -1444,16 +1481,17 @@ func (m *ListClusterBackupsRequest) Reset() { *m = ListClusterBackupsReq func (m *ListClusterBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsRequest) ProtoMessage() {} func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{24} + return fileDescriptor_fd68e7d7288beb05, []int{24} } + func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsRequest.Unmarshal(m, b) } func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsRequest.Merge(dst, src) +func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsRequest.Merge(m, src) } func (m *ListClusterBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsRequest.Size(m) @@ -1502,16 +1540,17 @@ func (m *ListClusterBackupsResponse) Reset() { *m = ListClusterBackupsRe func (m *ListClusterBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsResponse) ProtoMessage() {} func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{25} + return fileDescriptor_fd68e7d7288beb05, []int{25} } + func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsResponse.Unmarshal(m, b) } func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsResponse.Merge(dst, src) +func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsResponse.Merge(m, src) } func (m *ListClusterBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsResponse.Size(m) @@ -1556,16 +1595,17 @@ func (m *ListClusterHostsRequest) Reset() { *m = ListClusterHostsRequest func (m *ListClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsRequest) ProtoMessage() {} func (*ListClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{26} + return fileDescriptor_fd68e7d7288beb05, []int{26} } + func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsRequest.Unmarshal(m, b) } func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsRequest.Merge(dst, src) +func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsRequest.Merge(m, src) } func (m *ListClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterHostsRequest.Size(m) @@ -1614,16 +1654,17 @@ func (m *ListClusterHostsResponse) Reset() { *m = ListClusterHostsRespon func (m *ListClusterHostsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsResponse) ProtoMessage() {} func (*ListClusterHostsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{27} + return fileDescriptor_fd68e7d7288beb05, []int{27} } + func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsResponse.Unmarshal(m, b) } func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsResponse.Merge(dst, src) +func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsResponse.Merge(m, src) } func (m *ListClusterHostsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterHostsResponse.Size(m) @@ -1663,16 +1704,17 @@ func (m *AddClusterHostsRequest) Reset() { *m = AddClusterHostsRequest{} func (m *AddClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsRequest) ProtoMessage() {} func (*AddClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{28} + return fileDescriptor_fd68e7d7288beb05, []int{28} } + func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsRequest.Unmarshal(m, b) } func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsRequest.Merge(dst, src) +func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsRequest.Merge(m, src) } func (m *AddClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_AddClusterHostsRequest.Size(m) @@ -1711,16 +1753,17 @@ func (m *AddClusterHostsMetadata) Reset() { *m = AddClusterHostsMetadata func (m *AddClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsMetadata) ProtoMessage() {} func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{29} + return fileDescriptor_fd68e7d7288beb05, []int{29} } + func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsMetadata.Unmarshal(m, b) } func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsMetadata.Merge(dst, src) +func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsMetadata.Merge(m, src) } func (m *AddClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterHostsMetadata.Size(m) @@ -1760,16 +1803,17 @@ func (m *DeleteClusterHostsRequest) Reset() { *m = DeleteClusterHostsReq func (m *DeleteClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsRequest) ProtoMessage() {} func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{30} + return fileDescriptor_fd68e7d7288beb05, []int{30} } + func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsRequest.Unmarshal(m, b) } func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsRequest.Merge(dst, src) +func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsRequest.Merge(m, src) } func (m *DeleteClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsRequest.Size(m) @@ -1808,16 +1852,17 @@ func (m *DeleteClusterHostsMetadata) Reset() { *m = DeleteClusterHostsMe func (m *DeleteClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsMetadata) ProtoMessage() {} func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{31} + return fileDescriptor_fd68e7d7288beb05, []int{31} } + func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsMetadata.Unmarshal(m, b) } func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsMetadata.Merge(dst, src) +func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsMetadata.Merge(m, src) } func (m *DeleteClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsMetadata.Size(m) @@ -1857,16 +1902,17 @@ func (m *UpdateClusterHostsRequest) Reset() { *m = UpdateClusterHostsReq func (m *UpdateClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterHostsRequest) ProtoMessage() {} func (*UpdateClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{32} + return fileDescriptor_fd68e7d7288beb05, []int{32} } + func (m *UpdateClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterHostsRequest.Unmarshal(m, b) } func (m *UpdateClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterHostsRequest.Merge(dst, src) +func (m *UpdateClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterHostsRequest.Merge(m, src) } func (m *UpdateClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterHostsRequest.Size(m) @@ -1905,16 +1951,17 @@ func (m *UpdateClusterHostsMetadata) Reset() { *m = UpdateClusterHostsMe func (m *UpdateClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterHostsMetadata) ProtoMessage() {} func (*UpdateClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{33} + return fileDescriptor_fd68e7d7288beb05, []int{33} } + func (m *UpdateClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterHostsMetadata.Unmarshal(m, b) } func (m *UpdateClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterHostsMetadata.Merge(dst, src) +func (m *UpdateClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterHostsMetadata.Merge(m, src) } func (m *UpdateClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterHostsMetadata.Size(m) @@ -1962,16 +2009,17 @@ func (m *UpdateHostSpec) Reset() { *m = UpdateHostSpec{} } func (m *UpdateHostSpec) String() string { return proto.CompactTextString(m) } func (*UpdateHostSpec) ProtoMessage() {} func (*UpdateHostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{34} + return fileDescriptor_fd68e7d7288beb05, []int{34} } + func (m *UpdateHostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateHostSpec.Unmarshal(m, b) } func (m *UpdateHostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateHostSpec.Marshal(b, m, deterministic) } -func (dst *UpdateHostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateHostSpec.Merge(dst, src) +func (m *UpdateHostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateHostSpec.Merge(m, src) } func (m *UpdateHostSpec) XXX_Size() int { return xxx_messageInfo_UpdateHostSpec.Size(m) @@ -2047,16 +2095,17 @@ func (m *HostSpec) Reset() { *m = HostSpec{} } func (m *HostSpec) String() string { return proto.CompactTextString(m) } func (*HostSpec) ProtoMessage() {} func (*HostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{35} + return fileDescriptor_fd68e7d7288beb05, []int{35} } + func (m *HostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HostSpec.Unmarshal(m, b) } func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HostSpec.Marshal(b, m, deterministic) } -func (dst *HostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostSpec.Merge(dst, src) +func (m *HostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostSpec.Merge(m, src) } func (m *HostSpec) XXX_Size() int { return xxx_messageInfo_HostSpec.Size(m) @@ -2129,27 +2178,30 @@ type ConfigSpec struct { Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // Configuration setting which enables/disables autofailover in cluster. Autofailover *wrappers.BoolValue `protobuf:"bytes,6,opt,name=autofailover,proto3" json:"autofailover,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,8,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,8,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,9,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } func (m *ConfigSpec) String() string { return proto.CompactTextString(m) } func (*ConfigSpec) ProtoMessage() {} func (*ConfigSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{36} + return fileDescriptor_fd68e7d7288beb05, []int{36} } + func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec.Unmarshal(m, b) } func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) } -func (dst *ConfigSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec.Merge(dst, src) +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) } func (m *ConfigSpec) XXX_Size() int { return xxx_messageInfo_ConfigSpec.Size(m) @@ -2245,99 +2297,22 @@ func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ConfigSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ConfigSpec_OneofMarshaler, _ConfigSpec_OneofUnmarshaler, _ConfigSpec_OneofSizer, []interface{}{ - (*ConfigSpec_PostgresqlConfig_9_6)(nil), - (*ConfigSpec_PostgresqlConfig_10)(nil), - (*ConfigSpec_PostgresqlConfig_11)(nil), - } -} - -func _ConfigSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ConfigSpec) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ConfigSpec_PostgresqlConfig_9_6: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_9_6); err != nil { - return err - } - case *ConfigSpec_PostgresqlConfig_10: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_10); err != nil { - return err - } - case *ConfigSpec_PostgresqlConfig_11: - b.EncodeVarint(7<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_11); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ConfigSpec.PostgresqlConfig has unexpected type %T", x) +func (m *ConfigSpec) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ConfigSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ConfigSpec) - switch tag { - case 2: // postgresql_config.postgresql_config_9_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfig9_6) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigSpec_PostgresqlConfig_9_6{msg} - return true, err - case 3: // postgresql_config.postgresql_config_10 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfig10) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigSpec_PostgresqlConfig_10{msg} - return true, err - case 7: // postgresql_config.postgresql_config_11 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlConfig11) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigSpec_PostgresqlConfig_11{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConfigSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ConfigSpec_PostgresqlConfig_9_6)(nil), + (*ConfigSpec_PostgresqlConfig_10)(nil), + (*ConfigSpec_PostgresqlConfig_11)(nil), } } -func _ConfigSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ConfigSpec) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ConfigSpec_PostgresqlConfig_9_6: - s := proto.Size(x.PostgresqlConfig_9_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ConfigSpec_PostgresqlConfig_10: - s := proto.Size(x.PostgresqlConfig_10) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ConfigSpec_PostgresqlConfig_11: - s := proto.Size(x.PostgresqlConfig_11) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - type ConfigHostSpec struct { // Types that are valid to be assigned to PostgresqlConfig: // *ConfigHostSpec_PostgresqlConfig_9_6 @@ -2353,16 +2328,17 @@ func (m *ConfigHostSpec) Reset() { *m = ConfigHostSpec{} } func (m *ConfigHostSpec) String() string { return proto.CompactTextString(m) } func (*ConfigHostSpec) ProtoMessage() {} func (*ConfigHostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_ed180847cbf9a03f, []int{37} + return fileDescriptor_fd68e7d7288beb05, []int{37} } + func (m *ConfigHostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigHostSpec.Unmarshal(m, b) } func (m *ConfigHostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigHostSpec.Marshal(b, m, deterministic) } -func (dst *ConfigHostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigHostSpec.Merge(dst, src) +func (m *ConfigHostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigHostSpec.Merge(m, src) } func (m *ConfigHostSpec) XXX_Size() int { return xxx_messageInfo_ConfigHostSpec.Size(m) @@ -2423,100 +2399,17 @@ func (m *ConfigHostSpec) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11 return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ConfigHostSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ConfigHostSpec_OneofMarshaler, _ConfigHostSpec_OneofUnmarshaler, _ConfigHostSpec_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConfigHostSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*ConfigHostSpec_PostgresqlConfig_9_6)(nil), (*ConfigHostSpec_PostgresqlConfig_10)(nil), (*ConfigHostSpec_PostgresqlConfig_11)(nil), } } -func _ConfigHostSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ConfigHostSpec) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ConfigHostSpec_PostgresqlConfig_9_6: - b.EncodeVarint(1<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_9_6); err != nil { - return err - } - case *ConfigHostSpec_PostgresqlConfig_10: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_10); err != nil { - return err - } - case *ConfigHostSpec_PostgresqlConfig_11: - b.EncodeVarint(3<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.PostgresqlConfig_11); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ConfigHostSpec.PostgresqlConfig has unexpected type %T", x) - } - return nil -} - -func _ConfigHostSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ConfigHostSpec) - switch tag { - case 1: // postgresql_config.postgresql_config_9_6 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig9_6) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigHostSpec_PostgresqlConfig_9_6{msg} - return true, err - case 2: // postgresql_config.postgresql_config_10 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig10) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigHostSpec_PostgresqlConfig_10{msg} - return true, err - case 3: // postgresql_config.postgresql_config_11 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.PostgresqlHostConfig11) - err := b.DecodeMessage(msg) - m.PostgresqlConfig = &ConfigHostSpec_PostgresqlConfig_11{msg} - return true, err - default: - return false, nil - } -} - -func _ConfigHostSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ConfigHostSpec) - // postgresql_config - switch x := m.PostgresqlConfig.(type) { - case *ConfigHostSpec_PostgresqlConfig_9_6: - s := proto.Size(x.PostgresqlConfig_9_6) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ConfigHostSpec_PostgresqlConfig_10: - s := proto.Size(x.PostgresqlConfig_10) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *ConfigHostSpec_PostgresqlConfig_11: - s := proto.Size(x.PostgresqlConfig_11) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { + proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) proto.RegisterType((*GetClusterRequest)(nil), "yandex.cloud.mdb.postgresql.v1.GetClusterRequest") proto.RegisterType((*ListClustersRequest)(nil), "yandex.cloud.mdb.postgresql.v1.ListClustersRequest") proto.RegisterType((*ListClustersResponse)(nil), "yandex.cloud.mdb.postgresql.v1.ListClustersResponse") @@ -2559,7 +2452,185 @@ func init() { proto.RegisterType((*HostSpec)(nil), "yandex.cloud.mdb.postgresql.v1.HostSpec") proto.RegisterType((*ConfigSpec)(nil), "yandex.cloud.mdb.postgresql.v1.ConfigSpec") proto.RegisterType((*ConfigHostSpec)(nil), "yandex.cloud.mdb.postgresql.v1.ConfigHostSpec") - proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/cluster_service.proto", fileDescriptor_fd68e7d7288beb05) +} + +var fileDescriptor_fd68e7d7288beb05 = []byte{ + // 2728 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcf, 0x6f, 0x1b, 0xd7, + 0xf1, 0xcf, 0x4a, 0x14, 0x45, 0x0e, 0x6d, 0xc6, 0x7e, 0x92, 0x1d, 0x86, 0x89, 0x1d, 0x99, 0xdf, + 0x24, 0x96, 0x19, 0xf3, 0xa7, 0x64, 0xda, 0x54, 0x6c, 0xc7, 0xa2, 0x2c, 0x3b, 0xc2, 0x57, 0xb2, + 0x94, 0x95, 0x9d, 0x20, 0x31, 0x5c, 0x62, 0xc9, 0x7d, 0xa2, 0x17, 0x26, 0x77, 0xd7, 0xbb, 0x4b, + 0x3a, 0x72, 0x91, 0x22, 0x4d, 0x80, 0x1e, 0x7c, 0x2a, 0x5a, 0xa0, 0x45, 0x52, 0xa0, 0xfd, 0x07, + 0x7a, 0xa9, 0x0e, 0x0d, 0x10, 0xb4, 0x39, 0xe4, 0x62, 0xf7, 0xd2, 0x02, 0xce, 0xbf, 0x90, 0x43, + 0x0f, 0x45, 0x0f, 0x39, 0x15, 0x3d, 0x15, 0xef, 0xc7, 0x92, 0xbb, 0x22, 0xa9, 0xdd, 0x25, 0x6d, + 0x20, 0x27, 0x69, 0xdf, 0x7b, 0x33, 0xf3, 0x99, 0x79, 0xf3, 0xe6, 0xcd, 0xcc, 0x23, 0x2c, 0xee, + 0x4a, 0xaa, 0x8c, 0x3f, 0xce, 0xd5, 0x9b, 0x5a, 0x5b, 0xce, 0xb5, 0xe4, 0x5a, 0x4e, 0xd7, 0x4c, + 0xab, 0x61, 0x60, 0xf3, 0x7e, 0x33, 0xd7, 0x29, 0xe4, 0xea, 0xcd, 0xb6, 0x69, 0x61, 0xa3, 0x6a, + 0x62, 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a, 0x85, 0x29, 0xc1, 0xc2, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xf2, 0x30, 0x44, 0x4b, 0xed, 0x2e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2817,6 +2888,62 @@ type ClusterServiceServer interface { UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error) } +// UnimplementedClusterServiceServer can be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { +} + +func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedClusterServiceServer) Move(ctx context.Context, req *MoveClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Backup not implemented") +} +func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented") +} +func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogs not implemented") +} +func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListHosts not implemented") +} +func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHosts not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteHosts not implemented") +} +func (*UnimplementedClusterServiceServer) UpdateHosts(ctx context.Context, req *UpdateClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateHosts not implemented") +} + func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer) { s.RegisterService(&_ClusterService_serviceDesc, srv) } @@ -3203,179 +3330,3 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/postgresql/v1/cluster_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/cluster_service.proto", fileDescriptor_cluster_service_ed180847cbf9a03f) -} - -var fileDescriptor_cluster_service_ed180847cbf9a03f = []byte{ - // 2686 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4f, 0x6f, 0x1b, 0xd7, - 0x11, 0xcf, 0x4a, 0x14, 0x45, 0x0e, 0x6d, 0xc6, 0x7e, 0x92, 0x1d, 0x86, 0x89, 0x1d, 0x99, 0x4d, - 0x62, 0x99, 0x31, 0xff, 0x4a, 0xa6, 0x4d, 0xc5, 0x76, 0x6c, 0xca, 0xb2, 0x23, 0x54, 0xb2, 0x94, - 0x95, 0x9c, 0x20, 0x31, 0x0c, 0x62, 0xc9, 0x7d, 0xa2, 0x17, 0x22, 0x77, 0xd7, 0xbb, 0x4b, 0x39, - 0x72, 0x91, 0x22, 0x4d, 0x80, 0x1e, 0x7c, 0x2a, 0x5a, 0xa0, 0x45, 0xd2, 0xa2, 0x9f, 0xa0, 0x97, - 0xea, 0xd0, 0x14, 0x41, 0x91, 0x43, 0x2e, 0x76, 0x2f, 0x2d, 0xa0, 0x7c, 0x85, 0x1c, 0x7a, 0x28, - 0x7a, 0xc8, 0xb1, 0xa7, 0xe2, 0xfd, 0x59, 0x72, 0x57, 0x24, 0xb5, 0xbb, 0xa4, 0x8d, 0xe6, 0x24, - 0xee, 0x7b, 0x6f, 0x66, 0x7e, 0x33, 0x6f, 0xde, 0xbc, 0x99, 0x79, 0x82, 0xf9, 0x5d, 0x49, 0x95, - 0xf1, 0xc7, 0xb9, 0x7a, 0x53, 0x6b, 0xcb, 0xb9, 0x96, 0x5c, 0xcb, 0xe9, 0x9a, 0x69, 0x35, 0x0c, - 0x6c, 0x3e, 0x68, 0xe6, 0x76, 0x0a, 0xb9, 0x7a, 0xb3, 0x6d, 0x5a, 0xd8, 0xa8, 0x9a, 0xd8, 0xd8, - 0x51, 0xea, 0x38, 0xab, 0x1b, 0x9a, 0xa5, 0xa1, 0xd3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1e, 0x49, 0xb2, 0xb6, 0x05, 0x3b, 0x84, 0xe8, 0x4d, 0x78, 0x51, 0xc5, 0x1f, 0x5b, - 0x55, 0x07, 0x60, 0xa2, 0x5a, 0x54, 0x3c, 0x4a, 0x86, 0xd7, 0x6d, 0xa4, 0xa9, 0x7f, 0x86, 0x61, - 0x7a, 0xd1, 0xc0, 0x92, 0x85, 0x0f, 0xec, 0x42, 0x00, 0x03, 0x16, 0x21, 0xa4, 0x4a, 0x2d, 0x66, - 0xbb, 0x68, 0xe5, 0x34, 0x59, 0xf5, 0xc3, 0x93, 0x42, 0xfc, 0xae, 0x94, 0x79, 0x74, 0x3d, 0xf3, - 0x51, 0x3e, 0x53, 0xae, 0x66, 0xee, 0xa5, 0x19, 0x5d, 0x69, 0x4e, 0xa4, 0x6b, 0xd1, 0x5b, 0x10, - 0x93, 0xb1, 0x59, 0x37, 0x14, 0x9d, 0xc4, 0x03, 0xb7, 0x31, 0x8b, 0x17, 0x4a, 0xa2, 0x73, 0x16, - 0x7d, 0x21, 0x40, 0xb8, 0x29, 0xd5, 0x70, 0xd3, 0x4c, 0x84, 0xa8, 0x41, 0xae, 0x79, 0x1a, 0xa4, - 0x8f, 0x4a, 0xd9, 0x15, 0xca, 0x62, 0x49, 0xb5, 0x8c, 0xdd, 0xca, 0x3b, 0x3f, 0x3c, 0x29, 0xc4, - 0xee, 0x66, 0xaa, 0xf9, 0x4c, 0x59, 0xca, 0x3c, 0xba, 0x97, 0xfe, 0x8c, 0xc1, 0x9b, 0xb7, 0x61, - 0xee, 0x3d, 0x2d, 0x84, 0x93, 0xf6, 0x2f, 0x84, 0x8e, 0x11, 0x65, 0xee, 0x39, 0xd6, 0x8b, 0x1c, - 0x10, 0xba, 0x0b, 0x31, 0xac, 0xee, 0x28, 0x86, 0xa6, 0xb6, 0xb0, 0x6a, 0x25, 0x26, 0x66, 0x84, - 0xd9, 0x78, 0x71, 0xce, 0xe7, 0x86, 0x65, 0x97, 0xba, 0xa4, 0x95, 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 0xb7, 0xfb, 0x5e, 0x80, - 0xc8, 0x75, 0x59, 0x66, 0xd8, 0x3d, 0xcf, 0x42, 0xff, 0xce, 0x9d, 0x9f, 0xc3, 0xfc, 0xc9, 0xde, - 0x7e, 0x3a, 0x3f, 0xb8, 0xc5, 0x76, 0xc8, 0xe5, 0xbc, 0x98, 0xba, 0x1a, 0x5c, 0xaf, 0x85, 0x9a, - 0x64, 0xd5, 0xef, 0xb3, 0xec, 0x8b, 0x1c, 0xf9, 0xff, 0x08, 0x10, 0x63, 0x69, 0x01, 0xd3, 0xb4, - 0x1c, 0x28, 0x05, 0x09, 0xaa, 0xec, 0xa7, 0xc2, 0xde, 0x7e, 0x7a, 0xee, 0xd0, 0xee, 0xdb, 0xf3, - 0x51, 0x98, 0x09, 0xb4, 0x15, 0xee, 0x36, 0xa5, 0x7c, 0x28, 0x3c, 0xb0, 0x99, 0x17, 0x44, 0xe1, - 0x43, 0x7a, 0x6c, 0xcf, 0x47, 0x61, 0x26, 0x70, 0x41, 0x48, 0x57, 0xd6, 0x3e, 0x5a, 0x6d, 0x28, - 0xd6, 0xfd, 0x76, 0x2d, 0x5b, 0xd7, 0x5a, 0x39, 0x86, 0x38, 0xc3, 0xfe, 0x25, 0xb6, 0xa1, 0x65, - 0x1a, 0x58, 0xa5, 0x82, 0x73, 0x87, 0xff, 0xaf, 0xec, 0xdb, 0xdd, 0xaf, 0x5a, 0x98, 0x12, 0xcc, - 0xfd, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xdc, 0x4b, 0x0b, 0xe0, 0x83, 0x2e, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host10.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host10.pb.go index a78d23c19..2abc99f77 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host10.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host10.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/host10.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlHostConfig10_ConstraintExclusion int32 @@ -35,6 +37,7 @@ var PostgresqlHostConfig10_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlHostConfig10_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -45,8 +48,9 @@ var PostgresqlHostConfig10_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlHostConfig10_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlHostConfig10_ConstraintExclusion_name, int32(x)) } + func (PostgresqlHostConfig10_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 0} + return fileDescriptor_53efe89f28d25315, []int{0, 0} } type PostgresqlHostConfig10_ForceParallelMode int32 @@ -64,6 +68,7 @@ var PostgresqlHostConfig10_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlHostConfig10_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -74,8 +79,9 @@ var PostgresqlHostConfig10_ForceParallelMode_value = map[string]int32{ func (x PostgresqlHostConfig10_ForceParallelMode) String() string { return proto.EnumName(PostgresqlHostConfig10_ForceParallelMode_name, int32(x)) } + func (PostgresqlHostConfig10_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 1} + return fileDescriptor_53efe89f28d25315, []int{0, 1} } type PostgresqlHostConfig10_LogLevel int32 @@ -109,6 +115,7 @@ var PostgresqlHostConfig10_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlHostConfig10_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -127,8 +134,9 @@ var PostgresqlHostConfig10_LogLevel_value = map[string]int32{ func (x PostgresqlHostConfig10_LogLevel) String() string { return proto.EnumName(PostgresqlHostConfig10_LogLevel_name, int32(x)) } + func (PostgresqlHostConfig10_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 2} + return fileDescriptor_53efe89f28d25315, []int{0, 2} } type PostgresqlHostConfig10_LogErrorVerbosity int32 @@ -146,6 +154,7 @@ var PostgresqlHostConfig10_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlHostConfig10_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -156,8 +165,9 @@ var PostgresqlHostConfig10_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlHostConfig10_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlHostConfig10_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlHostConfig10_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 3} + return fileDescriptor_53efe89f28d25315, []int{0, 3} } type PostgresqlHostConfig10_LogStatement int32 @@ -177,6 +187,7 @@ var PostgresqlHostConfig10_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlHostConfig10_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -188,8 +199,9 @@ var PostgresqlHostConfig10_LogStatement_value = map[string]int32{ func (x PostgresqlHostConfig10_LogStatement) String() string { return proto.EnumName(PostgresqlHostConfig10_LogStatement_name, int32(x)) } + func (PostgresqlHostConfig10_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 4} + return fileDescriptor_53efe89f28d25315, []int{0, 4} } type PostgresqlHostConfig10_TransactionIsolation int32 @@ -209,6 +221,7 @@ var PostgresqlHostConfig10_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlHostConfig10_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -220,8 +233,9 @@ var PostgresqlHostConfig10_TransactionIsolation_value = map[string]int32{ func (x PostgresqlHostConfig10_TransactionIsolation) String() string { return proto.EnumName(PostgresqlHostConfig10_TransactionIsolation_name, int32(x)) } + func (PostgresqlHostConfig10_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 5} + return fileDescriptor_53efe89f28d25315, []int{0, 5} } type PostgresqlHostConfig10_ByteaOutput int32 @@ -237,6 +251,7 @@ var PostgresqlHostConfig10_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlHostConfig10_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -246,8 +261,9 @@ var PostgresqlHostConfig10_ByteaOutput_value = map[string]int32{ func (x PostgresqlHostConfig10_ByteaOutput) String() string { return proto.EnumName(PostgresqlHostConfig10_ByteaOutput_name, int32(x)) } + func (PostgresqlHostConfig10_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 6} + return fileDescriptor_53efe89f28d25315, []int{0, 6} } type PostgresqlHostConfig10_XmlBinary int32 @@ -263,6 +279,7 @@ var PostgresqlHostConfig10_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlHostConfig10_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -272,8 +289,9 @@ var PostgresqlHostConfig10_XmlBinary_value = map[string]int32{ func (x PostgresqlHostConfig10_XmlBinary) String() string { return proto.EnumName(PostgresqlHostConfig10_XmlBinary_name, int32(x)) } + func (PostgresqlHostConfig10_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 7} + return fileDescriptor_53efe89f28d25315, []int{0, 7} } type PostgresqlHostConfig10_XmlOption int32 @@ -289,6 +307,7 @@ var PostgresqlHostConfig10_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlHostConfig10_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -298,8 +317,9 @@ var PostgresqlHostConfig10_XmlOption_value = map[string]int32{ func (x PostgresqlHostConfig10_XmlOption) String() string { return proto.EnumName(PostgresqlHostConfig10_XmlOption_name, int32(x)) } + func (PostgresqlHostConfig10_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 8} + return fileDescriptor_53efe89f28d25315, []int{0, 8} } type PostgresqlHostConfig10_BackslashQuote int32 @@ -319,6 +339,7 @@ var PostgresqlHostConfig10_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlHostConfig10_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -330,8 +351,9 @@ var PostgresqlHostConfig10_BackslashQuote_value = map[string]int32{ func (x PostgresqlHostConfig10_BackslashQuote) String() string { return proto.EnumName(PostgresqlHostConfig10_BackslashQuote_name, int32(x)) } + func (PostgresqlHostConfig10_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0, 9} + return fileDescriptor_53efe89f28d25315, []int{0, 9} } // Options and structure of `PostgresqlHostConfig` reflects PostgreSQL configuration file @@ -390,6 +412,19 @@ type PostgresqlHostConfig10 struct { ExitOnError *wrappers.BoolValue `protobuf:"bytes,50,opt,name=exit_on_error,json=exitOnError,proto3" json:"exit_on_error,omitempty"` SeqPageCost *wrappers.DoubleValue `protobuf:"bytes,51,opt,name=seq_page_cost,json=seqPageCost,proto3" json:"seq_page_cost,omitempty"` RandomPageCost *wrappers.DoubleValue `protobuf:"bytes,52,opt,name=random_page_cost,json=randomPageCost,proto3" json:"random_page_cost,omitempty"` + EnableBitmapscan *wrappers.BoolValue `protobuf:"bytes,54,opt,name=enable_bitmapscan,json=enableBitmapscan,proto3" json:"enable_bitmapscan,omitempty"` + EnableHashagg *wrappers.BoolValue `protobuf:"bytes,55,opt,name=enable_hashagg,json=enableHashagg,proto3" json:"enable_hashagg,omitempty"` + EnableHashjoin *wrappers.BoolValue `protobuf:"bytes,56,opt,name=enable_hashjoin,json=enableHashjoin,proto3" json:"enable_hashjoin,omitempty"` + EnableIndexscan *wrappers.BoolValue `protobuf:"bytes,57,opt,name=enable_indexscan,json=enableIndexscan,proto3" json:"enable_indexscan,omitempty"` + EnableIndexonlyscan *wrappers.BoolValue `protobuf:"bytes,58,opt,name=enable_indexonlyscan,json=enableIndexonlyscan,proto3" json:"enable_indexonlyscan,omitempty"` + EnableMaterial *wrappers.BoolValue `protobuf:"bytes,59,opt,name=enable_material,json=enableMaterial,proto3" json:"enable_material,omitempty"` + EnableMergejoin *wrappers.BoolValue `protobuf:"bytes,60,opt,name=enable_mergejoin,json=enableMergejoin,proto3" json:"enable_mergejoin,omitempty"` + EnableNestloop *wrappers.BoolValue `protobuf:"bytes,61,opt,name=enable_nestloop,json=enableNestloop,proto3" json:"enable_nestloop,omitempty"` + EnableSeqscan *wrappers.BoolValue `protobuf:"bytes,62,opt,name=enable_seqscan,json=enableSeqscan,proto3" json:"enable_seqscan,omitempty"` + EnableSort *wrappers.BoolValue `protobuf:"bytes,63,opt,name=enable_sort,json=enableSort,proto3" json:"enable_sort,omitempty"` + EnableTidscan *wrappers.BoolValue `protobuf:"bytes,64,opt,name=enable_tidscan,json=enableTidscan,proto3" json:"enable_tidscan,omitempty"` + MaxParallelWorkers *wrappers.Int64Value `protobuf:"bytes,65,opt,name=max_parallel_workers,json=maxParallelWorkers,proto3" json:"max_parallel_workers,omitempty"` + MaxParallelWorkersPerGather *wrappers.Int64Value `protobuf:"bytes,66,opt,name=max_parallel_workers_per_gather,json=maxParallelWorkersPerGather,proto3" json:"max_parallel_workers_per_gather,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -399,16 +434,17 @@ func (m *PostgresqlHostConfig10) Reset() { *m = PostgresqlHostConfig10{} func (m *PostgresqlHostConfig10) String() string { return proto.CompactTextString(m) } func (*PostgresqlHostConfig10) ProtoMessage() {} func (*PostgresqlHostConfig10) Descriptor() ([]byte, []int) { - return fileDescriptor_host10_c67a1089e8774ac3, []int{0} + return fileDescriptor_53efe89f28d25315, []int{0} } + func (m *PostgresqlHostConfig10) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlHostConfig10.Unmarshal(m, b) } func (m *PostgresqlHostConfig10) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlHostConfig10.Marshal(b, m, deterministic) } -func (dst *PostgresqlHostConfig10) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlHostConfig10.Merge(dst, src) +func (m *PostgresqlHostConfig10) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlHostConfig10.Merge(m, src) } func (m *PostgresqlHostConfig10) XXX_Size() int { return xxx_messageInfo_PostgresqlHostConfig10.Size(m) @@ -783,8 +819,98 @@ func (m *PostgresqlHostConfig10) GetRandomPageCost() *wrappers.DoubleValue { return nil } +func (m *PostgresqlHostConfig10) GetEnableBitmapscan() *wrappers.BoolValue { + if m != nil { + return m.EnableBitmapscan + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableHashagg() *wrappers.BoolValue { + if m != nil { + return m.EnableHashagg + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableHashjoin() *wrappers.BoolValue { + if m != nil { + return m.EnableHashjoin + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableIndexscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexscan + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableIndexonlyscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexonlyscan + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableMaterial() *wrappers.BoolValue { + if m != nil { + return m.EnableMaterial + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableMergejoin() *wrappers.BoolValue { + if m != nil { + return m.EnableMergejoin + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableNestloop() *wrappers.BoolValue { + if m != nil { + return m.EnableNestloop + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableSeqscan() *wrappers.BoolValue { + if m != nil { + return m.EnableSeqscan + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableSort() *wrappers.BoolValue { + if m != nil { + return m.EnableSort + } + return nil +} + +func (m *PostgresqlHostConfig10) GetEnableTidscan() *wrappers.BoolValue { + if m != nil { + return m.EnableTidscan + } + return nil +} + +func (m *PostgresqlHostConfig10) GetMaxParallelWorkers() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkers + } + return nil +} + +func (m *PostgresqlHostConfig10) GetMaxParallelWorkersPerGather() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkersPerGather + } + return nil +} + func init() { - proto.RegisterType((*PostgresqlHostConfig10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_ConstraintExclusion", PostgresqlHostConfig10_ConstraintExclusion_name, PostgresqlHostConfig10_ConstraintExclusion_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_ForceParallelMode", PostgresqlHostConfig10_ForceParallelMode_name, PostgresqlHostConfig10_ForceParallelMode_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_LogLevel", PostgresqlHostConfig10_LogLevel_name, PostgresqlHostConfig10_LogLevel_value) @@ -795,151 +921,166 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_XmlBinary", PostgresqlHostConfig10_XmlBinary_name, PostgresqlHostConfig10_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_XmlOption", PostgresqlHostConfig10_XmlOption_name, PostgresqlHostConfig10_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10_BackslashQuote", PostgresqlHostConfig10_BackslashQuote_name, PostgresqlHostConfig10_BackslashQuote_value) + proto.RegisterType((*PostgresqlHostConfig10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig10") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host10.proto", fileDescriptor_host10_c67a1089e8774ac3) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host10.proto", fileDescriptor_53efe89f28d25315) } -var fileDescriptor_host10_c67a1089e8774ac3 = []byte{ - // 2210 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0xdb, 0x6f, 0xdb, 0xc8, - 0xf5, 0xc7, 0x7f, 0xb2, 0xb3, 0xd9, 0x64, 0x7c, 0xa3, 0x46, 0xbe, 0x30, 0xf6, 0xe6, 0xb2, 0xda, - 0x4d, 0x7e, 0xd9, 0x6d, 0x2d, 0x59, 0x8e, 0x9b, 0x0d, 0xb0, 0xe8, 0x62, 0x29, 0x89, 0x72, 0xd4, - 0x52, 0xa2, 0x42, 0xd2, 0x8e, 0x37, 0xc5, 0x62, 0x30, 0x22, 0x47, 0x12, 0x9b, 0x21, 0x87, 0xe6, - 0x50, 0xbe, 0x14, 0x28, 0xfa, 0xd2, 0xa7, 0x3e, 0xf6, 0xa1, 0x40, 0xfb, 0x0f, 0x05, 0xfd, 0x47, - 0xfa, 0x47, 0xe4, 0xa9, 0x18, 0x52, 0xd4, 0xc5, 0x56, 0x4b, 0xa3, 0xce, 0x5b, 0x74, 0xe6, 0x7c, - 0x3f, 0xe7, 0x70, 0xce, 0x19, 0xf2, 0x4c, 0x0c, 0xf6, 0x2f, 0xb1, 0xef, 0x90, 0x8b, 0xb2, 0x4d, - 0xd9, 0xd0, 0x29, 0x7b, 0x4e, 0xb7, 0x1c, 0x30, 0x1e, 0xf5, 0x43, 0xc2, 0x4f, 0x69, 0xf9, 0xac, - 0x52, 0xb6, 0x99, 0xdf, 0x73, 0xfb, 0xe5, 0x01, 0xe3, 0x51, 0x65, 0xaf, 0x14, 0x84, 0x2c, 0x62, - 0xf0, 0x69, 0xa2, 0x29, 0xc5, 0x9a, 0x92, 0xe7, 0x74, 0x4b, 0x13, 0x4d, 0xe9, 0xac, 0x52, 0x4a, - 0x34, 0xdb, 0x8f, 0xfa, 0x8c, 0xf5, 0x29, 0x29, 0xc7, 0xa2, 0xee, 0xb0, 0x57, 0x3e, 0x0f, 0x71, - 0x10, 0x90, 0x90, 0x27, 0x98, 0xed, 0x87, 0x33, 0xa1, 0xcf, 0x30, 0x75, 0x1d, 0x1c, 0xb9, 0xcc, - 0x4f, 0x96, 0x8b, 0xff, 0x2c, 0x83, 0xcd, 0xce, 0x98, 0xfb, 0x9a, 0xf1, 0xa8, 0x16, 0x73, 0x2b, - 0x7b, 0xd0, 0x02, 0x72, 0x48, 0x6c, 0x76, 0x46, 0xc2, 0x4b, 0xe4, 0xb9, 0x3e, 0xc2, 0x41, 0x40, - 0x2f, 0x91, 0x43, 0x28, 0xbe, 0x94, 0x73, 0x4f, 0x72, 0xcf, 0x97, 0xf6, 0x77, 0x4a, 0x49, 0xf0, - 0x52, 0x1a, 0xbc, 0xd4, 0xf4, 0xa3, 0x97, 0x07, 0xc7, 0x98, 0x0e, 0x89, 0xb1, 0x91, 0x8a, 0x5b, - 0xae, 0xaf, 0x08, 0x69, 0x5d, 0x28, 0x61, 0x15, 0xac, 0xf2, 0x01, 0x0e, 0x89, 0x83, 0xba, 0xc3, - 0x5e, 0x8f, 0x84, 0x5c, 0x5e, 0xc8, 0x66, 0xad, 0x24, 0x92, 0x6a, 0xa2, 0x80, 0x3f, 0x80, 0xe5, - 0x88, 0x78, 0xc1, 0x98, 0xb0, 0x98, 0x4d, 0x58, 0x12, 0x82, 0x54, 0xff, 0x12, 0xdc, 0x3b, 0x67, - 0xe1, 0x7b, 0xe4, 0x11, 0x4f, 0xbe, 0x93, 0xad, 0xfd, 0x5c, 0x38, 0xb7, 0x88, 0x07, 0x4d, 0xb0, - 0x15, 0x92, 0x80, 0x62, 0x9b, 0x78, 0xc4, 0x8f, 0x10, 0x67, 0x61, 0x84, 0xa2, 0x61, 0x40, 0x09, - 0x97, 0x3f, 0xbb, 0xd1, 0x86, 0x8c, 0xb5, 0x26, 0x0b, 0x23, 0x2b, 0x56, 0xc2, 0x1a, 0x58, 0x8b, - 0x1f, 0xa6, 0xe7, 0x52, 0x82, 0xa8, 0xeb, 0xb9, 0x91, 0x7c, 0xf7, 0x06, 0x3b, 0x22, 0x34, 0x0d, - 0x97, 0x12, 0x4d, 0x28, 0xe0, 0x5b, 0x50, 0xe8, 0x62, 0xfb, 0x3d, 0xf1, 0x1d, 0xd4, 0xa3, 0x43, - 0x3e, 0x40, 0xb8, 0x17, 0x91, 0x50, 0xfe, 0x3c, 0x13, 0x54, 0x05, 0x1f, 0x3f, 0x54, 0xee, 0xee, - 0xed, 0xee, 0xef, 0x1d, 0xbc, 0x32, 0xf2, 0x23, 0x46, 0x43, 0x20, 0x14, 0x41, 0x80, 0x08, 0x6c, - 0x32, 0xea, 0x20, 0xee, 0xe3, 0x80, 0x0f, 0x58, 0x84, 0xa2, 0x41, 0x48, 0xf8, 0x80, 0x51, 0x47, - 0xbe, 0x97, 0xcd, 0x5e, 0xfe, 0xf8, 0xa1, 0x72, 0x6f, 0xb7, 0xb2, 0xfb, 0xea, 0xe5, 0xc1, 0xde, - 0x9e, 0xb1, 0xce, 0xa8, 0x63, 0x8e, 0x38, 0x56, 0x8a, 0x81, 0xef, 0xc0, 0x8e, 0x87, 0x2f, 0x10, - 0x8f, 0xb0, 0xef, 0x74, 0x2f, 0x11, 0x8f, 0x42, 0x82, 0x3d, 0xd7, 0xef, 0x8f, 0x1a, 0xed, 0x7e, - 0xf6, 0x56, 0xc8, 0x1e,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 0x9a, 0xe0, 0x19, 0x28, 0xd8, 0xd4, - 0x15, 0x47, 0x58, 0xbc, 0xd7, 0x3c, 0xc2, 0x39, 0xee, 0x13, 0x2e, 0xaf, 0xc5, 0x09, 0x34, 0x6e, - 0x97, 0x80, 0xc6, 0xfa, 0x1a, 0x39, 0x23, 0xd4, 0xc8, 0x27, 0x21, 0x5a, 0xae, 0xdf, 0x1a, 0x05, - 0x80, 0x01, 0x90, 0x28, 0xeb, 0xcf, 0x06, 0x95, 0x3e, 0x69, 0xd0, 0x55, 0xca, 0xfa, 0xd3, 0x11, - 0xff, 0x08, 0xb6, 0xd2, 0x88, 0x24, 0x0c, 0x59, 0x28, 0xce, 0x59, 0x14, 0xbf, 0x81, 0xe4, 0xfc, - 0x27, 0x0d, 0xbc, 0x9e, 0x04, 0x56, 0x45, 0x10, 0x33, 0x8d, 0x01, 0x4f, 0xc0, 0x76, 0x1a, 0xde, - 0x19, 0x86, 0xf1, 0x77, 0x67, 0x2a, 0x03, 0x98, 0x7d, 0xb6, 0xb7, 0x12, 0x6c, 0x7d, 0x24, 0x9e, - 0x90, 0x6b, 0x60, 0x4d, 0x90, 0xed, 0x01, 0xb1, 0xdf, 0x07, 0xcc, 0xf5, 0x23, 0x2e, 0x17, 0x62, - 0xdc, 0xf6, 0x35, 0x5c, 0x95, 0x31, 0x9a, 0xd0, 0xc4, 0xee, 0xd4, 0x26, 0x8a, 0x31, 0x84, 0xf9, - 0x3e, 0x89, 0x0f, 0x16, 0x97, 0xd7, 0x6f, 0x06, 0x99, 0x28, 0x60, 0x13, 0x40, 0x01, 0x71, 0x5c, - 0x3e, 0xcd, 0xd9, 0xc8, 0xe4, 0xe4, 0x29, 0xeb, 0xd7, 0x67, 0x44, 0xf0, 0xd7, 0x60, 0x39, 0x46, - 0x8d, 0x9e, 0x56, 0xde, 0xcc, 0x84, 0x2c, 0x09, 0xc8, 0xc8, 0x5d, 0x9c, 0x2b, 0x21, 0x4f, 0x0a, - 0x7d, 0x46, 0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0x70, 0x55, - 0xa5, 0xb7, 0xa5, 0x05, 0x91, 0xd1, 0x35, 0x7b, 0xa3, 0x21, 0x2d, 0xc2, 0x2f, 0xc1, 0xc3, 0xab, - 0x0b, 0xa6, 0xd2, 0x50, 0x91, 0xda, 0xae, 0xe9, 0x75, 0x71, 0xf0, 0xef, 0x54, 0x8f, 0xdf, 0x59, - 0x7d, 0x37, 0x1a, 0x0c, 0xbb, 0x25, 0x9b, 0x79, 0xe5, 0x64, 0x82, 0xdb, 0x4d, 0xfe, 0xdf, 0xbf, - 0xcf, 0x76, 0xfb, 0xc4, 0x8f, 0x3f, 0x23, 0xe5, 0x1b, 0xfd, 0x2d, 0xe2, 0xfb, 0x89, 0xb1, 0x7b, - 0x37, 0xd6, 0xbd, 0xf8, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0xeb, 0xa2, 0x8a, 0xc6, 0x18, - 0x00, 0x00, +var fileDescriptor_53efe89f28d25315 = []byte{ + // 2444 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0x5b, 0x77, 0xdb, 0xc6, + 0xb5, 0xc7, 0x0f, 0x25, 0xc7, 0xb1, 0x47, 0x37, 0x70, 0xa8, 0x0b, 0x2c, 0xc5, 0x97, 0x28, 0x71, + 0x8e, 0x93, 0x73, 0x44, 0x5d, 0xac, 0x63, 0xfb, 0x34, 0x4d, 0x1a, 0x90, 0x04, 0x65, 0xb6, 0x24, + 0xc1, 0x00, 0x90, 0xed, 0xa4, 0x2b, 0x6b, 0xd6, 0x10, 0x18, 0x92, 0xa8, 0x01, 0x0c, 0x3c, 0x03, + 0xea, 0xd2, 0xb5, 0xba, 0xfa, 0xd2, 0xa7, 0x3e, 0xf4, 0xa1, 0x0f, 0x5d, 0xab, 0xfd, 0x42, 0xf9, + 0x26, 0xfd, 0x10, 0x79, 0xea, 0x9a, 0x01, 0xc0, 0x8b, 0xc4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x94, 0x7a, 0x94, 0x39, 0x04, + 0x45, 0x98, 0x61, 0xdf, 0x27, 0x3e, 0x0a, 0xa8, 0x4b, 0xd4, 0x55, 0x99, 0x14, 0xe3, 0x66, 0x49, + 0xa9, 0x0b, 0x70, 0x27, 0xe5, 0xb6, 0xa8, 0x4b, 0xcc, 0x62, 0xef, 0xaa, 0x09, 0x9e, 0x81, 0x92, + 0xe3, 0x7b, 0x62, 0x09, 0x8b, 0x7d, 0x2d, 0x20, 0x9c, 0xe3, 0x3e, 0xe1, 0xea, 0x9a, 0x0c, 0xa0, + 0x7e, 0xb3, 0x00, 0x9a, 0xb4, 0xdf, 0x24, 0x67, 0xc4, 0x37, 0x8b, 0x89, 0x8b, 0x96, 0x17, 0xb6, + 0x52, 0x07, 0x30, 0x02, 0x8a, 0x4f, 0xfb, 0xd3, 0x4e, 0x95, 0xf7, 0xea, 0x74, 0xd5, 0xa7, 0xfd, + 0x49, 0x8f, 0xbf, 0x03, 0x5b, 0x99, 0x47, 0xc2, 0x18, 0x65, 0x62, 0x9d, 0xc5, 0x72, 0x07, 0x52, + 0x8b, 0xef, 0xd5, 0xf1, 0x7a, 0xe2, 0x58, 0x17, 0x4e, 0xac, 0xcc, 0x07, 0x7c, 0x03, 0xb6, 0x33, + 0xf7, 0xee, 0x90, 0xc9, 0x73, 0x67, 0x22, 0x02, 0x98, 0xbf, 0xb6, 0xb7, 0x12, 0x6c, 0x2d, 0x15, + 0x8f, 0xc9, 0x55, 0xb0, 0x26, 0xc8, 0xce, 0x80, 0x38, 0x6f, 0x23, 0xea, 0x85, 0x31, 0x57, 0x4b, + 0x12, 0xb7, 0x7d, 0x0d, 0x57, 0xa1, 0xd4, 0x4f, 0x68, 0x62, 0x76, 0xaa, 0x63, 0xc5, 0x08, 0x42, + 0xc3, 0x90, 0xc8, 0x85, 0xc5, 0xd5, 0xf5, 0xf9, 0x20, 0x63, 0x05, 0x6c, 0x00, 0x28, 0x20, 0xae, + 0xc7, 0x27, 0x39, 0x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 0x49, 0x95, 0x72, + 0xb9, 0x87, 0x31, 0x1c, 0xba, 0x34, 0x98, 0x80, 0x1c, 0xcf, 0x01, 0x59, 0x4d, 0x54, 0x23, 0xce, + 0x09, 0x28, 0x92, 0x10, 0x77, 0x7d, 0x82, 0xba, 0x5e, 0x1c, 0xe0, 0x48, 0xcc, 0x97, 0xfa, 0x2c, + 0x77, 0x34, 0x4a, 0x22, 0xaa, 0x8c, 0x34, 0xe2, 0x4e, 0x94, 0x82, 0x06, 0x98, 0x0f, 0x70, 0xbf, + 0xaf, 0x3e, 0xcf, 0xa5, 0xac, 0x24, 0x8a, 0x97, 0x89, 0x40, 0xdc, 0xac, 0x27, 0x10, 0xe2, 0x09, + 0xa8, 0xbe, 0xc8, 0xbf, 0x59, 0x8f, 0x19, 0x42, 0x01, 0x75, 0x90, 0xc6, 0x86, 0x3c, 0xb1, 0x19, + 0xc9, 0xf1, 0xfc, 0x7f, 0xfe, 0x36, 0x91, 0x68, 0x1a, 0x99, 0x44, 0x14, 0xe0, 0x24, 0x86, 0x86, + 0xfe, 0xa5, 0x44, 0xfd, 0x6c, 0x8e, 0x5d, 0x62, 0x8c, 0xca, 0x64, 0x13, 0x43, 0x0b, 0x70, 0x4c, + 0x98, 0x87, 0x7d, 0xf5, 0xcb, 0x79, 0x87, 0xd6, 0x4a, 0x15, 0x13, 0x43, 0x0b, 0x08, 0xeb, 0x13, + 0x39, 0x41, 0x3f, 0x9f, 0x77, 0x68, 0xad, 0x4c, 0x32, 0x11, 0x4b, 0x48, 0x78, 0xec, 0x53, 0x1a, + 0xa9, 0x5f, 0xcd, 0x1b, 0x4b, 0x3b, 0x55, 0x4c, 0xa4, 0x3b, 0x5d, 0x9b, 0xea, 0xd7, 0xf3, 0xa6, + 0x3b, 0x5d, 0x95, 0xe2, 0x14, 0xca, 0x10, 0x94, 0xc5, 0xea, 0x2f, 0xf2, 0x4f, 0xa1, 0x54, 0x4f, + 0x59, 0x3c, 0xe1, 0x3f, 0xf6, 0x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xab, 0xc5, 0xb5, 0x01, 0x8a, 0x13, 0x6d, 0x15, 0xcd, 0xd2, 0x9f, 0x1d, + 0x2b, 0x05, 0x08, 0xc1, 0xea, 0x84, 0x59, 0x78, 0x5b, 0xd8, 0x7d, 0x23, 0x99, 0xc9, 0x23, 0x32, + 0x63, 0x1a, 0x9d, 0x19, 0x29, 0xd8, 0x02, 0xa5, 0x89, 0xb6, 0x9a, 0x51, 0x3d, 0x15, 0xf9, 0x55, + 0x0a, 0xa2, 0x70, 0x26, 0x1a, 0xaa, 0x46, 0xdb, 0x16, 0xf6, 0x05, 0xb1, 0xc7, 0xae, 0x4e, 0x3f, + 0x51, 0x44, 0xd1, 0x56, 0xb4, 0xea, 0xaf, 0xac, 0xa6, 0x66, 0xbd, 0x44, 0xdf, 0x9e, 0x1a, 0xf6, + 0xd5, 0xfd, 0xab, 0x04, 0xd6, 0xae, 0x74, 0x48, 0x1c, 0x5c, 0x55, 0x19, 0x6d, 0x65, 0x41, 0x44, + 0x74, 0xcd, 0x5e, 0xaf, 0x2b, 0x8b, 0xf0, 0x63, 0x70, 0xff, 0x6a, 0x83, 0xa5, 0xd5, 0x75, 0xa4, + 0xb7, 0xab, 0x46, 0x4d, 0x2c, 0xfc, 0x5b, 0x95, 0x57, 0xdf, 0xdb, 0x7d, 0x2f, 0x1e, 0x0c, 0xbb, + 0x65, 0x87, 0x06, 0xfb, 0xc9, 0x33, 0x6c, 0x2f, 0xf9, 0xf1, 0xae, 0x4f, 0xf7, 0xfa, 0x24, 0x94, + 0xc7, 0xcb, 0xfe, 0x5c, 0x3f, 0x28, 0x7e, 0x39, 0x36, 0x76, 0x6f, 0x4b, 0xdd, 0xd3, 0x7f, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x3a, 0x12, 0x7d, 0x9b, 0x8b, 0x1c, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host11.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host11.pb.go index ce7f373ed..584cbb418 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host11.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host11.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/host11.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlHostConfig11_ConstraintExclusion int32 @@ -35,6 +37,7 @@ var PostgresqlHostConfig11_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlHostConfig11_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -45,8 +48,9 @@ var PostgresqlHostConfig11_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlHostConfig11_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlHostConfig11_ConstraintExclusion_name, int32(x)) } + func (PostgresqlHostConfig11_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 0} + return fileDescriptor_129a0454cf81f4f0, []int{0, 0} } type PostgresqlHostConfig11_ForceParallelMode int32 @@ -64,6 +68,7 @@ var PostgresqlHostConfig11_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlHostConfig11_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -74,8 +79,9 @@ var PostgresqlHostConfig11_ForceParallelMode_value = map[string]int32{ func (x PostgresqlHostConfig11_ForceParallelMode) String() string { return proto.EnumName(PostgresqlHostConfig11_ForceParallelMode_name, int32(x)) } + func (PostgresqlHostConfig11_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 1} + return fileDescriptor_129a0454cf81f4f0, []int{0, 1} } type PostgresqlHostConfig11_LogLevel int32 @@ -109,6 +115,7 @@ var PostgresqlHostConfig11_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlHostConfig11_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -127,8 +134,9 @@ var PostgresqlHostConfig11_LogLevel_value = map[string]int32{ func (x PostgresqlHostConfig11_LogLevel) String() string { return proto.EnumName(PostgresqlHostConfig11_LogLevel_name, int32(x)) } + func (PostgresqlHostConfig11_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 2} + return fileDescriptor_129a0454cf81f4f0, []int{0, 2} } type PostgresqlHostConfig11_LogErrorVerbosity int32 @@ -146,6 +154,7 @@ var PostgresqlHostConfig11_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlHostConfig11_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -156,8 +165,9 @@ var PostgresqlHostConfig11_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlHostConfig11_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlHostConfig11_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlHostConfig11_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 3} + return fileDescriptor_129a0454cf81f4f0, []int{0, 3} } type PostgresqlHostConfig11_LogStatement int32 @@ -177,6 +187,7 @@ var PostgresqlHostConfig11_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlHostConfig11_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -188,8 +199,9 @@ var PostgresqlHostConfig11_LogStatement_value = map[string]int32{ func (x PostgresqlHostConfig11_LogStatement) String() string { return proto.EnumName(PostgresqlHostConfig11_LogStatement_name, int32(x)) } + func (PostgresqlHostConfig11_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 4} + return fileDescriptor_129a0454cf81f4f0, []int{0, 4} } type PostgresqlHostConfig11_TransactionIsolation int32 @@ -209,6 +221,7 @@ var PostgresqlHostConfig11_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlHostConfig11_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -220,8 +233,9 @@ var PostgresqlHostConfig11_TransactionIsolation_value = map[string]int32{ func (x PostgresqlHostConfig11_TransactionIsolation) String() string { return proto.EnumName(PostgresqlHostConfig11_TransactionIsolation_name, int32(x)) } + func (PostgresqlHostConfig11_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 5} + return fileDescriptor_129a0454cf81f4f0, []int{0, 5} } type PostgresqlHostConfig11_ByteaOutput int32 @@ -237,6 +251,7 @@ var PostgresqlHostConfig11_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlHostConfig11_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -246,8 +261,9 @@ var PostgresqlHostConfig11_ByteaOutput_value = map[string]int32{ func (x PostgresqlHostConfig11_ByteaOutput) String() string { return proto.EnumName(PostgresqlHostConfig11_ByteaOutput_name, int32(x)) } + func (PostgresqlHostConfig11_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 6} + return fileDescriptor_129a0454cf81f4f0, []int{0, 6} } type PostgresqlHostConfig11_XmlBinary int32 @@ -263,6 +279,7 @@ var PostgresqlHostConfig11_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlHostConfig11_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -272,8 +289,9 @@ var PostgresqlHostConfig11_XmlBinary_value = map[string]int32{ func (x PostgresqlHostConfig11_XmlBinary) String() string { return proto.EnumName(PostgresqlHostConfig11_XmlBinary_name, int32(x)) } + func (PostgresqlHostConfig11_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 7} + return fileDescriptor_129a0454cf81f4f0, []int{0, 7} } type PostgresqlHostConfig11_XmlOption int32 @@ -289,6 +307,7 @@ var PostgresqlHostConfig11_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlHostConfig11_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -298,8 +317,9 @@ var PostgresqlHostConfig11_XmlOption_value = map[string]int32{ func (x PostgresqlHostConfig11_XmlOption) String() string { return proto.EnumName(PostgresqlHostConfig11_XmlOption_name, int32(x)) } + func (PostgresqlHostConfig11_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 8} + return fileDescriptor_129a0454cf81f4f0, []int{0, 8} } type PostgresqlHostConfig11_BackslashQuote int32 @@ -319,6 +339,7 @@ var PostgresqlHostConfig11_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlHostConfig11_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -330,8 +351,9 @@ var PostgresqlHostConfig11_BackslashQuote_value = map[string]int32{ func (x PostgresqlHostConfig11_BackslashQuote) String() string { return proto.EnumName(PostgresqlHostConfig11_BackslashQuote_name, int32(x)) } + func (PostgresqlHostConfig11_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0, 9} + return fileDescriptor_129a0454cf81f4f0, []int{0, 9} } // Options and structure of `PostgresqlConfig` reflects PostgreSQL configuration file @@ -389,6 +411,19 @@ type PostgresqlHostConfig11 struct { ExitOnError *wrappers.BoolValue `protobuf:"bytes,49,opt,name=exit_on_error,json=exitOnError,proto3" json:"exit_on_error,omitempty"` SeqPageCost *wrappers.DoubleValue `protobuf:"bytes,50,opt,name=seq_page_cost,json=seqPageCost,proto3" json:"seq_page_cost,omitempty"` RandomPageCost *wrappers.DoubleValue `protobuf:"bytes,51,opt,name=random_page_cost,json=randomPageCost,proto3" json:"random_page_cost,omitempty"` + EnableBitmapscan *wrappers.BoolValue `protobuf:"bytes,54,opt,name=enable_bitmapscan,json=enableBitmapscan,proto3" json:"enable_bitmapscan,omitempty"` + EnableHashagg *wrappers.BoolValue `protobuf:"bytes,55,opt,name=enable_hashagg,json=enableHashagg,proto3" json:"enable_hashagg,omitempty"` + EnableHashjoin *wrappers.BoolValue `protobuf:"bytes,56,opt,name=enable_hashjoin,json=enableHashjoin,proto3" json:"enable_hashjoin,omitempty"` + EnableIndexscan *wrappers.BoolValue `protobuf:"bytes,57,opt,name=enable_indexscan,json=enableIndexscan,proto3" json:"enable_indexscan,omitempty"` + EnableIndexonlyscan *wrappers.BoolValue `protobuf:"bytes,58,opt,name=enable_indexonlyscan,json=enableIndexonlyscan,proto3" json:"enable_indexonlyscan,omitempty"` + EnableMaterial *wrappers.BoolValue `protobuf:"bytes,59,opt,name=enable_material,json=enableMaterial,proto3" json:"enable_material,omitempty"` + EnableMergejoin *wrappers.BoolValue `protobuf:"bytes,60,opt,name=enable_mergejoin,json=enableMergejoin,proto3" json:"enable_mergejoin,omitempty"` + EnableNestloop *wrappers.BoolValue `protobuf:"bytes,61,opt,name=enable_nestloop,json=enableNestloop,proto3" json:"enable_nestloop,omitempty"` + EnableSeqscan *wrappers.BoolValue `protobuf:"bytes,62,opt,name=enable_seqscan,json=enableSeqscan,proto3" json:"enable_seqscan,omitempty"` + EnableSort *wrappers.BoolValue `protobuf:"bytes,63,opt,name=enable_sort,json=enableSort,proto3" json:"enable_sort,omitempty"` + EnableTidscan *wrappers.BoolValue `protobuf:"bytes,64,opt,name=enable_tidscan,json=enableTidscan,proto3" json:"enable_tidscan,omitempty"` + MaxParallelWorkers *wrappers.Int64Value `protobuf:"bytes,65,opt,name=max_parallel_workers,json=maxParallelWorkers,proto3" json:"max_parallel_workers,omitempty"` + MaxParallelWorkersPerGather *wrappers.Int64Value `protobuf:"bytes,66,opt,name=max_parallel_workers_per_gather,json=maxParallelWorkersPerGather,proto3" json:"max_parallel_workers_per_gather,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -398,16 +433,17 @@ func (m *PostgresqlHostConfig11) Reset() { *m = PostgresqlHostConfig11{} func (m *PostgresqlHostConfig11) String() string { return proto.CompactTextString(m) } func (*PostgresqlHostConfig11) ProtoMessage() {} func (*PostgresqlHostConfig11) Descriptor() ([]byte, []int) { - return fileDescriptor_host11_bb5f848b388f9f62, []int{0} + return fileDescriptor_129a0454cf81f4f0, []int{0} } + func (m *PostgresqlHostConfig11) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlHostConfig11.Unmarshal(m, b) } func (m *PostgresqlHostConfig11) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlHostConfig11.Marshal(b, m, deterministic) } -func (dst *PostgresqlHostConfig11) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlHostConfig11.Merge(dst, src) +func (m *PostgresqlHostConfig11) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlHostConfig11.Merge(m, src) } func (m *PostgresqlHostConfig11) XXX_Size() int { return xxx_messageInfo_PostgresqlHostConfig11.Size(m) @@ -775,8 +811,98 @@ func (m *PostgresqlHostConfig11) GetRandomPageCost() *wrappers.DoubleValue { return nil } +func (m *PostgresqlHostConfig11) GetEnableBitmapscan() *wrappers.BoolValue { + if m != nil { + return m.EnableBitmapscan + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableHashagg() *wrappers.BoolValue { + if m != nil { + return m.EnableHashagg + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableHashjoin() *wrappers.BoolValue { + if m != nil { + return m.EnableHashjoin + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableIndexscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexscan + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableIndexonlyscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexonlyscan + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableMaterial() *wrappers.BoolValue { + if m != nil { + return m.EnableMaterial + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableMergejoin() *wrappers.BoolValue { + if m != nil { + return m.EnableMergejoin + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableNestloop() *wrappers.BoolValue { + if m != nil { + return m.EnableNestloop + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableSeqscan() *wrappers.BoolValue { + if m != nil { + return m.EnableSeqscan + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableSort() *wrappers.BoolValue { + if m != nil { + return m.EnableSort + } + return nil +} + +func (m *PostgresqlHostConfig11) GetEnableTidscan() *wrappers.BoolValue { + if m != nil { + return m.EnableTidscan + } + return nil +} + +func (m *PostgresqlHostConfig11) GetMaxParallelWorkers() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkers + } + return nil +} + +func (m *PostgresqlHostConfig11) GetMaxParallelWorkersPerGather() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkersPerGather + } + return nil +} + func init() { - proto.RegisterType((*PostgresqlHostConfig11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_ConstraintExclusion", PostgresqlHostConfig11_ConstraintExclusion_name, PostgresqlHostConfig11_ConstraintExclusion_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_ForceParallelMode", PostgresqlHostConfig11_ForceParallelMode_name, PostgresqlHostConfig11_ForceParallelMode_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_LogLevel", PostgresqlHostConfig11_LogLevel_name, PostgresqlHostConfig11_LogLevel_value) @@ -787,149 +913,164 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_XmlBinary", PostgresqlHostConfig11_XmlBinary_name, PostgresqlHostConfig11_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_XmlOption", PostgresqlHostConfig11_XmlOption_name, PostgresqlHostConfig11_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11_BackslashQuote", PostgresqlHostConfig11_BackslashQuote_name, PostgresqlHostConfig11_BackslashQuote_value) + proto.RegisterType((*PostgresqlHostConfig11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host11.proto", fileDescriptor_host11_bb5f848b388f9f62) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host11.proto", fileDescriptor_129a0454cf81f4f0) } -var fileDescriptor_host11_bb5f848b388f9f62 = []byte{ - // 2178 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0x5b, 0x6f, 0xdb, 0xc8, - 0x15, 0xc7, 0x2b, 0x3b, 0x9b, 0xcb, 0xf8, 0x46, 0x8d, 0x7c, 0x61, 0xec, 0x5c, 0x95, 0x4b, 0xb3, - 0xdb, 0x5a, 0x8e, 0x1c, 0x37, 0x1b, 0x60, 0xd1, 0xc5, 0x52, 0x12, 0xe5, 0xa8, 0xa5, 0x44, 0x85, - 0xa4, 0x1d, 0x6f, 0x8a, 0xc5, 0x60, 0x44, 0x8e, 0x24, 0x36, 0x43, 0x0e, 0xcd, 0xa1, 0x7c, 0x29, - 0x50, 0xf4, 0xa5, 0x4f, 0x7d, 0xec, 0x43, 0x81, 0xf6, 0x0b, 0xe5, 0x9b, 0xf4, 0x13, 0xf4, 0x29, - 0x4f, 0xc5, 0x90, 0xa2, 0x2e, 0xb6, 0x5a, 0x1a, 0xeb, 0xb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9a, 0xe0, 0x09, 0x28, 0xd8, - 0xd4, 0x25, 0x7e, 0x14, 0xbf, 0x82, 0x3c, 0xc2, 0x39, 0xee, 0x11, 0x2e, 0x2f, 0xc7, 0x09, 0xd4, - 0xaf, 0x97, 0x80, 0xc6, 0x7a, 0x1a, 0x39, 0x21, 0xd4, 0xc8, 0x27, 0x21, 0x9a, 0xae, 0xdf, 0x1c, - 0x06, 0x80, 0x01, 0x90, 0x28, 0xeb, 0x4d, 0x07, 0x5d, 0xf9, 0xa2, 0x41, 0x97, 0x29, 0xeb, 0x4d, - 0x46, 0xfc, 0x33, 0xd8, 0x48, 0x23, 0x92, 0x30, 0x64, 0xa1, 0x38, 0x67, 0x11, 0xf1, 0x88, 0x1f, - 0xc9, 0xd2, 0x17, 0x0d, 0xbc, 0x9a, 0x04, 0x56, 0x45, 0x10, 0x33, 0x8d, 0x01, 0x8f, 0xc0, 0x66, - 0x1a, 0xde, 0x19, 0x84, 0xf1, 0x27, 0x62, 0x22, 0x83, 0x7c, 0xf6, 0xd9, 0xde, 0x48, 0xb0, 0xb5, - 0xa1, 0x78, 0x4c, 0xae, 0x82, 0x15, 0x41, 0xb6, 0xfb, 0xc4, 0xfe, 0x18, 0x30, 0xd7, 0x8f, 0xb8, - 0x0c, 0x63, 0xdc, 0xe6, 0x25, 0x5c, 0x85, 0x31, 0x9a, 0xd0, 0xc4, 0xee, 0x54, 0xc7, 0x8a, 0x11, - 0x84, 0xf9, 0x3e, 0x89, 0x0f, 0x16, 0x97, 0x0b, 0x57, 0x83, 0x8c, 0x15, 0xb0, 0x01, 0xa0, 0x80, - 0x38, 0x2e, 0x9f, 0xe4, 0xac, 0x66, 0x72, 0xf2, 0x94, 0xf5, 0x6a, 0x53, 0x22, 0xf8, 0x5b, 0xb0, - 0x18, 0xa3, 0x86, 0x4f, 0x2b, 0xaf, 0x65, 0x42, 0x16, 0x04, 0x64, 0xe8, 0x2e, 0xce, 0x95, 0x90, - 0x27, 0x85, 0x3e, 0x21, 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, 0x39, 0xf8, 0x02, 0x3c, 0xfd, 0x3f, - 0xbe, 0x63, 0xcf, 0x39, 0xf8, 0x35, 0x78, 0xf6, 0xbf, 0x3c, 0xdb, 0xaa, 0x62, 0x29, 0x15, 0x4d, - 0x8d, 0x45, 0xd2, 0x3c, 0x7c, 0x0e, 0x8a, 0xb3, 0x5d, 0x4d, 0xd5, 0x68, 0x28, 0x5a, 0xe3, 0x83, - 0x70, 0x96, 0x6e, 0x14, 0xff, 0x00, 0x16, 0x26, 0x06, 0x54, 0xf1, 0x32, 0xa8, 0xfc, 0x68, 0xa9, - 0x0a, 0xd2, 0x0f, 0xac, 0xf6, 0x81, 0x75, 0xf9, 0xac, 0x4c, 0xad, 0xbe, 0x55, 0x8f, 0xa4, 0x1c, - 0x94, 0xc1, 0xea, 0x94, 0x55, 0x35, 0xab, 0x4a, 0x5b, 0xe4, 0x5b, 0x34, 0xc0, 0x9d, 0xd1, 0x48, - 0x2a, 0x8e, 0xfa, 0x51, 0x53, 0x43, 0x95, 0x46, 0x4b, 0x31, 0x2e, 0x36, 0xd7, 0x1a, 0xc8, 0x4f, - 0xac, 0x55, 0x14, 0x53, 0x7d, 0xbd, 0x27, 0xe5, 0x20, 0x04, 0xcb, 0x13, 0x66, 0x11, 0x6d, 0xae, - 0x78, 0x14, 0x33, 0x93, 0xf9, 0x33, 0x65, 0xea, 0xed, 0x19, 0x25, 0xd8, 0x00, 0x85, 0x89, 0xb5, - 0x9a, 0x5e, 0x3d, 0x10, 0xf5, 0x95, 0x72, 0xa2, 0x71, 0x26, 0x16, 0xaa, 0x7a, 0xcb, 0x12, 0xf6, - 0x39, 0xf1, 0x8e, 0x5d, 0x9e, 0x9e, 0x6e, 0x44, 0xd3, 0x56, 0x94, 0xea, 0xef, 0x4d, 0x4d, 0x31, - 0xdf, 0xa2, 0x77, 0x07, 0xba, 0x75, 0xf1, 0xfd, 0x55, 0x00, 0x2b, 0x17, 0x1c, 0x92, 0x00, 0x17, - 0x55, 0x7a, 0x4b, 0x9a, 0x13, 0x19, 0x5d, 0xb2, 0xd7, 0xeb, 0xd2, 0x3c, 0x7c, 0x0c, 0xee, 0x5f, - 0x5c, 0x30, 0x95, 0xba, 0x8a, 0xd4, 0x56, 0x55, 0xaf, 0x89, 0x83, 0x7f, 0xa3, 0x72, 0xf8, 0xc1, - 0xea, 0xb9, 0x51, 0x7f, 0xd0, 0x29, 0xd9, 0xcc, 0xdb, 0x49, 0x26, 0xb8, 0xed, 0xe4, 0xbf, 0xe8, - 0x7b, 0x6c, 0xbb, 0x47, 0xfc, 0xf8, 0x33, 0xb2, 0x73, 0xa5, 0x3f, 0x1b, 0x7c, 0x37, 0x36, 0x76, - 0x6e, 0xc6, 0xba, 0x57, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x16, 0x37, 0xd9, 0x71, 0x18, - 0x00, 0x00, +var fileDescriptor_129a0454cf81f4f0 = []byte{ + // 2416 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0x5b, 0x73, 0xdb, 0xc6, + 0xd9, 0xc7, 0x5f, 0xca, 0x8e, 0x63, 0xaf, 0x4e, 0xe0, 0x52, 0x92, 0x61, 0x29, 0x3e, 0x44, 0x89, + 0xf3, 0x3a, 0x69, 0x45, 0x99, 0xb2, 0xaa, 0xb8, 0x4d, 0x93, 0x06, 0x24, 0x41, 0x99, 0x2d, 0x48, + 0x30, 0x20, 0x64, 0x3b, 0xe9, 0x64, 0x76, 0x96, 0xc0, 0x92, 0x44, 0xbd, 0xc0, 0xc2, 0x58, 0x50, + 0x87, 0xce, 0x74, 0x7a, 0xd3, 0xab, 0x5e, 0xf6, 0xa2, 0x33, 0xed, 0x37, 0xe9, 0x27, 0xc8, 0x37, + 0xe9, 0x87, 0xc8, 0x55, 0x67, 0x17, 0x00, 0x0f, 0x12, 0x5b, 0xb0, 0x95, 0xef, 0xa4, 0x67, 0xf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0x9d, 0x94, 0xc5, 0x9f, + 0x0a, 0x60, 0xc3, 0x61, 0x01, 0x8f, 0x23, 0xec, 0x05, 0x31, 0x22, 0xe7, 0x0e, 0x1d, 0x71, 0x8f, + 0x05, 0xea, 0x9d, 0x47, 0x85, 0x27, 0x6b, 0x07, 0xdf, 0x94, 0x17, 0x5a, 0x0d, 0xe5, 0xf9, 0xa5, + 0x5c, 0xae, 0x8d, 0xc9, 0x7a, 0x06, 0xb6, 0x4a, 0xce, 0x55, 0x23, 0xec, 0x80, 0x4d, 0x67, 0x14, + 0x71, 0x16, 0xa1, 0x78, 0x14, 0x52, 0x82, 0xfa, 0x11, 0x76, 0xc4, 0x6a, 0x51, 0x81, 0x1c, 0xdc, + 0x07, 0x57, 0x06, 0x57, 0x67, 0xa3, 0x1e, 0x25, 0xc9, 0xe8, 0x4a, 0x89, 0xd4, 0x16, 0xca, 0x46, + 0x2a, 0x84, 0xdf, 0x83, 0x52, 0x3f, 0x62, 0x3e, 0x72, 0x18, 0xa5, 0x38, 0xe4, 0x59, 0xdd, 0x2c, + 0xe7, 0xa7, 0x44, 0xf9, 0xf1, 0x87, 0xca, 0x4a, 0x65, 0xef, 0xa0, 0x72, 0xf8, 0xf9, 0xe1, 0xf3, + 0x67, 0x47, 0x87, 0x9f, 0x5b, 0x45, 0x41, 0xaa, 0xa5, 0xa0, 0xa4, 0x9a, 0xbe, 0x07, 0xa5, 0xdf, + 0x31, 0x2f, 0xb8, 0x8c, 0x5f, 0xf9, 0x9f, 0xf0, 0x82, 0x34, 0x8b, 0xff, 0x23, 0x28, 0xf5, 0x59, + 0xe4, 0x10, 0x14, 0xe2, 0x08, 0x53, 0x4a, 0x28, 0xf2, 0x99, 0x4b, 0xd4, 0x55, 0x99, 0x14, 0xf3, + 0x7a, 0x49, 0x69, 0x08, 0x70, 0x27, 0xe5, 0xb6, 0x98, 0x4b, 0xac, 0x62, 0xff, 0xb2, 0x09, 0x9e, + 0x82, 0x92, 0x43, 0x3d, 0x12, 0xc4, 0x72, 0x0b, 0xf2, 0x09, 0xe7, 0x78, 0x40, 0xb8, 0xba, 0x26, + 0x03, 0x68, 0x5c, 0x2f, 0x00, 0x83, 0x0d, 0x0c, 0x72, 0x4a, 0xa8, 0x55, 0x4c, 0x5c, 0xb4, 0xbc, + 0xa0, 0x95, 0x3a, 0x80, 0x21, 0x50, 0x28, 0x1b, 0xcc, 0x3a, 0x5d, 0x7f, 0xa7, 0x4e, 0xd7, 0x28, + 0x1b, 0x4c, 0x7b, 0xfc, 0x03, 0xb8, 0x9b, 0x79, 0x24, 0x51, 0xc4, 0x22, 0xb1, 0xce, 0x62, 0xe2, + 0x93, 0x20, 0x56, 0x95, 0x77, 0xea, 0x78, 0x23, 0x71, 0xac, 0x0b, 0x27, 0xdd, 0xcc, 0x07, 0x7c, + 0x0d, 0xb6, 0x33, 0xf7, 0xee, 0x28, 0x92, 0x47, 0xc4, 0x54, 0x04, 0xc5, 0xfc, 0xb5, 0x7d, 0x37, + 0xc1, 0xd6, 0x53, 0xf1, 0x84, 0x5c, 0x03, 0xeb, 0x82, 0xec, 0x0c, 0x89, 0xf3, 0x26, 0x64, 0x5e, + 0x10, 0x73, 0x15, 0x4a, 0xdc, 0xf6, 0x15, 0x5c, 0x95, 0x31, 0x9a, 0xd0, 0xc4, 0xec, 0xd4, 0x26, + 0x8a, 0x31, 0x84, 0x05, 0x01, 0x91, 0x0b, 0x8b, 0xab, 0xa5, 0xc5, 0x20, 0x13, 0x05, 0x6c, 0x02, + 0x28, 0x20, 0xae, 0xc7, 0xa7, 0x39, 0x1b, 0xb9, 0x9c, 0x22, 0x65, 0x83, 0xfa, 0x8c, 0x08, 0x7e, + 0x09, 0x56, 0x24, 0x2a, 0x1d, 0xad, 0xba, 0x99, 0x0b, 0x59, 0x16, 0x90, 0xb4, 0xbb, 0x58, 0x57, + 0x42, 0x9e, 0x24, 0xfa, 0x94, 0x44, 0x3d, 0xc6, 0xbd, 0xf8, 0x42, 0xdd, 0x7a, 0x17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0x44, 0x29, 0x68, 0x88, 0xf9, + 0x10, 0x0f, 0x06, 0xea, 0xe7, 0xb9, 0x94, 0xd5, 0x44, 0xf1, 0x22, 0x11, 0x88, 0x9b, 0xf5, 0x14, + 0x42, 0x3c, 0x01, 0xd5, 0xe7, 0xf9, 0x37, 0xeb, 0x09, 0x43, 0x28, 0xa0, 0x0e, 0xd2, 0xd8, 0x90, + 0x27, 0x36, 0x23, 0x39, 0x9e, 0x9f, 0xe7, 0x6f, 0x13, 0x89, 0xa6, 0x99, 0x49, 0x44, 0x01, 0x4e, + 0x63, 0x58, 0x40, 0x2f, 0x24, 0xea, 0x17, 0x0b, 0xec, 0x12, 0x13, 0x54, 0x26, 0x9b, 0x1a, 0x9a, + 0x8f, 0x63, 0x12, 0x79, 0x98, 0xaa, 0x5f, 0x2c, 0x3a, 0xb4, 0x56, 0xaa, 0x98, 0x1a, 0x9a, 0x4f, + 0xa2, 0x01, 0x91, 0x13, 0xf4, 0xcb, 0x45, 0x87, 0xd6, 0xca, 0x24, 0x53, 0xb1, 0x04, 0x84, 0xc7, + 0x94, 0xb1, 0x50, 0xfd, 0x72, 0xd1, 0x58, 0xda, 0xa9, 0x62, 0x2a, 0xdd, 0xe9, 0xda, 0x54, 0xbf, + 0x5a, 0x34, 0xdd, 0xe9, 0xaa, 0x14, 0xa7, 0x50, 0x86, 0x60, 0x51, 0xac, 0xfe, 0x2a, 0xff, 0x14, + 0x4a, 0xf5, 0x2c, 0x8a, 0xa7, 0xfc, 0xc7, 0x9e, 0x2b, 0xfd, 0x7f, 0xbd, 0xa8, 0x7f, 0x3b, 0x11, + 0xc0, 0x6f, 0xc1, 0x86, 0x3c, 0x66, 0xb3, 0xef, 0x09, 0x67, 0x2c, 0x7a, 0x23, 0xb6, 0x43, 0x6d, + 0xe1, 0xef, 0x5f, 0x95, 0xa7, 0x07, 0x87, 0x16, 0x14, 0x07, 0x6d, 0xca, 0x78, 0x95, 0x20, 0xa0, + 0x0f, 0x1e, 0xce, 0x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, 0x4c, 0x35, 0xd4, 0xcc, 0xb6, 0x2d, 0xec, 0x4b, 0x62, 0x8f, + 0x5d, 0x9b, 0x7d, 0xa2, 0x88, 0xa2, 0xad, 0x6a, 0xb5, 0xdf, 0x74, 0x0d, 0xad, 0xfb, 0x02, 0x7d, + 0x73, 0x62, 0xda, 0x97, 0xf7, 0xaf, 0x12, 0x58, 0xbf, 0xd4, 0x21, 0x71, 0x70, 0x59, 0x65, 0xb6, + 0x95, 0x25, 0x11, 0xd1, 0x15, 0x7b, 0xa3, 0xa1, 0xdc, 0x80, 0x1f, 0x82, 0xfb, 0x97, 0x1b, 0xba, + 0x5a, 0x43, 0x47, 0x7a, 0xbb, 0x66, 0xd6, 0xc5, 0xc2, 0xbf, 0x59, 0x7d, 0xf9, 0x9d, 0x3d, 0xf0, + 0xe2, 0xe1, 0xa8, 0x57, 0x76, 0x98, 0xbf, 0x9f, 0x3c, 0xc3, 0xf6, 0x92, 0xdf, 0xd9, 0x06, 0x6c, + 0x6f, 0x40, 0x02, 0x79, 0xbc, 0xec, 0x2f, 0xf4, 0xdb, 0xdf, 0x17, 0x13, 0x63, 0xef, 0x96, 0xd4, + 0x3d, 0xfb, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x7e, 0xad, 0x67, 0x36, 0x1c, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host9_6.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host9_6.pb.go index efd8331a6..07624d8d2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host9_6.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/host9_6.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/host9_6.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlHostConfig9_6_ConstraintExclusion int32 @@ -35,6 +37,7 @@ var PostgresqlHostConfig9_6_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlHostConfig9_6_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -45,8 +48,9 @@ var PostgresqlHostConfig9_6_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlHostConfig9_6_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlHostConfig9_6_ConstraintExclusion_name, int32(x)) } + func (PostgresqlHostConfig9_6_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 0} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 0} } type PostgresqlHostConfig9_6_ForceParallelMode int32 @@ -64,6 +68,7 @@ var PostgresqlHostConfig9_6_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlHostConfig9_6_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -74,8 +79,9 @@ var PostgresqlHostConfig9_6_ForceParallelMode_value = map[string]int32{ func (x PostgresqlHostConfig9_6_ForceParallelMode) String() string { return proto.EnumName(PostgresqlHostConfig9_6_ForceParallelMode_name, int32(x)) } + func (PostgresqlHostConfig9_6_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 1} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 1} } type PostgresqlHostConfig9_6_LogLevel int32 @@ -109,6 +115,7 @@ var PostgresqlHostConfig9_6_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlHostConfig9_6_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -127,8 +134,9 @@ var PostgresqlHostConfig9_6_LogLevel_value = map[string]int32{ func (x PostgresqlHostConfig9_6_LogLevel) String() string { return proto.EnumName(PostgresqlHostConfig9_6_LogLevel_name, int32(x)) } + func (PostgresqlHostConfig9_6_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 2} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 2} } type PostgresqlHostConfig9_6_LogErrorVerbosity int32 @@ -146,6 +154,7 @@ var PostgresqlHostConfig9_6_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlHostConfig9_6_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -156,8 +165,9 @@ var PostgresqlHostConfig9_6_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlHostConfig9_6_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlHostConfig9_6_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlHostConfig9_6_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 3} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 3} } type PostgresqlHostConfig9_6_LogStatement int32 @@ -177,6 +187,7 @@ var PostgresqlHostConfig9_6_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlHostConfig9_6_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -188,8 +199,9 @@ var PostgresqlHostConfig9_6_LogStatement_value = map[string]int32{ func (x PostgresqlHostConfig9_6_LogStatement) String() string { return proto.EnumName(PostgresqlHostConfig9_6_LogStatement_name, int32(x)) } + func (PostgresqlHostConfig9_6_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 4} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 4} } type PostgresqlHostConfig9_6_TransactionIsolation int32 @@ -209,6 +221,7 @@ var PostgresqlHostConfig9_6_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlHostConfig9_6_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -220,8 +233,9 @@ var PostgresqlHostConfig9_6_TransactionIsolation_value = map[string]int32{ func (x PostgresqlHostConfig9_6_TransactionIsolation) String() string { return proto.EnumName(PostgresqlHostConfig9_6_TransactionIsolation_name, int32(x)) } + func (PostgresqlHostConfig9_6_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 5} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 5} } type PostgresqlHostConfig9_6_ByteaOutput int32 @@ -237,6 +251,7 @@ var PostgresqlHostConfig9_6_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlHostConfig9_6_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -246,8 +261,9 @@ var PostgresqlHostConfig9_6_ByteaOutput_value = map[string]int32{ func (x PostgresqlHostConfig9_6_ByteaOutput) String() string { return proto.EnumName(PostgresqlHostConfig9_6_ByteaOutput_name, int32(x)) } + func (PostgresqlHostConfig9_6_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 6} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 6} } type PostgresqlHostConfig9_6_XmlBinary int32 @@ -263,6 +279,7 @@ var PostgresqlHostConfig9_6_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlHostConfig9_6_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -272,8 +289,9 @@ var PostgresqlHostConfig9_6_XmlBinary_value = map[string]int32{ func (x PostgresqlHostConfig9_6_XmlBinary) String() string { return proto.EnumName(PostgresqlHostConfig9_6_XmlBinary_name, int32(x)) } + func (PostgresqlHostConfig9_6_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 7} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 7} } type PostgresqlHostConfig9_6_XmlOption int32 @@ -289,6 +307,7 @@ var PostgresqlHostConfig9_6_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlHostConfig9_6_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -298,8 +317,9 @@ var PostgresqlHostConfig9_6_XmlOption_value = map[string]int32{ func (x PostgresqlHostConfig9_6_XmlOption) String() string { return proto.EnumName(PostgresqlHostConfig9_6_XmlOption_name, int32(x)) } + func (PostgresqlHostConfig9_6_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 8} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 8} } type PostgresqlHostConfig9_6_BackslashQuote int32 @@ -319,6 +339,7 @@ var PostgresqlHostConfig9_6_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlHostConfig9_6_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -330,8 +351,9 @@ var PostgresqlHostConfig9_6_BackslashQuote_value = map[string]int32{ func (x PostgresqlHostConfig9_6_BackslashQuote) String() string { return proto.EnumName(PostgresqlHostConfig9_6_BackslashQuote_name, int32(x)) } + func (PostgresqlHostConfig9_6_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0, 9} + return fileDescriptor_5abd8a1f6e57027e, []int{0, 9} } // Options and structure of `PostgresqlHostConfig` reflects parameters of a PostgreSQL @@ -401,16 +423,17 @@ func (m *PostgresqlHostConfig9_6) Reset() { *m = PostgresqlHostConfig9_6 func (m *PostgresqlHostConfig9_6) String() string { return proto.CompactTextString(m) } func (*PostgresqlHostConfig9_6) ProtoMessage() {} func (*PostgresqlHostConfig9_6) Descriptor() ([]byte, []int) { - return fileDescriptor_host9_6_bf21c75a83cd3758, []int{0} + return fileDescriptor_5abd8a1f6e57027e, []int{0} } + func (m *PostgresqlHostConfig9_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlHostConfig9_6.Unmarshal(m, b) } func (m *PostgresqlHostConfig9_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlHostConfig9_6.Marshal(b, m, deterministic) } -func (dst *PostgresqlHostConfig9_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlHostConfig9_6.Merge(dst, src) +func (m *PostgresqlHostConfig9_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlHostConfig9_6.Merge(m, src) } func (m *PostgresqlHostConfig9_6) XXX_Size() int { return xxx_messageInfo_PostgresqlHostConfig9_6.Size(m) @@ -793,7 +816,6 @@ func (m *PostgresqlHostConfig9_6) GetSqlInheritance() *wrappers.BoolValue { } func init() { - proto.RegisterType((*PostgresqlHostConfig9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_ConstraintExclusion", PostgresqlHostConfig9_6_ConstraintExclusion_name, PostgresqlHostConfig9_6_ConstraintExclusion_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_ForceParallelMode", PostgresqlHostConfig9_6_ForceParallelMode_name, PostgresqlHostConfig9_6_ForceParallelMode_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_LogLevel", PostgresqlHostConfig9_6_LogLevel_name, PostgresqlHostConfig9_6_LogLevel_value) @@ -804,13 +826,14 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_XmlBinary", PostgresqlHostConfig9_6_XmlBinary_name, PostgresqlHostConfig9_6_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_XmlOption", PostgresqlHostConfig9_6_XmlOption_name, PostgresqlHostConfig9_6_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6_BackslashQuote", PostgresqlHostConfig9_6_BackslashQuote_name, PostgresqlHostConfig9_6_BackslashQuote_value) + proto.RegisterType((*PostgresqlHostConfig9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig9_6") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host9_6.proto", fileDescriptor_host9_6_bf21c75a83cd3758) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/host9_6.proto", fileDescriptor_5abd8a1f6e57027e) } -var fileDescriptor_host9_6_bf21c75a83cd3758 = []byte{ +var fileDescriptor_5abd8a1f6e57027e = []byte{ // 2235 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0x5b, 0x73, 0xdb, 0xb8, 0x15, 0xc7, 0x2b, 0x3b, 0x9b, 0x4d, 0xe0, 0x1b, 0x05, 0xf9, 0xc2, 0xd8, 0xb9, 0x2a, 0x97, 0x66, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql10.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql10.pb.go index 66b473a0e..82a45fd3e 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql10.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql10.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/postgresql10.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlConfig10_WalLevel int32 @@ -33,6 +35,7 @@ var PostgresqlConfig10_WalLevel_name = map[int32]string{ 1: "WAL_LEVEL_REPLICA", 2: "WAL_LEVEL_LOGICAL", } + var PostgresqlConfig10_WalLevel_value = map[string]int32{ "WAL_LEVEL_UNSPECIFIED": 0, "WAL_LEVEL_REPLICA": 1, @@ -42,8 +45,9 @@ var PostgresqlConfig10_WalLevel_value = map[string]int32{ func (x PostgresqlConfig10_WalLevel) String() string { return proto.EnumName(PostgresqlConfig10_WalLevel_name, int32(x)) } + func (PostgresqlConfig10_WalLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 0} + return fileDescriptor_63a40d3271be9d79, []int{0, 0} } type PostgresqlConfig10_SynchronousCommit int32 @@ -65,6 +69,7 @@ var PostgresqlConfig10_SynchronousCommit_name = map[int32]string{ 4: "SYNCHRONOUS_COMMIT_REMOTE_WRITE", 5: "SYNCHRONOUS_COMMIT_REMOTE_APPLY", } + var PostgresqlConfig10_SynchronousCommit_value = map[string]int32{ "SYNCHRONOUS_COMMIT_UNSPECIFIED": 0, "SYNCHRONOUS_COMMIT_ON": 1, @@ -77,8 +82,9 @@ var PostgresqlConfig10_SynchronousCommit_value = map[string]int32{ func (x PostgresqlConfig10_SynchronousCommit) String() string { return proto.EnumName(PostgresqlConfig10_SynchronousCommit_name, int32(x)) } + func (PostgresqlConfig10_SynchronousCommit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 1} + return fileDescriptor_63a40d3271be9d79, []int{0, 1} } type PostgresqlConfig10_ConstraintExclusion int32 @@ -96,6 +102,7 @@ var PostgresqlConfig10_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlConfig10_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -106,8 +113,9 @@ var PostgresqlConfig10_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlConfig10_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlConfig10_ConstraintExclusion_name, int32(x)) } + func (PostgresqlConfig10_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 2} + return fileDescriptor_63a40d3271be9d79, []int{0, 2} } type PostgresqlConfig10_ForceParallelMode int32 @@ -125,6 +133,7 @@ var PostgresqlConfig10_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlConfig10_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -135,8 +144,9 @@ var PostgresqlConfig10_ForceParallelMode_value = map[string]int32{ func (x PostgresqlConfig10_ForceParallelMode) String() string { return proto.EnumName(PostgresqlConfig10_ForceParallelMode_name, int32(x)) } + func (PostgresqlConfig10_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 3} + return fileDescriptor_63a40d3271be9d79, []int{0, 3} } type PostgresqlConfig10_LogLevel int32 @@ -170,6 +180,7 @@ var PostgresqlConfig10_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlConfig10_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -188,8 +199,9 @@ var PostgresqlConfig10_LogLevel_value = map[string]int32{ func (x PostgresqlConfig10_LogLevel) String() string { return proto.EnumName(PostgresqlConfig10_LogLevel_name, int32(x)) } + func (PostgresqlConfig10_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 4} + return fileDescriptor_63a40d3271be9d79, []int{0, 4} } type PostgresqlConfig10_LogErrorVerbosity int32 @@ -207,6 +219,7 @@ var PostgresqlConfig10_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlConfig10_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -217,8 +230,9 @@ var PostgresqlConfig10_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlConfig10_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlConfig10_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlConfig10_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 5} + return fileDescriptor_63a40d3271be9d79, []int{0, 5} } type PostgresqlConfig10_LogStatement int32 @@ -238,6 +252,7 @@ var PostgresqlConfig10_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlConfig10_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -249,8 +264,9 @@ var PostgresqlConfig10_LogStatement_value = map[string]int32{ func (x PostgresqlConfig10_LogStatement) String() string { return proto.EnumName(PostgresqlConfig10_LogStatement_name, int32(x)) } + func (PostgresqlConfig10_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 6} + return fileDescriptor_63a40d3271be9d79, []int{0, 6} } type PostgresqlConfig10_TransactionIsolation int32 @@ -270,6 +286,7 @@ var PostgresqlConfig10_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlConfig10_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -281,8 +298,9 @@ var PostgresqlConfig10_TransactionIsolation_value = map[string]int32{ func (x PostgresqlConfig10_TransactionIsolation) String() string { return proto.EnumName(PostgresqlConfig10_TransactionIsolation_name, int32(x)) } + func (PostgresqlConfig10_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 7} + return fileDescriptor_63a40d3271be9d79, []int{0, 7} } type PostgresqlConfig10_ByteaOutput int32 @@ -298,6 +316,7 @@ var PostgresqlConfig10_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlConfig10_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -307,8 +326,9 @@ var PostgresqlConfig10_ByteaOutput_value = map[string]int32{ func (x PostgresqlConfig10_ByteaOutput) String() string { return proto.EnumName(PostgresqlConfig10_ByteaOutput_name, int32(x)) } + func (PostgresqlConfig10_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 8} + return fileDescriptor_63a40d3271be9d79, []int{0, 8} } type PostgresqlConfig10_XmlBinary int32 @@ -324,6 +344,7 @@ var PostgresqlConfig10_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlConfig10_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -333,8 +354,9 @@ var PostgresqlConfig10_XmlBinary_value = map[string]int32{ func (x PostgresqlConfig10_XmlBinary) String() string { return proto.EnumName(PostgresqlConfig10_XmlBinary_name, int32(x)) } + func (PostgresqlConfig10_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 9} + return fileDescriptor_63a40d3271be9d79, []int{0, 9} } type PostgresqlConfig10_XmlOption int32 @@ -350,6 +372,7 @@ var PostgresqlConfig10_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlConfig10_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -359,8 +382,9 @@ var PostgresqlConfig10_XmlOption_value = map[string]int32{ func (x PostgresqlConfig10_XmlOption) String() string { return proto.EnumName(PostgresqlConfig10_XmlOption_name, int32(x)) } + func (PostgresqlConfig10_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 10} + return fileDescriptor_63a40d3271be9d79, []int{0, 10} } type PostgresqlConfig10_BackslashQuote int32 @@ -380,6 +404,7 @@ var PostgresqlConfig10_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlConfig10_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -391,8 +416,9 @@ var PostgresqlConfig10_BackslashQuote_value = map[string]int32{ func (x PostgresqlConfig10_BackslashQuote) String() string { return proto.EnumName(PostgresqlConfig10_BackslashQuote_name, int32(x)) } + func (PostgresqlConfig10_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0, 11} + return fileDescriptor_63a40d3271be9d79, []int{0, 11} } // Options and structure of `PostgresqlConfig` reflects PostgreSQL configuration file @@ -477,6 +503,20 @@ type PostgresqlConfig10 struct { AutovacuumNaptime *wrappers.Int64Value `protobuf:"bytes,76,opt,name=autovacuum_naptime,json=autovacuumNaptime,proto3" json:"autovacuum_naptime,omitempty"` ArchiveTimeout *wrappers.Int64Value `protobuf:"bytes,77,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"` TrackActivityQuerySize *wrappers.Int64Value `protobuf:"bytes,78,opt,name=track_activity_query_size,json=trackActivityQuerySize,proto3" json:"track_activity_query_size,omitempty"` + EnableBitmapscan *wrappers.BoolValue `protobuf:"bytes,80,opt,name=enable_bitmapscan,json=enableBitmapscan,proto3" json:"enable_bitmapscan,omitempty"` + EnableHashagg *wrappers.BoolValue `protobuf:"bytes,81,opt,name=enable_hashagg,json=enableHashagg,proto3" json:"enable_hashagg,omitempty"` + EnableHashjoin *wrappers.BoolValue `protobuf:"bytes,82,opt,name=enable_hashjoin,json=enableHashjoin,proto3" json:"enable_hashjoin,omitempty"` + EnableIndexscan *wrappers.BoolValue `protobuf:"bytes,83,opt,name=enable_indexscan,json=enableIndexscan,proto3" json:"enable_indexscan,omitempty"` + EnableIndexonlyscan *wrappers.BoolValue `protobuf:"bytes,84,opt,name=enable_indexonlyscan,json=enableIndexonlyscan,proto3" json:"enable_indexonlyscan,omitempty"` + EnableMaterial *wrappers.BoolValue `protobuf:"bytes,85,opt,name=enable_material,json=enableMaterial,proto3" json:"enable_material,omitempty"` + EnableMergejoin *wrappers.BoolValue `protobuf:"bytes,86,opt,name=enable_mergejoin,json=enableMergejoin,proto3" json:"enable_mergejoin,omitempty"` + EnableNestloop *wrappers.BoolValue `protobuf:"bytes,87,opt,name=enable_nestloop,json=enableNestloop,proto3" json:"enable_nestloop,omitempty"` + EnableSeqscan *wrappers.BoolValue `protobuf:"bytes,88,opt,name=enable_seqscan,json=enableSeqscan,proto3" json:"enable_seqscan,omitempty"` + EnableSort *wrappers.BoolValue `protobuf:"bytes,89,opt,name=enable_sort,json=enableSort,proto3" json:"enable_sort,omitempty"` + EnableTidscan *wrappers.BoolValue `protobuf:"bytes,90,opt,name=enable_tidscan,json=enableTidscan,proto3" json:"enable_tidscan,omitempty"` + MaxWorkerProcesses *wrappers.Int64Value `protobuf:"bytes,91,opt,name=max_worker_processes,json=maxWorkerProcesses,proto3" json:"max_worker_processes,omitempty"` + MaxParallelWorkers *wrappers.Int64Value `protobuf:"bytes,92,opt,name=max_parallel_workers,json=maxParallelWorkers,proto3" json:"max_parallel_workers,omitempty"` + MaxParallelWorkersPerGather *wrappers.Int64Value `protobuf:"bytes,93,opt,name=max_parallel_workers_per_gather,json=maxParallelWorkersPerGather,proto3" json:"max_parallel_workers_per_gather,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -486,16 +526,17 @@ func (m *PostgresqlConfig10) Reset() { *m = PostgresqlConfig10{} } func (m *PostgresqlConfig10) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfig10) ProtoMessage() {} func (*PostgresqlConfig10) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{0} + return fileDescriptor_63a40d3271be9d79, []int{0} } + func (m *PostgresqlConfig10) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfig10.Unmarshal(m, b) } func (m *PostgresqlConfig10) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfig10.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfig10) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfig10.Merge(dst, src) +func (m *PostgresqlConfig10) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfig10.Merge(m, src) } func (m *PostgresqlConfig10) XXX_Size() int { return xxx_messageInfo_PostgresqlConfig10.Size(m) @@ -1052,6 +1093,104 @@ func (m *PostgresqlConfig10) GetTrackActivityQuerySize() *wrappers.Int64Value { return nil } +func (m *PostgresqlConfig10) GetEnableBitmapscan() *wrappers.BoolValue { + if m != nil { + return m.EnableBitmapscan + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableHashagg() *wrappers.BoolValue { + if m != nil { + return m.EnableHashagg + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableHashjoin() *wrappers.BoolValue { + if m != nil { + return m.EnableHashjoin + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableIndexscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexscan + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableIndexonlyscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexonlyscan + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableMaterial() *wrappers.BoolValue { + if m != nil { + return m.EnableMaterial + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableMergejoin() *wrappers.BoolValue { + if m != nil { + return m.EnableMergejoin + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableNestloop() *wrappers.BoolValue { + if m != nil { + return m.EnableNestloop + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableSeqscan() *wrappers.BoolValue { + if m != nil { + return m.EnableSeqscan + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableSort() *wrappers.BoolValue { + if m != nil { + return m.EnableSort + } + return nil +} + +func (m *PostgresqlConfig10) GetEnableTidscan() *wrappers.BoolValue { + if m != nil { + return m.EnableTidscan + } + return nil +} + +func (m *PostgresqlConfig10) GetMaxWorkerProcesses() *wrappers.Int64Value { + if m != nil { + return m.MaxWorkerProcesses + } + return nil +} + +func (m *PostgresqlConfig10) GetMaxParallelWorkers() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkers + } + return nil +} + +func (m *PostgresqlConfig10) GetMaxParallelWorkersPerGather() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkersPerGather + } + return nil +} + type PostgresqlConfigSet10 struct { // Effective settings for a PostgreSQL 10 cluster (a combination of settings defined // in [user_config] and [default_config]). @@ -1069,16 +1208,17 @@ func (m *PostgresqlConfigSet10) Reset() { *m = PostgresqlConfigSet10{} } func (m *PostgresqlConfigSet10) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfigSet10) ProtoMessage() {} func (*PostgresqlConfigSet10) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql10_ba5663f4ed6e84da, []int{1} + return fileDescriptor_63a40d3271be9d79, []int{1} } + func (m *PostgresqlConfigSet10) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfigSet10.Unmarshal(m, b) } func (m *PostgresqlConfigSet10) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfigSet10.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfigSet10) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfigSet10.Merge(dst, src) +func (m *PostgresqlConfigSet10) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfigSet10.Merge(m, src) } func (m *PostgresqlConfigSet10) XXX_Size() int { return xxx_messageInfo_PostgresqlConfigSet10.Size(m) @@ -1111,8 +1251,6 @@ func (m *PostgresqlConfigSet10) GetDefaultConfig() *PostgresqlConfig10 { } func init() { - proto.RegisterType((*PostgresqlConfig10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10") - proto.RegisterType((*PostgresqlConfigSet10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet10") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_WalLevel", PostgresqlConfig10_WalLevel_name, PostgresqlConfig10_WalLevel_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_SynchronousCommit", PostgresqlConfig10_SynchronousCommit_name, PostgresqlConfig10_SynchronousCommit_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_ConstraintExclusion", PostgresqlConfig10_ConstraintExclusion_name, PostgresqlConfig10_ConstraintExclusion_value) @@ -1125,198 +1263,215 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_XmlBinary", PostgresqlConfig10_XmlBinary_name, PostgresqlConfig10_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_XmlOption", PostgresqlConfig10_XmlOption_name, PostgresqlConfig10_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10_BackslashQuote", PostgresqlConfig10_BackslashQuote_name, PostgresqlConfig10_BackslashQuote_value) + proto.RegisterType((*PostgresqlConfig10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig10") + proto.RegisterType((*PostgresqlConfigSet10)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet10") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql10.proto", fileDescriptor_postgresql10_ba5663f4ed6e84da) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql10.proto", fileDescriptor_63a40d3271be9d79) } -var fileDescriptor_postgresql10_ba5663f4ed6e84da = []byte{ - // 2970 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0xdb, 0x7a, 0xdb, 0xc6, - 0xb5, 0xc7, 0x37, 0x25, 0xc5, 0x91, 0x47, 0x96, 0x04, 0x0e, 0x75, 0x80, 0xe4, 0x63, 0x98, 0x38, - 0xdb, 0xc9, 0xde, 0x92, 0x48, 0x59, 0x71, 0x9c, 0xa6, 0x71, 0x03, 0x82, 0xa0, 0xcc, 0x1a, 0x24, - 0x18, 0x80, 0x92, 0x6c, 0xe7, 0x4b, 0xd0, 0x21, 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, 0x4d, 0x10, 0x59, 0xf2, - 0xeb, 0x55, 0x4d, 0x91, 0x85, 0xe6, 0xf8, 0x17, 0xf7, 0x39, 0xf8, 0x74, 0x72, 0x37, 0x55, 0x12, - 0xca, 0xfa, 0x41, 0x3d, 0xf8, 0xca, 0x9b, 0x52, 0x99, 0xcb, 0xc0, 0x47, 0xe0, 0x93, 0x5f, 0xe8, - 0x1b, 0xf7, 0x9c, 0x81, 0x9f, 0x81, 0x87, 0x6f, 0xeb, 0xd9, 0x90, 0x84, 0xa6, 0x50, 0x92, 0x25, - 0x5f, 0xc4, 0xcd, 0xc2, 0x4f, 0x41, 0x7e, 0x72, 0x57, 0x4d, 0x52, 0xab, 0x82, 0x5c, 0x7d, 0xcd, - 0x3a, 0x73, 0x73, 0xf9, 0xef, 0xc1, 0x42, 0xa2, 0x28, 0x64, 0x9b, 0x41, 0xe9, 0x55, 0x53, 0x12, - 0x74, 0xe5, 0xa0, 0xd9, 0x38, 0x68, 0x8e, 0x7f, 0x2b, 0x23, 0xad, 0xcf, 0xa5, 0x97, 0x5c, 0x06, - 0xf2, 0x60, 0x65, 0xc4, 0x2a, 0x69, 0xa2, 0xd0, 0x60, 0xe3, 0xcd, 0xab, 0xe0, 0xe6, 0xb0, 0x14, - 0x64, 0x9f, 0xfa, 0xcb, 0x9a, 0xac, 0x97, 0xaa, 0x75, 0x41, 0x7d, 0x35, 0xbe, 0xcb, 0x27, 0xda, - 0x4a, 0x82, 0x26, 0x3d, 0xd9, 0xe3, 0x32, 0x10, 0x82, 0xa5, 0x84, 0x99, 0x79, 0x9b, 0xc9, 0xbf, - 0xf4, 0x99, 0x41, 0xed, 0x17, 0x31, 0x95, 0xc6, 0x84, 0x10, 0xac, 0x83, 0x5c, 0xa2, 0xad, 0xac, - 0x88, 0x07, 0x2c, 0xbe, 0x5c, 0x86, 0x25, 0x4e, 0xa2, 0x41, 0x54, 0xea, 0x4d, 0x66, 0x9f, 0x61, - 0x7b, 0xec, 0xd2, 0x68, 0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, +var fileDescriptor_63a40d3271be9d79 = []byte{ + // 3213 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0xdb, 0x7a, 0xdb, 0xb8, + 0x76, 0xc7, 0x2b, 0x3b, 0x33, 0x93, 0xc0, 0xb1, 0x4d, 0xc1, 0x87, 0xd0, 0xce, 0x71, 0x34, 0x87, + 0x66, 0xef, 0xd6, 0xb6, 0x94, 0x78, 0x67, 0xb2, 0x3b, 0xdd, 0xd3, 0xa1, 0x24, 0xca, 0x51, 0x43, + 0x1d, 0x86, 0xa4, 0xed, 0x24, 0xd3, 0xd9, 0x2c, 0x44, 0x41, 0x12, 0xc7, 0x24, 0xa1, 0x00, 0x94, + 0x0f, 0xd3, 0x9b, 0x5e, 0xf7, 0x72, 0xdf, 0xb5, 0x6f, 0xd3, 0x9b, 0xfa, 0x0d, 0xfa, 0x08, 0xfd, + 0xfa, 0x0c, 0xbe, 0xda, 0x1f, 0x40, 0x52, 0xa4, 0x2c, 0x65, 0xa8, 0x24, 0x73, 0x17, 0x03, 0xf8, + 0xff, 0x16, 0x80, 0xb5, 0x08, 0x60, 0xad, 0x08, 0x3c, 0xbf, 0x40, 0x7e, 0x17, 0x9f, 0xef, 0xd9, + 0x2e, 0x19, 0x75, 0xf7, 0xbc, 0x6e, 0x67, 0x6f, 0x48, 0x58, 0xd0, 0xa7, 0x98, 0xbd, 0x75, 0xf7, + 0x4e, 0x4b, 0x7b, 0x36, 0xf1, 0x7b, 0x4e, 0x3f, 0xd5, 0x58, 0x2a, 0xee, 0x0e, 0x29, 0x09, 0x08, + 0xfc, 0x2a, 0x54, 0xee, 0x0a, 0xe5, 0xae, 0xd7, 0xed, 0xec, 0x26, 0x83, 0x76, 0x4f, 0x4b, 0xbb, + 0xa1, 0x72, 0xfb, 0x41, 0x9f, 0x90, 0xbe, 0x8b, 0xf7, 0x84, 0xa8, 0x33, 0xea, 0xed,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 0x5e, + 0x00, 0x1b, 0xd7, 0xab, 0x25, 0x06, 0x0e, 0x4a, 0x45, 0xf8, 0x33, 0x90, 0x70, 0xaf, 0x87, 0xf9, + 0x03, 0x1c, 0x5b, 0x61, 0x5d, 0x25, 0xfa, 0x31, 0xd7, 0x1f, 0x3f, 0xb8, 0x0a, 0x53, 0xbe, 0xf1, + 0xff, 0x97, 0xa5, 0x9c, 0xbe, 0x3a, 0x06, 0x87, 0x1d, 0xf0, 0x0d, 0x58, 0x1a, 0x31, 0x4c, 0x63, + 0x33, 0x0b, 0x1f, 0x69, 0x46, 0x07, 0x9c, 0x16, 0xb1, 0xff, 0x15, 0xac, 0xc4, 0x95, 0x9d, 0x08, + 0xbf, 0xf8, 0xb1, 0xf8, 0xe5, 0x08, 0x18, 0x36, 0x94, 0x8f, 0xde, 0x98, 0x7d, 0x27, 0x18, 0x8c, + 0x3a, 0xbb, 0x36, 0xf1, 0xf6, 0x42, 0xea, 0x4e, 0xf8, 0xc3, 0xb9, 0x3e, 0xd9, 0xe9, 0x63, 0x5f, + 0x3c, 0x68, 0xf6, 0xe6, 0xfa, 0x49, 0xdf, 0xb7, 0x49, 0x63, 0xe7, 0x53, 0xa1, 0x7b, 0xfa, 0xd7, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x04, 0x2d, 0xe2, 0x0d, 0x28, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql11.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql11.pb.go index 7fb6749e6..e6565eb99 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql11.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql11.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/postgresql11.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlConfig11_WalLevel int32 @@ -33,6 +35,7 @@ var PostgresqlConfig11_WalLevel_name = map[int32]string{ 1: "WAL_LEVEL_REPLICA", 2: "WAL_LEVEL_LOGICAL", } + var PostgresqlConfig11_WalLevel_value = map[string]int32{ "WAL_LEVEL_UNSPECIFIED": 0, "WAL_LEVEL_REPLICA": 1, @@ -42,8 +45,9 @@ var PostgresqlConfig11_WalLevel_value = map[string]int32{ func (x PostgresqlConfig11_WalLevel) String() string { return proto.EnumName(PostgresqlConfig11_WalLevel_name, int32(x)) } + func (PostgresqlConfig11_WalLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 0} + return fileDescriptor_7f28b14e19e1f835, []int{0, 0} } type PostgresqlConfig11_SynchronousCommit int32 @@ -65,6 +69,7 @@ var PostgresqlConfig11_SynchronousCommit_name = map[int32]string{ 4: "SYNCHRONOUS_COMMIT_REMOTE_WRITE", 5: "SYNCHRONOUS_COMMIT_REMOTE_APPLY", } + var PostgresqlConfig11_SynchronousCommit_value = map[string]int32{ "SYNCHRONOUS_COMMIT_UNSPECIFIED": 0, "SYNCHRONOUS_COMMIT_ON": 1, @@ -77,8 +82,9 @@ var PostgresqlConfig11_SynchronousCommit_value = map[string]int32{ func (x PostgresqlConfig11_SynchronousCommit) String() string { return proto.EnumName(PostgresqlConfig11_SynchronousCommit_name, int32(x)) } + func (PostgresqlConfig11_SynchronousCommit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 1} + return fileDescriptor_7f28b14e19e1f835, []int{0, 1} } type PostgresqlConfig11_ConstraintExclusion int32 @@ -96,6 +102,7 @@ var PostgresqlConfig11_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlConfig11_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -106,8 +113,9 @@ var PostgresqlConfig11_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlConfig11_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlConfig11_ConstraintExclusion_name, int32(x)) } + func (PostgresqlConfig11_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 2} + return fileDescriptor_7f28b14e19e1f835, []int{0, 2} } type PostgresqlConfig11_ForceParallelMode int32 @@ -125,6 +133,7 @@ var PostgresqlConfig11_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlConfig11_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -135,8 +144,9 @@ var PostgresqlConfig11_ForceParallelMode_value = map[string]int32{ func (x PostgresqlConfig11_ForceParallelMode) String() string { return proto.EnumName(PostgresqlConfig11_ForceParallelMode_name, int32(x)) } + func (PostgresqlConfig11_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 3} + return fileDescriptor_7f28b14e19e1f835, []int{0, 3} } type PostgresqlConfig11_LogLevel int32 @@ -170,6 +180,7 @@ var PostgresqlConfig11_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlConfig11_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -188,8 +199,9 @@ var PostgresqlConfig11_LogLevel_value = map[string]int32{ func (x PostgresqlConfig11_LogLevel) String() string { return proto.EnumName(PostgresqlConfig11_LogLevel_name, int32(x)) } + func (PostgresqlConfig11_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 4} + return fileDescriptor_7f28b14e19e1f835, []int{0, 4} } type PostgresqlConfig11_LogErrorVerbosity int32 @@ -207,6 +219,7 @@ var PostgresqlConfig11_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlConfig11_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -217,8 +230,9 @@ var PostgresqlConfig11_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlConfig11_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlConfig11_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlConfig11_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 5} + return fileDescriptor_7f28b14e19e1f835, []int{0, 5} } type PostgresqlConfig11_LogStatement int32 @@ -238,6 +252,7 @@ var PostgresqlConfig11_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlConfig11_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -249,8 +264,9 @@ var PostgresqlConfig11_LogStatement_value = map[string]int32{ func (x PostgresqlConfig11_LogStatement) String() string { return proto.EnumName(PostgresqlConfig11_LogStatement_name, int32(x)) } + func (PostgresqlConfig11_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 6} + return fileDescriptor_7f28b14e19e1f835, []int{0, 6} } type PostgresqlConfig11_TransactionIsolation int32 @@ -270,6 +286,7 @@ var PostgresqlConfig11_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlConfig11_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -281,8 +298,9 @@ var PostgresqlConfig11_TransactionIsolation_value = map[string]int32{ func (x PostgresqlConfig11_TransactionIsolation) String() string { return proto.EnumName(PostgresqlConfig11_TransactionIsolation_name, int32(x)) } + func (PostgresqlConfig11_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 7} + return fileDescriptor_7f28b14e19e1f835, []int{0, 7} } type PostgresqlConfig11_ByteaOutput int32 @@ -298,6 +316,7 @@ var PostgresqlConfig11_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlConfig11_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -307,8 +326,9 @@ var PostgresqlConfig11_ByteaOutput_value = map[string]int32{ func (x PostgresqlConfig11_ByteaOutput) String() string { return proto.EnumName(PostgresqlConfig11_ByteaOutput_name, int32(x)) } + func (PostgresqlConfig11_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 8} + return fileDescriptor_7f28b14e19e1f835, []int{0, 8} } type PostgresqlConfig11_XmlBinary int32 @@ -324,6 +344,7 @@ var PostgresqlConfig11_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlConfig11_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -333,8 +354,9 @@ var PostgresqlConfig11_XmlBinary_value = map[string]int32{ func (x PostgresqlConfig11_XmlBinary) String() string { return proto.EnumName(PostgresqlConfig11_XmlBinary_name, int32(x)) } + func (PostgresqlConfig11_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 9} + return fileDescriptor_7f28b14e19e1f835, []int{0, 9} } type PostgresqlConfig11_XmlOption int32 @@ -350,6 +372,7 @@ var PostgresqlConfig11_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlConfig11_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -359,8 +382,9 @@ var PostgresqlConfig11_XmlOption_value = map[string]int32{ func (x PostgresqlConfig11_XmlOption) String() string { return proto.EnumName(PostgresqlConfig11_XmlOption_name, int32(x)) } + func (PostgresqlConfig11_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 10} + return fileDescriptor_7f28b14e19e1f835, []int{0, 10} } type PostgresqlConfig11_BackslashQuote int32 @@ -380,6 +404,7 @@ var PostgresqlConfig11_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlConfig11_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -391,8 +416,9 @@ var PostgresqlConfig11_BackslashQuote_value = map[string]int32{ func (x PostgresqlConfig11_BackslashQuote) String() string { return proto.EnumName(PostgresqlConfig11_BackslashQuote_name, int32(x)) } + func (PostgresqlConfig11_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0, 11} + return fileDescriptor_7f28b14e19e1f835, []int{0, 11} } // Options and structure of `PostgresqlConfig` reflects PostgreSQL configuration file @@ -476,6 +502,20 @@ type PostgresqlConfig11 struct { AutovacuumNaptime *wrappers.Int64Value `protobuf:"bytes,75,opt,name=autovacuum_naptime,json=autovacuumNaptime,proto3" json:"autovacuum_naptime,omitempty"` ArchiveTimeout *wrappers.Int64Value `protobuf:"bytes,76,opt,name=archive_timeout,json=archiveTimeout,proto3" json:"archive_timeout,omitempty"` TrackActivityQuerySize *wrappers.Int64Value `protobuf:"bytes,77,opt,name=track_activity_query_size,json=trackActivityQuerySize,proto3" json:"track_activity_query_size,omitempty"` + EnableBitmapscan *wrappers.BoolValue `protobuf:"bytes,80,opt,name=enable_bitmapscan,json=enableBitmapscan,proto3" json:"enable_bitmapscan,omitempty"` + EnableHashagg *wrappers.BoolValue `protobuf:"bytes,81,opt,name=enable_hashagg,json=enableHashagg,proto3" json:"enable_hashagg,omitempty"` + EnableHashjoin *wrappers.BoolValue `protobuf:"bytes,82,opt,name=enable_hashjoin,json=enableHashjoin,proto3" json:"enable_hashjoin,omitempty"` + EnableIndexscan *wrappers.BoolValue `protobuf:"bytes,83,opt,name=enable_indexscan,json=enableIndexscan,proto3" json:"enable_indexscan,omitempty"` + EnableIndexonlyscan *wrappers.BoolValue `protobuf:"bytes,84,opt,name=enable_indexonlyscan,json=enableIndexonlyscan,proto3" json:"enable_indexonlyscan,omitempty"` + EnableMaterial *wrappers.BoolValue `protobuf:"bytes,85,opt,name=enable_material,json=enableMaterial,proto3" json:"enable_material,omitempty"` + EnableMergejoin *wrappers.BoolValue `protobuf:"bytes,86,opt,name=enable_mergejoin,json=enableMergejoin,proto3" json:"enable_mergejoin,omitempty"` + EnableNestloop *wrappers.BoolValue `protobuf:"bytes,87,opt,name=enable_nestloop,json=enableNestloop,proto3" json:"enable_nestloop,omitempty"` + EnableSeqscan *wrappers.BoolValue `protobuf:"bytes,88,opt,name=enable_seqscan,json=enableSeqscan,proto3" json:"enable_seqscan,omitempty"` + EnableSort *wrappers.BoolValue `protobuf:"bytes,89,opt,name=enable_sort,json=enableSort,proto3" json:"enable_sort,omitempty"` + EnableTidscan *wrappers.BoolValue `protobuf:"bytes,90,opt,name=enable_tidscan,json=enableTidscan,proto3" json:"enable_tidscan,omitempty"` + MaxWorkerProcesses *wrappers.Int64Value `protobuf:"bytes,91,opt,name=max_worker_processes,json=maxWorkerProcesses,proto3" json:"max_worker_processes,omitempty"` + MaxParallelWorkers *wrappers.Int64Value `protobuf:"bytes,92,opt,name=max_parallel_workers,json=maxParallelWorkers,proto3" json:"max_parallel_workers,omitempty"` + MaxParallelWorkersPerGather *wrappers.Int64Value `protobuf:"bytes,93,opt,name=max_parallel_workers_per_gather,json=maxParallelWorkersPerGather,proto3" json:"max_parallel_workers_per_gather,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -485,16 +525,17 @@ func (m *PostgresqlConfig11) Reset() { *m = PostgresqlConfig11{} } func (m *PostgresqlConfig11) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfig11) ProtoMessage() {} func (*PostgresqlConfig11) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{0} + return fileDescriptor_7f28b14e19e1f835, []int{0} } + func (m *PostgresqlConfig11) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfig11.Unmarshal(m, b) } func (m *PostgresqlConfig11) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfig11.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfig11) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfig11.Merge(dst, src) +func (m *PostgresqlConfig11) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfig11.Merge(m, src) } func (m *PostgresqlConfig11) XXX_Size() int { return xxx_messageInfo_PostgresqlConfig11.Size(m) @@ -1044,6 +1085,104 @@ func (m *PostgresqlConfig11) GetTrackActivityQuerySize() *wrappers.Int64Value { return nil } +func (m *PostgresqlConfig11) GetEnableBitmapscan() *wrappers.BoolValue { + if m != nil { + return m.EnableBitmapscan + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableHashagg() *wrappers.BoolValue { + if m != nil { + return m.EnableHashagg + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableHashjoin() *wrappers.BoolValue { + if m != nil { + return m.EnableHashjoin + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableIndexscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexscan + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableIndexonlyscan() *wrappers.BoolValue { + if m != nil { + return m.EnableIndexonlyscan + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableMaterial() *wrappers.BoolValue { + if m != nil { + return m.EnableMaterial + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableMergejoin() *wrappers.BoolValue { + if m != nil { + return m.EnableMergejoin + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableNestloop() *wrappers.BoolValue { + if m != nil { + return m.EnableNestloop + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableSeqscan() *wrappers.BoolValue { + if m != nil { + return m.EnableSeqscan + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableSort() *wrappers.BoolValue { + if m != nil { + return m.EnableSort + } + return nil +} + +func (m *PostgresqlConfig11) GetEnableTidscan() *wrappers.BoolValue { + if m != nil { + return m.EnableTidscan + } + return nil +} + +func (m *PostgresqlConfig11) GetMaxWorkerProcesses() *wrappers.Int64Value { + if m != nil { + return m.MaxWorkerProcesses + } + return nil +} + +func (m *PostgresqlConfig11) GetMaxParallelWorkers() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkers + } + return nil +} + +func (m *PostgresqlConfig11) GetMaxParallelWorkersPerGather() *wrappers.Int64Value { + if m != nil { + return m.MaxParallelWorkersPerGather + } + return nil +} + type PostgresqlConfigSet11 struct { // Effective settings for a PostgreSQL 11 cluster (a combination of settings defined // in [user_config] and [default_config]). @@ -1061,16 +1200,17 @@ func (m *PostgresqlConfigSet11) Reset() { *m = PostgresqlConfigSet11{} } func (m *PostgresqlConfigSet11) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfigSet11) ProtoMessage() {} func (*PostgresqlConfigSet11) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql11_aab3631fcda8ab75, []int{1} + return fileDescriptor_7f28b14e19e1f835, []int{1} } + func (m *PostgresqlConfigSet11) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfigSet11.Unmarshal(m, b) } func (m *PostgresqlConfigSet11) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfigSet11.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfigSet11) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfigSet11.Merge(dst, src) +func (m *PostgresqlConfigSet11) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfigSet11.Merge(m, src) } func (m *PostgresqlConfigSet11) XXX_Size() int { return xxx_messageInfo_PostgresqlConfigSet11.Size(m) @@ -1103,8 +1243,6 @@ func (m *PostgresqlConfigSet11) GetDefaultConfig() *PostgresqlConfig11 { } func init() { - proto.RegisterType((*PostgresqlConfig11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11") - proto.RegisterType((*PostgresqlConfigSet11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet11") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_WalLevel", PostgresqlConfig11_WalLevel_name, PostgresqlConfig11_WalLevel_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_SynchronousCommit", PostgresqlConfig11_SynchronousCommit_name, PostgresqlConfig11_SynchronousCommit_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_ConstraintExclusion", PostgresqlConfig11_ConstraintExclusion_name, PostgresqlConfig11_ConstraintExclusion_value) @@ -1117,196 +1255,213 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_XmlBinary", PostgresqlConfig11_XmlBinary_name, PostgresqlConfig11_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_XmlOption", PostgresqlConfig11_XmlOption_name, PostgresqlConfig11_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11_BackslashQuote", PostgresqlConfig11_BackslashQuote_name, PostgresqlConfig11_BackslashQuote_value) + proto.RegisterType((*PostgresqlConfig11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig11") + proto.RegisterType((*PostgresqlConfigSet11)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet11") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql11.proto", fileDescriptor_postgresql11_aab3631fcda8ab75) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql11.proto", fileDescriptor_7f28b14e19e1f835) } -var fileDescriptor_postgresql11_aab3631fcda8ab75 = []byte{ - // 2929 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0x4b, 0x7b, 0xdb, 0xc6, - 0xd5, 0xc7, 0x5f, 0x4a, 0x8e, 0x23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0xf8, 0xf1, 0x6f, 0x16, 0x70, 0xd1, 0x21, 0x9d, - 0x74, 0xb4, 0x73, 0x70, 0x2b, 0x8e, 0x86, 0x3d, 0x8f, 0x78, 0xc1, 0x86, 0xc2, 0x3d, 0xec, 0xfa, - 0xfc, 0x27, 0xbf, 0x59, 0xd0, 0x95, 0x30, 0xa8, 0xc4, 0x02, 0x68, 0x31, 0x1f, 0xbe, 0x04, 0x1b, - 0x71, 0x68, 0x6b, 0xe0, 0x05, 0xb5, 0x49, 0x2a, 0xfa, 0xc3, 0x29, 0xb6, 0x71, 0x88, 0xad, 0x44, - 0xe2, 0x84, 0x2c, 0x82, 0x25, 0x46, 0x4e, 0x4e, 0x45, 0xca, 0x7f, 0x1a, 0xe0, 0x36, 0xc6, 0x70, - 0x65, 0x42, 0x9c, 0xa8, 0x86, 0x71, 0x48, 0x47, 0x4c, 0x14, 0x43, 0x48, 0xaa, 0x12, 0xfa, 0xff, - 0xe9, 0x20, 0xa9, 0x42, 0xa8, 0x06, 0x20, 0x83, 0x58, 0x36, 0x4d, 0x73, 0x1e, 0x65, 0x72, 0xf2, - 0x0e, 0xe9, 0x54, 0x46, 0x44, 0xec, 0x3c, 0x0e, 0x50, 0xd1, 0x68, 0xf9, 0xcf, 0x32, 0x21, 0xf3, - 0x0c, 0x12, 0xb9, 0xb3, 0x7d, 0xc4, 0xe4, 0xe1, 0x22, 0x9f, 0x60, 0xaf, 0x45, 0xa8, 0xed, 0x9f, - 0xf3, 0x9f, 0xbf, 0xef, 0x3e, 0x92, 0x49, 0x27, 0x58, 0xd7, 0x83, 0x18, 0x19, 0xf4, 0x7d, 0xd4, - 0x04, 0xbf, 0x05, 0x6c, 0x62, 0x0c, 0x87, 0x98, 0x47, 0xc6, 0x29, 0xb2, 0x7d, 0xca, 0xff, 0x2e, - 0xb3, 0xf7, 0x6c, 0xb4, 0x32, 0x31, 0x8f, 0x0e, 0x99, 0x3f, 0x3c, 0x02, 0x0b, 0x8c, 0x90, 0xe4, -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67, - 0xec, 0xe2, 0x68, 0x75, 0xc1, 0x92, 0xb6, 0x2c, 0x88, 0x2f, 0x34, 0x59, 0xd0, 0x9e, 0x1b, 0xdf, - 0xed, 0xb3, 0x13, 0x79, 0x34, 0xc8, 0x32, 0x58, 0xba, 0xe2, 0x10, 0x06, 0xb8, 0xaa, 0x52, 0x1a, - 0xdc, 0x0c, 0xeb, 0xd1, 0x98, 0xbd, 0x5a, 0xe5, 0x66, 0xe1, 0x47, 0xe0, 0xee, 0xd5, 0x06, 0x4d, - 0xa8, 0x4a, 0x86, 0xd4, 0x10, 0x95, 0x0a, 0xdb, 0xf8, 0xd7, 0x0a, 0xff, 0x9a, 0x01, 0xab, 0x57, - 0xab, 0x21, 0x0d, 0xfb, 0xa5, 0x12, 0xb4, 0x00, 0x87, 0xdb, 0x6d, 0xcc, 0x2e, 0x58, 0x6c, 0x84, - 0x75, 0x53, 0xf4, 0xbb, 0x8a, 0xaf, 0xde, 0xb9, 0xca, 0x52, 0x97, 0x86, 0xc8, 0xd0, 0x04, 0x5f, - 0x83, 0xf9, 0x01, 0xc5, 0x5e, 0x1c, 0x60, 0xe6, 0x7d, 0x03, 0x00, 0x46, 0x8b, 0xd8, 0x7f, 0x01, - 0x8b, 0x71, 0xcd, 0x16, 0xe1, 0x67, 0xdf, 0x17, 0xbf, 0x10, 0x01, 0x43, 0x43, 0xf9, 0xe0, 0xb5, - 0xde, 0xb1, 0xfd, 0xee, 0xa0, 0xb5, 0x65, 0x92, 0xde, 0x76, 0x48, 0xdd, 0x0c, 0x7f, 0xbd, 0xd2, - 0x21, 0x9b, 0x1d, 0xec, 0x06, 0x5f, 0x32, 0xdb, 0x53, 0xfd, 0xae, 0xe6, 0xeb, 0xc4, 0xd8, 0xba, - 0x1e, 0xe8, 0x1e, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x43, 0x23, 0xc1, 0x9f, 0x92, 0x23, 0x00, - 0x00, +var fileDescriptor_7f28b14e19e1f835 = []byte{ + // 3175 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0xcb, 0x7e, 0xdb, 0x46, + 0x96, 0xc6, 0x87, 0x92, 0xe3, 0xc8, 0x25, 0x4b, 0x02, 0x4b, 0x17, 0x43, 0x92, 0x6f, 0x61, 0xe2, + 0x8c, 0x93, 0x19, 0x49, 0xa4, 0xac, 0x38, 0xce, 0x64, 0xe2, 0x09, 0x48, 0x82, 0x12, 0x63, 0xf0, + 0x62, 0x00, 0x92, 0x2c, 0x67, 0x1c, 0x4c, 0x11, 0x28, 0x92, 0x88, 0x00, 0x14, 0x85, 0x02, 0x75, + 0xf1, 0x6c, 0x7a, 0xdd, 0xcb, 0xec, 0xba, 0x5f, 0xa5, 0x1f, 0x40, 0x6f, 0xd0, 0x8f, 0xd0, 0xfb, + 0xde, 0x6a, 0xd5, 0xbf, 0xc2, 0x85, 0x00, 0x45, 0x3a, 0xa0, 0xed, 0xec, 0xac, 0x53, 0xf5, 0xfd, + 0x4f, 0x5d, 0x0e, 0xaa, 0xea, 0x1c, 0x13, 0x3c, 0xbb, 0x40, 0x8e, 0x81, 0xcf, 0xb7, 0x74, 0x8b, + 0xf4, 0x8d, 0x2d, 0xdb, 0x68, 0x6d, 0xf5, 0x08, 0xf5, 0x3a, 0x2e, 0xa6, 0x27, 0xd6, 0xd6, 0x69, + 0x61, 0x4b, 0x27, 0x4e, 0xdb, 0xec, 0x24, 0x8c, 0x85, 0xc2, 0x66, 0xcf, 0x25, 0x1e, 0x81, 0x8f, + 0x02, 0xe5, 0xa6, 0xaf, 0xdc, 0xb4, 0x8d, 0xd6, 0x66, 0xdc, 0x69, 0xf3, 0xb4, 0xb0, 0x19, 0x28, + 0xd7, 0xee, 0x77, 0x08, 0xe9, 0x58, 0x78, 0xcb, 0x17, 0xb5, 0xfa, 0xed, 0xad, 0x33, 0x17, 0xf5, + 0x7a, 0xd8, 0xa5, 0x01,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0x52, 0x89, 0x74, 0x82, 0x83, 0x34, 0x1b, 0xe0, 0x6b, 0xa6, 0x53, 0x0b, 0xe1, + 0xd0, 0x02, 0x9c, 0x45, 0x3a, 0xc3, 0x0e, 0x3f, 0xff, 0xc3, 0x1c, 0xce, 0x5b, 0xa4, 0x93, 0xf4, + 0x76, 0x01, 0xee, 0x44, 0xde, 0xb0, 0xeb, 0x12, 0xd7, 0xff, 0xa0, 0xb0, 0x8d, 0x1d, 0x8f, 0xff, + 0xe2, 0x0f, 0x73, 0xba, 0x14, 0x38, 0x15, 0x99, 0x03, 0x25, 0xe2, 0xc3, 0x57, 0x60, 0x2d, 0x72, + 0x6d, 0xf4, 0x5d, 0x3f, 0x37, 0x49, 0x78, 0x7f, 0x34, 0xc1, 0x67, 0x1c, 0x60, 0xcb, 0xa1, 0x38, + 0x26, 0x97, 0xc0, 0x02, 0x23, 0xc7, 0xa7, 0x22, 0xe5, 0xbf, 0xf4, 0x71, 0x6b, 0x23, 0xb8, 0x22, + 0x21, 0x56, 0x98, 0xc3, 0x58, 0xa4, 0x53, 0x8a, 0x15, 0x03, 0x48, 0x22, 0x13, 0xfa, 0xf7, 0xc9, + 0x20, 0x89, 0x44, 0xa8, 0x0a, 0x20, 0x83, 0x18, 0x26, 0x4d, 0x72, 0x1e, 0xa7, 0x72, 0xb2, 0x16, + 0xe9, 0x94, 0x87, 0x44, 0xec, 0x3c, 0xf6, 0x51, 0xe1, 0x6c, 0xf9, 0xaf, 0x52, 0x21, 0xb3, 0x0c, + 0x12, 0x76, 0x67, 0xdf, 0x11, 0x93, 0x07, 0x9b, 0x7c, 0x8a, 0xdd, 0x16, 0xa1, 0xa6, 0x77, 0xc1, + 0x7f, 0xfd, 0xb1, 0xdf, 0x91, 0x44, 0x3a, 0xfe, 0xbe, 0x1e, 0x44, 0x48, 0x7f, 0xec, 0xc3, 0x26, + 0xf8, 0x23, 0x60, 0x0b, 0xa3, 0x59, 0x44, 0x3f, 0xd6, 0xce, 0x90, 0x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 0x47, 0x49, 0xbf, 0x78, 0x02, 0x4d, 0x35, 0x92, + 0xb0, 0x23, 0x2d, 0x89, 0x21, 0x8e, 0x75, 0xe1, 0xa3, 0xd4, 0x09, 0xee, 0x9d, 0x18, 0x15, 0xc9, + 0x12, 0x53, 0xb3, 0x91, 0x87, 0x5d, 0x13, 0x59, 0xfc, 0xfe, 0xa4, 0x53, 0xab, 0x85, 0x8a, 0xc4, + 0xd4, 0x6c, 0xec, 0x76, 0xb0, 0xbf, 0x40, 0x07, 0x93, 0x4e, 0xad, 0x16, 0x49, 0x12, 0x63, 0x71, + 0x30, 0xf5, 0x2c, 0x42, 0x7a, 0xfc, 0xe1, 0xa4, 0x63, 0xa9, 0x87, 0x8a, 0xc4, 0x76, 0x87, 0xa7, + 0x3d, 0xff, 0x6a, 0xd2, 0xed, 0x0e, 0xcf, 0x79, 0xf6, 0xa6, 0x89, 0x10, 0xc4, 0xf5, 0xf8, 0xa3, + 0xf4, 0x37, 0x4d, 0xa8, 0x27, 0xae, 0x97, 0xf0, 0xef, 0x99, 0x86, 0xef, 0xff, 0xf5, 0xa4, 0xfe, + 0xd5, 0x40, 0x00, 0x8f, 0xc0, 0x52, 0x7c, 0x82, 0x6a, 0x3d, 0x97, 0xe8, 0x98, 0x52, 0x4c, 0xf9, + 0x9f, 0x27, 0x2e, 0xcd, 0xb2, 0x6f, 0x4b, 0x86, 0x76, 0x74, 0x84, 0x36, 0x23, 0x44, 0x84, 0x1e, + 0x14, 0xb4, 0xa2, 0x53, 0xfa, 0x7f, 0xdf, 0x1f, 0x1d, 0x55, 0xab, 0xa2, 0x53, 0xda, 0x06, 0x0f, + 0xc6, 0xa1, 0xfd, 0x07, 0x67, 0x07, 0x79, 0x5d, 0xec, 0xf2, 0x6f, 0xde, 0xcf, 0xcb, 0xfa, 0xa8, + 0x97, 0x26, 0x76, 0x77, 0x7d, 0x56, 0x4e, 0x01, 0x33, 0xd1, 0xff, 0x09, 0xc0, 0x55, 0xb0, 0x7c, + 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, 0xec, 0x46, 0x0e, 0xa6, 0x3e, 0xd6, 0x01, + 0x60, 0xb4, 0x90, 0xfd, 0x7f, 0x60, 0x3e, 0xaa, 0xe9, 0x84, 0xf8, 0xe9, 0x8f, 0xc5, 0xcf, 0x85, + 0xc0, 0xc0, 0x50, 0x3c, 0x78, 0xad, 0x76, 0x4c, 0xaf, 0xdb, 0x6f, 0x6d, 0xea, 0xc4, 0xde, 0x0a, + 0xa8, 0x1b, 0xc1, 0xaf, 0xdb, 0x3a, 0x64, 0xa3, 0x83, 0x1d, 0xff, 0x29, 0xb3, 0x35, 0xd1, 0xef, + 0xee, 0xbe, 0x8f, 0x8d, 0xad, 0x9b, 0xbe, 0xee, 0xc9, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1e, + 0x55, 0x40, 0x72, 0xb2, 0x27, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.pb.go index d7a473572..d4aaea4c8 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type PostgresqlConfig9_6_WalLevel int32 @@ -33,6 +35,7 @@ var PostgresqlConfig9_6_WalLevel_name = map[int32]string{ 1: "WAL_LEVEL_REPLICA", 2: "WAL_LEVEL_LOGICAL", } + var PostgresqlConfig9_6_WalLevel_value = map[string]int32{ "WAL_LEVEL_UNSPECIFIED": 0, "WAL_LEVEL_REPLICA": 1, @@ -42,8 +45,9 @@ var PostgresqlConfig9_6_WalLevel_value = map[string]int32{ func (x PostgresqlConfig9_6_WalLevel) String() string { return proto.EnumName(PostgresqlConfig9_6_WalLevel_name, int32(x)) } + func (PostgresqlConfig9_6_WalLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 0} + return fileDescriptor_213f5cd18654c1e2, []int{0, 0} } type PostgresqlConfig9_6_SynchronousCommit int32 @@ -65,6 +69,7 @@ var PostgresqlConfig9_6_SynchronousCommit_name = map[int32]string{ 4: "SYNCHRONOUS_COMMIT_REMOTE_WRITE", 5: "SYNCHRONOUS_COMMIT_REMOTE_APPLY", } + var PostgresqlConfig9_6_SynchronousCommit_value = map[string]int32{ "SYNCHRONOUS_COMMIT_UNSPECIFIED": 0, "SYNCHRONOUS_COMMIT_ON": 1, @@ -77,8 +82,9 @@ var PostgresqlConfig9_6_SynchronousCommit_value = map[string]int32{ func (x PostgresqlConfig9_6_SynchronousCommit) String() string { return proto.EnumName(PostgresqlConfig9_6_SynchronousCommit_name, int32(x)) } + func (PostgresqlConfig9_6_SynchronousCommit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 1} + return fileDescriptor_213f5cd18654c1e2, []int{0, 1} } type PostgresqlConfig9_6_ConstraintExclusion int32 @@ -96,6 +102,7 @@ var PostgresqlConfig9_6_ConstraintExclusion_name = map[int32]string{ 2: "CONSTRAINT_EXCLUSION_OFF", 3: "CONSTRAINT_EXCLUSION_PARTITION", } + var PostgresqlConfig9_6_ConstraintExclusion_value = map[string]int32{ "CONSTRAINT_EXCLUSION_UNSPECIFIED": 0, "CONSTRAINT_EXCLUSION_ON": 1, @@ -106,8 +113,9 @@ var PostgresqlConfig9_6_ConstraintExclusion_value = map[string]int32{ func (x PostgresqlConfig9_6_ConstraintExclusion) String() string { return proto.EnumName(PostgresqlConfig9_6_ConstraintExclusion_name, int32(x)) } + func (PostgresqlConfig9_6_ConstraintExclusion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 2} + return fileDescriptor_213f5cd18654c1e2, []int{0, 2} } type PostgresqlConfig9_6_ForceParallelMode int32 @@ -125,6 +133,7 @@ var PostgresqlConfig9_6_ForceParallelMode_name = map[int32]string{ 2: "FORCE_PARALLEL_MODE_OFF", 3: "FORCE_PARALLEL_MODE_REGRESS", } + var PostgresqlConfig9_6_ForceParallelMode_value = map[string]int32{ "FORCE_PARALLEL_MODE_UNSPECIFIED": 0, "FORCE_PARALLEL_MODE_ON": 1, @@ -135,8 +144,9 @@ var PostgresqlConfig9_6_ForceParallelMode_value = map[string]int32{ func (x PostgresqlConfig9_6_ForceParallelMode) String() string { return proto.EnumName(PostgresqlConfig9_6_ForceParallelMode_name, int32(x)) } + func (PostgresqlConfig9_6_ForceParallelMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 3} + return fileDescriptor_213f5cd18654c1e2, []int{0, 3} } type PostgresqlConfig9_6_LogLevel int32 @@ -170,6 +180,7 @@ var PostgresqlConfig9_6_LogLevel_name = map[int32]string{ 10: "LOG_LEVEL_FATAL", 11: "LOG_LEVEL_PANIC", } + var PostgresqlConfig9_6_LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_DEBUG5": 1, @@ -188,8 +199,9 @@ var PostgresqlConfig9_6_LogLevel_value = map[string]int32{ func (x PostgresqlConfig9_6_LogLevel) String() string { return proto.EnumName(PostgresqlConfig9_6_LogLevel_name, int32(x)) } + func (PostgresqlConfig9_6_LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 4} + return fileDescriptor_213f5cd18654c1e2, []int{0, 4} } type PostgresqlConfig9_6_LogErrorVerbosity int32 @@ -207,6 +219,7 @@ var PostgresqlConfig9_6_LogErrorVerbosity_name = map[int32]string{ 2: "LOG_ERROR_VERBOSITY_DEFAULT", 3: "LOG_ERROR_VERBOSITY_VERBOSE", } + var PostgresqlConfig9_6_LogErrorVerbosity_value = map[string]int32{ "LOG_ERROR_VERBOSITY_UNSPECIFIED": 0, "LOG_ERROR_VERBOSITY_TERSE": 1, @@ -217,8 +230,9 @@ var PostgresqlConfig9_6_LogErrorVerbosity_value = map[string]int32{ func (x PostgresqlConfig9_6_LogErrorVerbosity) String() string { return proto.EnumName(PostgresqlConfig9_6_LogErrorVerbosity_name, int32(x)) } + func (PostgresqlConfig9_6_LogErrorVerbosity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 5} + return fileDescriptor_213f5cd18654c1e2, []int{0, 5} } type PostgresqlConfig9_6_LogStatement int32 @@ -238,6 +252,7 @@ var PostgresqlConfig9_6_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var PostgresqlConfig9_6_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -249,8 +264,9 @@ var PostgresqlConfig9_6_LogStatement_value = map[string]int32{ func (x PostgresqlConfig9_6_LogStatement) String() string { return proto.EnumName(PostgresqlConfig9_6_LogStatement_name, int32(x)) } + func (PostgresqlConfig9_6_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 6} + return fileDescriptor_213f5cd18654c1e2, []int{0, 6} } type PostgresqlConfig9_6_TransactionIsolation int32 @@ -270,6 +286,7 @@ var PostgresqlConfig9_6_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var PostgresqlConfig9_6_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -281,8 +298,9 @@ var PostgresqlConfig9_6_TransactionIsolation_value = map[string]int32{ func (x PostgresqlConfig9_6_TransactionIsolation) String() string { return proto.EnumName(PostgresqlConfig9_6_TransactionIsolation_name, int32(x)) } + func (PostgresqlConfig9_6_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 7} + return fileDescriptor_213f5cd18654c1e2, []int{0, 7} } type PostgresqlConfig9_6_ByteaOutput int32 @@ -298,6 +316,7 @@ var PostgresqlConfig9_6_ByteaOutput_name = map[int32]string{ 1: "BYTEA_OUTPUT_HEX", 2: "BYTEA_OUTPUT_ESCAPED", } + var PostgresqlConfig9_6_ByteaOutput_value = map[string]int32{ "BYTEA_OUTPUT_UNSPECIFIED": 0, "BYTEA_OUTPUT_HEX": 1, @@ -307,8 +326,9 @@ var PostgresqlConfig9_6_ByteaOutput_value = map[string]int32{ func (x PostgresqlConfig9_6_ByteaOutput) String() string { return proto.EnumName(PostgresqlConfig9_6_ByteaOutput_name, int32(x)) } + func (PostgresqlConfig9_6_ByteaOutput) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 8} + return fileDescriptor_213f5cd18654c1e2, []int{0, 8} } type PostgresqlConfig9_6_XmlBinary int32 @@ -324,6 +344,7 @@ var PostgresqlConfig9_6_XmlBinary_name = map[int32]string{ 1: "XML_BINARY_BASE64", 2: "XML_BINARY_HEX", } + var PostgresqlConfig9_6_XmlBinary_value = map[string]int32{ "XML_BINARY_UNSPECIFIED": 0, "XML_BINARY_BASE64": 1, @@ -333,8 +354,9 @@ var PostgresqlConfig9_6_XmlBinary_value = map[string]int32{ func (x PostgresqlConfig9_6_XmlBinary) String() string { return proto.EnumName(PostgresqlConfig9_6_XmlBinary_name, int32(x)) } + func (PostgresqlConfig9_6_XmlBinary) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 9} + return fileDescriptor_213f5cd18654c1e2, []int{0, 9} } type PostgresqlConfig9_6_XmlOption int32 @@ -350,6 +372,7 @@ var PostgresqlConfig9_6_XmlOption_name = map[int32]string{ 1: "XML_OPTION_DOCUMENT", 2: "XML_OPTION_CONTENT", } + var PostgresqlConfig9_6_XmlOption_value = map[string]int32{ "XML_OPTION_UNSPECIFIED": 0, "XML_OPTION_DOCUMENT": 1, @@ -359,8 +382,9 @@ var PostgresqlConfig9_6_XmlOption_value = map[string]int32{ func (x PostgresqlConfig9_6_XmlOption) String() string { return proto.EnumName(PostgresqlConfig9_6_XmlOption_name, int32(x)) } + func (PostgresqlConfig9_6_XmlOption) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 10} + return fileDescriptor_213f5cd18654c1e2, []int{0, 10} } type PostgresqlConfig9_6_BackslashQuote int32 @@ -380,6 +404,7 @@ var PostgresqlConfig9_6_BackslashQuote_name = map[int32]string{ 3: "BACKSLASH_QUOTE_OFF", 4: "BACKSLASH_QUOTE_SAFE_ENCODING", } + var PostgresqlConfig9_6_BackslashQuote_value = map[string]int32{ "BACKSLASH_QUOTE_UNSPECIFIED": 0, "BACKSLASH_QUOTE": 1, @@ -391,8 +416,9 @@ var PostgresqlConfig9_6_BackslashQuote_value = map[string]int32{ func (x PostgresqlConfig9_6_BackslashQuote) String() string { return proto.EnumName(PostgresqlConfig9_6_BackslashQuote_name, int32(x)) } + func (PostgresqlConfig9_6_BackslashQuote) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0, 11} + return fileDescriptor_213f5cd18654c1e2, []int{0, 11} } // Options and structure of `PostgresqlConfig` reflects PostgreSQL configuration file @@ -488,16 +514,17 @@ func (m *PostgresqlConfig9_6) Reset() { *m = PostgresqlConfig9_6{} } func (m *PostgresqlConfig9_6) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfig9_6) ProtoMessage() {} func (*PostgresqlConfig9_6) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{0} + return fileDescriptor_213f5cd18654c1e2, []int{0} } + func (m *PostgresqlConfig9_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfig9_6.Unmarshal(m, b) } func (m *PostgresqlConfig9_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfig9_6.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfig9_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfig9_6.Merge(dst, src) +func (m *PostgresqlConfig9_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfig9_6.Merge(m, src) } func (m *PostgresqlConfig9_6) XXX_Size() int { return xxx_messageInfo_PostgresqlConfig9_6.Size(m) @@ -1078,16 +1105,17 @@ func (m *PostgresqlConfigSet9_6) Reset() { *m = PostgresqlConfigSet9_6{} func (m *PostgresqlConfigSet9_6) String() string { return proto.CompactTextString(m) } func (*PostgresqlConfigSet9_6) ProtoMessage() {} func (*PostgresqlConfigSet9_6) Descriptor() ([]byte, []int) { - return fileDescriptor_postgresql9_6_4a7be94a068cf705, []int{1} + return fileDescriptor_213f5cd18654c1e2, []int{1} } + func (m *PostgresqlConfigSet9_6) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PostgresqlConfigSet9_6.Unmarshal(m, b) } func (m *PostgresqlConfigSet9_6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_PostgresqlConfigSet9_6.Marshal(b, m, deterministic) } -func (dst *PostgresqlConfigSet9_6) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostgresqlConfigSet9_6.Merge(dst, src) +func (m *PostgresqlConfigSet9_6) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostgresqlConfigSet9_6.Merge(m, src) } func (m *PostgresqlConfigSet9_6) XXX_Size() int { return xxx_messageInfo_PostgresqlConfigSet9_6.Size(m) @@ -1120,8 +1148,6 @@ func (m *PostgresqlConfigSet9_6) GetDefaultConfig() *PostgresqlConfig9_6 { } func init() { - proto.RegisterType((*PostgresqlConfig9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6") - proto.RegisterType((*PostgresqlConfigSet9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet9_6") proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_WalLevel", PostgresqlConfig9_6_WalLevel_name, PostgresqlConfig9_6_WalLevel_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_SynchronousCommit", PostgresqlConfig9_6_SynchronousCommit_name, PostgresqlConfig9_6_SynchronousCommit_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_ConstraintExclusion", PostgresqlConfig9_6_ConstraintExclusion_name, PostgresqlConfig9_6_ConstraintExclusion_value) @@ -1134,13 +1160,15 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_XmlBinary", PostgresqlConfig9_6_XmlBinary_name, PostgresqlConfig9_6_XmlBinary_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_XmlOption", PostgresqlConfig9_6_XmlOption_name, PostgresqlConfig9_6_XmlOption_value) proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6_BackslashQuote", PostgresqlConfig9_6_BackslashQuote_name, PostgresqlConfig9_6_BackslashQuote_value) + proto.RegisterType((*PostgresqlConfig9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfig9_6") + proto.RegisterType((*PostgresqlConfigSet9_6)(nil), "yandex.cloud.mdb.postgresql.v1.config.PostgresqlConfigSet9_6") } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.proto", fileDescriptor_postgresql9_6_4a7be94a068cf705) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/config/postgresql9_6.proto", fileDescriptor_213f5cd18654c1e2) } -var fileDescriptor_postgresql9_6_4a7be94a068cf705 = []byte{ +var fileDescriptor_213f5cd18654c1e2 = []byte{ // 2993 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x9a, 0x5b, 0x77, 0xdb, 0xc6, 0x76, 0xc7, 0x4b, 0x49, 0x71, 0xe4, 0x91, 0x25, 0x81, 0x43, 0x5d, 0x20, 0xf9, 0x1a, 0x26, 0x4e, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database.pb.go index 98c117ca1..d41318258 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/database.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A PostgreSQL Database resource. For more information, see // the [Developer's Guide](/docs/managed-postgresql/concepts). @@ -45,16 +47,17 @@ func (m *Database) Reset() { *m = Database{} } func (m *Database) String() string { return proto.CompactTextString(m) } func (*Database) ProtoMessage() {} func (*Database) Descriptor() ([]byte, []int) { - return fileDescriptor_database_b1308b0a06a4388e, []int{0} + return fileDescriptor_5f036bfe45d2a329, []int{0} } + func (m *Database) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Database.Unmarshal(m, b) } func (m *Database) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Database.Marshal(b, m, deterministic) } -func (dst *Database) XXX_Merge(src proto.Message) { - xxx_messageInfo_Database.Merge(dst, src) +func (m *Database) XXX_Merge(src proto.Message) { + xxx_messageInfo_Database.Merge(m, src) } func (m *Database) XXX_Size() int { return xxx_messageInfo_Database.Size(m) @@ -109,7 +112,7 @@ func (m *Database) GetExtensions() []*Extension { type Extension struct { // Name of the extension, e.g. `pg_trgm` or `pg_btree`. - // Extensions supported by MDB are [listed in the Developer's Guide](/docs/managed-postgresql/concepts). + // Extensions supported by Managed Service for PostgreSQL are [listed in the Developer's Guide](/docs/managed-postgresql/operations/cluster-extensions). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the extension. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` @@ -122,16 +125,17 @@ func (m *Extension) Reset() { *m = Extension{} } func (m *Extension) String() string { return proto.CompactTextString(m) } func (*Extension) ProtoMessage() {} func (*Extension) Descriptor() ([]byte, []int) { - return fileDescriptor_database_b1308b0a06a4388e, []int{1} + return fileDescriptor_5f036bfe45d2a329, []int{1} } + func (m *Extension) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Extension.Unmarshal(m, b) } func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Extension.Marshal(b, m, deterministic) } -func (dst *Extension) XXX_Merge(src proto.Message) { - xxx_messageInfo_Extension.Merge(dst, src) +func (m *Extension) XXX_Merge(src proto.Message) { + xxx_messageInfo_Extension.Merge(m, src) } func (m *Extension) XXX_Size() int { return xxx_messageInfo_Extension.Size(m) @@ -179,16 +183,17 @@ func (m *DatabaseSpec) Reset() { *m = DatabaseSpec{} } func (m *DatabaseSpec) String() string { return proto.CompactTextString(m) } func (*DatabaseSpec) ProtoMessage() {} func (*DatabaseSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_database_b1308b0a06a4388e, []int{2} + return fileDescriptor_5f036bfe45d2a329, []int{2} } + func (m *DatabaseSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DatabaseSpec.Unmarshal(m, b) } func (m *DatabaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DatabaseSpec.Marshal(b, m, deterministic) } -func (dst *DatabaseSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatabaseSpec.Merge(dst, src) +func (m *DatabaseSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DatabaseSpec.Merge(m, src) } func (m *DatabaseSpec) XXX_Size() int { return xxx_messageInfo_DatabaseSpec.Size(m) @@ -241,10 +246,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/database.proto", fileDescriptor_database_b1308b0a06a4388e) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/database.proto", fileDescriptor_5f036bfe45d2a329) } -var fileDescriptor_database_b1308b0a06a4388e = []byte{ +var fileDescriptor_5f036bfe45d2a329 = []byte{ // 407 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xcf, 0xaa, 0xd3, 0x40, 0x14, 0x87, 0xc9, 0xbd, 0xe9, 0xbd, 0xb7, 0xe3, 0x9f, 0xc5, 0x28, 0x18, 0x85, 0x96, 0xd2, 0x55, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database_service.pb.go index 75fba98f0..3867f03d2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/database_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/database_service.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package postgresql import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetDatabaseRequest struct { // ID of the PostgreSQL cluster that the database belongs to. @@ -44,16 +45,17 @@ func (m *GetDatabaseRequest) Reset() { *m = GetDatabaseRequest{} } func (m *GetDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*GetDatabaseRequest) ProtoMessage() {} func (*GetDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{0} + return fileDescriptor_7019892c5f2c1745, []int{0} } + func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetDatabaseRequest.Unmarshal(m, b) } func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *GetDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDatabaseRequest.Merge(dst, src) +func (m *GetDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDatabaseRequest.Merge(m, src) } func (m *GetDatabaseRequest) XXX_Size() int { return xxx_messageInfo_GetDatabaseRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListDatabasesRequest) Reset() { *m = ListDatabasesRequest{} } func (m *ListDatabasesRequest) String() string { return proto.CompactTextString(m) } func (*ListDatabasesRequest) ProtoMessage() {} func (*ListDatabasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{1} + return fileDescriptor_7019892c5f2c1745, []int{1} } + func (m *ListDatabasesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesRequest.Unmarshal(m, b) } func (m *ListDatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesRequest.Marshal(b, m, deterministic) } -func (dst *ListDatabasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesRequest.Merge(dst, src) +func (m *ListDatabasesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesRequest.Merge(m, src) } func (m *ListDatabasesRequest) XXX_Size() int { return xxx_messageInfo_ListDatabasesRequest.Size(m) @@ -153,16 +156,17 @@ func (m *ListDatabasesResponse) Reset() { *m = ListDatabasesResponse{} } func (m *ListDatabasesResponse) String() string { return proto.CompactTextString(m) } func (*ListDatabasesResponse) ProtoMessage() {} func (*ListDatabasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{2} + return fileDescriptor_7019892c5f2c1745, []int{2} } + func (m *ListDatabasesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListDatabasesResponse.Unmarshal(m, b) } func (m *ListDatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListDatabasesResponse.Marshal(b, m, deterministic) } -func (dst *ListDatabasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListDatabasesResponse.Merge(dst, src) +func (m *ListDatabasesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDatabasesResponse.Merge(m, src) } func (m *ListDatabasesResponse) XXX_Size() int { return xxx_messageInfo_ListDatabasesResponse.Size(m) @@ -188,10 +192,10 @@ func (m *ListDatabasesResponse) GetNextPageToken() string { } type CreateDatabaseRequest struct { - // Required. ID of the PostgreSQL cluster to create a database in. + // ID of the PostgreSQL cluster to create a database in. // To get the cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Configuration of the database to create. + // Configuration of the database to create. DatabaseSpec *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -202,16 +206,17 @@ func (m *CreateDatabaseRequest) Reset() { *m = CreateDatabaseRequest{} } func (m *CreateDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseRequest) ProtoMessage() {} func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{3} + return fileDescriptor_7019892c5f2c1745, []int{3} } + func (m *CreateDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseRequest.Unmarshal(m, b) } func (m *CreateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseRequest.Merge(dst, src) +func (m *CreateDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseRequest.Merge(m, src) } func (m *CreateDatabaseRequest) XXX_Size() int { return xxx_messageInfo_CreateDatabaseRequest.Size(m) @@ -250,16 +255,17 @@ func (m *CreateDatabaseMetadata) Reset() { *m = CreateDatabaseMetadata{} func (m *CreateDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*CreateDatabaseMetadata) ProtoMessage() {} func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{4} + return fileDescriptor_7019892c5f2c1745, []int{4} } + func (m *CreateDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateDatabaseMetadata.Unmarshal(m, b) } func (m *CreateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateDatabaseMetadata.Merge(dst, src) +func (m *CreateDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateDatabaseMetadata.Merge(m, src) } func (m *CreateDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_CreateDatabaseMetadata.Size(m) @@ -285,10 +291,10 @@ func (m *CreateDatabaseMetadata) GetDatabaseName() string { } type UpdateDatabaseRequest struct { - // Required. ID of the PostgreSQL cluster to update a database in. + // ID of the PostgreSQL cluster to update a database in. // To get the cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the database to update. + // Name of the database to update. // To get the name of the database use a [DatabaseService.List] request. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` // Field mask that specifies which fields of the Database resource should be updated. @@ -307,16 +313,17 @@ func (m *UpdateDatabaseRequest) Reset() { *m = UpdateDatabaseRequest{} } func (m *UpdateDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*UpdateDatabaseRequest) ProtoMessage() {} func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{5} + return fileDescriptor_7019892c5f2c1745, []int{5} } + func (m *UpdateDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDatabaseRequest.Unmarshal(m, b) } func (m *UpdateDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *UpdateDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatabaseRequest.Merge(dst, src) +func (m *UpdateDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDatabaseRequest.Merge(m, src) } func (m *UpdateDatabaseRequest) XXX_Size() int { return xxx_messageInfo_UpdateDatabaseRequest.Size(m) @@ -369,16 +376,17 @@ func (m *UpdateDatabaseMetadata) Reset() { *m = UpdateDatabaseMetadata{} func (m *UpdateDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateDatabaseMetadata) ProtoMessage() {} func (*UpdateDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{6} + return fileDescriptor_7019892c5f2c1745, []int{6} } + func (m *UpdateDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateDatabaseMetadata.Unmarshal(m, b) } func (m *UpdateDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateDatabaseMetadata.Merge(dst, src) +func (m *UpdateDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDatabaseMetadata.Merge(m, src) } func (m *UpdateDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_UpdateDatabaseMetadata.Size(m) @@ -404,10 +412,10 @@ func (m *UpdateDatabaseMetadata) GetDatabaseName() string { } type DeleteDatabaseRequest struct { - // Required. ID of the PostgreSQL cluster to delete a database in. + // ID of the PostgreSQL cluster to delete a database in. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the database to delete. + // Name of the database to delete. // To get the name of the database, use a [DatabaseService.List] request. DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -419,16 +427,17 @@ func (m *DeleteDatabaseRequest) Reset() { *m = DeleteDatabaseRequest{} } func (m *DeleteDatabaseRequest) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseRequest) ProtoMessage() {} func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{7} + return fileDescriptor_7019892c5f2c1745, []int{7} } + func (m *DeleteDatabaseRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseRequest.Unmarshal(m, b) } func (m *DeleteDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseRequest.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseRequest.Merge(dst, src) +func (m *DeleteDatabaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseRequest.Merge(m, src) } func (m *DeleteDatabaseRequest) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseRequest.Size(m) @@ -467,16 +476,17 @@ func (m *DeleteDatabaseMetadata) Reset() { *m = DeleteDatabaseMetadata{} func (m *DeleteDatabaseMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteDatabaseMetadata) ProtoMessage() {} func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_database_service_0cedf08b74fe82ed, []int{8} + return fileDescriptor_7019892c5f2c1745, []int{8} } + func (m *DeleteDatabaseMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteDatabaseMetadata.Unmarshal(m, b) } func (m *DeleteDatabaseMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteDatabaseMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteDatabaseMetadata.Merge(dst, src) +func (m *DeleteDatabaseMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDatabaseMetadata.Merge(m, src) } func (m *DeleteDatabaseMetadata) XXX_Size() int { return xxx_messageInfo_DeleteDatabaseMetadata.Size(m) @@ -513,6 +523,66 @@ func init() { proto.RegisterType((*DeleteDatabaseMetadata)(nil), "yandex.cloud.mdb.postgresql.v1.DeleteDatabaseMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/database_service.proto", fileDescriptor_7019892c5f2c1745) +} + +var fileDescriptor_7019892c5f2c1745 = []byte{ + // 818 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x4f, 0x1b, 0x47, + 0x18, 0xd6, 0x62, 0xd7, 0xc2, 0x63, 0x28, 0xd2, 0xa8, 0xae, 0x2c, 0xab, 0x20, 0xba, 0x95, 0xa8, + 0xeb, 0x76, 0x77, 0xbd, 0xa6, 0xa0, 0xb6, 0x40, 0xa5, 0x9a, 0xaf, 0xa2, 0x04, 0x88, 0x96, 0x44, + 0x91, 0x48, 0x22, 0x6b, 0xec, 0x1d, 0x36, 0x2b, 0xbc, 0x1f, 0x78, 0xc6, 0x0e, 0x1f, 0xe2, 0x90, + 0x1c, 0x12, 0x85, 0x5b, 0x12, 0x29, 0xb7, 0xfc, 0x09, 0xf2, 0x23, 0x40, 0xca, 0x8d, 0x1c, 0x73, + 0x8d, 0xa2, 0x9c, 0x73, 0xcc, 0x29, 0x9a, 0x19, 0x7f, 0x2d, 0x18, 0xec, 0x80, 0x0f, 0xb9, 0xed, + 0xce, 0xfb, 0x3e, 0xb3, 0xcf, 0xf3, 0xce, 0xfb, 0x3e, 0x3b, 0x60, 0x62, 0x07, 0xb9, 0x26, 0xde, + 0xd6, 0x8a, 0x25, 0xaf, 0x62, 0x6a, 0x8e, 0x59, 0xd0, 0x7c, 0x8f, 0x50, 0xab, 0x8c, 0xc9, 0x56, + 0x49, 0xab, 0xea, 0x9a, 0x89, 0x28, 0x2a, 0x20, 0x82, 0xf3, 0x04, 0x97, 0xab, 0x76, 0x11, 0xab, + 0x7e, 0xd9, 0xa3, 0x1e, 0x1c, 0x11, 0x30, 0x95, 0xc3, 0x54, 0xc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 0xbe, 0xa4, 0x94, + 0x7f, 0xa4, 0x34, 0x7c, 0x27, 0x81, 0x88, 0x18, 0xcb, 0xce, 0x6a, 0xda, 0x3a, 0x5a, 0x37, 0x6a, + 0x1e, 0x08, 0x35, 0xe7, 0x8c, 0x7f, 0x50, 0xcd, 0xb5, 0x6c, 0x8f, 0xda, 0x8b, 0xa9, 0xfb, 0x20, + 0x81, 0x88, 0x18, 0xc5, 0xce, 0xea, 0xda, 0xba, 0x47, 0x37, 0xea, 0x1e, 0x4a, 0x87, 0x27, 0x69, + 0xed, 0xdc, 0x99, 0x8f, 0x9f, 0x76, 0xda, 0x79, 0xc7, 0xa7, 0x3b, 0x62, 0x94, 0xd2, 0x3d, 0xd2, + 0x9a, 0x5b, 0x5d, 0x5f, 0xb6, 0x6c, 0x7a, 0xbf, 0x52, 0x50, 0x8b, 0x9e, 0xa3, 0x09, 0xca, 0x8a, + 0xb8, 0x56, 0x59, 0x9e, 0x62, 0x61, 0x97, 0x7f, 0x5d, 0xbb, 0xf8, 0xbe, 0x35, 0xd5, 0x7c, 0x2b, + 0x44, 0x38, 0x60, 0xfc, 0x4b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xef, 0xdf, 0x75, 0x9d, 0x0a, + 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -608,6 +678,26 @@ type DatabaseServiceServer interface { Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error) } +// UnimplementedDatabaseServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDatabaseServiceServer struct { +} + +func (*UnimplementedDatabaseServiceServer) Get(ctx context.Context, req *GetDatabaseRequest) (*Database, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedDatabaseServiceServer) List(ctx context.Context, req *ListDatabasesRequest) (*ListDatabasesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedDatabaseServiceServer) Create(ctx context.Context, req *CreateDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedDatabaseServiceServer) Update(ctx context.Context, req *UpdateDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedDatabaseServiceServer) Delete(ctx context.Context, req *DeleteDatabaseRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} + func RegisterDatabaseServiceServer(s *grpc.Server, srv DatabaseServiceServer) { s.RegisterService(&_DatabaseService_serviceDesc, srv) } @@ -730,63 +820,3 @@ var _DatabaseService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/postgresql/v1/database_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/database_service.proto", fileDescriptor_database_service_0cedf08b74fe82ed) -} - -var fileDescriptor_database_service_0cedf08b74fe82ed = []byte{ - // 818 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x4f, 0x1b, 0x47, - 0x18, 0xd6, 0x62, 0xd7, 0xc2, 0x63, 0x28, 0xd2, 0xa8, 0xae, 0x2c, 0xab, 0x20, 0xba, 0x95, 0xa8, - 0xeb, 0x76, 0x77, 0xbd, 0xa6, 0xa0, 0xb6, 0x40, 0xa5, 0x9a, 0xaf, 0xa2, 0x04, 0x88, 0x96, 0x44, - 0x91, 0x48, 0x22, 0x6b, 0xec, 0x1d, 0x36, 0x2b, 0xbc, 0x1f, 0x78, 0xc6, 0x0e, 0x1f, 0xe2, 0x90, - 0x1c, 0x12, 0x85, 0x5b, 0x12, 0x29, 0xb7, 0xfc, 0x09, 0xf2, 0x23, 0x40, 0xca, 0x8d, 0x1c, 0x73, - 0x8d, 0xa2, 0x9c, 0x73, 0xcc, 0x29, 0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0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset.pb.go index 8a0df6d95..3da3a0ece 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/resource_preset.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A ResourcePreset resource for describing hardware configuration presets. type ResourcePreset struct { @@ -37,16 +39,17 @@ func (m *ResourcePreset) Reset() { *m = ResourcePreset{} } func (m *ResourcePreset) String() string { return proto.CompactTextString(m) } func (*ResourcePreset) ProtoMessage() {} func (*ResourcePreset) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_4cba9c3462d84462, []int{0} + return fileDescriptor_b92450db83d64039, []int{0} } + func (m *ResourcePreset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourcePreset.Unmarshal(m, b) } func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic) } -func (dst *ResourcePreset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePreset.Merge(dst, src) +func (m *ResourcePreset) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcePreset.Merge(m, src) } func (m *ResourcePreset) XXX_Size() int { return xxx_messageInfo_ResourcePreset.Size(m) @@ -90,10 +93,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/resource_preset.proto", fileDescriptor_resource_preset_4cba9c3462d84462) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/resource_preset.proto", fileDescriptor_b92450db83d64039) } -var fileDescriptor_resource_preset_4cba9c3462d84462 = []byte{ +var fileDescriptor_b92450db83d64039 = []byte{ // 215 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xcf, 0xb1, 0x4b, 0x03, 0x31, 0x14, 0xc7, 0x71, 0xee, 0x4e, 0xab, 0xcd, 0xd0, 0x21, 0x88, 0xc4, 0x45, 0x0e, 0xa7, 0x5b, 0x9a, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset_service.pb.go index f93364bbe..48bf37030 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/resource_preset_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/resource_preset_service.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package postgresql import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,10 +24,10 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetResourcePresetRequest struct { - // Required. ID of the resource preset to return. + // ID of the resource preset to return. // To get the resource preset ID, use a [ResourcePresetService.List] request. ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -38,16 +39,17 @@ func (m *GetResourcePresetRequest) Reset() { *m = GetResourcePresetReque func (m *GetResourcePresetRequest) String() string { return proto.CompactTextString(m) } func (*GetResourcePresetRequest) ProtoMessage() {} func (*GetResourcePresetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_5dc2866710ef140a, []int{0} + return fileDescriptor_e093a4066b8303d2, []int{0} } + func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetResourcePresetRequest.Unmarshal(m, b) } func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetResourcePresetRequest.Marshal(b, m, deterministic) } -func (dst *GetResourcePresetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetResourcePresetRequest.Merge(dst, src) +func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourcePresetRequest.Merge(m, src) } func (m *GetResourcePresetRequest) XXX_Size() int { return xxx_messageInfo_GetResourcePresetRequest.Size(m) @@ -82,16 +84,17 @@ func (m *ListResourcePresetsRequest) Reset() { *m = ListResourcePresetsR func (m *ListResourcePresetsRequest) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsRequest) ProtoMessage() {} func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_5dc2866710ef140a, []int{1} + return fileDescriptor_e093a4066b8303d2, []int{1} } + func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsRequest.Unmarshal(m, b) } func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsRequest.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsRequest.Merge(dst, src) +func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsRequest.Merge(m, src) } func (m *ListResourcePresetsRequest) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsRequest.Size(m) @@ -133,16 +136,17 @@ func (m *ListResourcePresetsResponse) Reset() { *m = ListResourcePresets func (m *ListResourcePresetsResponse) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsResponse) ProtoMessage() {} func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_5dc2866710ef140a, []int{2} + return fileDescriptor_e093a4066b8303d2, []int{2} } + func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsResponse.Unmarshal(m, b) } func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsResponse.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsResponse.Merge(dst, src) +func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsResponse.Merge(m, src) } func (m *ListResourcePresetsResponse) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsResponse.Size(m) @@ -173,6 +177,43 @@ func init() { proto.RegisterType((*ListResourcePresetsResponse)(nil), "yandex.cloud.mdb.postgresql.v1.ListResourcePresetsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/resource_preset_service.proto", fileDescriptor_e093a4066b8303d2) +} + +var fileDescriptor_e093a4066b8303d2 = []byte{ + // 459 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcb, 0x6e, 0x13, 0x31, + 0x14, 0x95, 0x33, 0xa5, 0x22, 0x46, 0xa8, 0x95, 0x25, 0xa4, 0xd1, 0xf0, 0x50, 0x34, 0x0b, 0x98, + 0x4d, 0xec, 0x4c, 0x60, 0x81, 0x48, 0xbb, 0x09, 0x8b, 0x0a, 0x89, 0x47, 0x35, 0x65, 0x03, 0x9b, + 0xc8, 0x89, 0xaf, 0x8c, 0x45, 0x62, 0x4f, 0xc7, 0x4e, 0x54, 0x8a, 0x90, 0x10, 0x4b, 0xb6, 0x7c, + 0x06, 0x0b, 0x36, 0xfc, 0x43, 0xd9, 0xf3, 0x0b, 0x2c, 0xf8, 0x06, 0x56, 0x68, 0x3c, 0xa9, 0xca, + 0x0c, 0x7d, 0x10, 0x96, 0xd6, 0xb9, 0xe7, 0x9e, 0x73, 0x7c, 0xef, 0xc5, 0x5b, 0x6f, 0xb8, 0x16, + 0x70, 0xc0, 0x26, 0x53, 0x33, 0x17, 0x6c, 0x26, 0xc6, 0x2c, 0x37, 0xd6, 0xc9, 0x02, 0xec, 0xfe, + 0x94, 0x2d, 0x52, 0x56, 0x80, 0x35, 0xf3, 0x62, 0x02, 0xa3, 0xbc, 0x00, 0x0b, 0x6e, 0x64, 0xa1, + 0x58, 0xa8, 0x09, 0xd0, 0xbc, 0x30, 0xce, 0x90, 0x5b, 0x15, 0x9b, 0x7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e8, 0x0f, 0xa7, 0xad, 0xa6, 0xd3, 0xab, 0x65, 0xc5, 0xee, 0xb1, 0xdb, 0xfe, 0xfb, 0x00, 0x5f, + 0xab, 0xb7, 0xdd, 0xab, 0x36, 0x84, 0x7c, 0x45, 0x38, 0xd8, 0x01, 0x47, 0xee, 0x5f, 0xe4, 0xea, + 0xac, 0x71, 0x45, 0x2b, 0xe6, 0x89, 0x1f, 0x7e, 0xf8, 0xfe, 0xe3, 0x53, 0x6b, 0x9b, 0x0c, 0xd8, + 0x8c, 0x6b, 0x2e, 0x41, 0x74, 0x4f, 0x5f, 0x98, 0x65, 0x5c, 0xf6, 0xf6, 0xef, 0x65, 0x78, 0x47, + 0xbe, 0x20, 0xbc, 0x56, 0x7e, 0x3f, 0x79, 0x70, 0x91, 0xfa, 0xd9, 0x6b, 0x11, 0x0d, 0xfe, 0x8b, + 0x5b, 0x0d, 0x38, 0xa6, 0x3e, 0x46, 0x42, 0x6e, 0xff, 0x5b, 0x8c, 0xe1, 0xb3, 0x97, 0x4f, 0xa4, + 0x72, 0xaf, 0xe6, 0x63, 0x3a, 0x31, 0x33, 0x56, 0x09, 0x77, 0xab, 0xa3, 0x91, 0xa6, 0x2b, 0x41, + 0xfb, 0xc3, 0x60, 0xe7, 0x5f, 0xd3, 0xe0, 0xe4, 0x35, 0x5e, 0xf7, 0x84, 0xbb, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xb8, 0x37, 0xeb, 0x6f, 0x1c, 0x04, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -229,6 +270,17 @@ type ResourcePresetServiceServer interface { List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) } +// UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedResourcePresetServiceServer struct { +} + +func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer) { s.RegisterService(&_ResourcePresetService_serviceDesc, srv) } @@ -285,40 +337,3 @@ var _ResourcePresetService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/postgresql/v1/resource_preset_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/resource_preset_service.proto", fileDescriptor_resource_preset_service_5dc2866710ef140a) -} - -var fileDescriptor_resource_preset_service_5dc2866710ef140a = []byte{ - // 459 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcb, 0x6e, 0x13, 0x31, - 0x14, 0x95, 0x33, 0xa5, 0x22, 0x46, 0xa8, 0x95, 0x25, 0xa4, 0xd1, 0xf0, 0x50, 0x34, 0x0b, 0x98, - 0x4d, 0xec, 0x4c, 0x60, 0x81, 0x48, 0xbb, 0x09, 0x8b, 0x0a, 0x89, 0x47, 0x35, 0x65, 0x03, 0x9b, - 0xc8, 0x89, 0xaf, 0x8c, 0x45, 0x62, 0x4f, 0xc7, 0x4e, 0x54, 0x8a, 0x90, 0x10, 0x4b, 0xb6, 0x7c, - 0x06, 0x0b, 0x36, 0xfc, 0x43, 0xd9, 0xf3, 0x0b, 0x2c, 0xf8, 0x06, 0x56, 0x68, 0x3c, 0xa9, 0xca, - 0x0c, 0x7d, 0x10, 0x96, 0xd6, 0xb9, 0xe7, 0x9e, 0x73, 0x7c, 0xef, 0xc5, 0x5b, 0x6f, 0xb8, 0x16, - 0x70, 0xc0, 0x26, 0x53, 0x33, 0x17, 0x6c, 0x26, 0xc6, 0x2c, 0x37, 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, 0x37, 0xda, 0x02, 0x79, 0x81, 0x37, 0x1b, 0x21, 0x6c, 0x88, 0x3a, 0x41, 0x72, 0xa5, 0x4f, - 0xe9, 0xf9, 0xe3, 0xa0, 0x8d, 0x5f, 0xd9, 0xa8, 0x87, 0xb5, 0x24, 0xc5, 0x1b, 0x1a, 0x0e, 0xdc, - 0xe8, 0x0f, 0xa7, 0xad, 0xa6, 0xd3, 0xab, 0x65, 0xc5, 0xee, 0xb1, 0xdb, 0xfe, 0xfb, 0x00, 0x5f, - 0xab, 0xb7, 0xdd, 0xab, 0x36, 0x84, 0x7c, 0x45, 0x38, 0xd8, 0x01, 0x47, 0xee, 0x5f, 0xe4, 0xea, - 0xac, 0x71, 0x45, 0x2b, 0xe6, 0x89, 0x1f, 0x7e, 0xf8, 0xfe, 0xe3, 0x53, 0x6b, 0x9b, 0x0c, 0xd8, - 0x8c, 0x6b, 0x2e, 0x41, 0x74, 0x4f, 0x5f, 0x98, 0x65, 0x5c, 0xf6, 0xf6, 0xef, 0x65, 0x78, 0x47, - 0xbe, 0x20, 0xbc, 0x56, 0x7e, 0x3f, 0x79, 0x70, 0x91, 0xfa, 0xd9, 0x6b, 0x11, 0x0d, 0xfe, 0x8b, - 0x5b, 0x0d, 0x38, 0xa6, 0x3e, 0x46, 0x42, 0x6e, 0xff, 0x5b, 0x8c, 0xe1, 0xb3, 0x97, 0x4f, 0xa4, - 0x72, 0xaf, 0xe6, 0x63, 0x3a, 0x31, 0x33, 0x56, 0x09, 0x77, 0xab, 0xa3, 0x91, 0xa6, 0x2b, 0x41, - 0xfb, 0xc3, 0x60, 0xe7, 0x5f, 0xd3, 0xe0, 0xe4, 0x35, 0x5e, 0xf7, 0x84, 0xbb, 0xbf, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xb8, 0x37, 0xeb, 0x6f, 0x1c, 0x04, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user.pb.go index aeb92acc2..f17baac82 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/user.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" +package postgresql -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type UserSettings_SynchronousCommit int32 @@ -39,6 +41,7 @@ var UserSettings_SynchronousCommit_name = map[int32]string{ 4: "SYNCHRONOUS_COMMIT_REMOTE_WRITE", 5: "SYNCHRONOUS_COMMIT_REMOTE_APPLY", } + var UserSettings_SynchronousCommit_value = map[string]int32{ "SYNCHRONOUS_COMMIT_UNSPECIFIED": 0, "SYNCHRONOUS_COMMIT_ON": 1, @@ -51,8 +54,9 @@ var UserSettings_SynchronousCommit_value = map[string]int32{ func (x UserSettings_SynchronousCommit) String() string { return proto.EnumName(UserSettings_SynchronousCommit_name, int32(x)) } + func (UserSettings_SynchronousCommit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{3, 0} + return fileDescriptor_ddb893fd4eb810a7, []int{3, 0} } type UserSettings_LogStatement int32 @@ -72,6 +76,7 @@ var UserSettings_LogStatement_name = map[int32]string{ 3: "LOG_STATEMENT_MOD", 4: "LOG_STATEMENT_ALL", } + var UserSettings_LogStatement_value = map[string]int32{ "LOG_STATEMENT_UNSPECIFIED": 0, "LOG_STATEMENT_NONE": 1, @@ -83,8 +88,9 @@ var UserSettings_LogStatement_value = map[string]int32{ func (x UserSettings_LogStatement) String() string { return proto.EnumName(UserSettings_LogStatement_name, int32(x)) } + func (UserSettings_LogStatement) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{3, 1} + return fileDescriptor_ddb893fd4eb810a7, []int{3, 1} } type UserSettings_TransactionIsolation int32 @@ -104,6 +110,7 @@ var UserSettings_TransactionIsolation_name = map[int32]string{ 3: "TRANSACTION_ISOLATION_REPEATABLE_READ", 4: "TRANSACTION_ISOLATION_SERIALIZABLE", } + var UserSettings_TransactionIsolation_value = map[string]int32{ "TRANSACTION_ISOLATION_UNSPECIFIED": 0, "TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1, @@ -115,8 +122,9 @@ var UserSettings_TransactionIsolation_value = map[string]int32{ func (x UserSettings_TransactionIsolation) String() string { return proto.EnumName(UserSettings_TransactionIsolation_name, int32(x)) } + func (UserSettings_TransactionIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{3, 2} + return fileDescriptor_ddb893fd4eb810a7, []int{3, 2} } // A PostgreSQL User resource. For more information, see @@ -131,26 +139,31 @@ type User struct { // Number of database connections available to the user. ConnLimit int64 `protobuf:"varint,4,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"` // Postgresql settings for this user - Settings *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Settings *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"` + // User can login (default True) + Login *wrappers.BoolValue `protobuf:"bytes,6,opt,name=login,proto3" json:"login,omitempty"` + // User grants (GRANT TO ), role must be other user + Grants []string `protobuf:"bytes,7,rep,name=grants,proto3" json:"grants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *User) Reset() { *m = User{} } func (m *User) String() string { return proto.CompactTextString(m) } func (*User) ProtoMessage() {} func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{0} + return fileDescriptor_ddb893fd4eb810a7, []int{0} } + func (m *User) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_User.Unmarshal(m, b) } func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_User.Marshal(b, m, deterministic) } -func (dst *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(dst, src) +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) } func (m *User) XXX_Size() int { return xxx_messageInfo_User.Size(m) @@ -196,6 +209,20 @@ func (m *User) GetSettings() *UserSettings { return nil } +func (m *User) GetLogin() *wrappers.BoolValue { + if m != nil { + return m.Login + } + return nil +} + +func (m *User) GetGrants() []string { + if m != nil { + return m.Grants + } + return nil +} + type Permission struct { // Name of the database that the permission grants access to. DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` @@ -208,16 +235,17 @@ func (m *Permission) Reset() { *m = Permission{} } func (m *Permission) String() string { return proto.CompactTextString(m) } func (*Permission) ProtoMessage() {} func (*Permission) Descriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{1} + return fileDescriptor_ddb893fd4eb810a7, []int{1} } + func (m *Permission) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Permission.Unmarshal(m, b) } func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Permission.Marshal(b, m, deterministic) } -func (dst *Permission) XXX_Merge(src proto.Message) { - xxx_messageInfo_Permission.Merge(dst, src) +func (m *Permission) XXX_Merge(src proto.Message) { + xxx_messageInfo_Permission.Merge(m, src) } func (m *Permission) XXX_Size() int { return xxx_messageInfo_Permission.Size(m) @@ -245,26 +273,31 @@ type UserSpec struct { // Number of database connections that should be available to the user. ConnLimit *wrappers.Int64Value `protobuf:"bytes,4,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"` // Postgresql settings for this user - Settings *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Settings *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"` + // User can login (default True) + Login *wrappers.BoolValue `protobuf:"bytes,6,opt,name=login,proto3" json:"login,omitempty"` + // User grants (GRANT TO ), role must be other user + Grants []string `protobuf:"bytes,7,rep,name=grants,proto3" json:"grants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UserSpec) Reset() { *m = UserSpec{} } func (m *UserSpec) String() string { return proto.CompactTextString(m) } func (*UserSpec) ProtoMessage() {} func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{2} + return fileDescriptor_ddb893fd4eb810a7, []int{2} } + func (m *UserSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserSpec.Unmarshal(m, b) } func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) } -func (dst *UserSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSpec.Merge(dst, src) +func (m *UserSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSpec.Merge(m, src) } func (m *UserSpec) XXX_Size() int { return xxx_messageInfo_UserSpec.Size(m) @@ -310,6 +343,20 @@ func (m *UserSpec) GetSettings() *UserSettings { return nil } +func (m *UserSpec) GetLogin() *wrappers.BoolValue { + if m != nil { + return m.Login + } + return nil +} + +func (m *UserSpec) GetGrants() []string { + if m != nil { + return m.Grants + } + return nil +} + // Postgresql user settings config type UserSettings struct { DefaultTransactionIsolation UserSettings_TransactionIsolation `protobuf:"varint,1,opt,name=default_transaction_isolation,json=defaultTransactionIsolation,proto3,enum=yandex.cloud.mdb.postgresql.v1.UserSettings_TransactionIsolation" json:"default_transaction_isolation,omitempty"` @@ -319,26 +366,28 @@ type UserSettings struct { LogMinDurationStatement *wrappers.Int64Value `protobuf:"bytes,3,opt,name=log_min_duration_statement,json=logMinDurationStatement,proto3" json:"log_min_duration_statement,omitempty"` SynchronousCommit UserSettings_SynchronousCommit `protobuf:"varint,4,opt,name=synchronous_commit,json=synchronousCommit,proto3,enum=yandex.cloud.mdb.postgresql.v1.UserSettings_SynchronousCommit" json:"synchronous_commit,omitempty"` // in bytes. - TempFileLimit *wrappers.Int64Value `protobuf:"bytes,5,opt,name=temp_file_limit,json=tempFileLimit,proto3" json:"temp_file_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TempFileLimit *wrappers.Int64Value `protobuf:"bytes,5,opt,name=temp_file_limit,json=tempFileLimit,proto3" json:"temp_file_limit,omitempty"` + LogStatement UserSettings_LogStatement `protobuf:"varint,6,opt,name=log_statement,json=logStatement,proto3,enum=yandex.cloud.mdb.postgresql.v1.UserSettings_LogStatement" json:"log_statement,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UserSettings) Reset() { *m = UserSettings{} } func (m *UserSettings) String() string { return proto.CompactTextString(m) } func (*UserSettings) ProtoMessage() {} func (*UserSettings) Descriptor() ([]byte, []int) { - return fileDescriptor_user_86f81a23ffeb3ce2, []int{3} + return fileDescriptor_ddb893fd4eb810a7, []int{3} } + func (m *UserSettings) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UserSettings.Unmarshal(m, b) } func (m *UserSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UserSettings.Marshal(b, m, deterministic) } -func (dst *UserSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSettings.Merge(dst, src) +func (m *UserSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSettings.Merge(m, src) } func (m *UserSettings) XXX_Size() int { return xxx_messageInfo_UserSettings.Size(m) @@ -384,73 +433,85 @@ func (m *UserSettings) GetTempFileLimit() *wrappers.Int64Value { return nil } +func (m *UserSettings) GetLogStatement() UserSettings_LogStatement { + if m != nil { + return m.LogStatement + } + return UserSettings_LOG_STATEMENT_UNSPECIFIED +} + func init() { + proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_SynchronousCommit", UserSettings_SynchronousCommit_name, UserSettings_SynchronousCommit_value) + proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_LogStatement", UserSettings_LogStatement_name, UserSettings_LogStatement_value) + proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_TransactionIsolation", UserSettings_TransactionIsolation_name, UserSettings_TransactionIsolation_value) proto.RegisterType((*User)(nil), "yandex.cloud.mdb.postgresql.v1.User") proto.RegisterType((*Permission)(nil), "yandex.cloud.mdb.postgresql.v1.Permission") proto.RegisterType((*UserSpec)(nil), "yandex.cloud.mdb.postgresql.v1.UserSpec") proto.RegisterType((*UserSettings)(nil), "yandex.cloud.mdb.postgresql.v1.UserSettings") - proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_SynchronousCommit", UserSettings_SynchronousCommit_name, UserSettings_SynchronousCommit_value) - proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_LogStatement", UserSettings_LogStatement_name, UserSettings_LogStatement_value) - proto.RegisterEnum("yandex.cloud.mdb.postgresql.v1.UserSettings_TransactionIsolation", UserSettings_TransactionIsolation_name, UserSettings_TransactionIsolation_value) } func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/user.proto", fileDescriptor_user_86f81a23ffeb3ce2) + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/user.proto", fileDescriptor_ddb893fd4eb810a7) } -var fileDescriptor_user_86f81a23ffeb3ce2 = []byte{ - // 848 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdf, 0x6e, 0xdb, 0x54, - 0x18, 0xc7, 0x49, 0x8a, 0xd2, 0x2f, 0xed, 0x70, 0x8f, 0xd8, 0xc8, 0x3a, 0x52, 0x4a, 0xc6, 0xa6, - 0xb4, 0x22, 0xf6, 0x9c, 0xa1, 0x69, 0x08, 0x56, 0xc9, 0x49, 0x5c, 0x66, 0xc9, 0xb1, 0x23, 0xdb, - 0x05, 0x56, 0x84, 0x8e, 0x9c, 0xf8, 0xd4, 0xb3, 0xb0, 0x7d, 0x82, 0xcf, 0x71, 0xc7, 0xb8, 0xe7, - 0xa6, 0xaf, 0xc3, 0x3b, 0xd0, 0x3d, 0x01, 0x8f, 0x80, 0xb8, 0x44, 0x5c, 0x72, 0x85, 0xe2, 0x24, - 0x4d, 0xbb, 0x84, 0x54, 0x93, 0xd8, 0x9d, 0xfd, 0xfb, 0xf3, 0x7d, 0xc7, 0xbf, 0xf3, 0x93, 0x0c, - 0x7b, 0x2f, 0xbd, 0xc4, 0x27, 0x3f, 0xc9, 0xc3, 0x88, 0x66, 0xbe, 0x1c, 0xfb, 0x03, 0x79, 0x44, - 0x19, 0x0f, 0x52, 0xc2, 0x7e, 0x8c, 0xe4, 0x53, 0x45, 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escriptor_ddb893fd4eb810a7 = []byte{ + // 916 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x5f, 0x6f, 0xdb, 0x54, + 0x14, 0xc7, 0x4d, 0x52, 0x9a, 0x93, 0x64, 0xb8, 0x57, 0x6c, 0xa4, 0x19, 0x29, 0x21, 0x63, 0x53, + 0x5a, 0x11, 0xa7, 0xce, 0xd0, 0xb4, 0x09, 0x56, 0xc9, 0x49, 0x5c, 0x66, 0xc9, 0xb1, 0x23, 0xdb, + 0x05, 0x56, 0x04, 0x96, 0x13, 0xdf, 0x7a, 0x16, 0xb6, 0x6f, 0xf0, 0xb5, 0x3b, 0xc6, 0x3b, 0x2f, + 0x7d, 0xe5, 0x63, 0xf0, 0x41, 0xba, 0x2f, 0x00, 0x1f, 0x01, 0xf1, 0xcc, 0x23, 0x4f, 0x28, 0x76, + 0xd2, 0xa4, 0x4b, 0x96, 0xaa, 0x12, 0x2f, 0xbc, 0xdd, 0x7b, 0xce, 0xef, 0x77, 0xfe, 0xfc, 0xce, + 0xb9, 0xb2, 0x61, 0xef, 0x95, 0x15, 0xd8, 0xf8, 0xa7, 0xd6, 0xc8, 0x23, 0xb1, 0xdd, 0xf2, 0xed, + 0x61, 0x6b, 0x4c, 0x68, 0xe4, 0x84, 0x98, 0xfe, 0xe8, 0xb5, 0xce, 0xf8, 0x56, 0x4c, 0x71, 0xc8, + 0x8d, 0x43, 0x12, 0x11, 0xb4, 0x9b, 0x42, 0xb9, 0x04, 0xca, 0xf9, 0xf6, 0x90, 0x9b, 0x43, 0xb9, + 0x33, 0xbe, 0xb2, 0xeb, 0x10, 0xe2, 0x78, 0xb8, 0x95, 0xa0, 0x87, 0xf1, 0x69, 0xeb, 0x65, 0x68, + 0x8d, 0xc7, 0x38, 0xa4, 0x29, 0xbf, 0x52, 0xbd, 0x92, 0xea, 0xcc, 0xf2, 0x5c, 0xdb, 0x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 0x00, 0xff, 0xff, 0xa3, 0x4b, 0xaf, 0x44, + 0xb2, 0x08, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user_service.pb.go index d3a80f9d6..8829ca663 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/user_service.pb.go @@ -1,20 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/postgresql/v1/user_service.proto -package postgresql // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package postgresql import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,13 +28,13 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetUserRequest struct { - // Required. ID of the PostgreSQL cluster the user belongs to. + // ID of the PostgreSQL cluster the user belongs to. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the PostgreSQL User resource to return. + // Name of the PostgreSQL User resource to return. // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -44,16 +46,17 @@ func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } func (*GetUserRequest) ProtoMessage() {} func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{0} + return fileDescriptor_db74cc1516dbc2cf, []int{0} } + func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetUserRequest.Unmarshal(m, b) } func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) } -func (dst *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(dst, src) +func (m *GetUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUserRequest.Merge(m, src) } func (m *GetUserRequest) XXX_Size() int { return xxx_messageInfo_GetUserRequest.Size(m) @@ -79,7 +82,7 @@ func (m *GetUserRequest) GetUserName() string { } type ListUsersRequest struct { - // Required. ID of the cluster to list PostgreSQL users in. + // ID of the cluster to list PostgreSQL users in. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maximum number of results per page to return. If the number of available @@ -98,16 +101,17 @@ func (m *ListUsersRequest) Reset() { *m = ListUsersRequest{} } func (m *ListUsersRequest) String() string { return proto.CompactTextString(m) } func (*ListUsersRequest) ProtoMessage() {} func (*ListUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{1} + return fileDescriptor_db74cc1516dbc2cf, []int{1} } + func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersRequest.Unmarshal(m, b) } func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersRequest.Marshal(b, m, deterministic) } -func (dst *ListUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersRequest.Merge(dst, src) +func (m *ListUsersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersRequest.Merge(m, src) } func (m *ListUsersRequest) XXX_Size() int { return xxx_messageInfo_ListUsersRequest.Size(m) @@ -156,16 +160,17 @@ func (m *ListUsersResponse) Reset() { *m = ListUsersResponse{} } func (m *ListUsersResponse) String() string { return proto.CompactTextString(m) } func (*ListUsersResponse) ProtoMessage() {} func (*ListUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{2} + return fileDescriptor_db74cc1516dbc2cf, []int{2} } + func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListUsersResponse.Unmarshal(m, b) } func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListUsersResponse.Marshal(b, m, deterministic) } -func (dst *ListUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUsersResponse.Merge(dst, src) +func (m *ListUsersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListUsersResponse.Merge(m, src) } func (m *ListUsersResponse) XXX_Size() int { return xxx_messageInfo_ListUsersResponse.Size(m) @@ -191,7 +196,7 @@ func (m *ListUsersResponse) GetNextPageToken() string { } type CreateUserRequest struct { - // Required. ID of the PostgreSQL cluster to create a user in. + // ID of the PostgreSQL cluster to create a user in. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Properties of the user to be created. @@ -205,16 +210,17 @@ func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } func (m *CreateUserRequest) String() string { return proto.CompactTextString(m) } func (*CreateUserRequest) ProtoMessage() {} func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{3} + return fileDescriptor_db74cc1516dbc2cf, []int{3} } + func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserRequest.Unmarshal(m, b) } func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic) } -func (dst *CreateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserRequest.Merge(dst, src) +func (m *CreateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserRequest.Merge(m, src) } func (m *CreateUserRequest) XXX_Size() int { return xxx_messageInfo_CreateUserRequest.Size(m) @@ -242,7 +248,7 @@ func (m *CreateUserRequest) GetUserSpec() *UserSpec { type CreateUserMetadata struct { // ID of the PostgreSQL cluster the user is being created in. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the user that is being created. + // Name of the user that is being created. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -253,16 +259,17 @@ func (m *CreateUserMetadata) Reset() { *m = CreateUserMetadata{} } func (m *CreateUserMetadata) String() string { return proto.CompactTextString(m) } func (*CreateUserMetadata) ProtoMessage() {} func (*CreateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{4} + return fileDescriptor_db74cc1516dbc2cf, []int{4} } + func (m *CreateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateUserMetadata.Unmarshal(m, b) } func (m *CreateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateUserMetadata.Marshal(b, m, deterministic) } -func (dst *CreateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserMetadata.Merge(dst, src) +func (m *CreateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateUserMetadata.Merge(m, src) } func (m *CreateUserMetadata) XXX_Size() int { return xxx_messageInfo_CreateUserMetadata.Size(m) @@ -288,10 +295,10 @@ func (m *CreateUserMetadata) GetUserName() string { } type UpdateUserRequest struct { - // Required. ID of the PostgreSQL cluster the user belongs to. + // ID of the PostgreSQL cluster the user belongs to. // To get the cluster ID use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the user to be updated. + // Name of the user to be updated. // To get the name of the user use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Field mask that specifies which fields of the PostgreSQL User resource should be updated. @@ -303,26 +310,31 @@ type UpdateUserRequest struct { // Number of connections that should be available to the user. ConnLimit int64 `protobuf:"varint,6,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"` // Postgresql settings for this user - Settings *UserSettings `protobuf:"bytes,7,opt,name=settings,proto3" json:"settings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Settings *UserSettings `protobuf:"bytes,7,opt,name=settings,proto3" json:"settings,omitempty"` + // User can login (default True) + Login *wrappers.BoolValue `protobuf:"bytes,8,opt,name=login,proto3" json:"login,omitempty"` + // User grants (GRANT TO ), role must be other user + Grants []string `protobuf:"bytes,9,rep,name=grants,proto3" json:"grants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } func (m *UpdateUserRequest) String() string { return proto.CompactTextString(m) } func (*UpdateUserRequest) ProtoMessage() {} func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{5} + return fileDescriptor_db74cc1516dbc2cf, []int{5} } + func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserRequest.Unmarshal(m, b) } func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) } -func (dst *UpdateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserRequest.Merge(dst, src) +func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserRequest.Merge(m, src) } func (m *UpdateUserRequest) XXX_Size() int { return xxx_messageInfo_UpdateUserRequest.Size(m) @@ -382,6 +394,20 @@ func (m *UpdateUserRequest) GetSettings() *UserSettings { return nil } +func (m *UpdateUserRequest) GetLogin() *wrappers.BoolValue { + if m != nil { + return m.Login + } + return nil +} + +func (m *UpdateUserRequest) GetGrants() []string { + if m != nil { + return m.Grants + } + return nil +} + type UpdateUserMetadata struct { // ID of the PostgreSQL cluster the user belongs to. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -396,16 +422,17 @@ func (m *UpdateUserMetadata) Reset() { *m = UpdateUserMetadata{} } func (m *UpdateUserMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateUserMetadata) ProtoMessage() {} func (*UpdateUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{6} + return fileDescriptor_db74cc1516dbc2cf, []int{6} } + func (m *UpdateUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateUserMetadata.Unmarshal(m, b) } func (m *UpdateUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateUserMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserMetadata.Merge(dst, src) +func (m *UpdateUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateUserMetadata.Merge(m, src) } func (m *UpdateUserMetadata) XXX_Size() int { return xxx_messageInfo_UpdateUserMetadata.Size(m) @@ -431,10 +458,10 @@ func (m *UpdateUserMetadata) GetUserName() string { } type DeleteUserRequest struct { - // Required. ID of the PostgreSQL cluster the user belongs to. + // ID of the PostgreSQL cluster the user belongs to. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the user to delete. + // Name of the user to delete. // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -446,16 +473,17 @@ func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } func (m *DeleteUserRequest) String() string { return proto.CompactTextString(m) } func (*DeleteUserRequest) ProtoMessage() {} func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{7} + return fileDescriptor_db74cc1516dbc2cf, []int{7} } + func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserRequest.Unmarshal(m, b) } func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) } -func (dst *DeleteUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserRequest.Merge(dst, src) +func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserRequest.Merge(m, src) } func (m *DeleteUserRequest) XXX_Size() int { return xxx_messageInfo_DeleteUserRequest.Size(m) @@ -494,16 +522,17 @@ func (m *DeleteUserMetadata) Reset() { *m = DeleteUserMetadata{} } func (m *DeleteUserMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteUserMetadata) ProtoMessage() {} func (*DeleteUserMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{8} + return fileDescriptor_db74cc1516dbc2cf, []int{8} } + func (m *DeleteUserMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteUserMetadata.Unmarshal(m, b) } func (m *DeleteUserMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteUserMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteUserMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserMetadata.Merge(dst, src) +func (m *DeleteUserMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteUserMetadata.Merge(m, src) } func (m *DeleteUserMetadata) XXX_Size() int { return xxx_messageInfo_DeleteUserMetadata.Size(m) @@ -529,10 +558,10 @@ func (m *DeleteUserMetadata) GetUserName() string { } type GrantUserPermissionRequest struct { - // Required. ID of the PostgreSQL cluster the user belongs to. + // ID of the PostgreSQL cluster the user belongs to. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the user to grant the permission to. + // Name of the user to grant the permission to. // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Permission that should be granted to the specified user. @@ -546,16 +575,17 @@ func (m *GrantUserPermissionRequest) Reset() { *m = GrantUserPermissionR func (m *GrantUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionRequest) ProtoMessage() {} func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{9} + return fileDescriptor_db74cc1516dbc2cf, []int{9} } + func (m *GrantUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionRequest.Unmarshal(m, b) } func (m *GrantUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionRequest.Merge(dst, src) +func (m *GrantUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionRequest.Merge(m, src) } func (m *GrantUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionRequest.Size(m) @@ -602,16 +632,17 @@ func (m *GrantUserPermissionMetadata) Reset() { *m = GrantUserPermission func (m *GrantUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*GrantUserPermissionMetadata) ProtoMessage() {} func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{10} + return fileDescriptor_db74cc1516dbc2cf, []int{10} } + func (m *GrantUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GrantUserPermissionMetadata.Unmarshal(m, b) } func (m *GrantUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GrantUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_GrantUserPermissionMetadata.Merge(dst, src) +func (m *GrantUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_GrantUserPermissionMetadata.Merge(m, src) } func (m *GrantUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_GrantUserPermissionMetadata.Size(m) @@ -637,10 +668,10 @@ func (m *GrantUserPermissionMetadata) GetUserName() string { } type RevokeUserPermissionRequest struct { - // Required. ID of the PostgreSQL cluster the user belongs to. + // ID of the PostgreSQL cluster the user belongs to. // To get the cluster ID, use a [ClusterService.List] request. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` - // Required. Name of the user to revoke a permission from. + // Name of the user to revoke a permission from. // To get the name of the user, use a [UserService.List] request. UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // Name of the database that the user should lose access to. @@ -654,16 +685,17 @@ func (m *RevokeUserPermissionRequest) Reset() { *m = RevokeUserPermissio func (m *RevokeUserPermissionRequest) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionRequest) ProtoMessage() {} func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{11} + return fileDescriptor_db74cc1516dbc2cf, []int{11} } + func (m *RevokeUserPermissionRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionRequest.Unmarshal(m, b) } func (m *RevokeUserPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionRequest.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionRequest.Merge(dst, src) +func (m *RevokeUserPermissionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionRequest.Merge(m, src) } func (m *RevokeUserPermissionRequest) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionRequest.Size(m) @@ -709,16 +741,17 @@ func (m *RevokeUserPermissionMetadata) Reset() { *m = RevokeUserPermissi func (m *RevokeUserPermissionMetadata) String() string { return proto.CompactTextString(m) } func (*RevokeUserPermissionMetadata) ProtoMessage() {} func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_user_service_6f25ccbd661d407e, []int{12} + return fileDescriptor_db74cc1516dbc2cf, []int{12} } + func (m *RevokeUserPermissionMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RevokeUserPermissionMetadata.Unmarshal(m, b) } func (m *RevokeUserPermissionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RevokeUserPermissionMetadata.Marshal(b, m, deterministic) } -func (dst *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevokeUserPermissionMetadata.Merge(dst, src) +func (m *RevokeUserPermissionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RevokeUserPermissionMetadata.Merge(m, src) } func (m *RevokeUserPermissionMetadata) XXX_Size() int { return xxx_messageInfo_RevokeUserPermissionMetadata.Size(m) @@ -759,6 +792,83 @@ func init() { proto.RegisterType((*RevokeUserPermissionMetadata)(nil), "yandex.cloud.mdb.postgresql.v1.RevokeUserPermissionMetadata") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/user_service.proto", fileDescriptor_db74cc1516dbc2cf) +} + +var fileDescriptor_db74cc1516dbc2cf = []byte{ + // 1097 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xd6, 0x36, 0x8e, 0xb1, 0x5f, 0x37, 0x6d, 0x33, 0x12, 0x92, 0x71, 0x9a, 0x28, 0x2c, 0xa5, + 0x0d, 0x2e, 0xde, 0xf5, 0xba, 0x7c, 0x14, 0xa7, 0xa9, 0xc0, 0x81, 0x06, 0x44, 0xd2, 0x44, 0x9b, + 0x16, 0x89, 0x54, 0xc8, 0x1a, 0x7b, 0xa7, 0xcb, 0x2a, 0xeb, 0x9d, 0xed, 0xce, 0x3a, 0x69, 0x52, + 0x2a, 0xa1, 0x1e, 0x38,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xba, 0x68, 0xdc, 0x17, 0x50, 0xb5, 0x67, 0xed, 0x1e, 0x3a, 0x4f, 0xfa, 0x51, 0xfa, 0xad, 0xb2, + 0xb5, 0x53, 0x7c, 0xe3, 0xe8, 0xe6, 0x1d, 0x47, 0x6f, 0x59, 0xbd, 0x3d, 0x60, 0xf4, 0xec, 0x4e, + 0x79, 0x3c, 0x9a, 0xff, 0x29, 0x70, 0x41, 0xb6, 0xc4, 0x84, 0xec, 0xe9, 0x5e, 0xb2, 0x8f, 0x98, + 0x08, 0xfd, 0xe8, 0x7e, 0xc2, 0x75, 0x5f, 0xea, 0xd1, 0x8b, 0x63, 0xe1, 0x77, 0xd4, 0xc5, 0x01, + 0x85, 0x07, 0xfb, 0x14, 0x56, 0x95, 0x62, 0x6d, 0x71, 0x65, 0xc1, 0x76, 0xc2, 0xaf, 0xdb, 0x0d, + 0xad, 0x49, 0x5b, 0xba, 0xe4, 0x5c, 0x92, 0x7f, 0xfc, 0x6c, 0x5a, 0xb2, 0x89, 0x27, 0xb2, 0x4c, + 0x3f, 0xfa, 0x1f, 0xe1, 0x74, 0xbc, 0x6a, 0xa4, 0x05, 0xe0, 0xda, 0xff, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x0c, 0xba, 0x2d, 0xef, 0x3f, 0x0f, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -880,6 +990,32 @@ type UserServiceServer interface { RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error) } +// UnimplementedUserServiceServer can be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { +} + +func (*UnimplementedUserServiceServer) Get(ctx context.Context, req *GetUserRequest) (*User, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedUserServiceServer) List(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedUserServiceServer) Create(ctx context.Context, req *CreateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedUserServiceServer) Update(ctx context.Context, req *UpdateUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedUserServiceServer) Delete(ctx context.Context, req *DeleteUserRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedUserServiceServer) GrantPermission(ctx context.Context, req *GrantUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method GrantPermission not implemented") +} +func (*UnimplementedUserServiceServer) RevokePermission(ctx context.Context, req *RevokeUserPermissionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RevokePermission not implemented") +} + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) { s.RegisterService(&_UserService_serviceDesc, srv) } @@ -1046,77 +1182,3 @@ var _UserService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/postgresql/v1/user_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/postgresql/v1/user_service.proto", fileDescriptor_user_service_6f25ccbd661d407e) -} - -var fileDescriptor_user_service_6f25ccbd661d407e = []byte{ - // 1043 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0xd6, 0xd6, 0x8e, 0xb1, 0x5f, 0x37, 0x6d, 0x33, 0x12, 0x92, 0xe5, 0x34, 0x55, 0x58, 0x4a, - 0x1b, 0x5c, 0xbc, 0xeb, 0x75, 0xf9, 0x28, 0x4e, 0x53, 0x41, 0x02, 0x0d, 0x88, 0xa4, 0x89, 0x36, - 0xed, 0x81, 0x54, 0xc8, 0x1a, 0x7b, 0xa7, 0xcb,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 0x59, 0x61, 0x5b, 0xe8, 0x13, 0xc8, - 0x52, 0x12, 0x04, 0x96, 0x63, 0xd2, 0xc2, 0x2b, 0x5c, 0xd7, 0x5b, 0x23, 0xc5, 0x3d, 0xc4, 0xe8, - 0x3d, 0x34, 0x8b, 0x7a, 0x14, 0xa2, 0x13, 0x89, 0xfa, 0x57, 0x30, 0xf5, 0x11, 0x69, 0x91, 0xd3, - 0x09, 0x3a, 0xd3, 0x13, 0x79, 0x3f, 0x11, 0x3d, 0xbf, 0x4b, 0x50, 0x5c, 0xf6, 0xb1, 0xc3, 0x5b, - 0x44, 0x2c, 0x72, 0xff, 0x77, 0x3a, 0xaf, 0x03, 0x44, 0xb9, 0x12, 0x66, 0xf3, 0x11, 0x32, 0x2d, - 0xac, 0xf7, 0xd8, 0x19, 0xf2, 0xe7, 0x30, 0x3d, 0x44, 0xd8, 0x89, 0x5c, 0xda, 0x2f, 0x12, 0x4c, - 0xeb, 0xa4, 0xe3, 0x6e, 0x91, 0x53, 0xbe, 0xb5, 0x25, 0x98, 0x64, 0x62, 0x1a, 0x98, 0x12, 0x81, - 0x17, 0xb3, 0xe0, 0x52, 0x88, 0x3f, 0x17, 0xc3, 0x97, 0x63, 0x07, 0x9c, 0xdd, 0x07, 0x71, 0x35, - 0x9b, 0x70, 0x71, 0x98, 0x98, 0x93, 0xb8, 0xa9, 0xea, 0x4f, 0x79, 0xc8, 0x8b, 0xda, 0xe4, 0x6f, - 0x12, 0xf4, 0x83, 0x04, 0xa9, 0x65, 0x12, 0x20, 0x25, 0x29, 0xb4, 0xfd, 0x53, 0xbc, 0x38, 0xd2, - 0x8c, 0x92, 0x6f, 0x3f, 0xfb, 0xf5, 0x8f, 0xef, 0xce, 0x7c, 0x80, 0x6e, 0xa9, 0x36, 0x76, 0xb0, - 0x49, 0x8c, 0x72, 0xff, 0x23, 0x22, 0x24, 0x4d, 0xd5, 0x27, 0x91, 0xa0, 0xa7, 0xfc, 0x69, 0x41, - 0xd5, 0x27, 0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x9f, 0x24, 0xfb, 0x90, 0x89, 0x30, 0x8a, 0xee, 0x67, 0x4c, - 0xf7, 0xe5, 0x84, 0x5e, 0x1c, 0x09, 0xbf, 0x2b, 0xaf, 0x8d, 0x29, 0xdc, 0x3f, 0xa0, 0xb0, 0x26, - 0x95, 0x16, 0xd7, 0x36, 0x57, 0x4d, 0x2b, 0xf8, 0xb2, 0xdd, 0x50, 0x9a, 0xae, 0xad, 0x0a, 0xce, - 0x65, 0xf1, 0x9f, 0xcc, 0x74, 0xcb, 0x26, 0x71, 0x78, 0x96, 0xa9, 0x87, 0xff, 0x59, 0x9b, 0x8f, - 0x56, 0x8d, 0x0c, 0x07, 0x5c, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xec, 0x33, 0x47, 0xba, - 0x0e, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup.pb.go index e8164d9e9..919b63536 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/backup.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" +package redis -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Description of a Redis backup. For more information, see // the Managed Service for Redis [documentation](/docs/managed-redis/concepts/backup). @@ -33,26 +35,29 @@ type Backup struct { SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"` // Start timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format // (i.e. when the backup operation was started). - StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StartedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` + // Shard names used as a source for backup. + SourceShardNames []string `protobuf:"bytes,6,rep,name=source_shard_names,json=sourceShardNames,proto3" json:"source_shard_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Backup) Reset() { *m = Backup{} } func (m *Backup) String() string { return proto.CompactTextString(m) } func (*Backup) ProtoMessage() {} func (*Backup) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_cd1ea4fa6820b24e, []int{0} + return fileDescriptor_4a9e7d7d7bb25174, []int{0} } + func (m *Backup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Backup.Unmarshal(m, b) } func (m *Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Backup.Marshal(b, m, deterministic) } -func (dst *Backup) XXX_Merge(src proto.Message) { - xxx_messageInfo_Backup.Merge(dst, src) +func (m *Backup) XXX_Merge(src proto.Message) { + xxx_messageInfo_Backup.Merge(m, src) } func (m *Backup) XXX_Size() int { return xxx_messageInfo_Backup.Size(m) @@ -98,31 +103,40 @@ func (m *Backup) GetStartedAt() *timestamp.Timestamp { return nil } +func (m *Backup) GetSourceShardNames() []string { + if m != nil { + return m.SourceShardNames + } + return nil +} + func init() { proto.RegisterType((*Backup)(nil), "yandex.cloud.mdb.redis.v1.Backup") } func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/backup.proto", fileDescriptor_backup_cd1ea4fa6820b24e) + proto.RegisterFile("yandex/cloud/mdb/redis/v1/backup.proto", fileDescriptor_4a9e7d7d7bb25174) } -var fileDescriptor_backup_cd1ea4fa6820b24e = []byte{ - // 260 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0x03, 0x31, - 0x18, 0x86, 0xb9, 0x53, 0x8b, 0x17, 0x41, 0x31, 0xd3, 0x59, 0x07, 0x8b, 0x83, 0x14, 0xa1, 0x09, - 0xd5, 0x49, 0x9c, 0xda, 0xe2, 0xe0, 0x5a, 0x9c, 0x5c, 0x8e, 0x24, 0x5f, 0x1a, 0x83, 0x97, 0xa6, - 0x24, 0x5f, 0x8a, 0xfe, 0x52, 0xff, 0x8e, 0x90, 0x5c, 0x47, 0x71, 0x0b, 0x6f, 0x9e, 0xef, 0x7d, - 0xe0, 0x25, 0x77, 0xdf, 0x62, 0x0b, 0xfa, 0x8b, 0xab, 0xde, 0x27, 0xe0, 0x0e, 0x24, 0x0f, 0x1a, - 0x6c, 0xe4, 0xfb, 0x39, 0x97, 0x42, 0x7d, 0xa6, 0x1d, 0xdb, 0x05, 0x8f, 0x9e, 0x5e, 0x15, 0x8e, - 0x65, 0x8e, 0x39, 0x90, 0x2c, 0x73, 0x6c, 0x3f, 0x1f, 0xdf, 0x18, 0xef, 0x4d, 0xaf, 0x79, 0x06, - 0x65, 0xda, 0x70, 0xb4, 0x4e, 0x47, 0x14, 0x6e, 0xb8, 0xbd, 0xfd, 0xa9, 0xc8, 0x68, 0x99, 0xcb, - 0xe8, 0x39, 0xa9, 0x2d, 0xb4, 0xd5, 0xa4, 0x9a, 0x36, 0xeb, 0xda, 0x02, 0xbd, 0x26, 0xcd, 0xc6, - 0xf7, 0xa0, 0x43, 0x67, 0xa1, 0xad, 0x73, 0x7c, 0x5a, 0x82, 0x57, 0xa0, 0x4f, 0x84, 0xa8, 0xa0, - 0x05, 0x6a, 0xe8, 0x04, 0xb6, 0x47, 0x93, 0x6a, 0x7a, 0xf6, 0x30, 0x66, 0xc5, 0xc6, 0x0e, 0x36, - 0xf6, 0x76, 0xb0, 0xad, 0x9b, 0x81, 0x5e, 0x20, 0xbd, 0x27, 0x97, 0xd1, 0xa7, 0xa0, 0x74, 0xa7, - 0xfa, 0x14, 0xb1, 0xf4, 0x1f, 0xe7, 0xfe, 0x8b, 0xf2, 0xb1, 0x2a, 0x79, 0xd1, 0x44, 0x14, 0x61, - 0xd0, 0x9c, 0xfc, 0xaf, 0x19, 0xe8, 0x05, 0x2e, 0x5f, 0xde, 0x57, 0xc6, 0xe2, 0x47, 0x92, 0x4c, - 0x79, 0xc7, 0xcb, 0x44, 0xb3, 0x32, 0xa5, 0xf1, 0x33, 0xa3, 0xb7, 0xf9, 0x9c, 0xff, 0xb9, 0xf1, - 0x73, 0x7e, 0xc8, 0x51, 0xc6, 0x1e, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x17, 0x0e, 0x6a, 0xdc, - 0x8d, 0x01, 0x00, 0x00, +var fileDescriptor_4a9e7d7d7bb25174 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xbb, 0x4e, 0xc3, 0x30, + 0x18, 0x85, 0xd5, 0x14, 0x2a, 0x62, 0x24, 0x2e, 0x9e, 0x42, 0x19, 0xa8, 0x18, 0x50, 0x84, 0xa8, + 0xad, 0xc2, 0x84, 0x98, 0xda, 0x8a, 0x81, 0x85, 0x21, 0x30, 0xb1, 0x44, 0xb6, 0x7f, 0x37, 0xb5,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, 0x15, 0xa3, 0xc9, 0xb0, 0xcc, 0xab, 0xb3, 0xd4, 0xbc, 0xed, + 0x8a, 0xd7, 0x5d, 0xbe, 0x78, 0xfe, 0x58, 0x36, 0xca, 0xaf, 0x03, 0x27, 0xc2, 0x68, 0x9a, 0x0e, + 0x3a, 0x4d, 0x87, 0x6f, 0xcc, 0xb4, 0x91, 0x5d, 0x94, 0xd1, 0x3f, 0x5f, 0xe4, 0x29, 0x7e, 0xf0, + 0x51, 0xc4, 0x1e, 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x65, 0x37, 0x36, 0xbb, 0x01, 0x00, + 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup_service.pb.go index 9c5f5c70e..0909b072f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/backup_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/backup_service.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package redis import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetBackupRequest struct { // ID of the Redis backup to return. @@ -38,16 +39,17 @@ func (m *GetBackupRequest) Reset() { *m = GetBackupRequest{} } func (m *GetBackupRequest) String() string { return proto.CompactTextString(m) } func (*GetBackupRequest) ProtoMessage() {} func (*GetBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_9428ea5254459973, []int{0} + return fileDescriptor_bd1400cd9541828d, []int{0} } + func (m *GetBackupRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetBackupRequest.Unmarshal(m, b) } func (m *GetBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetBackupRequest.Marshal(b, m, deterministic) } -func (dst *GetBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBackupRequest.Merge(dst, src) +func (m *GetBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBackupRequest.Merge(m, src) } func (m *GetBackupRequest) XXX_Size() int { return xxx_messageInfo_GetBackupRequest.Size(m) @@ -85,16 +87,17 @@ func (m *ListBackupsRequest) Reset() { *m = ListBackupsRequest{} } func (m *ListBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListBackupsRequest) ProtoMessage() {} func (*ListBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_9428ea5254459973, []int{1} + return fileDescriptor_bd1400cd9541828d, []int{1} } + func (m *ListBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsRequest.Unmarshal(m, b) } func (m *ListBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsRequest.Merge(dst, src) +func (m *ListBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsRequest.Merge(m, src) } func (m *ListBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListBackupsRequest.Size(m) @@ -143,16 +146,17 @@ func (m *ListBackupsResponse) Reset() { *m = ListBackupsResponse{} } func (m *ListBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListBackupsResponse) ProtoMessage() {} func (*ListBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_service_9428ea5254459973, []int{2} + return fileDescriptor_bd1400cd9541828d, []int{2} } + func (m *ListBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListBackupsResponse.Unmarshal(m, b) } func (m *ListBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBackupsResponse.Merge(dst, src) +func (m *ListBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBackupsResponse.Merge(m, src) } func (m *ListBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListBackupsResponse.Size(m) @@ -183,6 +187,43 @@ func init() { proto.RegisterType((*ListBackupsResponse)(nil), "yandex.cloud.mdb.redis.v1.ListBackupsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/redis/v1/backup_service.proto", fileDescriptor_bd1400cd9541828d) +} + +var fileDescriptor_bd1400cd9541828d = []byte{ + // 463 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6e, 0x13, 0x31, + 0x10, 0x86, 0xb5, 0x49, 0x28, 0x59, 0x43, 0x05, 0x32, 0x97, 0x34, 0x80, 0x94, 0xac, 0x44, 0x1b, + 0x84, 0xd6, 0x5e, 0x17, 0xf5, 0xd4, 0xf6, 0x12, 0x84, 0xaa, 0x4a, 0x1c, 0xd0, 0x96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0xba, 0x0e, 0xeb, 0x2e, 0xde, 0x58, 0x8a, 0xd5, + 0x7f, 0xfa, 0xf2, 0x49, 0x2e, 0xed, 0xeb, 0x69, 0x46, 0x86, 0x7a, 0x4c, 0x7d, 0xfb, 0xd8, 0x1f, + 0x68, 0xae, 0xe3, 0x1c, 0x94, 0x3b, 0x49, 0xba, 0xf4, 0x72, 0x77, 0xdd, 0x23, 0x5b, 0x73, 0xb2, + 0xc7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x5a, 0x72, 0x2d, 0x6b, 0x03, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -239,6 +280,17 @@ type BackupServiceServer interface { List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) } +// UnimplementedBackupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBackupServiceServer struct { +} + +func (*UnimplementedBackupServiceServer) Get(ctx context.Context, req *GetBackupRequest) (*Backup, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedBackupServiceServer) List(ctx context.Context, req *ListBackupsRequest) (*ListBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterBackupServiceServer(s *grpc.Server, srv BackupServiceServer) { s.RegisterService(&_BackupService_serviceDesc, srv) } @@ -295,40 +347,3 @@ var _BackupService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/redis/v1/backup_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/backup_service.proto", fileDescriptor_backup_service_9428ea5254459973) -} - -var fileDescriptor_backup_service_9428ea5254459973 = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6e, 0x13, 0x31, - 0x10, 0x86, 0xb5, 0x49, 0x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 0xfa, 0xee, 0xf7, 0xfa, 0xde, 0xe3, 0x4f, 0x01, 0x6a, 0x94, 0xa9, 0xe0, 0xf8, 0x8a, 0xd6, 0xff, - 0xae, 0xb2, 0x4d, 0xfe, 0x57, 0xee, 0x53, 0x8e, 0xba, 0x0e, 0xeb, 0x2e, 0xde, 0x58, 0x8a, 0xd5, - 0x7f, 0xfa, 0xf2, 0x49, 0x2e, 0xed, 0xeb, 0x69, 0x46, 0x86, 0x7a, 0x4c, 0x7d, 0xfb, 0xd8, 0x1f, - 0x68, 0xae, 0xe3, 0x1c, 0x94, 0x3b, 0x49, 0xba, 0xf4, 0x72, 0x77, 0xdd, 0x23, 0x5b, 0x73, 0xb2, - 0xc7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcd, 0x5a, 0x72, 0x2d, 0x6b, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster.pb.go index b9a6d3348..f41e68033 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster.pb.go @@ -1,14 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/cluster.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" +package redis -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -19,7 +21,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Cluster_Environment int32 @@ -38,6 +40,7 @@ var Cluster_Environment_name = map[int32]string{ 1: "PRODUCTION", 2: "PRESTABLE", } + var Cluster_Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "PRODUCTION": 1, @@ -47,8 +50,9 @@ var Cluster_Environment_value = map[string]int32{ func (x Cluster_Environment) String() string { return proto.EnumName(Cluster_Environment_name, int32(x)) } + func (Cluster_Environment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{0, 0} + return fileDescriptor_c43051bc9a49dd6b, []int{0, 0} } type Cluster_Health int32 @@ -70,6 +74,7 @@ var Cluster_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Cluster_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -80,8 +85,9 @@ var Cluster_Health_value = map[string]int32{ func (x Cluster_Health) String() string { return proto.EnumName(Cluster_Health_name, int32(x)) } + func (Cluster_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{0, 1} + return fileDescriptor_c43051bc9a49dd6b, []int{0, 1} } type Cluster_Status int32 @@ -115,6 +121,7 @@ var Cluster_Status_name = map[int32]string{ 6: "STOPPED", 7: "STARTING", } + var Cluster_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "CREATING": 1, @@ -129,8 +136,9 @@ var Cluster_Status_value = map[string]int32{ func (x Cluster_Status) String() string { return proto.EnumName(Cluster_Status_name, int32(x)) } + func (Cluster_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{0, 2} + return fileDescriptor_c43051bc9a49dd6b, []int{0, 2} } type Host_Role int32 @@ -149,6 +157,7 @@ var Host_Role_name = map[int32]string{ 1: "MASTER", 2: "REPLICA", } + var Host_Role_value = map[string]int32{ "ROLE_UNKNOWN": 0, "MASTER": 1, @@ -158,8 +167,9 @@ var Host_Role_value = map[string]int32{ func (x Host_Role) String() string { return proto.EnumName(Host_Role_name, int32(x)) } + func (Host_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{3, 0} + return fileDescriptor_c43051bc9a49dd6b, []int{4, 0} } type Host_Health int32 @@ -181,6 +191,7 @@ var Host_Health_name = map[int32]string{ 2: "DEAD", 3: "DEGRADED", } + var Host_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -191,8 +202,9 @@ var Host_Health_value = map[string]int32{ func (x Host_Health) String() string { return proto.EnumName(Host_Health_name, int32(x)) } + func (Host_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{3, 1} + return fileDescriptor_c43051bc9a49dd6b, []int{4, 1} } type Service_Type int32 @@ -203,24 +215,30 @@ const ( Service_REDIS Service_Type = 1 // The host provides a Sentinel-only service (a quorum node). Service_ARBITER Service_Type = 2 + // The host is a Redis Cluster node. + Service_REDIS_CLUSTER Service_Type = 3 ) var Service_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "REDIS", 2: "ARBITER", + 3: "REDIS_CLUSTER", } + var Service_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "REDIS": 1, "ARBITER": 2, + "REDIS_CLUSTER": 3, } func (x Service_Type) String() string { return proto.EnumName(Service_Type_name, int32(x)) } + func (Service_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{4, 0} + return fileDescriptor_c43051bc9a49dd6b, []int{5, 0} } type Service_Health int32 @@ -239,6 +257,7 @@ var Service_Health_name = map[int32]string{ 1: "ALIVE", 2: "DEAD", } + var Service_Health_value = map[string]int32{ "HEALTH_UNKNOWN": 0, "ALIVE": 1, @@ -248,8 +267,9 @@ var Service_Health_value = map[string]int32{ func (x Service_Health) String() string { return proto.EnumName(Service_Health_name, int32(x)) } + func (Service_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{4, 1} + return fileDescriptor_c43051bc9a49dd6b, []int{5, 1} } // Description of a Redis cluster. For more information, see @@ -277,29 +297,32 @@ type Cluster struct { // Configuration of the Redis cluster. Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"` NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - // Aggregated cluster health + // Aggregated cluster health. Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1.Cluster_Health" json:"health,omitempty"` - // Cluster status - Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.redis.v1.Cluster_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Cluster status. + Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.redis.v1.Cluster_Status" json:"status,omitempty"` + // Redis cluster mode on/off. + Sharded bool `protobuf:"varint,13,opt,name=sharded,proto3" json:"sharded,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{0} + return fileDescriptor_c43051bc9a49dd6b, []int{0} } + func (m *Cluster) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cluster.Unmarshal(m, b) } func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) } -func (dst *Cluster) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cluster.Merge(dst, src) +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) } func (m *Cluster) XXX_Size() int { return xxx_messageInfo_Cluster.Size(m) @@ -394,6 +417,13 @@ func (m *Cluster) GetStatus() Cluster_Status { return Cluster_STATUS_UNKNOWN } +func (m *Cluster) GetSharded() bool { + if m != nil { + return m.Sharded + } + return false +} + type Monitoring struct { // Name of the monitoring system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -410,16 +440,17 @@ func (m *Monitoring) Reset() { *m = Monitoring{} } func (m *Monitoring) String() string { return proto.CompactTextString(m) } func (*Monitoring) ProtoMessage() {} func (*Monitoring) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{1} + return fileDescriptor_c43051bc9a49dd6b, []int{1} } + func (m *Monitoring) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Monitoring.Unmarshal(m, b) } func (m *Monitoring) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Monitoring.Marshal(b, m, deterministic) } -func (dst *Monitoring) XXX_Merge(src proto.Message) { - xxx_messageInfo_Monitoring.Merge(dst, src) +func (m *Monitoring) XXX_Merge(src proto.Message) { + xxx_messageInfo_Monitoring.Merge(m, src) } func (m *Monitoring) XXX_Size() int { return xxx_messageInfo_Monitoring.Size(m) @@ -461,27 +492,30 @@ type ClusterConfig struct { RedisConfig isClusterConfig_RedisConfig `protobuf_oneof:"redis_config"` // Resources allocated to Redis hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ClusterConfig) Reset() { *m = ClusterConfig{} } func (m *ClusterConfig) String() string { return proto.CompactTextString(m) } func (*ClusterConfig) ProtoMessage() {} func (*ClusterConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{2} + return fileDescriptor_c43051bc9a49dd6b, []int{2} } + func (m *ClusterConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ClusterConfig.Unmarshal(m, b) } func (m *ClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ClusterConfig.Marshal(b, m, deterministic) } -func (dst *ClusterConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClusterConfig.Merge(dst, src) +func (m *ClusterConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterConfig.Merge(m, src) } func (m *ClusterConfig) XXX_Size() int { return xxx_messageInfo_ClusterConfig.Size(m) @@ -537,59 +571,68 @@ func (m *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ClusterConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ClusterConfig_OneofMarshaler, _ClusterConfig_OneofUnmarshaler, _ClusterConfig_OneofSizer, []interface{}{ - (*ClusterConfig_RedisConfig_5_0)(nil), - } -} - -func _ClusterConfig_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ClusterConfig) - // redis_config - switch x := m.RedisConfig.(type) { - case *ClusterConfig_RedisConfig_5_0: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RedisConfig_5_0); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ClusterConfig.RedisConfig has unexpected type %T", x) +func (m *ClusterConfig) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ClusterConfig_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ClusterConfig) - switch tag { - case 2: // redis_config.redis_config_5_0 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.RedisConfigSet5_0) - err := b.DecodeMessage(msg) - m.RedisConfig = &ClusterConfig_RedisConfig_5_0{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ClusterConfig) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ClusterConfig_RedisConfig_5_0)(nil), } } -func _ClusterConfig_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ClusterConfig) - // redis_config - switch x := m.RedisConfig.(type) { - case *ClusterConfig_RedisConfig_5_0: - s := proto.Size(x.RedisConfig_5_0) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) +type Shard struct { + // Name of the Redis shard. The host name is assigned by user at creation time, and cannot be changed. + // 1-63 characters long. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // ID of the Redis cluster. The ID is assigned by MDB at creation time. + ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Shard) Reset() { *m = Shard{} } +func (m *Shard) String() string { return proto.CompactTextString(m) } +func (*Shard) ProtoMessage() {} +func (*Shard) Descriptor() ([]byte, []int) { + return fileDescriptor_c43051bc9a49dd6b, []int{3} +} + +func (m *Shard) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Shard.Unmarshal(m, b) +} +func (m *Shard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Shard.Marshal(b, m, deterministic) +} +func (m *Shard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Shard.Merge(m, src) +} +func (m *Shard) XXX_Size() int { + return xxx_messageInfo_Shard.Size(m) +} +func (m *Shard) XXX_DiscardUnknown() { + xxx_messageInfo_Shard.DiscardUnknown(m) +} + +var xxx_messageInfo_Shard proto.InternalMessageInfo + +func (m *Shard) GetName() string { + if m != nil { + return m.Name } - return n + return "" +} + +func (m *Shard) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" } type Host struct { @@ -598,7 +641,7 @@ type Host struct { // // The name is unique across all existing MDB hosts in Yandex.Cloud, as it defines the FQDN of the host. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // ID of the Redis host. The ID is assigned by MDB at creation time. + // ID of the Redis cluster. The ID is assigned by MDB at creation time. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the availability zone where the Redis host resides. ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` @@ -612,6 +655,7 @@ type Host struct { Health Host_Health `protobuf:"varint,7,opt,name=health,proto3,enum=yandex.cloud.mdb.redis.v1.Host_Health" json:"health,omitempty"` // Services provided by the host. Services []*Service `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"` + ShardName string `protobuf:"bytes,9,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -621,16 +665,17 @@ func (m *Host) Reset() { *m = Host{} } func (m *Host) String() string { return proto.CompactTextString(m) } func (*Host) ProtoMessage() {} func (*Host) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{3} + return fileDescriptor_c43051bc9a49dd6b, []int{4} } + func (m *Host) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Host.Unmarshal(m, b) } func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Host.Marshal(b, m, deterministic) } -func (dst *Host) XXX_Merge(src proto.Message) { - xxx_messageInfo_Host.Merge(dst, src) +func (m *Host) XXX_Merge(src proto.Message) { + xxx_messageInfo_Host.Merge(m, src) } func (m *Host) XXX_Size() int { return xxx_messageInfo_Host.Size(m) @@ -697,6 +742,13 @@ func (m *Host) GetServices() []*Service { return nil } +func (m *Host) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + type Service struct { // Type of the service provided by the host. Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.redis.v1.Service_Type" json:"type,omitempty"` @@ -711,16 +763,17 @@ func (m *Service) Reset() { *m = Service{} } func (m *Service) String() string { return proto.CompactTextString(m) } func (*Service) ProtoMessage() {} func (*Service) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{4} + return fileDescriptor_c43051bc9a49dd6b, []int{5} } + func (m *Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Service.Unmarshal(m, b) } func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Service.Marshal(b, m, deterministic) } -func (dst *Service) XXX_Merge(src proto.Message) { - xxx_messageInfo_Service.Merge(dst, src) +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) } func (m *Service) XXX_Size() int { return xxx_messageInfo_Service.Size(m) @@ -760,16 +813,17 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_6d995a7e51dda886, []int{5} + return fileDescriptor_c43051bc9a49dd6b, []int{6} } + func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) } func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Resources.Marshal(b, m, deterministic) } -func (dst *Resources) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resources.Merge(dst, src) +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) } func (m *Resources) XXX_Size() int { return xxx_messageInfo_Resources.Size(m) @@ -794,14 +848,47 @@ func (m *Resources) GetDiskSize() int64 { return 0 } +type Access struct { + // Allow access for DataLens + DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Access) Reset() { *m = Access{} } +func (m *Access) String() string { return proto.CompactTextString(m) } +func (*Access) ProtoMessage() {} +func (*Access) Descriptor() ([]byte, []int) { + return fileDescriptor_c43051bc9a49dd6b, []int{7} +} + +func (m *Access) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Access.Unmarshal(m, b) +} +func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Access.Marshal(b, m, deterministic) +} +func (m *Access) XXX_Merge(src proto.Message) { + xxx_messageInfo_Access.Merge(m, src) +} +func (m *Access) XXX_Size() int { + return xxx_messageInfo_Access.Size(m) +} +func (m *Access) XXX_DiscardUnknown() { + xxx_messageInfo_Access.DiscardUnknown(m) +} + +var xxx_messageInfo_Access proto.InternalMessageInfo + +func (m *Access) GetDataLens() bool { + if m != nil { + return m.DataLens + } + return false +} + func init() { - proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.redis.v1.Cluster") - proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.redis.v1.Cluster.LabelsEntry") - proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.redis.v1.Monitoring") - proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.redis.v1.ClusterConfig") - proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.redis.v1.Host") - proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.redis.v1.Service") - proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.redis.v1.Resources") proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Cluster_Environment", Cluster_Environment_name, Cluster_Environment_value) proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Cluster_Health", Cluster_Health_name, Cluster_Health_value) proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Cluster_Status", Cluster_Status_name, Cluster_Status_value) @@ -809,79 +896,94 @@ func init() { proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Host_Health", Host_Health_name, Host_Health_value) proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Service_Type", Service_Type_name, Service_Type_value) proto.RegisterEnum("yandex.cloud.mdb.redis.v1.Service_Health", Service_Health_name, Service_Health_value) + proto.RegisterType((*Cluster)(nil), "yandex.cloud.mdb.redis.v1.Cluster") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.redis.v1.Cluster.LabelsEntry") + proto.RegisterType((*Monitoring)(nil), "yandex.cloud.mdb.redis.v1.Monitoring") + proto.RegisterType((*ClusterConfig)(nil), "yandex.cloud.mdb.redis.v1.ClusterConfig") + proto.RegisterType((*Shard)(nil), "yandex.cloud.mdb.redis.v1.Shard") + proto.RegisterType((*Host)(nil), "yandex.cloud.mdb.redis.v1.Host") + proto.RegisterType((*Service)(nil), "yandex.cloud.mdb.redis.v1.Service") + proto.RegisterType((*Resources)(nil), "yandex.cloud.mdb.redis.v1.Resources") + proto.RegisterType((*Access)(nil), "yandex.cloud.mdb.redis.v1.Access") } func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/cluster.proto", fileDescriptor_cluster_6d995a7e51dda886) + proto.RegisterFile("yandex/cloud/mdb/redis/v1/cluster.proto", fileDescriptor_c43051bc9a49dd6b) } -var fileDescriptor_cluster_6d995a7e51dda886 = []byte{ - // 1063 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xff, 0x6e, 0xe3, 0xc4, - 0x13, 0xbf, 0xfc, 0x8e, 0x27, 0x6d, 0xe4, 0xef, 0x7e, 0x4f, 0x9c, 0x69, 0x75, 0xa2, 0xb2, 0x80, - 0x2b, 0x12, 0xe7, 0xb4, 0x3d, 0x2a, 0xdd, 0x71, 0xd2, 0x81, 0x9b, 0x6c, 0xaf, 0x16, 0xa9, 0x13, - 0xad, 0x9d, 0x9e, 0xe0, 0x0f, 0x2c, 0x27, 0xde, 0xa6, 0x56, 0x1d, 0x3b, 0xb2, 0x37, 0x29, 0xe9, - 0xfb, 0xf0, 0x00, 0x3c, 0x12, 0xaf, 0xc0, 0x13, 0xa0, 0xdd, 0x75, 0xda, 0xf4, 0xa0, 0x69, 0x41, - 0xfc, 0xe7, 0x99, 0xf9, 0x7c, 0xc6, 0xb3, 0xb3, 0x33, 0x1f, 0x2d, 0xbc, 0x58, 0xf8, 0x71, 0x40, - 0x7f, 0x69, 0x8d, 0xa2, 0x64, 0x16, 0xb4, 0x26, 0xc1, 0xb0, 0x95, 0xd2, 0x20, 0xcc, 0x5a, 0xf3, - 0xfd, 0xd6, 0x28, 0x9a, 0x65, 0x8c, 0xa6, 0xc6, 0x34, 0x4d, 0x58, 0x82, 0x3e, 0x95, 0x40, 0x43, - 0x00, 0x8d, 0x49, 0x30, 0x34, 0x04, 0xd0, 0x98, 0xef, 0x6f, 0x7d, 0x36, 0x4e, 0x92, 0x71, 0x44, - 0x5b, 0x02, 0x38, 0x9c, 0x9d, 0xb7, 0x58, 0x38, 0xa1, 0x19, 0xf3, 0x27, 0x53, 0xc9, 0xdd, 0xda, - 0xce, 0x01, 0x6c, 0x31, 0xa5, 0x22, 0x98, 0x9c, 0x07, 0xfe, 0x22, 0x0f, 0xb6, 0xd6, 0x54, 0x90, - 0xc4, 0xe7, 0xe1, 0x58, 0xda, 0x87, 0xde, 0x9e, 0x24, 0xe8, 0xbf, 0xd5, 0xa0, 0xd6, 0x96, 0xb5, - 0xa1, 0x26, 0x14, 0xc3, 0x40, 0x2b, 0xec, 0x14, 0x76, 0x15, 0x52, 0x0c, 0x03, 0xb4, 0x0d, 0xca, - 0x79, 0x12, 0x05, 0x34, 0xf5, 0xc2, 0x40, 0x2b, 0x0a, 0x77, 0x5d, 0x3a, 0xac, 0x00, 0xbd, 0x01, - 0x18, 0xa5, 0xd4, 0x67, 0x34, 0xf0, 0x7c, 0xa6, 0x95, 0x76, 0x0a, 0xbb, 0x8d, 0x83, 0x2d, 0x43, - 0xd6, 0x66, 0x2c, 0x8b, 0x37, 0xdc, 0x65, 0xf1, 0x44, 0xc9, 0xd1, 0x26, 0x43, 0x08, 0xca, 0xb1, - 0x3f, 0xa1, 0x5a, 0x59, 0xa4, 0x14, 0xdf, 0x68, 0x07, 0x1a, 0x01, 0xcd, 0x46, 0x69, 0x38, 0x65, - 0x61, 0x12, 0x6b, 0x15, 0x11, 0x5a, 0x75, 0xa1, 0x63, 0xa8, 0x46, 0xfe, 0x90, 0x46, 0x99, 0x56, - 0xdd, 0x29, 0xed, 0x36, 0x0e, 0x0c, 0xe3, 0xde, 0x26, 0x1a, 0xf9, 0x89, 0x8c, 0xae, 0x20, 0xe0, - 0x98, 0xa5, 0x0b, 0x92, 0xb3, 0x51, 0x1f, 0x1a, 0x34, 0x9e, 0x87, 0x69, 0x12, 0x4f, 0x68, 0xcc, - 0xb4, 0xda, 0x4e, 0x61, 0xb7, 0x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, 0x7c, 0x67, 0x09, 0x00, 0x00, +var fileDescriptor_c43051bc9a49dd6b = []byte{ + // 1154 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5d, 0x6f, 0xe2, 0x46, + 0x17, 0x5e, 0x0c, 0x18, 0x7c, 0x48, 0x90, 0x77, 0xde, 0xd5, 0xbb, 0x6e, 0x56, 0xab, 0x52, 0xab, + 0xdb, 0xa5, 0x52, 0xd7, 0x24, 0xac, 0x22, 0xed, 0x87, 0xb4, 0xad, 0x03, 0x4e, 0x62, 0x95, 0x18, + 0x34, 0x36, 0x59, 0xb5, 0x17, 0xb5, 0x0c, 0x9e, 0x10, 0x2b, 0xc6, 0x46, 0xb6, 0x21, 0x25, 0x57, + 0xbd, 0xe9, 0xaf, 0xeb, 0x9f, 0xe8, 0x4f, 0xa9, 0x66, 0xc6, 0x24, 0x64, 0xdb, 0x90, 0x74, 0xd5, + 0x3b, 0x9f, 0x33, 0xcf, 0x73, 0x7c, 0xe6, 0x7c, 0x3c, 0x36, 0xbc, 0x5c, 0x7a, 0x91, 0x4f, 0x7e, + 0x6d, 0x8d, 0xc3, 0x78, 0xee, 0xb7, 0xa6, 0xfe, 0xa8, 0x95, 0x10, 0x3f, 0x48, 0x5b, 0x8b, 0xbd, + 0xd6, 0x38, 0x9c, 0xa7, 0x19, 0x49, 0xb4, 0x59, 0x12, 0x67, 0x31, 0xfa, 0x82, 0x03, 0x35, 0x06, + 0xd4, 0xa6, 0xfe, 0x48, 0x63, 0x40, 0x6d, 0xb1, 0xb7, 0xf3, 0xe5, 0x24, 0x8e, 0x27, 0x21, 0x69, + 0x31, 0xe0, 0x68, 0x7e, 0xd6, 0xca, 0x82, 0x29, 0x49, 0x33, 0x6f, 0x3a, 0xe3, 0xdc, 0x9d, 0x67, + 0x39, 0x20, 0x5b, 0xce, 0x08, 0x3b, 0x8c, 0xcf, 0x7c, 0x6f, 0x99, 0x1f, 0xb6, 0x36, 0x64, 0x10, + 0x47, 0x67, 0xc1, 0x84, 0xdb, 0xfb, 0xee, 0x2e, 0x27, 0xa8, 0x7f, 0x54, 0xa0, 0xd2, 0xe1, 0xb9, + 0xa1, 0x3a, 0x08, 0x81, 0xaf, 0x14, 0x1a, 0x85, 0xa6, 0x84, 0x85, 0xc0, 0x47, 0xcf, 0x40, 0x3a, + 0x8b, 0x43, 0x9f, 0x24, 0x6e, 0xe0, 0x2b, 0x02, 0x73, 0x57, 0xb9, 0xc3, 0xf4, 0xd1, 0x5b, 0x80, + 0x71, 0x42, 0xbc, 0x8c, 0xf8, 0xae, 0x97, 0x29, 0xc5, 0x46, 0xa1, 0x59, 0x6b, 0xef, 0x68, 0x3c, + 0x37, 0x6d, 0x95, 0xbc, 0xe6, 0xac, 0x92, 0xc7, 0x52, 0x8e, 0xd6, 0x33, 0x84, 0xa0, 0x14, 0x79, + 0x53, 0xa2, 0x94, 0x58, 0x48, 0xf6, 0x8c, 0x1a, 0x50, 0xf3, 0x49, 0x3a, 0x4e, 0x82, 0x59, 0x16, + 0xc4, 0x91, 0x52, 0x66, 0x47, 0xeb, 0x2e, 0x74, 0x08, 0x62, 0xe8, 0x8d, 0x48, 0x98, 0x2a, 0x62, + 0xa3, 0xd8, 0xac, 0xb5, 0x35, 0xed, 0xce, 0x22, 0x6a, 0xf9, 0x8d, 0xb4, 0x1e, 0x23, 0x18, 0x51, + 0x96, 0x2c, 0x71, 0xce, 0x46, 0x03, 0xa8, 0x91, 0x68, 0x11, 0x24, 0x71, 0x34, 0x25, 0x51, 0xa6, + 0x54, 0x1a, 0x85, 0x66, 0xfd, 0x41, 0xc1, 0x8c, 0x1b, 0x16, 0x5e, 0x0f, 0x81, 0x0c, 0x80, 0x69, + 0x1c, 0x05, 0x59, 0x9c, 0x04, 0xd1, 0x44, 0xa9, 0xb2, 0xec, 0x5e, 0x6c, 0x08, 0x78, 0x72, 0x0d, + 0xc6, 0x6b, 0x44, 0xf4, 0x03, 0x88, 0xbc, 0x47, 0x8a, 0xc4, 0xaa, 0xd9, 0xbc, 0x3f, 0xa7, 0x0e, + 0xc3, 0xe3, 0x9c, 0x87, 0x9e, 0x03, 0x44, 0x24, 0xbb, 0x8c, 0x93, 0x0b, 0xda, 0x31, 0x60, 0x35, + 0x94, 0x72, 0x8f, 0xe9, 0x23, 0x1d, 0xc4, 0x73, 0xe2, 0x85, 0xd9, 0xb9, 0x52, 0x63, 0x97, 0xfe, + 0xf6, 0x01, 0x97, 0x3e, 0x66, 0x04, 0x9c, 0x13, 0x69, 0x88, 0x34, 0xf3, 0xb2, 0x79, 0xaa, 0x6c, + 0x3d, 0x38, 0x84, 0xcd, 0x08, 0x38, 0x27, 0x22, 0x05, 0x2a, 0xe9, 0xb9, 0x97, 0xf8, 0xc4, 0x57, + 0xb6, 0x1b, 0x85, 0x66, 0x15, 0xaf, 0xcc, 0x9d, 0xb7, 0x50, 0x5b, 0x6b, 0x18, 0x92, 0xa1, 0x78, + 0x41, 0x96, 0xf9, 0x3c, 0xd2, 0x47, 0xf4, 0x04, 0xca, 0x0b, 0x2f, 0x9c, 0x93, 0x7c, 0x18, 0xb9, + 0xf1, 0x4e, 0x78, 0x53, 0x50, 0x4d, 0xa8, 0xad, 0xb5, 0x07, 0x3d, 0x83, 0xa7, 0x86, 0x75, 0x6a, + 0xe2, 0xbe, 0x75, 0x62, 0x58, 0x8e, 0x3b, 0xb4, 0xec, 0x81, 0xd1, 0x31, 0x0f, 0x4d, 0xa3, 0x2b, + 0x3f, 0x42, 0x75, 0x80, 0x01, 0xee, 0x77, 0x87, 0x1d, 0xc7, 0xec, 0x5b, 0x72, 0x01, 0x6d, 0x83, + 0x34, 0xc0, 0x86, 0xed, 0xe8, 0x07, 0x3d, 0x43, 0x16, 0xd4, 0xef, 0x41, 0xe4, 0x97, 0x46, 0x08, + 0xea, 0xc7, 0x86, 0xde, 0x73, 0x8e, 0xdd, 0xa1, 0xf5, 0xa3, 0xd5, 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0x20, 0xf2, 0x05, 0x66, + 0x30, 0x2f, 0xf3, 0xdc, 0x90, 0x44, 0x29, 0x8b, 0x55, 0xc5, 0x55, 0xea, 0xe8, 0x91, 0x28, 0x3d, + 0x30, 0x7e, 0xee, 0x4c, 0x82, 0xec, 0x7c, 0x3e, 0xd2, 0xc6, 0xf1, 0x34, 0xff, 0x19, 0x7b, 0xc5, + 0x7f, 0xc6, 0x26, 0xf1, 0xab, 0x09, 0x89, 0xd8, 0x9f, 0xd1, 0xdd, 0x7f, 0x69, 0xef, 0xd9, 0xc3, + 0x48, 0x64, 0xb0, 0xd7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xfd, 0xbe, 0xf3, 0x51, 0x0a, + 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster_service.pb.go index 32f7dc481..ce8d7f01f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/cluster_service.pb.go @@ -1,23 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/cluster_service.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import timeofday "google.golang.org/genproto/googleapis/type/timeofday" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package redis import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + timeofday "google.golang.org/genproto/googleapis/type/timeofday" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -29,7 +30,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type ListClusterLogsRequest_ServiceType int32 @@ -43,6 +44,7 @@ var ListClusterLogsRequest_ServiceType_name = map[int32]string{ 0: "SERVICE_TYPE_UNSPECIFIED", 1: "REDIS", } + var ListClusterLogsRequest_ServiceType_value = map[string]int32{ "SERVICE_TYPE_UNSPECIFIED": 0, "REDIS": 1, @@ -51,8 +53,9 @@ var ListClusterLogsRequest_ServiceType_value = map[string]int32{ func (x ListClusterLogsRequest_ServiceType) String() string { return proto.EnumName(ListClusterLogsRequest_ServiceType_name, int32(x)) } + func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{20, 0} + return fileDescriptor_a1eca1188b71673d, []int{22, 0} } type GetClusterRequest struct { @@ -68,16 +71,17 @@ func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } func (m *GetClusterRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterRequest) ProtoMessage() {} func (*GetClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{0} + return fileDescriptor_a1eca1188b71673d, []int{0} } + func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetClusterRequest.Unmarshal(m, b) } func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) } -func (dst *GetClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetClusterRequest.Merge(dst, src) +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) } func (m *GetClusterRequest) XXX_Size() int { return xxx_messageInfo_GetClusterRequest.Size(m) @@ -121,16 +125,17 @@ func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } func (m *ListClustersRequest) String() string { return proto.CompactTextString(m) } func (*ListClustersRequest) ProtoMessage() {} func (*ListClustersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{1} + return fileDescriptor_a1eca1188b71673d, []int{1} } + func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersRequest.Unmarshal(m, b) } func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) } -func (dst *ListClustersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersRequest.Merge(dst, src) +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) } func (m *ListClustersRequest) XXX_Size() int { return xxx_messageInfo_ListClustersRequest.Size(m) @@ -186,16 +191,17 @@ func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } func (m *ListClustersResponse) String() string { return proto.CompactTextString(m) } func (*ListClustersResponse) ProtoMessage() {} func (*ListClustersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{2} + return fileDescriptor_a1eca1188b71673d, []int{2} } + func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClustersResponse.Unmarshal(m, b) } func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) } -func (dst *ListClustersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClustersResponse.Merge(dst, src) +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) } func (m *ListClustersResponse) XXX_Size() int { return xxx_messageInfo_ListClustersResponse.Size(m) @@ -237,7 +243,9 @@ type CreateClusterRequest struct { // Individual configurations for hosts that should be created for the Redis cluster. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the cluster in. - NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // Redis cluster mode on/off. + Sharded bool `protobuf:"varint,11,opt,name=sharded,proto3" json:"sharded,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -247,16 +255,17 @@ func (m *CreateClusterRequest) Reset() { *m = CreateClusterRequest{} } func (m *CreateClusterRequest) String() string { return proto.CompactTextString(m) } func (*CreateClusterRequest) ProtoMessage() {} func (*CreateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{3} + return fileDescriptor_a1eca1188b71673d, []int{3} } + func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterRequest.Unmarshal(m, b) } func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterRequest.Marshal(b, m, deterministic) } -func (dst *CreateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterRequest.Merge(dst, src) +func (m *CreateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterRequest.Merge(m, src) } func (m *CreateClusterRequest) XXX_Size() int { return xxx_messageInfo_CreateClusterRequest.Size(m) @@ -323,6 +332,13 @@ func (m *CreateClusterRequest) GetNetworkId() string { return "" } +func (m *CreateClusterRequest) GetSharded() bool { + if m != nil { + return m.Sharded + } + return false +} + type CreateClusterMetadata struct { // ID of the Redis cluster that is being created. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -335,16 +351,17 @@ func (m *CreateClusterMetadata) Reset() { *m = CreateClusterMetadata{} } func (m *CreateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*CreateClusterMetadata) ProtoMessage() {} func (*CreateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{4} + return fileDescriptor_a1eca1188b71673d, []int{4} } + func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateClusterMetadata.Unmarshal(m, b) } func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateClusterMetadata.Merge(dst, src) +func (m *CreateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateClusterMetadata.Merge(m, src) } func (m *CreateClusterMetadata) XXX_Size() int { return xxx_messageInfo_CreateClusterMetadata.Size(m) @@ -389,16 +406,17 @@ func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } func (m *UpdateClusterRequest) String() string { return proto.CompactTextString(m) } func (*UpdateClusterRequest) ProtoMessage() {} func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{5} + return fileDescriptor_a1eca1188b71673d, []int{5} } + func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterRequest.Unmarshal(m, b) } func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) } -func (dst *UpdateClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterRequest.Merge(dst, src) +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) } func (m *UpdateClusterRequest) XXX_Size() int { return xxx_messageInfo_UpdateClusterRequest.Size(m) @@ -463,16 +481,17 @@ func (m *UpdateClusterMetadata) Reset() { *m = UpdateClusterMetadata{} } func (m *UpdateClusterMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateClusterMetadata) ProtoMessage() {} func (*UpdateClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{6} + return fileDescriptor_a1eca1188b71673d, []int{6} } + func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateClusterMetadata.Unmarshal(m, b) } func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateClusterMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateClusterMetadata.Merge(dst, src) +func (m *UpdateClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterMetadata.Merge(m, src) } func (m *UpdateClusterMetadata) XXX_Size() int { return xxx_messageInfo_UpdateClusterMetadata.Size(m) @@ -503,16 +522,17 @@ func (m *DeleteClusterRequest) Reset() { *m = DeleteClusterRequest{} } func (m *DeleteClusterRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterRequest) ProtoMessage() {} func (*DeleteClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{7} + return fileDescriptor_a1eca1188b71673d, []int{7} } + func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterRequest.Unmarshal(m, b) } func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterRequest.Merge(dst, src) +func (m *DeleteClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterRequest.Merge(m, src) } func (m *DeleteClusterRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterRequest.Size(m) @@ -542,16 +562,17 @@ func (m *DeleteClusterMetadata) Reset() { *m = DeleteClusterMetadata{} } func (m *DeleteClusterMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterMetadata) ProtoMessage() {} func (*DeleteClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{8} + return fileDescriptor_a1eca1188b71673d, []int{8} } + func (m *DeleteClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterMetadata.Unmarshal(m, b) } func (m *DeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterMetadata.Merge(dst, src) +func (m *DeleteClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterMetadata.Merge(m, src) } func (m *DeleteClusterMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterMetadata.Size(m) @@ -570,7 +591,7 @@ func (m *DeleteClusterMetadata) GetClusterId() string { } type StartClusterRequest struct { - // Required. ID of the Redis cluster to start. + // ID of the Redis cluster to start. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -581,16 +602,17 @@ func (m *StartClusterRequest) Reset() { *m = StartClusterRequest{} } func (m *StartClusterRequest) String() string { return proto.CompactTextString(m) } func (*StartClusterRequest) ProtoMessage() {} func (*StartClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{9} + return fileDescriptor_a1eca1188b71673d, []int{9} } + func (m *StartClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterRequest.Unmarshal(m, b) } func (m *StartClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterRequest.Marshal(b, m, deterministic) } -func (dst *StartClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterRequest.Merge(dst, src) +func (m *StartClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterRequest.Merge(m, src) } func (m *StartClusterRequest) XXX_Size() int { return xxx_messageInfo_StartClusterRequest.Size(m) @@ -609,7 +631,7 @@ func (m *StartClusterRequest) GetClusterId() string { } type StartClusterMetadata struct { - // Required. ID of the Redis cluster. + // ID of the Redis cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -620,16 +642,17 @@ func (m *StartClusterMetadata) Reset() { *m = StartClusterMetadata{} } func (m *StartClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StartClusterMetadata) ProtoMessage() {} func (*StartClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{10} + return fileDescriptor_a1eca1188b71673d, []int{10} } + func (m *StartClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartClusterMetadata.Unmarshal(m, b) } func (m *StartClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StartClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartClusterMetadata.Merge(dst, src) +func (m *StartClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterMetadata.Merge(m, src) } func (m *StartClusterMetadata) XXX_Size() int { return xxx_messageInfo_StartClusterMetadata.Size(m) @@ -648,7 +671,7 @@ func (m *StartClusterMetadata) GetClusterId() string { } type StopClusterRequest struct { - // Required. ID of the Redis cluster to stop. + // ID of the Redis cluster to stop. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -659,16 +682,17 @@ func (m *StopClusterRequest) Reset() { *m = StopClusterRequest{} } func (m *StopClusterRequest) String() string { return proto.CompactTextString(m) } func (*StopClusterRequest) ProtoMessage() {} func (*StopClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{11} + return fileDescriptor_a1eca1188b71673d, []int{11} } + func (m *StopClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterRequest.Unmarshal(m, b) } func (m *StopClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterRequest.Marshal(b, m, deterministic) } -func (dst *StopClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterRequest.Merge(dst, src) +func (m *StopClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterRequest.Merge(m, src) } func (m *StopClusterRequest) XXX_Size() int { return xxx_messageInfo_StopClusterRequest.Size(m) @@ -687,7 +711,7 @@ func (m *StopClusterRequest) GetClusterId() string { } type StopClusterMetadata struct { - // Required. ID of the Redis cluster. + // ID of the Redis cluster. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -698,16 +722,17 @@ func (m *StopClusterMetadata) Reset() { *m = StopClusterMetadata{} } func (m *StopClusterMetadata) String() string { return proto.CompactTextString(m) } func (*StopClusterMetadata) ProtoMessage() {} func (*StopClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{12} + return fileDescriptor_a1eca1188b71673d, []int{12} } + func (m *StopClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopClusterMetadata.Unmarshal(m, b) } func (m *StopClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopClusterMetadata.Marshal(b, m, deterministic) } -func (dst *StopClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopClusterMetadata.Merge(dst, src) +func (m *StopClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopClusterMetadata.Merge(m, src) } func (m *StopClusterMetadata) XXX_Size() int { return xxx_messageInfo_StopClusterMetadata.Size(m) @@ -739,16 +764,17 @@ func (m *MoveClusterRequest) Reset() { *m = MoveClusterRequest{} } func (m *MoveClusterRequest) String() string { return proto.CompactTextString(m) } func (*MoveClusterRequest) ProtoMessage() {} func (*MoveClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{13} + return fileDescriptor_a1eca1188b71673d, []int{13} } + func (m *MoveClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterRequest.Unmarshal(m, b) } func (m *MoveClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterRequest.Marshal(b, m, deterministic) } -func (dst *MoveClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterRequest.Merge(dst, src) +func (m *MoveClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterRequest.Merge(m, src) } func (m *MoveClusterRequest) XXX_Size() int { return xxx_messageInfo_MoveClusterRequest.Size(m) @@ -778,7 +804,7 @@ type MoveClusterMetadata struct { ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ID of the source folder. SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"` - // ID of the destnation folder. + // ID of the destination folder. DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -789,16 +815,17 @@ func (m *MoveClusterMetadata) Reset() { *m = MoveClusterMetadata{} } func (m *MoveClusterMetadata) String() string { return proto.CompactTextString(m) } func (*MoveClusterMetadata) ProtoMessage() {} func (*MoveClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{14} + return fileDescriptor_a1eca1188b71673d, []int{14} } + func (m *MoveClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MoveClusterMetadata.Unmarshal(m, b) } func (m *MoveClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MoveClusterMetadata.Marshal(b, m, deterministic) } -func (dst *MoveClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_MoveClusterMetadata.Merge(dst, src) +func (m *MoveClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_MoveClusterMetadata.Merge(m, src) } func (m *MoveClusterMetadata) XXX_Size() int { return xxx_messageInfo_MoveClusterMetadata.Size(m) @@ -843,16 +870,17 @@ func (m *BackupClusterRequest) Reset() { *m = BackupClusterRequest{} } func (m *BackupClusterRequest) String() string { return proto.CompactTextString(m) } func (*BackupClusterRequest) ProtoMessage() {} func (*BackupClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{15} + return fileDescriptor_a1eca1188b71673d, []int{15} } + func (m *BackupClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterRequest.Unmarshal(m, b) } func (m *BackupClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterRequest.Marshal(b, m, deterministic) } -func (dst *BackupClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterRequest.Merge(dst, src) +func (m *BackupClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterRequest.Merge(m, src) } func (m *BackupClusterRequest) XXX_Size() int { return xxx_messageInfo_BackupClusterRequest.Size(m) @@ -882,16 +910,17 @@ func (m *BackupClusterMetadata) Reset() { *m = BackupClusterMetadata{} } func (m *BackupClusterMetadata) String() string { return proto.CompactTextString(m) } func (*BackupClusterMetadata) ProtoMessage() {} func (*BackupClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{16} + return fileDescriptor_a1eca1188b71673d, []int{16} } + func (m *BackupClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BackupClusterMetadata.Unmarshal(m, b) } func (m *BackupClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BackupClusterMetadata.Marshal(b, m, deterministic) } -func (dst *BackupClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupClusterMetadata.Merge(dst, src) +func (m *BackupClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupClusterMetadata.Merge(m, src) } func (m *BackupClusterMetadata) XXX_Size() int { return xxx_messageInfo_BackupClusterMetadata.Size(m) @@ -928,7 +957,9 @@ type RestoreClusterRequest struct { // the cluster that is being created from the backup. HostSpecs []*HostSpec `protobuf:"bytes,7,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` // ID of the network to create the Redis cluster in. - NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + NetworkId string `protobuf:"bytes,8,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` + // ID of the folder to create the Redis cluster in. + FolderId string `protobuf:"bytes,9,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -938,16 +969,17 @@ func (m *RestoreClusterRequest) Reset() { *m = RestoreClusterRequest{} } func (m *RestoreClusterRequest) String() string { return proto.CompactTextString(m) } func (*RestoreClusterRequest) ProtoMessage() {} func (*RestoreClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{17} + return fileDescriptor_a1eca1188b71673d, []int{17} } + func (m *RestoreClusterRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterRequest.Unmarshal(m, b) } func (m *RestoreClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterRequest.Marshal(b, m, deterministic) } -func (dst *RestoreClusterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterRequest.Merge(dst, src) +func (m *RestoreClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterRequest.Merge(m, src) } func (m *RestoreClusterRequest) XXX_Size() int { return xxx_messageInfo_RestoreClusterRequest.Size(m) @@ -1014,6 +1046,13 @@ func (m *RestoreClusterRequest) GetNetworkId() string { return "" } +func (m *RestoreClusterRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + type RestoreClusterMetadata struct { // ID of the new Redis cluster that is being created from a backup. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` @@ -1028,16 +1067,17 @@ func (m *RestoreClusterMetadata) Reset() { *m = RestoreClusterMetadata{} func (m *RestoreClusterMetadata) String() string { return proto.CompactTextString(m) } func (*RestoreClusterMetadata) ProtoMessage() {} func (*RestoreClusterMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{18} + return fileDescriptor_a1eca1188b71673d, []int{18} } + func (m *RestoreClusterMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RestoreClusterMetadata.Unmarshal(m, b) } func (m *RestoreClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RestoreClusterMetadata.Marshal(b, m, deterministic) } -func (dst *RestoreClusterMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreClusterMetadata.Merge(dst, src) +func (m *RestoreClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreClusterMetadata.Merge(m, src) } func (m *RestoreClusterMetadata) XXX_Size() int { return xxx_messageInfo_RestoreClusterMetadata.Size(m) @@ -1062,6 +1102,86 @@ func (m *RestoreClusterMetadata) GetBackupId() string { return "" } +type StartClusterFailoverRequest struct { + // ID of the Redis cluster to start failover on. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterFailoverRequest) Reset() { *m = StartClusterFailoverRequest{} } +func (m *StartClusterFailoverRequest) String() string { return proto.CompactTextString(m) } +func (*StartClusterFailoverRequest) ProtoMessage() {} +func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{19} +} + +func (m *StartClusterFailoverRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterFailoverRequest.Unmarshal(m, b) +} +func (m *StartClusterFailoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterFailoverRequest.Marshal(b, m, deterministic) +} +func (m *StartClusterFailoverRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterFailoverRequest.Merge(m, src) +} +func (m *StartClusterFailoverRequest) XXX_Size() int { + return xxx_messageInfo_StartClusterFailoverRequest.Size(m) +} +func (m *StartClusterFailoverRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterFailoverRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterFailoverRequest proto.InternalMessageInfo + +func (m *StartClusterFailoverRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type StartClusterFailoverMetadata struct { + // ID of the Redis cluster on which failover will be initiated. + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartClusterFailoverMetadata) Reset() { *m = StartClusterFailoverMetadata{} } +func (m *StartClusterFailoverMetadata) String() string { return proto.CompactTextString(m) } +func (*StartClusterFailoverMetadata) ProtoMessage() {} +func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{20} +} + +func (m *StartClusterFailoverMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartClusterFailoverMetadata.Unmarshal(m, b) +} +func (m *StartClusterFailoverMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartClusterFailoverMetadata.Marshal(b, m, deterministic) +} +func (m *StartClusterFailoverMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartClusterFailoverMetadata.Merge(m, src) +} +func (m *StartClusterFailoverMetadata) XXX_Size() int { + return xxx_messageInfo_StartClusterFailoverMetadata.Size(m) +} +func (m *StartClusterFailoverMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_StartClusterFailoverMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_StartClusterFailoverMetadata proto.InternalMessageInfo + +func (m *StartClusterFailoverMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + type LogRecord struct { // Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` @@ -1076,16 +1196,17 @@ func (m *LogRecord) Reset() { *m = LogRecord{} } func (m *LogRecord) String() string { return proto.CompactTextString(m) } func (*LogRecord) ProtoMessage() {} func (*LogRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{19} + return fileDescriptor_a1eca1188b71673d, []int{21} } + func (m *LogRecord) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogRecord.Unmarshal(m, b) } func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) } -func (dst *LogRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRecord.Merge(dst, src) +func (m *LogRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogRecord.Merge(m, src) } func (m *LogRecord) XXX_Size() int { return xxx_messageInfo_LogRecord.Size(m) @@ -1138,16 +1259,17 @@ func (m *ListClusterLogsRequest) Reset() { *m = ListClusterLogsRequest{} func (m *ListClusterLogsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsRequest) ProtoMessage() {} func (*ListClusterLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{20} + return fileDescriptor_a1eca1188b71673d, []int{22} } + func (m *ListClusterLogsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsRequest.Unmarshal(m, b) } func (m *ListClusterLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsRequest.Merge(dst, src) +func (m *ListClusterLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsRequest.Merge(m, src) } func (m *ListClusterLogsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterLogsRequest.Size(m) @@ -1224,16 +1346,17 @@ func (m *ListClusterLogsResponse) Reset() { *m = ListClusterLogsResponse func (m *ListClusterLogsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterLogsResponse) ProtoMessage() {} func (*ListClusterLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{21} + return fileDescriptor_a1eca1188b71673d, []int{23} } + func (m *ListClusterLogsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterLogsResponse.Unmarshal(m, b) } func (m *ListClusterLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterLogsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterLogsResponse.Merge(dst, src) +func (m *ListClusterLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterLogsResponse.Merge(m, src) } func (m *ListClusterLogsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterLogsResponse.Size(m) @@ -1277,16 +1400,17 @@ func (m *ListClusterOperationsRequest) Reset() { *m = ListClusterOperati func (m *ListClusterOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsRequest) ProtoMessage() {} func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{22} + return fileDescriptor_a1eca1188b71673d, []int{24} } + func (m *ListClusterOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsRequest.Unmarshal(m, b) } func (m *ListClusterOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsRequest.Merge(dst, src) +func (m *ListClusterOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsRequest.Merge(m, src) } func (m *ListClusterOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsRequest.Size(m) @@ -1335,16 +1459,17 @@ func (m *ListClusterOperationsResponse) Reset() { *m = ListClusterOperat func (m *ListClusterOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterOperationsResponse) ProtoMessage() {} func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{23} + return fileDescriptor_a1eca1188b71673d, []int{25} } + func (m *ListClusterOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterOperationsResponse.Unmarshal(m, b) } func (m *ListClusterOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterOperationsResponse.Merge(dst, src) +func (m *ListClusterOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterOperationsResponse.Merge(m, src) } func (m *ListClusterOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterOperationsResponse.Size(m) @@ -1389,16 +1514,17 @@ func (m *ListClusterBackupsRequest) Reset() { *m = ListClusterBackupsReq func (m *ListClusterBackupsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsRequest) ProtoMessage() {} func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{24} + return fileDescriptor_a1eca1188b71673d, []int{26} } + func (m *ListClusterBackupsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsRequest.Unmarshal(m, b) } func (m *ListClusterBackupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsRequest.Merge(dst, src) +func (m *ListClusterBackupsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsRequest.Merge(m, src) } func (m *ListClusterBackupsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsRequest.Size(m) @@ -1447,16 +1573,17 @@ func (m *ListClusterBackupsResponse) Reset() { *m = ListClusterBackupsRe func (m *ListClusterBackupsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterBackupsResponse) ProtoMessage() {} func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{25} + return fileDescriptor_a1eca1188b71673d, []int{27} } + func (m *ListClusterBackupsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterBackupsResponse.Unmarshal(m, b) } func (m *ListClusterBackupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterBackupsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterBackupsResponse.Merge(dst, src) +func (m *ListClusterBackupsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterBackupsResponse.Merge(m, src) } func (m *ListClusterBackupsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterBackupsResponse.Size(m) @@ -1501,16 +1628,17 @@ func (m *ListClusterHostsRequest) Reset() { *m = ListClusterHostsRequest func (m *ListClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsRequest) ProtoMessage() {} func (*ListClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{26} + return fileDescriptor_a1eca1188b71673d, []int{28} } + func (m *ListClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsRequest.Unmarshal(m, b) } func (m *ListClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsRequest.Merge(dst, src) +func (m *ListClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsRequest.Merge(m, src) } func (m *ListClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_ListClusterHostsRequest.Size(m) @@ -1559,16 +1687,17 @@ func (m *ListClusterHostsResponse) Reset() { *m = ListClusterHostsRespon func (m *ListClusterHostsResponse) String() string { return proto.CompactTextString(m) } func (*ListClusterHostsResponse) ProtoMessage() {} func (*ListClusterHostsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{27} + return fileDescriptor_a1eca1188b71673d, []int{29} } + func (m *ListClusterHostsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListClusterHostsResponse.Unmarshal(m, b) } func (m *ListClusterHostsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListClusterHostsResponse.Marshal(b, m, deterministic) } -func (dst *ListClusterHostsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListClusterHostsResponse.Merge(dst, src) +func (m *ListClusterHostsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterHostsResponse.Merge(m, src) } func (m *ListClusterHostsResponse) XXX_Size() int { return xxx_messageInfo_ListClusterHostsResponse.Size(m) @@ -1608,16 +1737,17 @@ func (m *AddClusterHostsRequest) Reset() { *m = AddClusterHostsRequest{} func (m *AddClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsRequest) ProtoMessage() {} func (*AddClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{28} + return fileDescriptor_a1eca1188b71673d, []int{30} } + func (m *AddClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsRequest.Unmarshal(m, b) } func (m *AddClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsRequest.Merge(dst, src) +func (m *AddClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsRequest.Merge(m, src) } func (m *AddClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_AddClusterHostsRequest.Size(m) @@ -1656,16 +1786,17 @@ func (m *AddClusterHostsMetadata) Reset() { *m = AddClusterHostsMetadata func (m *AddClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*AddClusterHostsMetadata) ProtoMessage() {} func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{29} + return fileDescriptor_a1eca1188b71673d, []int{31} } + func (m *AddClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AddClusterHostsMetadata.Unmarshal(m, b) } func (m *AddClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_AddClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddClusterHostsMetadata.Merge(dst, src) +func (m *AddClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterHostsMetadata.Merge(m, src) } func (m *AddClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_AddClusterHostsMetadata.Size(m) @@ -1705,16 +1836,17 @@ func (m *DeleteClusterHostsRequest) Reset() { *m = DeleteClusterHostsReq func (m *DeleteClusterHostsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsRequest) ProtoMessage() {} func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{30} + return fileDescriptor_a1eca1188b71673d, []int{32} } + func (m *DeleteClusterHostsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsRequest.Unmarshal(m, b) } func (m *DeleteClusterHostsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsRequest.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsRequest.Merge(dst, src) +func (m *DeleteClusterHostsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsRequest.Merge(m, src) } func (m *DeleteClusterHostsRequest) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsRequest.Size(m) @@ -1753,16 +1885,17 @@ func (m *DeleteClusterHostsMetadata) Reset() { *m = DeleteClusterHostsMe func (m *DeleteClusterHostsMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteClusterHostsMetadata) ProtoMessage() {} func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{31} + return fileDescriptor_a1eca1188b71673d, []int{33} } + func (m *DeleteClusterHostsMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteClusterHostsMetadata.Unmarshal(m, b) } func (m *DeleteClusterHostsMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteClusterHostsMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteClusterHostsMetadata.Merge(dst, src) +func (m *DeleteClusterHostsMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterHostsMetadata.Merge(m, src) } func (m *DeleteClusterHostsMetadata) XXX_Size() int { return xxx_messageInfo_DeleteClusterHostsMetadata.Size(m) @@ -1787,6 +1920,429 @@ func (m *DeleteClusterHostsMetadata) GetHostNames() []string { return nil } +type GetClusterShardRequest struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetClusterShardRequest) Reset() { *m = GetClusterShardRequest{} } +func (m *GetClusterShardRequest) String() string { return proto.CompactTextString(m) } +func (*GetClusterShardRequest) ProtoMessage() {} +func (*GetClusterShardRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{34} +} + +func (m *GetClusterShardRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetClusterShardRequest.Unmarshal(m, b) +} +func (m *GetClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetClusterShardRequest.Marshal(b, m, deterministic) +} +func (m *GetClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterShardRequest.Merge(m, src) +} +func (m *GetClusterShardRequest) XXX_Size() int { + return xxx_messageInfo_GetClusterShardRequest.Size(m) +} +func (m *GetClusterShardRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterShardRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterShardRequest proto.InternalMessageInfo + +func (m *GetClusterShardRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *GetClusterShardRequest) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + +type ListClusterShardsRequest struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterShardsRequest) Reset() { *m = ListClusterShardsRequest{} } +func (m *ListClusterShardsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClusterShardsRequest) ProtoMessage() {} +func (*ListClusterShardsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{35} +} + +func (m *ListClusterShardsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterShardsRequest.Unmarshal(m, b) +} +func (m *ListClusterShardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterShardsRequest.Marshal(b, m, deterministic) +} +func (m *ListClusterShardsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsRequest.Merge(m, src) +} +func (m *ListClusterShardsRequest) XXX_Size() int { + return xxx_messageInfo_ListClusterShardsRequest.Size(m) +} +func (m *ListClusterShardsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterShardsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterShardsRequest proto.InternalMessageInfo + +func (m *ListClusterShardsRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *ListClusterShardsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClusterShardsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +type ListClusterShardsResponse struct { + Shards []*Shard `protobuf:"bytes,1,rep,name=shards,proto3" json:"shards,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClusterShardsResponse) Reset() { *m = ListClusterShardsResponse{} } +func (m *ListClusterShardsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClusterShardsResponse) ProtoMessage() {} +func (*ListClusterShardsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{36} +} + +func (m *ListClusterShardsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListClusterShardsResponse.Unmarshal(m, b) +} +func (m *ListClusterShardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListClusterShardsResponse.Marshal(b, m, deterministic) +} +func (m *ListClusterShardsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClusterShardsResponse.Merge(m, src) +} +func (m *ListClusterShardsResponse) XXX_Size() int { + return xxx_messageInfo_ListClusterShardsResponse.Size(m) +} +func (m *ListClusterShardsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClusterShardsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClusterShardsResponse proto.InternalMessageInfo + +func (m *ListClusterShardsResponse) GetShards() []*Shard { + if m != nil { + return m.Shards + } + return nil +} + +func (m *ListClusterShardsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type AddClusterShardRequest struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + HostSpecs []*HostSpec `protobuf:"bytes,4,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterShardRequest) Reset() { *m = AddClusterShardRequest{} } +func (m *AddClusterShardRequest) String() string { return proto.CompactTextString(m) } +func (*AddClusterShardRequest) ProtoMessage() {} +func (*AddClusterShardRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{37} +} + +func (m *AddClusterShardRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterShardRequest.Unmarshal(m, b) +} +func (m *AddClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterShardRequest.Marshal(b, m, deterministic) +} +func (m *AddClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardRequest.Merge(m, src) +} +func (m *AddClusterShardRequest) XXX_Size() int { + return xxx_messageInfo_AddClusterShardRequest.Size(m) +} +func (m *AddClusterShardRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterShardRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterShardRequest proto.InternalMessageInfo + +func (m *AddClusterShardRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *AddClusterShardRequest) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + +func (m *AddClusterShardRequest) GetHostSpecs() []*HostSpec { + if m != nil { + return m.HostSpecs + } + return nil +} + +type AddClusterShardMetadata struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddClusterShardMetadata) Reset() { *m = AddClusterShardMetadata{} } +func (m *AddClusterShardMetadata) String() string { return proto.CompactTextString(m) } +func (*AddClusterShardMetadata) ProtoMessage() {} +func (*AddClusterShardMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{38} +} + +func (m *AddClusterShardMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddClusterShardMetadata.Unmarshal(m, b) +} +func (m *AddClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddClusterShardMetadata.Marshal(b, m, deterministic) +} +func (m *AddClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddClusterShardMetadata.Merge(m, src) +} +func (m *AddClusterShardMetadata) XXX_Size() int { + return xxx_messageInfo_AddClusterShardMetadata.Size(m) +} +func (m *AddClusterShardMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_AddClusterShardMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_AddClusterShardMetadata proto.InternalMessageInfo + +func (m *AddClusterShardMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *AddClusterShardMetadata) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + +type DeleteClusterShardRequest struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterShardRequest) Reset() { *m = DeleteClusterShardRequest{} } +func (m *DeleteClusterShardRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterShardRequest) ProtoMessage() {} +func (*DeleteClusterShardRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{39} +} + +func (m *DeleteClusterShardRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterShardRequest.Unmarshal(m, b) +} +func (m *DeleteClusterShardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterShardRequest.Marshal(b, m, deterministic) +} +func (m *DeleteClusterShardRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardRequest.Merge(m, src) +} +func (m *DeleteClusterShardRequest) XXX_Size() int { + return xxx_messageInfo_DeleteClusterShardRequest.Size(m) +} +func (m *DeleteClusterShardRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterShardRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterShardRequest proto.InternalMessageInfo + +func (m *DeleteClusterShardRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteClusterShardRequest) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + +type DeleteClusterShardMetadata struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + ShardName string `protobuf:"bytes,2,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteClusterShardMetadata) Reset() { *m = DeleteClusterShardMetadata{} } +func (m *DeleteClusterShardMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteClusterShardMetadata) ProtoMessage() {} +func (*DeleteClusterShardMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{40} +} + +func (m *DeleteClusterShardMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteClusterShardMetadata.Unmarshal(m, b) +} +func (m *DeleteClusterShardMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteClusterShardMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteClusterShardMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteClusterShardMetadata.Merge(m, src) +} +func (m *DeleteClusterShardMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteClusterShardMetadata.Size(m) +} +func (m *DeleteClusterShardMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteClusterShardMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteClusterShardMetadata proto.InternalMessageInfo + +func (m *DeleteClusterShardMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +func (m *DeleteClusterShardMetadata) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + +type RebalanceClusterRequest struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RebalanceClusterRequest) Reset() { *m = RebalanceClusterRequest{} } +func (m *RebalanceClusterRequest) String() string { return proto.CompactTextString(m) } +func (*RebalanceClusterRequest) ProtoMessage() {} +func (*RebalanceClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{41} +} + +func (m *RebalanceClusterRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RebalanceClusterRequest.Unmarshal(m, b) +} +func (m *RebalanceClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RebalanceClusterRequest.Marshal(b, m, deterministic) +} +func (m *RebalanceClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RebalanceClusterRequest.Merge(m, src) +} +func (m *RebalanceClusterRequest) XXX_Size() int { + return xxx_messageInfo_RebalanceClusterRequest.Size(m) +} +func (m *RebalanceClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RebalanceClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RebalanceClusterRequest proto.InternalMessageInfo + +func (m *RebalanceClusterRequest) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + +type RebalanceClusterMetadata struct { + ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RebalanceClusterMetadata) Reset() { *m = RebalanceClusterMetadata{} } +func (m *RebalanceClusterMetadata) String() string { return proto.CompactTextString(m) } +func (*RebalanceClusterMetadata) ProtoMessage() {} +func (*RebalanceClusterMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_a1eca1188b71673d, []int{42} +} + +func (m *RebalanceClusterMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RebalanceClusterMetadata.Unmarshal(m, b) +} +func (m *RebalanceClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RebalanceClusterMetadata.Marshal(b, m, deterministic) +} +func (m *RebalanceClusterMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RebalanceClusterMetadata.Merge(m, src) +} +func (m *RebalanceClusterMetadata) XXX_Size() int { + return xxx_messageInfo_RebalanceClusterMetadata.Size(m) +} +func (m *RebalanceClusterMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_RebalanceClusterMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_RebalanceClusterMetadata proto.InternalMessageInfo + +func (m *RebalanceClusterMetadata) GetClusterId() string { + if m != nil { + return m.ClusterId + } + return "" +} + type HostSpec struct { // ID of the availability zone where the host resides. // To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request. @@ -1795,6 +2351,7 @@ type HostSpec struct { // of the network that the cluster belongs to. // The ID of the network is set in the field [Cluster.network_id]. SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` + ShardName string `protobuf:"bytes,3,opt,name=shard_name,json=shardName,proto3" json:"shard_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1804,16 +2361,17 @@ func (m *HostSpec) Reset() { *m = HostSpec{} } func (m *HostSpec) String() string { return proto.CompactTextString(m) } func (*HostSpec) ProtoMessage() {} func (*HostSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{32} + return fileDescriptor_a1eca1188b71673d, []int{43} } + func (m *HostSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_HostSpec.Unmarshal(m, b) } func (m *HostSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_HostSpec.Marshal(b, m, deterministic) } -func (dst *HostSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HostSpec.Merge(dst, src) +func (m *HostSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_HostSpec.Merge(m, src) } func (m *HostSpec) XXX_Size() int { return xxx_messageInfo_HostSpec.Size(m) @@ -1838,6 +2396,13 @@ func (m *HostSpec) GetSubnetId() string { return "" } +func (m *HostSpec) GetShardName() string { + if m != nil { + return m.ShardName + } + return "" +} + type ConfigSpec struct { // Version of Redis used in the cluster. // The only possible value is `5.0`. @@ -1849,27 +2414,30 @@ type ConfigSpec struct { RedisSpec isConfigSpec_RedisSpec `protobuf_oneof:"redis_spec"` // Resources allocated to Redis hosts. Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` - // Start time for the daily backup in UTC timezone - BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // Time to start the daily backup, in the UTC timezone. + BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"` + // Access policy to DB + Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } func (m *ConfigSpec) String() string { return proto.CompactTextString(m) } func (*ConfigSpec) ProtoMessage() {} func (*ConfigSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cluster_service_49746099733b2195, []int{33} + return fileDescriptor_a1eca1188b71673d, []int{44} } + func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConfigSpec.Unmarshal(m, b) } func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) } -func (dst *ConfigSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigSpec.Merge(dst, src) +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) } func (m *ConfigSpec) XXX_Size() int { return xxx_messageInfo_ConfigSpec.Size(m) @@ -1925,62 +2493,22 @@ func (m *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*ConfigSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _ConfigSpec_OneofMarshaler, _ConfigSpec_OneofUnmarshaler, _ConfigSpec_OneofSizer, []interface{}{ - (*ConfigSpec_RedisConfig_5_0)(nil), - } -} - -func _ConfigSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*ConfigSpec) - // redis_spec - switch x := m.RedisSpec.(type) { - case *ConfigSpec_RedisConfig_5_0: - b.EncodeVarint(2<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.RedisConfig_5_0); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("ConfigSpec.RedisSpec has unexpected type %T", x) +func (m *ConfigSpec) GetAccess() *Access { + if m != nil { + return m.Access } return nil } -func _ConfigSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*ConfigSpec) - switch tag { - case 2: // redis_spec.redis_config_5_0 - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(config.RedisConfig5_0) - err := b.DecodeMessage(msg) - m.RedisSpec = &ConfigSpec_RedisConfig_5_0{msg} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConfigSpec) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ConfigSpec_RedisConfig_5_0)(nil), } } -func _ConfigSpec_OneofSizer(msg proto.Message) (n int) { - m := msg.(*ConfigSpec) - // redis_spec - switch x := m.RedisSpec.(type) { - case *ConfigSpec_RedisConfig_5_0: - s := proto.Size(x.RedisConfig_5_0) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { + proto.RegisterEnum("yandex.cloud.mdb.redis.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) proto.RegisterType((*GetClusterRequest)(nil), "yandex.cloud.mdb.redis.v1.GetClusterRequest") proto.RegisterType((*ListClustersRequest)(nil), "yandex.cloud.mdb.redis.v1.ListClustersRequest") proto.RegisterType((*ListClustersResponse)(nil), "yandex.cloud.mdb.redis.v1.ListClustersResponse") @@ -2003,6 +2531,8 @@ func init() { proto.RegisterType((*RestoreClusterRequest)(nil), "yandex.cloud.mdb.redis.v1.RestoreClusterRequest") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.redis.v1.RestoreClusterRequest.LabelsEntry") proto.RegisterType((*RestoreClusterMetadata)(nil), "yandex.cloud.mdb.redis.v1.RestoreClusterMetadata") + proto.RegisterType((*StartClusterFailoverRequest)(nil), "yandex.cloud.mdb.redis.v1.StartClusterFailoverRequest") + proto.RegisterType((*StartClusterFailoverMetadata)(nil), "yandex.cloud.mdb.redis.v1.StartClusterFailoverMetadata") proto.RegisterType((*LogRecord)(nil), "yandex.cloud.mdb.redis.v1.LogRecord") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.mdb.redis.v1.LogRecord.MessageEntry") proto.RegisterType((*ListClusterLogsRequest)(nil), "yandex.cloud.mdb.redis.v1.ListClusterLogsRequest") @@ -2017,9 +2547,186 @@ func init() { proto.RegisterType((*AddClusterHostsMetadata)(nil), "yandex.cloud.mdb.redis.v1.AddClusterHostsMetadata") proto.RegisterType((*DeleteClusterHostsRequest)(nil), "yandex.cloud.mdb.redis.v1.DeleteClusterHostsRequest") proto.RegisterType((*DeleteClusterHostsMetadata)(nil), "yandex.cloud.mdb.redis.v1.DeleteClusterHostsMetadata") + proto.RegisterType((*GetClusterShardRequest)(nil), "yandex.cloud.mdb.redis.v1.GetClusterShardRequest") + proto.RegisterType((*ListClusterShardsRequest)(nil), "yandex.cloud.mdb.redis.v1.ListClusterShardsRequest") + proto.RegisterType((*ListClusterShardsResponse)(nil), "yandex.cloud.mdb.redis.v1.ListClusterShardsResponse") + proto.RegisterType((*AddClusterShardRequest)(nil), "yandex.cloud.mdb.redis.v1.AddClusterShardRequest") + proto.RegisterType((*AddClusterShardMetadata)(nil), "yandex.cloud.mdb.redis.v1.AddClusterShardMetadata") + proto.RegisterType((*DeleteClusterShardRequest)(nil), "yandex.cloud.mdb.redis.v1.DeleteClusterShardRequest") + proto.RegisterType((*DeleteClusterShardMetadata)(nil), "yandex.cloud.mdb.redis.v1.DeleteClusterShardMetadata") + proto.RegisterType((*RebalanceClusterRequest)(nil), "yandex.cloud.mdb.redis.v1.RebalanceClusterRequest") + proto.RegisterType((*RebalanceClusterMetadata)(nil), "yandex.cloud.mdb.redis.v1.RebalanceClusterMetadata") proto.RegisterType((*HostSpec)(nil), "yandex.cloud.mdb.redis.v1.HostSpec") proto.RegisterType((*ConfigSpec)(nil), "yandex.cloud.mdb.redis.v1.ConfigSpec") - proto.RegisterEnum("yandex.cloud.mdb.redis.v1.ListClusterLogsRequest_ServiceType", ListClusterLogsRequest_ServiceType_name, ListClusterLogsRequest_ServiceType_value) +} + +func init() { + proto.RegisterFile("yandex/cloud/mdb/redis/v1/cluster_service.proto", fileDescriptor_a1eca1188b71673d) +} + +var fileDescriptor_a1eca1188b71673d = []byte{ + // 2574 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4d, 0x6c, 0x1b, 0xd7, + 0x11, 0xce, 0xd3, 0x0f, 0x45, 0x0e, 0x6d, 0x45, 0x79, 0x96, 0x6d, 0x86, 0xb1, 0x63, 0x79, 0xdd, + 0xc4, 0x0a, 0x63, 0x2e, 0x49, 0xfd, 0xd9, 0xb2, 0x2d, 0x37, 0x92, 0x2c, 0x39, 0x4a, 0xe5, 0xc4, + 0x58, 0x39, 0x4e, 0x63, 0xc3, 0x60, 0x56, 0xdc, 0x27, 0x8a, 0x10, 0xb9, 0xcb, 0xee, 0xae, 0x64, + 0x4b, 0x86, 0x0b, 0xd4, 0x2d, 0xd0, 0xc2, 0x45, 0x0f, 0xfd, 0x3b, 0xb4, 0x05, 0x7a, 0x2a, 0x90, + 0x43, 0x51, 0xb4, 0x50, 0x0c, 0xb4, 0xb7, 0x5c, 0x5a, 0xd8, 0xa7, 0xa2, 0x50, 0x7b, 0x28, 0x7a, + 0x6c, 0x7b, 0xe8, 0x39, 0x97, 0x02, 0x3d, 0x15, 0xef, 0x67, 0xc9, 0x5d, 0x8a, 0x5c, 0x3d, 0x8a, + 0x72, 0x93, 0x43, 0x6f, 0xdc, 0x7d, 0x33, 0xf3, 0xbe, 0x99, 0x37, 0x33, 0x6f, 0x66, 0x96, 0x90, + 0xd9, 0xd4, 0x4d, 0x83, 0xdc, 0xcf, 0x14, 0xca, 0xd6, 0xba, 0x91, 0xa9, 0x18, 0xcb, 0x19, 0x9b, + 0x18, 0x25, 0x27, 0xb3, 0x91, 0xcb, 0x14, 0xca, 0xeb, 0x8e, 0x4b, 0xec, 0xbc, 0x43, 0xec, 0x8d, + 0x52, 0x81, 0xa8, 0x55, 0xdb, 0x72, 0x2d, 0xfc, 0x32, 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, 0xf5, 0xa6, 0xf9, 0x9f, 0x7a, 0x8b, 0x56, + 0xba, 0x48, 0x4c, 0x66, 0xb9, 0xd6, 0xff, 0xf6, 0xbd, 0xc4, 0x7e, 0x2c, 0x47, 0x18, 0xd9, 0xe8, + 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x26, 0x55, 0x30, 0x95, 0x2d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2051,12 +2758,14 @@ type ClusterServiceClient interface { Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Stop the specified Redis cluster. Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) - // Moves the specified Redis cluster to the specified folder. + // Moves a Redis cluster to the specified folder. Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a backup for the specified Redis cluster. Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates a new Redis cluster using the specified backup. Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Start a manual failover on the specified Redis cluster. + StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves logs for the specified Redis cluster. // For more information about logs, see the [Logs](/docs/managed-redis/concepts/logs) section in the documentation. ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) @@ -2070,6 +2779,16 @@ type ClusterServiceClient interface { AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Returns the specified shard. + GetShard(ctx context.Context, in *GetClusterShardRequest, opts ...grpc.CallOption) (*Shard, error) + // Retrieves a list of shards. + ListShards(ctx context.Context, in *ListClusterShardsRequest, opts ...grpc.CallOption) (*ListClusterShardsResponse, error) + // Creates a new shard. + AddShard(ctx context.Context, in *AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Deletes the specified shard. + DeleteShard(ctx context.Context, in *DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) + // Rebalances the cluster. Evenly distributes all the hash slots between the shards. + Rebalance(ctx context.Context, in *RebalanceClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) } type clusterServiceClient struct { @@ -2170,6 +2889,15 @@ func (c *clusterServiceClient) Restore(ctx context.Context, in *RestoreClusterRe return out, nil } +func (c *clusterServiceClient) StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/StartFailover", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *clusterServiceClient) ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error) { out := new(ListClusterLogsResponse) err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/ListLogs", in, out, opts...) @@ -2224,6 +2952,51 @@ func (c *clusterServiceClient) DeleteHosts(ctx context.Context, in *DeleteCluste return out, nil } +func (c *clusterServiceClient) GetShard(ctx context.Context, in *GetClusterShardRequest, opts ...grpc.CallOption) (*Shard, error) { + out := new(Shard) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/GetShard", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) ListShards(ctx context.Context, in *ListClusterShardsRequest, opts ...grpc.CallOption) (*ListClusterShardsResponse, error) { + out := new(ListClusterShardsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/ListShards", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) AddShard(ctx context.Context, in *AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/AddShard", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) DeleteShard(ctx context.Context, in *DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/DeleteShard", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *clusterServiceClient) Rebalance(ctx context.Context, in *RebalanceClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.mdb.redis.v1.ClusterService/Rebalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ClusterServiceServer is the server API for ClusterService service. type ClusterServiceServer interface { // Returns the specified Redis cluster. @@ -2243,12 +3016,14 @@ type ClusterServiceServer interface { Start(context.Context, *StartClusterRequest) (*operation.Operation, error) // Stop the specified Redis cluster. Stop(context.Context, *StopClusterRequest) (*operation.Operation, error) - // Moves the specified Redis cluster to the specified folder. + // Moves a Redis cluster to the specified folder. Move(context.Context, *MoveClusterRequest) (*operation.Operation, error) // Creates a backup for the specified Redis cluster. Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error) // Creates a new Redis cluster using the specified backup. Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error) + // Start a manual failover on the specified Redis cluster. + StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error) // Retrieves logs for the specified Redis cluster. // For more information about logs, see the [Logs](/docs/managed-redis/concepts/logs) section in the documentation. ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error) @@ -2262,6 +3037,87 @@ type ClusterServiceServer interface { AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error) // Deletes the specified hosts for a cluster. DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error) + // Returns the specified shard. + GetShard(context.Context, *GetClusterShardRequest) (*Shard, error) + // Retrieves a list of shards. + ListShards(context.Context, *ListClusterShardsRequest) (*ListClusterShardsResponse, error) + // Creates a new shard. + AddShard(context.Context, *AddClusterShardRequest) (*operation.Operation, error) + // Deletes the specified shard. + DeleteShard(context.Context, *DeleteClusterShardRequest) (*operation.Operation, error) + // Rebalances the cluster. Evenly distributes all the hash slots between the shards. + Rebalance(context.Context, *RebalanceClusterRequest) (*operation.Operation, error) +} + +// UnimplementedClusterServiceServer can be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { +} + +func (*UnimplementedClusterServiceServer) Get(ctx context.Context, req *GetClusterRequest) (*Cluster, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedClusterServiceServer) List(ctx context.Context, req *ListClustersRequest) (*ListClustersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedClusterServiceServer) Create(ctx context.Context, req *CreateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedClusterServiceServer) Update(ctx context.Context, req *UpdateClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedClusterServiceServer) Delete(ctx context.Context, req *DeleteClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedClusterServiceServer) Start(ctx context.Context, req *StartClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Start not implemented") +} +func (*UnimplementedClusterServiceServer) Stop(ctx context.Context, req *StopClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented") +} +func (*UnimplementedClusterServiceServer) Move(ctx context.Context, req *MoveClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Move not implemented") +} +func (*UnimplementedClusterServiceServer) Backup(ctx context.Context, req *BackupClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Backup not implemented") +} +func (*UnimplementedClusterServiceServer) Restore(ctx context.Context, req *RestoreClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented") +} +func (*UnimplementedClusterServiceServer) StartFailover(ctx context.Context, req *StartClusterFailoverRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartFailover not implemented") +} +func (*UnimplementedClusterServiceServer) ListLogs(ctx context.Context, req *ListClusterLogsRequest) (*ListClusterLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListLogs not implemented") +} +func (*UnimplementedClusterServiceServer) ListOperations(ctx context.Context, req *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedClusterServiceServer) ListBackups(ctx context.Context, req *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListBackups not implemented") +} +func (*UnimplementedClusterServiceServer) ListHosts(ctx context.Context, req *ListClusterHostsRequest) (*ListClusterHostsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListHosts not implemented") +} +func (*UnimplementedClusterServiceServer) AddHosts(ctx context.Context, req *AddClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHosts not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteHosts(ctx context.Context, req *DeleteClusterHostsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteHosts not implemented") +} +func (*UnimplementedClusterServiceServer) GetShard(ctx context.Context, req *GetClusterShardRequest) (*Shard, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShard not implemented") +} +func (*UnimplementedClusterServiceServer) ListShards(ctx context.Context, req *ListClusterShardsRequest) (*ListClusterShardsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListShards not implemented") +} +func (*UnimplementedClusterServiceServer) AddShard(ctx context.Context, req *AddClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddShard not implemented") +} +func (*UnimplementedClusterServiceServer) DeleteShard(ctx context.Context, req *DeleteClusterShardRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteShard not implemented") +} +func (*UnimplementedClusterServiceServer) Rebalance(ctx context.Context, req *RebalanceClusterRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Rebalance not implemented") } func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer) { @@ -2448,6 +3304,24 @@ func _ClusterService_Restore_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _ClusterService_StartFailover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartClusterFailoverRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).StartFailover(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/StartFailover", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).StartFailover(ctx, req.(*StartClusterFailoverRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ClusterService_ListLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListClusterLogsRequest) if err := dec(in); err != nil { @@ -2556,6 +3430,96 @@ func _ClusterService_DeleteHosts_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _ClusterService_GetShard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetClusterShardRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).GetShard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/GetShard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).GetShard(ctx, req.(*GetClusterShardRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_ListShards_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListClusterShardsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).ListShards(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/ListShards", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).ListShards(ctx, req.(*ListClusterShardsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_AddShard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddClusterShardRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).AddShard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/AddShard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).AddShard(ctx, req.(*AddClusterShardRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_DeleteShard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteClusterShardRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).DeleteShard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/DeleteShard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).DeleteShard(ctx, req.(*DeleteClusterShardRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ClusterService_Rebalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RebalanceClusterRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ClusterServiceServer).Rebalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.mdb.redis.v1.ClusterService/Rebalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ClusterServiceServer).Rebalance(ctx, req.(*RebalanceClusterRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _ClusterService_serviceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.mdb.redis.v1.ClusterService", HandlerType: (*ClusterServiceServer)(nil), @@ -2600,6 +3564,10 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ MethodName: "Restore", Handler: _ClusterService_Restore_Handler, }, + { + MethodName: "StartFailover", + Handler: _ClusterService_StartFailover_Handler, + }, { MethodName: "ListLogs", Handler: _ClusterService_ListLogs_Handler, @@ -2624,151 +3592,27 @@ var _ClusterService_serviceDesc = grpc.ServiceDesc{ MethodName: "DeleteHosts", Handler: _ClusterService_DeleteHosts_Handler, }, + { + MethodName: "GetShard", + Handler: _ClusterService_GetShard_Handler, + }, + { + MethodName: "ListShards", + Handler: _ClusterService_ListShards_Handler, + }, + { + MethodName: "AddShard", + Handler: _ClusterService_AddShard_Handler, + }, + { + MethodName: "DeleteShard", + Handler: _ClusterService_DeleteShard_Handler, + }, + { + MethodName: "Rebalance", + Handler: _ClusterService_Rebalance_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/redis/v1/cluster_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/cluster_service.proto", fileDescriptor_cluster_service_49746099733b2195) -} - -var fileDescriptor_cluster_service_49746099733b2195 = []byte{ - // 2167 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4d, 0x70, 0x1b, 0x49, - 0x15, 0xde, 0xb6, 0x2d, 0xd9, 0x7a, 0x72, 0xbc, 0xde, 0xb6, 0xe3, 0x28, 0xda, 0x64, 0xe3, 0xcc, - 0xc2, 0xc6, 0xab, 0x8d, 0x46, 0x3f, 0xb6, 0xf3, 0xe3, 0xfc, 0x10, 0xcb, 0x91, 0x77, 0x0d, 0xf6, - 0x6e, 0x6a, 0xec, 0xcd, 0x42, 0x52, 0x29, 0x31, 0xd6, 0xb4, 0x15, 0x95, 0xa5, 0x19, 0x31, 0x33, - 0x72, 0x62, 0xa7, 0xa0, 0x8a, 0x70, 0xa1, 0x42, 0x71, 0x80, 0x85, 0x03, 0x45, 0xc1, 0x75, 0x0f, - 0x5c, 0x28, 0xb3, 0x55, 0x70, 0xdb, 0x13, 0x15, 0x9f, 0x38, 0x98, 0x1b, 0x57, 0x38, 0x70, 0xe0, - 0xb4, 0x17, 0xaa, 0x38, 0x51, 0xfd, 0x33, 0xd6, 0x8c, 0x25, 0x8d, 0x5b, 0x71, 0x42, 0xed, 0x81, - 0x9b, 0xa6, 0xfb, 0xbd, 0xd7, 0xdf, 0x7b, 0xfd, 0xfa, 0xfd, 0x95, 0x20, 0xb3, 0xad, 0x9b, 0x06, - 0x79, 0x9c, 0x29, 0xd7, 0xac, 0xa6, 0x91, 0xa9, 0x1b, 0xeb, 0x19, 0x9b, 0x18, 0x55, 0x27, 0xb3, - 0x95, 0xcb, 0x94, 0x6b, 0x4d, 0xc7, 0x25, 0x76, 0xc9, 0x21, 0xf6, 0x56, 0xb5, 0x4c, 0xd4, 0x86, - 0x6d, 0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x38, 0x06, 0x11, 0xad, 0x78, 0x7b, 0x69, 0x75, 0x14, 0x29, 0x4f, - 0xe0, 0x54, 0x9b, 0xad, 0x44, 0x2b, 0x78, 0x05, 0x06, 0x6a, 0x56, 0xc5, 0x6b, 0x03, 0xbf, 0x26, - 0xe3, 0x68, 0x1a, 0xe3, 0x90, 0x6e, 0x02, 0x7f, 0x8b, 0xe0, 0x8c, 0xef, 0xf4, 0x8f, 0xbc, 0x01, - 0xc2, 0x8b, 0xb9, 0xd2, 0xcb, 0xef, 0xa4, 0x95, 0x67, 0x08, 0xce, 0x76, 0x01, 0x28, 0x8c, 0x34, - 0x0f, 0x70, 0x30, 0xf7, 0xf0, 0x4c, 0x75, 0x3e, 0x68, 0xaa, 0xd6, 0x5c, 0xe4, 0x80, 0x5f, 0xf3, - 0x31, 0x49, 0x5b, 0xeb, 0xd7, 0x08, 0x4e, 0xfb, 0xc0, 0xf0, 0x6c, 0xfb, 0x95, 0x31, 0xd5, 0x0f, - 0x11, 0x24, 0x3b, 0xa1, 0x13, 0x76, 0xba, 0x06, 0x83, 0x3c, 0x18, 0x76, 0x31, 0x52, 0xc0, 0x9f, - 0x38, 0xb3, 0xe6, 0x71, 0x48, 0x5b, 0xe8, 0x57, 0x28, 0xe0, 0xcd, 0x34, 0x9d, 0x7c, 0x65, 0xec, - 0xb3, 0x0d, 0x89, 0x76, 0x68, 0xc2, 0x38, 0xb3, 0x10, 0xa1, 0x89, 0xce, 0x33, 0xcd, 0xb9, 0x23, - 0x52, 0xa4, 0xc6, 0xa9, 0xa5, 0xcd, 0xf2, 0x33, 0x04, 0x13, 0xf3, 0x86, 0x71, 0x6c, 0xab, 0x04, - 0xd3, 0x79, 0xdf, 0x71, 0xd2, 0xb9, 0xf2, 0x09, 0x9c, 0x3a, 0x04, 0x49, 0x36, 0xcf, 0x9e, 0x15, - 0x28, 0x68, 0x31, 0xe7, 0x88, 0x74, 0xc1, 0x04, 0x7f, 0x48, 0x17, 0x94, 0xc7, 0x70,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0xea, 0x5c, 0x97, 0xf9, 0x53, - 0xc0, 0xea, 0x19, 0x25, 0x2d, 0x6b, 0x75, 0x16, 0x44, 0xf0, 0xef, 0x11, 0x0c, 0xac, 0xba, 0x56, - 0x03, 0xa7, 0x43, 0x51, 0x1f, 0x1e, 0x60, 0xc9, 0xfa, 0xca, 0x5b, 0x9d, 0x47, 0x57, 0x01, 0xcc, - 0xaa, 0x72, 0x51, 0x1e, 0xb3, 0xd5, 0x60, 0x90, 0x57, 0xac, 0x2d, 0x12, 0x0a, 0xb9, 0x7d, 0xf2, - 0xd5, 0x03, 0xe4, 0x4e, 0x03, 0xab, 0x17, 0x85, 0x5c, 0xa7, 0x48, 0xff, 0x84, 0x20, 0xca, 0x6b, - 0xbc, 0x50, 0xf7, 0xee, 0x34, 0x94, 0x92, 0x81, 0x7d, 0x8f, 0xbf, 0xca, 0xce, 0xe3, 0xa8, 0x00, - 0xf0, 0xac, 0xa2, 0xca, 0x02, 0xe7, 0xf9, 0x03, 0xef, 0x22, 0x18, 0x14, 0xf3, 0x01, 0x9c, 0xed, - 0x75, 0x16, 0x24, 0x03, 0x5e, 0xdb, 0xdd, 0x4f, 0x9d, 0xef, 0x3a, 0x83, 0x08, 0xa0, 0xbf, 0xa0, - 0x28, 0x21, 0xd1, 0xcf, 0xe6, 0x12, 0x68, 0x38, 0xf9, 0x0c, 0xc1, 0x10, 0x0d, 0xf6, 0xb4, 0xbd, - 0xc3, 0xb9, 0x9e, 0xdb, 0xe6, 0x64, 0xbe, 0x17, 0x16, 0x91, 0x47, 0x66, 0xb8, 0x67, 0x60, 0x69, - 0xcf, 0x60, 0x9d, 0xe3, 0x17, 0x08, 0x46, 0xa8, 0xc4, 0x56, 0xa7, 0x85, 0x2f, 0xcb, 0x1d, 0xde, - 0xd6, 0x3c, 0x26, 0xaf, 0xf4, 0xce, 0x28, 0xb0, 0xcf, 0x31, 0xec, 0x33, 0x38, 0x2f, 0x89, 0x3d, - 0xe3, 0xeb, 0xe6, 0xfe, 0x80, 0x20, 0x4e, 0xa5, 0x8b, 0x06, 0x08, 0xcf, 0xc8, 0xa1, 0x08, 0x76, - 0x73, 0xc9, 0xd9, 0x1e, 0xb9, 0x04, 0xf0, 0xcb, 0x0c, 0x78, 0x0e, 0x67, 0x64, 0x81, 0x7b, 0x1d, - 0xd6, 0xef, 0x10, 0xc4, 0xa8, 0x5c, 0x56, 0xb3, 0x62, 0xc9, 0xfb, 0xf6, 0x97, 0xd6, 0xc9, 0xe9, - 0x9e, 0x78, 0x04, 0xde, 0x59, 0x1e, 0xa5, 0xb1, 0x6c, 0x94, 0xce, 0xf0, 0xc6, 0xe7, 0x6f, 0x08, - 0x86, 0xe6, 0x0d, 0x83, 0x83, 0x0d, 0xf3, 0xe7, 0xce, 0x5d, 0x8f, 0xcc, 0x33, 0x7c, 0xbc, 0xbb, - 0x9f, 0xca, 0x76, 0xef, 0x51, 0x42, 0x92, 0xe4, 0x4d, 0xe5, 0x6a, 0x4f, 0xda, 0xcc, 0xad, 0xeb, - 0x6e, 0xf9, 0x21, 0x2f, 0x76, 0xe8, 0x63, 0xfd, 0x3b, 0x82, 0x38, 0xcf, 0xcc, 0x5c, 0xbf, 0x19, - 0xd9, 0x02, 0xa0, 0x57, 0x15, 0x9f, 0xec, 0xee, 0xa7, 0xa6, 0x43, 0x7b, 0x96, 0x97, 0xae, 0x25, - 0x3f, 0x6b, 0x0e, 0xa5, 0x0a, 0xc5, 0x7b, 0x0b, 0x95, 0xaa, 0xfb, 0xb0, 0xb9, 0xae, 0x96, 0xad, - 0xba, 0xf8, 0xe7, 0x46, 0x9a, 0xff, 0x73, 0xa3, 0x62, 0xa5, 0x2b, 0xc4, 0x64, 0x67, 0x76, 0xff, - 0x4b, 0xc7, 0x35, 0xf6, 0x63, 0x3d, 0xca, 0xc8, 0xa6, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x3a, - 0xda, 0x2e, 0xdf, 0x7a, 0x23, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config/redis5_0.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config/redis5_0.pb.go index f8b3caa72..8c1bfedd2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config/redis5_0.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config/redis5_0.pb.go @@ -1,13 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/config/redis5_0.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config" +package redis -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import wrappers "github.com/golang/protobuf/ptypes/wrappers" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -18,7 +20,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type RedisConfig5_0_MaxmemoryPolicy int32 @@ -55,6 +57,7 @@ var RedisConfig5_0_MaxmemoryPolicy_name = map[int32]string{ 7: "VOLATILE_TTL", 8: "NOEVICTION", } + var RedisConfig5_0_MaxmemoryPolicy_value = map[string]int32{ "MAXMEMORY_POLICY_UNSPECIFIED": 0, "VOLATILE_LRU": 1, @@ -70,8 +73,9 @@ var RedisConfig5_0_MaxmemoryPolicy_value = map[string]int32{ func (x RedisConfig5_0_MaxmemoryPolicy) String() string { return proto.EnumName(RedisConfig5_0_MaxmemoryPolicy_name, int32(x)) } + func (RedisConfig5_0_MaxmemoryPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_redis5_0_34508bcc9ea4303f, []int{0, 0} + return fileDescriptor_f2fadb594ef7b246, []int{0, 0} } // Fields and structure of `RedisConfig` reflects Redis configuration file @@ -97,16 +101,17 @@ func (m *RedisConfig5_0) Reset() { *m = RedisConfig5_0{} } func (m *RedisConfig5_0) String() string { return proto.CompactTextString(m) } func (*RedisConfig5_0) ProtoMessage() {} func (*RedisConfig5_0) Descriptor() ([]byte, []int) { - return fileDescriptor_redis5_0_34508bcc9ea4303f, []int{0} + return fileDescriptor_f2fadb594ef7b246, []int{0} } + func (m *RedisConfig5_0) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedisConfig5_0.Unmarshal(m, b) } func (m *RedisConfig5_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedisConfig5_0.Marshal(b, m, deterministic) } -func (dst *RedisConfig5_0) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedisConfig5_0.Merge(dst, src) +func (m *RedisConfig5_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedisConfig5_0.Merge(m, src) } func (m *RedisConfig5_0) XXX_Size() int { return xxx_messageInfo_RedisConfig5_0.Size(m) @@ -155,16 +160,17 @@ func (m *RedisConfigSet5_0) Reset() { *m = RedisConfigSet5_0{} } func (m *RedisConfigSet5_0) String() string { return proto.CompactTextString(m) } func (*RedisConfigSet5_0) ProtoMessage() {} func (*RedisConfigSet5_0) Descriptor() ([]byte, []int) { - return fileDescriptor_redis5_0_34508bcc9ea4303f, []int{1} + return fileDescriptor_f2fadb594ef7b246, []int{1} } + func (m *RedisConfigSet5_0) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RedisConfigSet5_0.Unmarshal(m, b) } func (m *RedisConfigSet5_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RedisConfigSet5_0.Marshal(b, m, deterministic) } -func (dst *RedisConfigSet5_0) XXX_Merge(src proto.Message) { - xxx_messageInfo_RedisConfigSet5_0.Merge(dst, src) +func (m *RedisConfigSet5_0) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedisConfigSet5_0.Merge(m, src) } func (m *RedisConfigSet5_0) XXX_Size() int { return xxx_messageInfo_RedisConfigSet5_0.Size(m) @@ -197,16 +203,16 @@ func (m *RedisConfigSet5_0) GetDefaultConfig() *RedisConfig5_0 { } func init() { + proto.RegisterEnum("yandex.cloud.mdb.redis.v1.config.RedisConfig5_0_MaxmemoryPolicy", RedisConfig5_0_MaxmemoryPolicy_name, RedisConfig5_0_MaxmemoryPolicy_value) proto.RegisterType((*RedisConfig5_0)(nil), "yandex.cloud.mdb.redis.v1.config.RedisConfig5_0") proto.RegisterType((*RedisConfigSet5_0)(nil), "yandex.cloud.mdb.redis.v1.config.RedisConfigSet5_0") - proto.RegisterEnum("yandex.cloud.mdb.redis.v1.config.RedisConfig5_0_MaxmemoryPolicy", RedisConfig5_0_MaxmemoryPolicy_name, RedisConfig5_0_MaxmemoryPolicy_value) } func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/config/redis5_0.proto", fileDescriptor_redis5_0_34508bcc9ea4303f) + proto.RegisterFile("yandex/cloud/mdb/redis/v1/config/redis5_0.proto", fileDescriptor_f2fadb594ef7b246) } -var fileDescriptor_redis5_0_34508bcc9ea4303f = []byte{ +var fileDescriptor_f2fadb594ef7b246 = []byte{ // 528 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xdd, 0x8e, 0xd2, 0x4c, 0x18, 0xc7, 0xdf, 0xc2, 0xeb, 0xee, 0x3a, 0x28, 0x8c, 0xe3, 0x09, 0x59, 0x3f, 0x82, 0x68, 0x36, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset.pb.go index 1b74276d1..bbc78199f 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset.pb.go @@ -1,11 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/resource_preset.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" +package redis -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -16,7 +18,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A resource preset that describes hardware configuration for a host. type ResourcePreset struct { @@ -35,16 +37,17 @@ func (m *ResourcePreset) Reset() { *m = ResourcePreset{} } func (m *ResourcePreset) String() string { return proto.CompactTextString(m) } func (*ResourcePreset) ProtoMessage() {} func (*ResourcePreset) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_8076111fca2a7e94, []int{0} + return fileDescriptor_2997d340901a0fe3, []int{0} } + func (m *ResourcePreset) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResourcePreset.Unmarshal(m, b) } func (m *ResourcePreset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResourcePreset.Marshal(b, m, deterministic) } -func (dst *ResourcePreset) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResourcePreset.Merge(dst, src) +func (m *ResourcePreset) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourcePreset.Merge(m, src) } func (m *ResourcePreset) XXX_Size() int { return xxx_messageInfo_ResourcePreset.Size(m) @@ -81,10 +84,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/resource_preset.proto", fileDescriptor_resource_preset_8076111fca2a7e94) + proto.RegisterFile("yandex/cloud/mdb/redis/v1/resource_preset.proto", fileDescriptor_2997d340901a0fe3) } -var fileDescriptor_resource_preset_8076111fca2a7e94 = []byte{ +var fileDescriptor_2997d340901a0fe3 = []byte{ // 196 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xcf, 0xb1, 0x6b, 0x84, 0x30, 0x14, 0xc7, 0x71, 0x54, 0xb0, 0x35, 0x83, 0x43, 0x86, 0xa2, 0x9b, 0x74, 0x72, 0x31, 0x41, 0x3a, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset_service.pb.go index 2c070f7fe..0a20d861c 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/resource_preset_service.pb.go @@ -1,16 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/mdb/redis/v1/resource_preset_service.proto -package redis // import "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package redis import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -22,10 +24,10 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetResourcePresetRequest struct { - // Required. ID of the resource preset to return. + // ID of the resource preset to return. // To get the resource preset ID, use a [ResourcePresetService.List] request. ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -37,16 +39,17 @@ func (m *GetResourcePresetRequest) Reset() { *m = GetResourcePresetReque func (m *GetResourcePresetRequest) String() string { return proto.CompactTextString(m) } func (*GetResourcePresetRequest) ProtoMessage() {} func (*GetResourcePresetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_ded31641c9121e4a, []int{0} + return fileDescriptor_1fffc675283e9ab1, []int{0} } + func (m *GetResourcePresetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetResourcePresetRequest.Unmarshal(m, b) } func (m *GetResourcePresetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetResourcePresetRequest.Marshal(b, m, deterministic) } -func (dst *GetResourcePresetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetResourcePresetRequest.Merge(dst, src) +func (m *GetResourcePresetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourcePresetRequest.Merge(m, src) } func (m *GetResourcePresetRequest) XXX_Size() int { return xxx_messageInfo_GetResourcePresetRequest.Size(m) @@ -81,16 +84,17 @@ func (m *ListResourcePresetsRequest) Reset() { *m = ListResourcePresetsR func (m *ListResourcePresetsRequest) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsRequest) ProtoMessage() {} func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_ded31641c9121e4a, []int{1} + return fileDescriptor_1fffc675283e9ab1, []int{1} } + func (m *ListResourcePresetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsRequest.Unmarshal(m, b) } func (m *ListResourcePresetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsRequest.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsRequest.Merge(dst, src) +func (m *ListResourcePresetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsRequest.Merge(m, src) } func (m *ListResourcePresetsRequest) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsRequest.Size(m) @@ -132,16 +136,17 @@ func (m *ListResourcePresetsResponse) Reset() { *m = ListResourcePresets func (m *ListResourcePresetsResponse) String() string { return proto.CompactTextString(m) } func (*ListResourcePresetsResponse) ProtoMessage() {} func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_resource_preset_service_ded31641c9121e4a, []int{2} + return fileDescriptor_1fffc675283e9ab1, []int{2} } + func (m *ListResourcePresetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListResourcePresetsResponse.Unmarshal(m, b) } func (m *ListResourcePresetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListResourcePresetsResponse.Marshal(b, m, deterministic) } -func (dst *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListResourcePresetsResponse.Merge(dst, src) +func (m *ListResourcePresetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcePresetsResponse.Merge(m, src) } func (m *ListResourcePresetsResponse) XXX_Size() int { return xxx_messageInfo_ListResourcePresetsResponse.Size(m) @@ -172,6 +177,42 @@ func init() { proto.RegisterType((*ListResourcePresetsResponse)(nil), "yandex.cloud.mdb.redis.v1.ListResourcePresetsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/mdb/redis/v1/resource_preset_service.proto", fileDescriptor_1fffc675283e9ab1) +} + +var fileDescriptor_1fffc675283e9ab1 = []byte{ + // 433 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6a, 0xd5, 0x40, + 0x14, 0x86, 0x99, 0x9b, 0x22, 0x76, 0x44, 0x5a, 0x06, 0x84, 0x98, 0x5a, 0xb8, 0x46, 0x90, 0xdb, + 0xc5, 0x9d, 0xe1, 0xde, 0x62, 0x15, 0x04, 0x17, 0x15, 0x29, 0x82, 0x48, 0x49, 0xbb, 0x10, 0x37, + 0x61, 0x92, 0x39, 0xc4, 0xc1, 0x9b, 0x99, 0x98, 0x99, 0x84, 0x5a, 0x71, 0xe3, 0x2b, 0xb8, 0x74, + 0xe3, 0xc6, 0x67, 0xf1, 0x01, 0x7c, 0x03, 0x71, 0xe1, 0x63, 0x48, 0x26, 0x29, 0x98, 0xd4, 0xd4, + 0x76, 0x17, 0x4e, 0xe6, 0xfb, 0xcf, 0x7f, 0xe6, 0x3f, 0x83, 0x1f, 0xbe, 0xe7, 0x4a, 0xc0, 0x09, + 0x4b, 0x57, 0xba, 0x12, 0x2c, 0x17, 0x09, 0x2b, 0x41, 0x48, 0xc3, 0xea, 0x05, 0x2b, 0xc1, 0xe8, + 0xaa, 0x4c, 0x21, 0x2e, 0x4a, 0x30, 0x60, 0x63, 0x03, 0x65, 0x2d, 0x53, 0xa0, 0x45, 0xa9, 0xad, + 0x26, 0xb7, 0x5b, 0x90, 0x3a, 0x90, 0xe6, 0x22, 0xa1, 0x0e, 0xa4, 0xf5, 0x22, 0xb8, 0x93, 0x69, + 0x9d, 0xad, 0x80, 0xf1, 0x42, 0x32, 0xae, 0x94, 0xb6, 0xdc, 0x4a, 0xad, 0x4c, 0x0b, 0x06, 0xec, + 0xd2, 0x1d, 0x3b, 0x60, 0xbb, 0x07, 0xd4, 0x7c, 0x25, 0x85, 0x13, 0x6c, 0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 0x86, 0x62, 0x1f, 0xce, 0xc7, 0xfa, 0x91, 0x7c, 0x45, 0x78, 0xad, 0xb9, 0x5f, 0xf2, 0xe0, 0x82, + 0x9e, 0xe3, 0xd9, 0x06, 0x7b, 0x57, 0xc5, 0xda, 0xdc, 0xc2, 0x1d, 0xe7, 0xfb, 0x1e, 0xb9, 0xfb, + 0x5f, 0xdf, 0xfb, 0xcf, 0x5e, 0x3f, 0xcd, 0xa4, 0x7d, 0x53, 0x25, 0x34, 0xd5, 0x79, 0xf7, 0x12, + 0xe6, 0xed, 0x62, 0x67, 0x7a, 0x9e, 0x81, 0x72, 0x3b, 0x3d, 0xfe, 0x44, 0x1e, 0xbb, 0x8f, 0xe4, + 0x9a, 0x3b, 0xb6, 0xfb, 0x27, 0x00, 0x00, 0xff, 0xff, 0x67, 0x6e, 0xb1, 0xfb, 0xbe, 0x03, 0x00, + 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -228,6 +269,17 @@ type ResourcePresetServiceServer interface { List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) } +// UnimplementedResourcePresetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedResourcePresetServiceServer struct { +} + +func (*UnimplementedResourcePresetServiceServer) Get(ctx context.Context, req *GetResourcePresetRequest) (*ResourcePreset, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedResourcePresetServiceServer) List(ctx context.Context, req *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} + func RegisterResourcePresetServiceServer(s *grpc.Server, srv ResourcePresetServiceServer) { s.RegisterService(&_ResourcePresetService_serviceDesc, srv) } @@ -284,37 +336,3 @@ var _ResourcePresetService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/mdb/redis/v1/resource_preset_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/mdb/redis/v1/resource_preset_service.proto", fileDescriptor_resource_preset_service_ded31641c9121e4a) -} - -var fileDescriptor_resource_preset_service_ded31641c9121e4a = []byte{ - // 412 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0xca, 0xd3, 0x40, - 0x10, 0xc7, 0x49, 0x22, 0xe2, 0xb7, 0x22, 0xdf, 0xc7, 0x82, 0x10, 0x53, 0x85, 0x1a, 0x41, 0x5a, - 0xb0, 0xbb, 0xb4, 0xc5, 0x2a, 0x08, 0x1e, 0x14, 0xa9, 0x82, 0x87, 0x92, 0xf6, 0x20, 0x5e, 0x42, - 0x92, 0x1d, 0xe2, 0x62, 0xb3, 0x1b, 0xb3, 0x9b, 0x52, 0x2b, 0x5e, 0x7c, 0x05, 0x8f, 0x5e, 0xbc, - 0xf8, 0x44, 0xbe, 0x81, 0xf8, 0x20, 0x92, 0x4d, 0x0b, 0x36, 0x35, 0xb5, 0xdf, 0x6d, 0x99, 0xd9, - 0xff, 0xcc, 0x6f, 0xe6, 0x3f, 0xe8, 0xd1, 0xc7, 0x48, 0x30, 0x58, 0xd3, 0x64, 0x29, 0x4b, 0x46, - 0x33, 0x16, 0xd3, 0x02, 0x18, 0x57, 0x74, 0x35, 0xa4, 0x05, 0x28, 0x59, 0x16, 0x09, 0x84, 0x79, - 0x01, 0x0a, 0x74, 0xa8, 0xa0, 0x58, 0xf1, 0x04, 0x48, 0x5e, 0x48, 0x2d, 0xf1, 0xad, 0x5a, 0x48, - 0x8c, 0x90, 0x64, 0x2c, 0x26, 0x46, 0x48, 0x56, 0x43, 0xef, 0x76, 0x2a, 0x65, 0xba, 0x04, 0x1a, - 0xe5, 0x9c, 0x46, 0x42, 0x48, 0x1d, 0x69, 0x2e, 0x85, 0xaa, 0x85, 0x1e, 0x3d, 0xb9, 0x63, 0x2d, - 0xf0, 0x5f, 0x22, 0x77, 0x0a, 0x3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x67, 0xbb, 0xb7, 0xde, 0xe4, - 0xb2, 0xb2, 0xda, 0x37, 0xbf, 0x6f, 0xb8, 0xef, 0xe1, 0xbb, 0xff, 0xe5, 0x7e, 0xf6, 0xe2, 0xed, - 0xf3, 0x94, 0xeb, 0x77, 0x65, 0x4c, 0x12, 0x99, 0x6d, 0x8f, 0x7c, 0x50, 0x1f, 0x79, 0x2a, 0x07, - 0x29, 0x08, 0x73, 0xcd, 0xed, 0xd7, 0xff, 0xc4, 0x3c, 0xe2, 0xab, 0xe6, 0xdb, 0xf8, 0x4f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x5d, 0x19, 0xe5, 0x35, 0x99, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation.pb.go index a74a0f5b9..cd1b03085 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation.pb.go @@ -1,14 +1,16 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/operation/operation.proto -package operation // import "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +package operation -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import any "github.com/golang/protobuf/ptypes/any" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" -import status "google.golang.org/genproto/googleapis/rpc/status" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + status "google.golang.org/genproto/googleapis/rpc/status" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -19,7 +21,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // An Operation resource. For more information, see [Operation](/docs/api-design-guide/concepts/operation). type Operation struct { @@ -27,12 +29,11 @@ type Operation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Description of the operation. 0-256 characters long. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ID of the user or service account who initiated the operation. CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // The time when the Operation resource was last modified. - // This value is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ModifiedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` // If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is available. @@ -59,16 +60,17 @@ func (m *Operation) Reset() { *m = Operation{} } func (m *Operation) String() string { return proto.CompactTextString(m) } func (*Operation) ProtoMessage() {} func (*Operation) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_fa9f2af44e01a2d7, []int{0} + return fileDescriptor_8a0501b73987a137, []int{0} } + func (m *Operation) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Operation.Unmarshal(m, b) } func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Operation.Marshal(b, m, deterministic) } -func (dst *Operation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Operation.Merge(dst, src) +func (m *Operation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Operation.Merge(m, src) } func (m *Operation) XXX_Size() int { return xxx_messageInfo_Operation.Size(m) @@ -165,89 +167,23 @@ func (m *Operation) GetResponse() *any.Any { return nil } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*Operation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _Operation_OneofMarshaler, _Operation_OneofUnmarshaler, _Operation_OneofSizer, []interface{}{ +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Operation) XXX_OneofWrappers() []interface{} { + return []interface{}{ (*Operation_Error)(nil), (*Operation_Response)(nil), } } -func _Operation_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*Operation) - // result - switch x := m.Result.(type) { - case *Operation_Error: - b.EncodeVarint(8<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Error); err != nil { - return err - } - case *Operation_Response: - b.EncodeVarint(9<<3 | proto.WireBytes) - if err := b.EncodeMessage(x.Response); err != nil { - return err - } - case nil: - default: - return fmt.Errorf("Operation.Result has unexpected type %T", x) - } - return nil -} - -func _Operation_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*Operation) - switch tag { - case 8: // result.error - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(status.Status) - err := b.DecodeMessage(msg) - m.Result = &Operation_Error{msg} - return true, err - case 9: // result.response - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - msg := new(any.Any) - err := b.DecodeMessage(msg) - m.Result = &Operation_Response{msg} - return true, err - default: - return false, nil - } -} - -func _Operation_OneofSizer(msg proto.Message) (n int) { - m := msg.(*Operation) - // result - switch x := m.Result.(type) { - case *Operation_Error: - s := proto.Size(x.Error) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case *Operation_Response: - s := proto.Size(x.Response) - n += 1 // tag and wire - n += proto.SizeVarint(uint64(s)) - n += s - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { proto.RegisterType((*Operation)(nil), "yandex.cloud.operation.Operation") } func init() { - proto.RegisterFile("yandex/cloud/operation/operation.proto", fileDescriptor_operation_fa9f2af44e01a2d7) + proto.RegisterFile("yandex/cloud/operation/operation.proto", fileDescriptor_8a0501b73987a137) } -var fileDescriptor_operation_fa9f2af44e01a2d7 = []byte{ +var fileDescriptor_8a0501b73987a137 = []byte{ // 345 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4d, 0x4b, 0xeb, 0x40, 0x14, 0x86, 0x9b, 0x7e, 0xdd, 0x64, 0x0a, 0x77, 0x31, 0x5c, 0xae, 0x63, 0x41, 0x0c, 0x2e, 0xa4, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation_service.pb.go index 92fd69246..72e284ecd 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/operation/operation_service.pb.go @@ -1,17 +1,18 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/operation/operation_service.proto -package operation // import "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package operation import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -23,7 +24,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetOperationRequest struct { // ID of the Operation resource to return. @@ -37,16 +38,17 @@ func (m *GetOperationRequest) Reset() { *m = GetOperationRequest{} } func (m *GetOperationRequest) String() string { return proto.CompactTextString(m) } func (*GetOperationRequest) ProtoMessage() {} func (*GetOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_service_00da9fe853881983, []int{0} + return fileDescriptor_65df5639ee3bf772, []int{0} } + func (m *GetOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetOperationRequest.Unmarshal(m, b) } func (m *GetOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetOperationRequest.Marshal(b, m, deterministic) } -func (dst *GetOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperationRequest.Merge(dst, src) +func (m *GetOperationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOperationRequest.Merge(m, src) } func (m *GetOperationRequest) XXX_Size() int { return xxx_messageInfo_GetOperationRequest.Size(m) @@ -76,16 +78,17 @@ func (m *CancelOperationRequest) Reset() { *m = CancelOperationRequest{} func (m *CancelOperationRequest) String() string { return proto.CompactTextString(m) } func (*CancelOperationRequest) ProtoMessage() {} func (*CancelOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_operation_service_00da9fe853881983, []int{1} + return fileDescriptor_65df5639ee3bf772, []int{1} } + func (m *CancelOperationRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CancelOperationRequest.Unmarshal(m, b) } func (m *CancelOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CancelOperationRequest.Marshal(b, m, deterministic) } -func (dst *CancelOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelOperationRequest.Merge(dst, src) +func (m *CancelOperationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelOperationRequest.Merge(m, src) } func (m *CancelOperationRequest) XXX_Size() int { return xxx_messageInfo_CancelOperationRequest.Size(m) @@ -108,6 +111,33 @@ func init() { proto.RegisterType((*CancelOperationRequest)(nil), "yandex.cloud.operation.CancelOperationRequest") } +func init() { + proto.RegisterFile("yandex/cloud/operation/operation_service.proto", fileDescriptor_65df5639ee3bf772) +} + +var fileDescriptor_65df5639ee3bf772 = []byte{ + // 291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xab, 0x4c, 0xcc, 0x4b, + 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x2f, 0x48, 0x2d, 0x4a, 0x2c, 0xc9, + 0xcc, 0xcf, 0x43, 0xb0, 0xe2, 0x8b, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0xf5, 0x0a, 0x8a, 0xf2, + 0x4b, 0xf2, 0x85, 0xc4, 0x20, 0xea, 0xf5, 0xc0, 0xea, 0xf5, 0xe0, 0xaa, 0xa4, 0x64, 0xd2, 0xf3, + 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0xc0, 0xc2, + 0xc5, 0x10, 0x5d, 0x52, 0x6a, 0x84, 0x6c, 0x81, 0xaa, 0x93, 0x45, 0x51, 0x57, 0x96, 0x98, 0x93, + 0x99, 0x82, 0x24, 0xad, 0x64, 0xc7, 0x25, 0xec, 0x9e, 0x5a, 0xe2, 0x0f, 0xd3, 0x14, 0x94, 0x5a, + 0x58, 0x9a, 0x5a, 0x5c, 0x22, 0xa4, 0xce, 0xc5, 0x83, 0x70, 0x6e, 0x66, 0x8a, 0x04, 0xa3, 0x02, + 0xa3, 0x06, 0xa7, 0x13, 0xcb, 0x8b, 0xe3, 0x86, 0x8c, 0x41, 0xdc, 0x70, 0x19, 0xcf, 0x14, 0x25, + 0x47, 0x2e, 0x31, 0xe7, 0xc4, 0xbc, 0xe4, 0xd4, 0x1c, 0xb2, 0x8d, 0x30, 0x9a, 0xc6, 0xc4, 0x25, + 0x00, 0xd7, 0x1d, 0x0c, 0x09, 0x1a, 0xa1, 0x4a, 0x2e, 0x66, 0xf7, 0xd4, 0x12, 0x21, 0x6d, 0x3d, + 0xec, 0x81, 0xa3, 0x87, 0xc5, 0xd1, 0x52, 0x8a, 0xb8, 0x14, 0xc3, 0x55, 0x2a, 0x29, 0x35, 0x5d, + 0x7e, 0x32, 0x99, 0x49, 0x46, 0x48, 0x0a, 0x11, 0x4e, 0xc5, 0xfa, 0xd5, 0xc8, 0xee, 0xac, 0x15, + 0x6a, 0x63, 0xe4, 0x62, 0x83, 0xf8, 0x49, 0x48, 0x0f, 0x97, 0x89, 0xd8, 0xfd, 0x4c, 0x8c, 0x0b, + 0x34, 0xc1, 0x2e, 0x50, 0x16, 0x52, 0xc4, 0xed, 0x02, 0xab, 0x64, 0xb0, 0xe9, 0x4e, 0x6e, 0x51, + 0x2e, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x10, 0x93, 0x75, 0x21, + 0xf1, 0x98, 0x9e, 0xaf, 0x9b, 0x9e, 0x9a, 0x07, 0x8e, 0x42, 0x7d, 0xec, 0x09, 0xc1, 0x1a, 0xce, + 0x4a, 0x62, 0x03, 0xab, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xa7, 0x20, 0x3f, 0x99, + 0x02, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -160,6 +190,17 @@ type OperationServiceServer interface { Cancel(context.Context, *CancelOperationRequest) (*Operation, error) } +// UnimplementedOperationServiceServer can be embedded to have forward compatible implementations. +type UnimplementedOperationServiceServer struct { +} + +func (*UnimplementedOperationServiceServer) Get(ctx context.Context, req *GetOperationRequest) (*Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedOperationServiceServer) Cancel(ctx context.Context, req *CancelOperationRequest) (*Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Cancel not implemented") +} + func RegisterOperationServiceServer(s *grpc.Server, srv OperationServiceServer) { s.RegisterService(&_OperationService_serviceDesc, srv) } @@ -216,30 +257,3 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/operation/operation_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/operation/operation_service.proto", fileDescriptor_operation_service_00da9fe853881983) -} - -var fileDescriptor_operation_service_00da9fe853881983 = []byte{ - // 291 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xab, 0x4c, 0xcc, 0x4b, - 0x49, 0xad, 0xd0, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0xcf, 0x2f, 0x48, 0x2d, 0x4a, 0x2c, 0xc9, - 0xcc, 0xcf, 0x43, 0xb0, 0xe2, 0x8b, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, 0xf5, 0x0a, 0x8a, 0xf2, - 0x4b, 0xf2, 0x85, 0xc4, 0x20, 0xea, 0xf5, 0xc0, 0xea, 0xf5, 0xe0, 0xaa, 0xa4, 0x64, 0xd2, 0xf3, - 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0xc0, 0xc2, - 0xc5, 0x10, 0x5d, 0x52, 0x6a, 0x84, 0x6c, 0x81, 0xaa, 0x93, 0x45, 0x51, 0x57, 0x96, 0x98, 0x93, - 0x99, 0x82, 0x24, 0xad, 0x64, 0xc7, 0x25, 0xec, 0x9e, 0x5a, 0xe2, 0x0f, 0xd3, 0x14, 0x94, 0x5a, - 0x58, 0x9a, 0x5a, 0x5c, 0x22, 0xa4, 0xce, 0xc5, 0x83, 0x70, 0x6e, 0x66, 0x8a, 0x04, 0xa3, 0x02, - 0xa3, 0x06, 0xa7, 0x13, 0xcb, 0x8b, 0xe3, 0x86, 0x8c, 0x41, 0xdc, 0x70, 0x19, 0xcf, 0x14, 0x25, - 0x47, 0x2e, 0x31, 0xe7, 0xc4, 0xbc, 0xe4, 0xd4, 0x1c, 0xb2, 0x8d, 0x30, 0x9a, 0xc6, 0xc4, 0x25, - 0x00, 0xd7, 0x1d, 0x0c, 0x09, 0x1a, 0xa1, 0x4a, 0x2e, 0x66, 0xf7, 0xd4, 0x12, 0x21, 0x6d, 0x3d, - 0xec, 0x81, 0xa3, 0x87, 0xc5, 0xd1, 0x52, 0x8a, 0xb8, 0x14, 0xc3, 0x55, 0x2a, 0x29, 0x35, 0x5d, - 0x7e, 0x32, 0x99, 0x49, 0x46, 0x48, 0x0a, 0x11, 0x4e, 0xc5, 0xfa, 0xd5, 0xc8, 0xee, 0xac, 0x15, - 0x6a, 0x63, 0xe4, 0x62, 0x83, 0xf8, 0x49, 0x48, 0x0f, 0x97, 0x89, 0xd8, 0xfd, 0x4c, 0x8c, 0x0b, - 0x34, 0xc1, 0x2e, 0x50, 0x16, 0x52, 0xc4, 0xed, 0x02, 0xab, 0x64, 0xb0, 0xe9, 0x4e, 0x6e, 0x51, - 0x2e, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x10, 0x93, 0x75, 0x21, - 0xf1, 0x98, 0x9e, 0xaf, 0x9b, 0x9e, 0x9a, 0x07, 0x8e, 0x42, 0x7d, 0xec, 0x09, 0xc1, 0x1a, 0xce, - 0x4a, 0x62, 0x03, 0xab, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xa7, 0x20, 0x3f, 0x99, - 0x02, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud.pb.go index 698c3744b..9c1326bc3 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/resourcemanager/v1/cloud.proto -package resourcemanager // import "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" +package resourcemanager -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,13 +19,13 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Cloud resource. For more information, see [Cloud](/docs/resource-manager/concepts/resources-hierarchy#cloud). type Cloud struct { // ID of the cloud. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the cloud. 3-63 characters long. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -38,16 +40,17 @@ func (m *Cloud) Reset() { *m = Cloud{} } func (m *Cloud) String() string { return proto.CompactTextString(m) } func (*Cloud) ProtoMessage() {} func (*Cloud) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_4164113932f10e4f, []int{0} + return fileDescriptor_d0119578dc2f92ce, []int{0} } + func (m *Cloud) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Cloud.Unmarshal(m, b) } func (m *Cloud) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Cloud.Marshal(b, m, deterministic) } -func (dst *Cloud) XXX_Merge(src proto.Message) { - xxx_messageInfo_Cloud.Merge(dst, src) +func (m *Cloud) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cloud.Merge(m, src) } func (m *Cloud) XXX_Size() int { return xxx_messageInfo_Cloud.Size(m) @@ -91,10 +94,10 @@ func init() { } func init() { - proto.RegisterFile("yandex/cloud/resourcemanager/v1/cloud.proto", fileDescriptor_cloud_4164113932f10e4f) + proto.RegisterFile("yandex/cloud/resourcemanager/v1/cloud.proto", fileDescriptor_d0119578dc2f92ce) } -var fileDescriptor_cloud_4164113932f10e4f = []byte{ +var fileDescriptor_d0119578dc2f92ce = []byte{ // 235 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0x03, 0x31, 0x10, 0x86, 0xd9, 0xb5, 0x0a, 0x4d, 0xc1, 0x43, 0x4e, 0xa1, 0x97, 0x2e, 0x9e, 0x0a, 0xd2, 0x84, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud_service.pb.go index 1fef90b79..429e31d6e 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/cloud_service.pb.go @@ -1,20 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/resourcemanager/v1/cloud_service.proto -package resourcemanager // import "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" +package resourcemanager import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +28,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetCloudRequest struct { // ID of the Cloud resource to return. @@ -41,16 +43,17 @@ func (m *GetCloudRequest) Reset() { *m = GetCloudRequest{} } func (m *GetCloudRequest) String() string { return proto.CompactTextString(m) } func (*GetCloudRequest) ProtoMessage() {} func (*GetCloudRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_service_7c926146593289a6, []int{0} + return fileDescriptor_c0ca0d4f81d9e76e, []int{0} } + func (m *GetCloudRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCloudRequest.Unmarshal(m, b) } func (m *GetCloudRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetCloudRequest.Marshal(b, m, deterministic) } -func (dst *GetCloudRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCloudRequest.Merge(dst, src) +func (m *GetCloudRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCloudRequest.Merge(m, src) } func (m *GetCloudRequest) XXX_Size() int { return xxx_messageInfo_GetCloudRequest.Size(m) @@ -94,16 +97,17 @@ func (m *ListCloudsRequest) Reset() { *m = ListCloudsRequest{} } func (m *ListCloudsRequest) String() string { return proto.CompactTextString(m) } func (*ListCloudsRequest) ProtoMessage() {} func (*ListCloudsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_service_7c926146593289a6, []int{1} + return fileDescriptor_c0ca0d4f81d9e76e, []int{1} } + func (m *ListCloudsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCloudsRequest.Unmarshal(m, b) } func (m *ListCloudsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListCloudsRequest.Marshal(b, m, deterministic) } -func (dst *ListCloudsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCloudsRequest.Merge(dst, src) +func (m *ListCloudsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCloudsRequest.Merge(m, src) } func (m *ListCloudsRequest) XXX_Size() int { return xxx_messageInfo_ListCloudsRequest.Size(m) @@ -154,16 +158,17 @@ func (m *ListCloudsResponse) Reset() { *m = ListCloudsResponse{} } func (m *ListCloudsResponse) String() string { return proto.CompactTextString(m) } func (*ListCloudsResponse) ProtoMessage() {} func (*ListCloudsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_service_7c926146593289a6, []int{2} + return fileDescriptor_c0ca0d4f81d9e76e, []int{2} } + func (m *ListCloudsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCloudsResponse.Unmarshal(m, b) } func (m *ListCloudsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListCloudsResponse.Marshal(b, m, deterministic) } -func (dst *ListCloudsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCloudsResponse.Merge(dst, src) +func (m *ListCloudsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCloudsResponse.Merge(m, src) } func (m *ListCloudsResponse) XXX_Size() int { return xxx_messageInfo_ListCloudsResponse.Size(m) @@ -209,16 +214,17 @@ func (m *ListCloudOperationsRequest) Reset() { *m = ListCloudOperationsR func (m *ListCloudOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListCloudOperationsRequest) ProtoMessage() {} func (*ListCloudOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_service_7c926146593289a6, []int{3} + return fileDescriptor_c0ca0d4f81d9e76e, []int{3} } + func (m *ListCloudOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCloudOperationsRequest.Unmarshal(m, b) } func (m *ListCloudOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListCloudOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListCloudOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCloudOperationsRequest.Merge(dst, src) +func (m *ListCloudOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCloudOperationsRequest.Merge(m, src) } func (m *ListCloudOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListCloudOperationsRequest.Size(m) @@ -267,16 +273,17 @@ func (m *ListCloudOperationsResponse) Reset() { *m = ListCloudOperations func (m *ListCloudOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListCloudOperationsResponse) ProtoMessage() {} func (*ListCloudOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cloud_service_7c926146593289a6, []int{4} + return fileDescriptor_c0ca0d4f81d9e76e, []int{4} } + func (m *ListCloudOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListCloudOperationsResponse.Unmarshal(m, b) } func (m *ListCloudOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListCloudOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListCloudOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCloudOperationsResponse.Merge(dst, src) +func (m *ListCloudOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCloudOperationsResponse.Merge(m, src) } func (m *ListCloudOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListCloudOperationsResponse.Size(m) @@ -301,12 +308,186 @@ func (m *ListCloudOperationsResponse) GetNextPageToken() string { return "" } +type UpdateCloudRequest struct { + // ID of the cloud to update. + // To get the cloud ID, use a [CloudService.List] request. + CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` + // Field mask that specifies which fields of the cloud are going to be updated. + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + // Name of the cloud. + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // Description of the cloud. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateCloudRequest) Reset() { *m = UpdateCloudRequest{} } +func (m *UpdateCloudRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateCloudRequest) ProtoMessage() {} +func (*UpdateCloudRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c0ca0d4f81d9e76e, []int{5} +} + +func (m *UpdateCloudRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateCloudRequest.Unmarshal(m, b) +} +func (m *UpdateCloudRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateCloudRequest.Marshal(b, m, deterministic) +} +func (m *UpdateCloudRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateCloudRequest.Merge(m, src) +} +func (m *UpdateCloudRequest) XXX_Size() int { + return xxx_messageInfo_UpdateCloudRequest.Size(m) +} +func (m *UpdateCloudRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateCloudRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateCloudRequest proto.InternalMessageInfo + +func (m *UpdateCloudRequest) GetCloudId() string { + if m != nil { + return m.CloudId + } + return "" +} + +func (m *UpdateCloudRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateCloudRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateCloudRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +type UpdateCloudMetadata struct { + // ID of the cloud that is being updated. + CloudId string `protobuf:"bytes,1,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateCloudMetadata) Reset() { *m = UpdateCloudMetadata{} } +func (m *UpdateCloudMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateCloudMetadata) ProtoMessage() {} +func (*UpdateCloudMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_c0ca0d4f81d9e76e, []int{6} +} + +func (m *UpdateCloudMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateCloudMetadata.Unmarshal(m, b) +} +func (m *UpdateCloudMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateCloudMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateCloudMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateCloudMetadata.Merge(m, src) +} +func (m *UpdateCloudMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateCloudMetadata.Size(m) +} +func (m *UpdateCloudMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateCloudMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateCloudMetadata proto.InternalMessageInfo + +func (m *UpdateCloudMetadata) GetCloudId() string { + if m != nil { + return m.CloudId + } + return "" +} + func init() { proto.RegisterType((*GetCloudRequest)(nil), "yandex.cloud.resourcemanager.v1.GetCloudRequest") proto.RegisterType((*ListCloudsRequest)(nil), "yandex.cloud.resourcemanager.v1.ListCloudsRequest") proto.RegisterType((*ListCloudsResponse)(nil), "yandex.cloud.resourcemanager.v1.ListCloudsResponse") proto.RegisterType((*ListCloudOperationsRequest)(nil), "yandex.cloud.resourcemanager.v1.ListCloudOperationsRequest") proto.RegisterType((*ListCloudOperationsResponse)(nil), "yandex.cloud.resourcemanager.v1.ListCloudOperationsResponse") + proto.RegisterType((*UpdateCloudRequest)(nil), "yandex.cloud.resourcemanager.v1.UpdateCloudRequest") + proto.RegisterType((*UpdateCloudMetadata)(nil), "yandex.cloud.resourcemanager.v1.UpdateCloudMetadata") +} + +func init() { + proto.RegisterFile("yandex/cloud/resourcemanager/v1/cloud_service.proto", fileDescriptor_c0ca0d4f81d9e76e) +} + +var fileDescriptor_c0ca0d4f81d9e76e = []byte{ + // 882 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcf, 0x8f, 0xdb, 0x44, + 0x18, 0xd5, 0x6c, 0xd2, 0xd0, 0xfd, 0x52, 0xa8, 0x3a, 0x80, 0x14, 0xdc, 0x56, 0x0d, 0x5e, 0x29, + 0x84, 0x2c, 0xfe, 0x95, 0xa8, 0x45, 0xbb, 0x49, 0x17, 0x9a, 0x02, 0x15, 0x12, 0x15, 0xe0, 0xd0, + 0x0b, 0xab, 0x2a, 0x9a, 0x8d, 0x67, 0x8d, 0xb5, 0x89, 0x6d, 0x3c, 0x4e, 0xd4, 0xa6, 0xf4, 0x02, + 0x17, 0xc8, 0x85, 0x03, 0x1c, 0xf8, 0x3b, 0x96, 0x23, 0x77, 0x76, 0xcf, 0xcb, 0x95, 0x03, 0x07, + 0x0e, 0x48, 0xdc, 0xb8, 0x20, 0x71, 0x42, 0x1e, 0xff, 0xd8, 0xc4, 0xc9, 0x6e, 0x9c, 0x3d, 0x25, + 0xf6, 0xf7, 0xde, 0x7c, 0xef, 0x3d, 0x7f, 0x33, 0x36, 0x34, 0x9e, 0x12, 0xdb, 0xa0, 0x4f, 0x94, + 0x5e, 0xdf, 0x19, 0x1a, 0x8a, 0x47, 0x99, 0x33, 0xf4, 0x7a, 0x74, 0x40, 0x6c, 0x62, 0x52, 0x4f, + 0x19, 0x69, 0x61, 0xa1, 0xcb, 0xa8, 0x37, 0xb2, 0x7a, 0x54, 0x76, 0x3d, 0xc7, 0x77, 0xf0, 0xad, + 0x90, 0x24, 0xf3, 0x9a, 0x9c, 0x22, 0xc9, 0x23, 0x4d, 0xb8, 0x61, 0x3a, 0x8e, 0xd9, 0xa7, 0x0a, + 0x71, 0x2d, 0x85, 0xd8, 0xb6, 0xe3, 0x13, 0xdf, 0x72, 0x6c, 0x16, 0xd2, 0x85, 0x72, 0x54, 0xe5, + 0x57, 0x7b, 0xc3, 0x7d, 0x65, 0xdf, 0xa2, 0x7d, 0xa3, 0x3b, 0x20, 0xec, 0x20, 0x42, 0x6c, 0x66, + 0x52, 0x15, 0x81, 0x85, 0x08, 0x1c, 0x34, 0x73, 0x5c, 0xea, 0xf1, 0x5e, 0x71, 0xab, 0x99, 0x85, + 0x48, 0xaf, 0x47, 0x19, 0x8b, 0x7e, 0x22, 0x44, 0x65, 0x06, 0x91, 0xf0, 0xe7, 0x56, 0xba, 0x39, + 0x83, 0x1b, 0x91, 0xbe, 0x65, 0x4c, 0x95, 0xc5, 0x6d, 0xb8, 0xfa, 0x80, 0xfa, 0xf7, 0x83, 0xa2, + 0x4e, 0xbf, 0x1c, 0x52, 0xe6, 0xe3, 0x37, 0xe0, 0x72, 0x18, 0x9e, 0x65, 0x94, 0x50,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d, 0x8b, 0xe0, 0x95, 0x70, + 0x88, 0x53, 0x86, 0xd5, 0x85, 0x86, 0x17, 0x41, 0x57, 0xf0, 0xfc, 0x5d, 0xe0, 0xb9, 0x05, 0x1b, + 0xe7, 0xac, 0x96, 0xc5, 0xf6, 0x7d, 0x71, 0x27, 0xbb, 0xed, 0xe1, 0x82, 0x26, 0xdb, 0xa8, 0xd6, + 0x7e, 0xf4, 0x79, 0xc7, 0xb4, 0xfc, 0x2f, 0x86, 0x7b, 0x72, 0xcf, 0x19, 0x28, 0xa1, 0x74, 0x29, + 0xfc, 0x18, 0x32, 0x1d, 0xc9, 0xa4, 0x36, 0x6f, 0xac, 0x2c, 0xf9, 0x70, 0x6b, 0xa6, 0x6e, 0xed, + 0x15, 0x38, 0xad, 0xf1, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0x14, 0x68, 0x8a, 0x88, 0x0a, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -327,6 +508,8 @@ type CloudServiceClient interface { Get(ctx context.Context, in *GetCloudRequest, opts ...grpc.CallOption) (*Cloud, error) // Retrieves the list of Cloud resources. List(ctx context.Context, in *ListCloudsRequest, opts ...grpc.CallOption) (*ListCloudsResponse, error) + // Updates the specified cloud. + Update(ctx context.Context, in *UpdateCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified cloud. ListOperations(ctx context.Context, in *ListCloudOperationsRequest, opts ...grpc.CallOption) (*ListCloudOperationsResponse, error) // Lists access bindings for the specified cloud. @@ -363,6 +546,15 @@ func (c *cloudServiceClient) List(ctx context.Context, in *ListCloudsRequest, op return out, nil } +func (c *cloudServiceClient) Update(ctx context.Context, in *UpdateCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.resourcemanager.v1.CloudService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *cloudServiceClient) ListOperations(ctx context.Context, in *ListCloudOperationsRequest, opts ...grpc.CallOption) (*ListCloudOperationsResponse, error) { out := new(ListCloudOperationsResponse) err := c.cc.Invoke(ctx, "/yandex.cloud.resourcemanager.v1.CloudService/ListOperations", in, out, opts...) @@ -407,6 +599,8 @@ type CloudServiceServer interface { Get(context.Context, *GetCloudRequest) (*Cloud, error) // Retrieves the list of Cloud resources. List(context.Context, *ListCloudsRequest) (*ListCloudsResponse, error) + // Updates the specified cloud. + Update(context.Context, *UpdateCloudRequest) (*operation.Operation, error) // Lists operations for the specified cloud. ListOperations(context.Context, *ListCloudOperationsRequest) (*ListCloudOperationsResponse, error) // Lists access bindings for the specified cloud. @@ -417,6 +611,32 @@ type CloudServiceServer interface { UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) } +// UnimplementedCloudServiceServer can be embedded to have forward compatible implementations. +type UnimplementedCloudServiceServer struct { +} + +func (*UnimplementedCloudServiceServer) Get(ctx context.Context, req *GetCloudRequest) (*Cloud, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedCloudServiceServer) List(ctx context.Context, req *ListCloudsRequest) (*ListCloudsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedCloudServiceServer) Update(ctx context.Context, req *UpdateCloudRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedCloudServiceServer) ListOperations(ctx context.Context, req *ListCloudOperationsRequest) (*ListCloudOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedCloudServiceServer) ListAccessBindings(ctx context.Context, req *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAccessBindings not implemented") +} +func (*UnimplementedCloudServiceServer) SetAccessBindings(ctx context.Context, req *access.SetAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAccessBindings not implemented") +} +func (*UnimplementedCloudServiceServer) UpdateAccessBindings(ctx context.Context, req *access.UpdateAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccessBindings not implemented") +} + func RegisterCloudServiceServer(s *grpc.Server, srv CloudServiceServer) { s.RegisterService(&_CloudService_serviceDesc, srv) } @@ -457,6 +677,24 @@ func _CloudService_List_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _CloudService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCloudRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.resourcemanager.v1.CloudService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).Update(ctx, req.(*UpdateCloudRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _CloudService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ListCloudOperationsRequest) if err := dec(in); err != nil { @@ -541,6 +779,10 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ MethodName: "List", Handler: _CloudService_List_Handler, }, + { + MethodName: "Update", + Handler: _CloudService_Update_Handler, + }, { MethodName: "ListOperations", Handler: _CloudService_ListOperations_Handler, @@ -561,56 +803,3 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/resourcemanager/v1/cloud_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/resourcemanager/v1/cloud_service.proto", fileDescriptor_cloud_service_7c926146593289a6) -} - -var fileDescriptor_cloud_service_7c926146593289a6 = []byte{ - // 716 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xd6, 0x35, 0x25, 0x34, 0x47, 0xa1, 0xea, 0x09, 0xa4, 0xc8, 0xa5, 0x22, 0xb8, 0x52, 0x88, - 0x8a, 0x62, 0xc7, 0x8d, 0x18, 0x9a, 0xa6, 0x15, 0x4d, 0x41, 0x15, 0x12, 0x08, 0x94, 0xd0, 0x85, - 0xa5, 0xba, 0xc6, 0x57, 0x63, 0x91, 0xfa, 0x8c, 0xef, 0x12, 0xb5, 0x05, 0x16, 0x58, 0x20, 0x0b, - 0x03, 0x0c, 0xfc, 0x02, 0x7e, 0x00, 0x2b, 0x3b, 0xed, 0x0c, 0x7f, 0x81, 0x01, 0x89, 0x1f, 0x80, - 0xc4, 0x84, 0x7c, 0x67, 0xa7, 0x89, 0x9d, 0x36, 0x0e, 0x93, 0x25, 0xbf, 0xef, 0x7b, 0xef, 0x7b, - 0xdf, 0x7b, 0x77, 0x07, 0xcb, 0x07, 0xd8, 0x31, 0xc9, 0xbe, 0xde, 0x6c, 0xd1, 0xb6, 0xa9, 0x7b, - 0x84, 0xd1, 0xb6, 0xd7, 0x24, 0x7b, 0xd8, 0xc1, 0x16, 0xf1, 0xf4, 0x8e, 0x21, 0x03, 0xdb, 0x8c, - 0x78, 0x1d, 0xbb, 0x49, 0x34, 0xd7, 0xa3, 0x9c, 0xa2, 0x6b, 0x92, 0xa4, 0x89, 0x98, 0x16, 0x21, - 0x69, 0x1d, 0x43, 0xb9, 0x6a, 0x51, 0x6a, 0xb5, 0x88, 0x8e, 0x5d, 0x5b, 0xc7, 0x8e, 0x43, 0x39, - 0xe6, 0x36, 0x75, 0x98, 0xa4, 0x2b, 0x37, 0x13, 0xd5, 0x0c, 0xc0, 0x4a, 0x00, 0xf6, 0x53, 0x51, - 0x97, 0x78, 0x22, 0x53, 0x10, 0xcb, 0x0d, 0x24, 0xc2, 0xcd, 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0x1f, 0x48, 0xbe, 0x23, 0x24, 0xaf, 0xa1, 0xea, 0x99, - 0x92, 0xc3, 0x98, 0xaf, 0xba, 0xd2, 0x8a, 0xcb, 0xfc, 0x0d, 0xe0, 0x6c, 0x83, 0x44, 0xff, 0x16, - 0x87, 0x8a, 0x89, 0xe1, 0x42, 0xed, 0xa3, 0x0f, 0x97, 0xfa, 0x06, 0x7c, 0xf9, 0xbe, 0xb8, 0x0c, - 0x73, 0xa7, 0xa5, 0x7a, 0x40, 0x38, 0x36, 0x31, 0xc7, 0xe8, 0x8a, 0x7c, 0x8e, 0xe4, 0x65, 0xbe, - 0xd3, 0xde, 0xd5, 0xee, 0xee, 0xb9, 0xfc, 0x40, 0xf4, 0x7a, 0x5b, 0x5d, 0x49, 0xde, 0x2b, 0x8b, - 0x56, 0xa8, 0x80, 0x45, 0xf4, 0x07, 0xc0, 0xcb, 0x5b, 0xae, 0x89, 0x39, 0x89, 0x34, 0x5c, 0x1a, - 0xda, 0xf0, 0x30, 0xe8, 0x18, 0x3d, 0xbf, 0xf3, 0x7b, 0xae, 0xc2, 0x85, 0x33, 0xb2, 0x25, 0x69, - 0x7b, 0x43, 0x5d, 0x4b, 0xde, 0x76, 0x7b, 0x48, 0x91, 0x0a, 0x58, 0xac, 0x6d, 0x3d, 0x69, 0x58, - 0x36, 0x7f, 0xda, 0xde, 0xd1, 0x9a, 0x74, 0x4f, 0x97, 0xd2, 0x8b, 0xf2, 0x05, 0xb5, 0x68, 0xd1, - 0x22, 0x8e, 0x28, 0xac, 0x8f, 0x78, 0xed, 0x57, 0x22, 0xbf, 0x76, 0xd2, 0x82, 0x56, 0xfe, 0x17, - 0x00, 0x00, 0xff, 0xff, 0x6f, 0x0f, 0xcf, 0x65, 0x9b, 0x08, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder.pb.go index 68a546aaf..016177c05 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/resourcemanager/v1/folder.proto -package resourcemanager // import "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" +package resourcemanager -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type Folder_Status int32 @@ -34,6 +36,7 @@ var Folder_Status_name = map[int32]string{ 1: "ACTIVE", 2: "DELETING", } + var Folder_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "ACTIVE": 1, @@ -43,8 +46,9 @@ var Folder_Status_value = map[string]int32{ func (x Folder_Status) String() string { return proto.EnumName(Folder_Status_name, int32(x)) } + func (Folder_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_folder_e30a59b36b19bdc0, []int{0, 0} + return fileDescriptor_9276a68d990352f2, []int{0, 0} } // A Folder resource. For more information, see [Folder](/docs/resource-manager/concepts/resources-hierarchy#folder). @@ -53,7 +57,7 @@ type Folder struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the cloud that the folder belongs to. CloudId string `protobuf:"bytes,2,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"` - // Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + // Creation timestamp. CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the folder. // The name is unique within the cloud. 3-63 characters long. @@ -73,16 +77,17 @@ func (m *Folder) Reset() { *m = Folder{} } func (m *Folder) String() string { return proto.CompactTextString(m) } func (*Folder) ProtoMessage() {} func (*Folder) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_e30a59b36b19bdc0, []int{0} + return fileDescriptor_9276a68d990352f2, []int{0} } + func (m *Folder) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Folder.Unmarshal(m, b) } func (m *Folder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Folder.Marshal(b, m, deterministic) } -func (dst *Folder) XXX_Merge(src proto.Message) { - xxx_messageInfo_Folder.Merge(dst, src) +func (m *Folder) XXX_Merge(src proto.Message) { + xxx_messageInfo_Folder.Merge(m, src) } func (m *Folder) XXX_Size() int { return xxx_messageInfo_Folder.Size(m) @@ -143,16 +148,16 @@ func (m *Folder) GetStatus() Folder_Status { } func init() { + proto.RegisterEnum("yandex.cloud.resourcemanager.v1.Folder_Status", Folder_Status_name, Folder_Status_value) proto.RegisterType((*Folder)(nil), "yandex.cloud.resourcemanager.v1.Folder") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.resourcemanager.v1.Folder.LabelsEntry") - proto.RegisterEnum("yandex.cloud.resourcemanager.v1.Folder_Status", Folder_Status_name, Folder_Status_value) } func init() { - proto.RegisterFile("yandex/cloud/resourcemanager/v1/folder.proto", fileDescriptor_folder_e30a59b36b19bdc0) + proto.RegisterFile("yandex/cloud/resourcemanager/v1/folder.proto", fileDescriptor_9276a68d990352f2) } -var fileDescriptor_folder_e30a59b36b19bdc0 = []byte{ +var fileDescriptor_9276a68d990352f2 = []byte{ // 394 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6e, 0x9b, 0x40, 0x10, 0x86, 0x0b, 0x24, 0x24, 0x19, 0xaa, 0x08, 0xad, 0xaa, 0x8a, 0xfa, 0x12, 0x94, 0x13, 0x87, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder_service.pb.go index 21b7c7331..2ea9b1de7 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1/folder_service.pb.go @@ -1,21 +1,22 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/resourcemanager/v1/folder_service.proto -package resourcemanager // import "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package resourcemanager import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + access "github.com/yandex-cloud/go-genproto/yandex/cloud/access" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -27,7 +28,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetFolderRequest struct { // ID of the Folder resource to return. @@ -42,16 +43,17 @@ func (m *GetFolderRequest) Reset() { *m = GetFolderRequest{} } func (m *GetFolderRequest) String() string { return proto.CompactTextString(m) } func (*GetFolderRequest) ProtoMessage() {} func (*GetFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{0} + return fileDescriptor_7ee014449f956281, []int{0} } + func (m *GetFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetFolderRequest.Unmarshal(m, b) } func (m *GetFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetFolderRequest.Marshal(b, m, deterministic) } -func (dst *GetFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetFolderRequest.Merge(dst, src) +func (m *GetFolderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFolderRequest.Merge(m, src) } func (m *GetFolderRequest) XXX_Size() int { return xxx_messageInfo_GetFolderRequest.Size(m) @@ -98,16 +100,17 @@ func (m *ListFoldersRequest) Reset() { *m = ListFoldersRequest{} } func (m *ListFoldersRequest) String() string { return proto.CompactTextString(m) } func (*ListFoldersRequest) ProtoMessage() {} func (*ListFoldersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{1} + return fileDescriptor_7ee014449f956281, []int{1} } + func (m *ListFoldersRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFoldersRequest.Unmarshal(m, b) } func (m *ListFoldersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListFoldersRequest.Marshal(b, m, deterministic) } -func (dst *ListFoldersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFoldersRequest.Merge(dst, src) +func (m *ListFoldersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFoldersRequest.Merge(m, src) } func (m *ListFoldersRequest) XXX_Size() int { return xxx_messageInfo_ListFoldersRequest.Size(m) @@ -165,16 +168,17 @@ func (m *ListFoldersResponse) Reset() { *m = ListFoldersResponse{} } func (m *ListFoldersResponse) String() string { return proto.CompactTextString(m) } func (*ListFoldersResponse) ProtoMessage() {} func (*ListFoldersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{2} + return fileDescriptor_7ee014449f956281, []int{2} } + func (m *ListFoldersResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFoldersResponse.Unmarshal(m, b) } func (m *ListFoldersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListFoldersResponse.Marshal(b, m, deterministic) } -func (dst *ListFoldersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFoldersResponse.Merge(dst, src) +func (m *ListFoldersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFoldersResponse.Merge(m, src) } func (m *ListFoldersResponse) XXX_Size() int { return xxx_messageInfo_ListFoldersResponse.Size(m) @@ -219,16 +223,17 @@ func (m *CreateFolderRequest) Reset() { *m = CreateFolderRequest{} } func (m *CreateFolderRequest) String() string { return proto.CompactTextString(m) } func (*CreateFolderRequest) ProtoMessage() {} func (*CreateFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{3} + return fileDescriptor_7ee014449f956281, []int{3} } + func (m *CreateFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateFolderRequest.Unmarshal(m, b) } func (m *CreateFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateFolderRequest.Marshal(b, m, deterministic) } -func (dst *CreateFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFolderRequest.Merge(dst, src) +func (m *CreateFolderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFolderRequest.Merge(m, src) } func (m *CreateFolderRequest) XXX_Size() int { return xxx_messageInfo_CreateFolderRequest.Size(m) @@ -279,16 +284,17 @@ func (m *CreateFolderMetadata) Reset() { *m = CreateFolderMetadata{} } func (m *CreateFolderMetadata) String() string { return proto.CompactTextString(m) } func (*CreateFolderMetadata) ProtoMessage() {} func (*CreateFolderMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{4} + return fileDescriptor_7ee014449f956281, []int{4} } + func (m *CreateFolderMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateFolderMetadata.Unmarshal(m, b) } func (m *CreateFolderMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateFolderMetadata.Marshal(b, m, deterministic) } -func (dst *CreateFolderMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateFolderMetadata.Merge(dst, src) +func (m *CreateFolderMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFolderMetadata.Merge(m, src) } func (m *CreateFolderMetadata) XXX_Size() int { return xxx_messageInfo_CreateFolderMetadata.Size(m) @@ -328,16 +334,17 @@ func (m *UpdateFolderRequest) Reset() { *m = UpdateFolderRequest{} } func (m *UpdateFolderRequest) String() string { return proto.CompactTextString(m) } func (*UpdateFolderRequest) ProtoMessage() {} func (*UpdateFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{5} + return fileDescriptor_7ee014449f956281, []int{5} } + func (m *UpdateFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateFolderRequest.Unmarshal(m, b) } func (m *UpdateFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateFolderRequest.Marshal(b, m, deterministic) } -func (dst *UpdateFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFolderRequest.Merge(dst, src) +func (m *UpdateFolderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFolderRequest.Merge(m, src) } func (m *UpdateFolderRequest) XXX_Size() int { return xxx_messageInfo_UpdateFolderRequest.Size(m) @@ -395,16 +402,17 @@ func (m *UpdateFolderMetadata) Reset() { *m = UpdateFolderMetadata{} } func (m *UpdateFolderMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateFolderMetadata) ProtoMessage() {} func (*UpdateFolderMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{6} + return fileDescriptor_7ee014449f956281, []int{6} } + func (m *UpdateFolderMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateFolderMetadata.Unmarshal(m, b) } func (m *UpdateFolderMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateFolderMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateFolderMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateFolderMetadata.Merge(dst, src) +func (m *UpdateFolderMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFolderMetadata.Merge(m, src) } func (m *UpdateFolderMetadata) XXX_Size() int { return xxx_messageInfo_UpdateFolderMetadata.Size(m) @@ -435,16 +443,17 @@ func (m *DeleteFolderRequest) Reset() { *m = DeleteFolderRequest{} } func (m *DeleteFolderRequest) String() string { return proto.CompactTextString(m) } func (*DeleteFolderRequest) ProtoMessage() {} func (*DeleteFolderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{7} + return fileDescriptor_7ee014449f956281, []int{7} } + func (m *DeleteFolderRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteFolderRequest.Unmarshal(m, b) } func (m *DeleteFolderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteFolderRequest.Marshal(b, m, deterministic) } -func (dst *DeleteFolderRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteFolderRequest.Merge(dst, src) +func (m *DeleteFolderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteFolderRequest.Merge(m, src) } func (m *DeleteFolderRequest) XXX_Size() int { return xxx_messageInfo_DeleteFolderRequest.Size(m) @@ -474,16 +483,17 @@ func (m *DeleteFolderMetadata) Reset() { *m = DeleteFolderMetadata{} } func (m *DeleteFolderMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteFolderMetadata) ProtoMessage() {} func (*DeleteFolderMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{8} + return fileDescriptor_7ee014449f956281, []int{8} } + func (m *DeleteFolderMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteFolderMetadata.Unmarshal(m, b) } func (m *DeleteFolderMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteFolderMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteFolderMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteFolderMetadata.Merge(dst, src) +func (m *DeleteFolderMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteFolderMetadata.Merge(m, src) } func (m *DeleteFolderMetadata) XXX_Size() int { return xxx_messageInfo_DeleteFolderMetadata.Size(m) @@ -522,16 +532,17 @@ func (m *ListFolderOperationsRequest) Reset() { *m = ListFolderOperation func (m *ListFolderOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListFolderOperationsRequest) ProtoMessage() {} func (*ListFolderOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{9} + return fileDescriptor_7ee014449f956281, []int{9} } + func (m *ListFolderOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFolderOperationsRequest.Unmarshal(m, b) } func (m *ListFolderOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListFolderOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListFolderOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFolderOperationsRequest.Merge(dst, src) +func (m *ListFolderOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFolderOperationsRequest.Merge(m, src) } func (m *ListFolderOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListFolderOperationsRequest.Size(m) @@ -580,16 +591,17 @@ func (m *ListFolderOperationsResponse) Reset() { *m = ListFolderOperatio func (m *ListFolderOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListFolderOperationsResponse) ProtoMessage() {} func (*ListFolderOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_folder_service_1b69e2b4ea1a512d, []int{10} + return fileDescriptor_7ee014449f956281, []int{10} } + func (m *ListFolderOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListFolderOperationsResponse.Unmarshal(m, b) } func (m *ListFolderOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListFolderOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListFolderOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFolderOperationsResponse.Merge(dst, src) +func (m *ListFolderOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFolderOperationsResponse.Merge(m, src) } func (m *ListFolderOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListFolderOperationsResponse.Size(m) @@ -630,6 +642,84 @@ func init() { proto.RegisterType((*ListFolderOperationsResponse)(nil), "yandex.cloud.resourcemanager.v1.ListFolderOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/resourcemanager/v1/folder_service.proto", fileDescriptor_7ee014449f956281) +} + +var fileDescriptor_7ee014449f956281 = []byte{ + // 1110 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 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0x28, 0xff, 0x02, + 0xe0, 0xeb, 0xde, 0xb8, 0x9d, 0x5d, 0x7c, 0x54, 0x1e, 0x61, 0x3e, 0x07, 0xd8, 0x4c, 0xa8, 0x5c, + 0xd2, 0xda, 0x1f, 0xf3, 0x15, 0x96, 0xc1, 0x22, 0x2a, 0xc6, 0xcd, 0x40, 0x09, 0xf1, 0xcc, 0x0b, + 0xff, 0x1b, 0x76, 0x8d, 0x7d, 0x5e, 0x57, 0x0d, 0x4b, 0x37, 0xac, 0x06, 0x45, 0x72, 0x2f, 0x24, + 0xff, 0xe3, 0x7b, 0x50, 0x31, 0x48, 0x41, 0x89, 0xad, 0xef, 0x83, 0x5e, 0x67, 0xa0, 0x57, 0x51, + 0xe5, 0x62, 0xd0, 0x81, 0x90, 0x8d, 0x90, 0x39, 0x88, 0xf3, 0x4f, 0x00, 0xdf, 0xdc, 0x24, 0xfd, + 0x6f, 0xa5, 0x48, 0x34, 0x03, 0x7a, 0x23, 0x8c, 0xd5, 0xd7, 0xe0, 0xe8, 0x34, 0x57, 0x82, 0xb3, + 0xe7, 0xb9, 0x8a, 0x33, 0x63, 0x6b, 0x62, 0x79, 0x84, 0x64, 0x69, 0x7f, 0x08, 0xef, 0x06, 0xfd, + 0x05, 0x82, 0x5b, 0xd9, 0x97, 0x71, 0x3e, 0x32, 0xe3, 0x28, 0xd5, 0x11, 0x92, 0x3e, 0xf4, 0x92, + 0x2e, 0xc3, 0x77, 0x2e, 0xf0, 0x16, 0x27, 0xef, 0xbb, 0xe2, 0xea, 0x08, 0x79, 0xb7, 0x23, 0xa2, + 0x2c, 0x83, 0x5c, 0x75, 0xeb, 0xb3, 0xcd, 0x86, 0xe1, 0x7e, 0xde, 0xde, 0x91, 0xeb, 0x76, 0x53, + 0xe1, 0xd8, 0x25, 0xfe, 0xbf, 0xae, 0x61, 0x4b, 0x0d, 0x62, 0xb1, 0xc8, 0xca, 0x90, 0x3f, 0x9a, + 0x2b, 0x7d, 0xaf, 0x76, 0x52, 0xcc, 0xac, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xed, + 0x19, 0x34, 0x55, 0x0f, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -781,6 +871,38 @@ type FolderServiceServer interface { UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) } +// UnimplementedFolderServiceServer can be embedded to have forward compatible implementations. +type UnimplementedFolderServiceServer struct { +} + +func (*UnimplementedFolderServiceServer) Get(ctx context.Context, req *GetFolderRequest) (*Folder, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedFolderServiceServer) List(ctx context.Context, req *ListFoldersRequest) (*ListFoldersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedFolderServiceServer) Create(ctx context.Context, req *CreateFolderRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedFolderServiceServer) Update(ctx context.Context, req *UpdateFolderRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedFolderServiceServer) Delete(ctx context.Context, req *DeleteFolderRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedFolderServiceServer) ListOperations(ctx context.Context, req *ListFolderOperationsRequest) (*ListFolderOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} +func (*UnimplementedFolderServiceServer) ListAccessBindings(ctx context.Context, req *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAccessBindings not implemented") +} +func (*UnimplementedFolderServiceServer) SetAccessBindings(ctx context.Context, req *access.SetAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAccessBindings not implemented") +} +func (*UnimplementedFolderServiceServer) UpdateAccessBindings(ctx context.Context, req *access.UpdateAccessBindingsRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccessBindings not implemented") +} + func RegisterFolderServiceServer(s *grpc.Server, srv FolderServiceServer) { s.RegisterService(&_FolderService_serviceDesc, srv) } @@ -991,81 +1113,3 @@ var _FolderService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/resourcemanager/v1/folder_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/resourcemanager/v1/folder_service.proto", fileDescriptor_folder_service_1b69e2b4ea1a512d) -} - -var fileDescriptor_folder_service_1b69e2b4ea1a512d = []byte{ - // 1110 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0xdb, 0x54, - 0x1c, 0xd7, 0x6b, 0xd2, 0xac, 0x79, 0xa1, 0x50, 0x5e, 0x87, 0x14, 0x79, 0xdd, 0xe8, 0x0c, 0xac, - 0x25, 0xcc, 0x76, 0x9c, 0xb4, 0x15, 0x69, 0x13, 0x75, 0x0d, 0xeb, 0xa6, 0x4a, 0x9b, 0x40, 0x2e, - 0xbd, 0x50, 0x4d, 0xd1, 0x6b, 0xfc, 0x1a, 0xac, 0x3a, 0x76, 0xf0, 0x73, 0xa2, 0xb5, 0x63, 0x12, - 0x9a, 0xb8, 0xd0, 0xeb, 0x0e, 0x08, 0xf1, 0x2f, 0x70, 0xaa, 0x38, 0x70, 0xd8, 0x11, 0xa9, 0x15, - 0xc7, 0xf2, 0x2f, 0x20, 0xc4, 0x81, 0xd3, 0x4e, 0x08, 0x09, 0x09, 0xf9, 0x3d, 0x3b, 0x75, 0x12, - 0xb7, 0x71, 0x0a, 0x87, 0x9d, 0xe2, 0xe7, 0xef, 0xaf, 0xcf, 0xf7, 0xc7, 0xfb, 0x7c, 0x1d, 0xb8, -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, 0x08, 0xef, 0x06, 0xfd, - 0x05, 0x82, 0x5b, 0xd9, 0x97, 0x71, 0x3e, 0x32, 0xe3, 0x28, 0xd5, 0x11, 0x92, 0x3e, 0xf4, 0x92, - 0x2e, 0xc3, 0x77, 0x2e, 0xf0, 0x16, 0x27, 0xef, 0xbb, 0xe2, 0xea, 0x08, 0x79, 0xb7, 0x23, 0xa2, - 0x2c, 0x83, 0x5c, 0x75, 0xeb, 0xb3, 0xcd, 0x86, 0xe1, 0x7e, 0xde, 0xde, 0x91, 0xeb, 0x76, 0x53, - 0xe1, 0xd8, 0x25, 0xfe, 0xbf, 0xae, 0x61, 0x4b, 0x0d, 0x62, 0xb1, 0xc8, 0xca, 0x90, 0x3f, 0x9a, - 0x2b, 0x7d, 0xaf, 0x76, 0x52, 0xcc, 0xac, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xed, - 0x19, 0x34, 0x55, 0x0f, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function.pb.go new file mode 100644 index 000000000..4ab10c7e8 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function.pb.go @@ -0,0 +1,452 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/serverless/functions/v1/function.proto + +package functions + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Version_Status int32 + +const ( + Version_STATUS_UNSPECIFIED Version_Status = 0 + Version_CREATING Version_Status = 1 + Version_ACTIVE Version_Status = 2 +) + +var Version_Status_name = map[int32]string{ + 0: "STATUS_UNSPECIFIED", + 1: "CREATING", + 2: "ACTIVE", +} + +var Version_Status_value = map[string]int32{ + "STATUS_UNSPECIFIED": 0, + "CREATING": 1, + "ACTIVE": 2, +} + +func (x Version_Status) String() string { + return proto.EnumName(Version_Status_name, int32(x)) +} + +func (Version_Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f916220b45cd549e, []int{1, 0} +} + +type Function struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + LogGroupId string `protobuf:"bytes,7,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` + HttpInvokeUrl string `protobuf:"bytes,8,opt,name=http_invoke_url,json=httpInvokeUrl,proto3" json:"http_invoke_url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Function) Reset() { *m = Function{} } +func (m *Function) String() string { return proto.CompactTextString(m) } +func (*Function) ProtoMessage() {} +func (*Function) Descriptor() ([]byte, []int) { + return fileDescriptor_f916220b45cd549e, []int{0} +} + +func (m *Function) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Function.Unmarshal(m, b) +} +func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Function.Marshal(b, m, deterministic) +} +func (m *Function) XXX_Merge(src proto.Message) { + xxx_messageInfo_Function.Merge(m, src) +} +func (m *Function) XXX_Size() int { + return xxx_messageInfo_Function.Size(m) +} +func (m *Function) XXX_DiscardUnknown() { + xxx_messageInfo_Function.DiscardUnknown(m) +} + +var xxx_messageInfo_Function proto.InternalMessageInfo + +func (m *Function) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Function) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *Function) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Function) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Function) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Function) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +func (m *Function) GetLogGroupId() string { + if m != nil { + return m.LogGroupId + } + return "" +} + +func (m *Function) GetHttpInvokeUrl() string { + if m != nil { + return m.HttpInvokeUrl + } + return "" +} + +type Version struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + FunctionId string `protobuf:"bytes,2,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Runtime string `protobuf:"bytes,6,opt,name=runtime,proto3" json:"runtime,omitempty"` + Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` + Resources *Resources `protobuf:"bytes,8,opt,name=resources,proto3" json:"resources,omitempty"` + ExecutionTimeout *duration.Duration `protobuf:"bytes,9,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` + ServiceAccountId string `protobuf:"bytes,10,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + ImageSize int64 `protobuf:"varint,12,opt,name=image_size,json=imageSize,proto3" json:"image_size,omitempty"` + Status Version_Status `protobuf:"varint,13,opt,name=status,proto3,enum=yandex.cloud.serverless.functions.v1.Version_Status" json:"status,omitempty"` + Tags []string `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` + LogGroupId string `protobuf:"bytes,15,opt,name=log_group_id,json=logGroupId,proto3" json:"log_group_id,omitempty"` + Environment map[string]string `protobuf:"bytes,16,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Version) Reset() { *m = Version{} } +func (m *Version) String() string { return proto.CompactTextString(m) } +func (*Version) ProtoMessage() {} +func (*Version) Descriptor() ([]byte, []int) { + return fileDescriptor_f916220b45cd549e, []int{1} +} + +func (m *Version) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Version.Unmarshal(m, b) +} +func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Version.Marshal(b, m, deterministic) +} +func (m *Version) XXX_Merge(src proto.Message) { + xxx_messageInfo_Version.Merge(m, src) +} +func (m *Version) XXX_Size() int { + return xxx_messageInfo_Version.Size(m) +} +func (m *Version) XXX_DiscardUnknown() { + xxx_messageInfo_Version.DiscardUnknown(m) +} + +var xxx_messageInfo_Version proto.InternalMessageInfo + +func (m *Version) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Version) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *Version) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Version) GetCreatedAt() *timestamp.Timestamp { + if m != nil { + return m.CreatedAt + } + return nil +} + +func (m *Version) GetRuntime() string { + if m != nil { + return m.Runtime + } + return "" +} + +func (m *Version) GetEntrypoint() string { + if m != nil { + return m.Entrypoint + } + return "" +} + +func (m *Version) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *Version) GetExecutionTimeout() *duration.Duration { + if m != nil { + return m.ExecutionTimeout + } + return nil +} + +func (m *Version) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +func (m *Version) GetImageSize() int64 { + if m != nil { + return m.ImageSize + } + return 0 +} + +func (m *Version) GetStatus() Version_Status { + if m != nil { + return m.Status + } + return Version_STATUS_UNSPECIFIED +} + +func (m *Version) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +func (m *Version) GetLogGroupId() string { + if m != nil { + return m.LogGroupId + } + return "" +} + +func (m *Version) GetEnvironment() map[string]string { + if m != nil { + return m.Environment + } + return nil +} + +type Resources struct { + Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Resources) Reset() { *m = Resources{} } +func (m *Resources) String() string { return proto.CompactTextString(m) } +func (*Resources) ProtoMessage() {} +func (*Resources) Descriptor() ([]byte, []int) { + return fileDescriptor_f916220b45cd549e, []int{2} +} + +func (m *Resources) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Resources.Unmarshal(m, b) +} +func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Resources.Marshal(b, m, deterministic) +} +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) +} +func (m *Resources) XXX_Size() int { + return xxx_messageInfo_Resources.Size(m) +} +func (m *Resources) XXX_DiscardUnknown() { + xxx_messageInfo_Resources.DiscardUnknown(m) +} + +var xxx_messageInfo_Resources proto.InternalMessageInfo + +func (m *Resources) GetMemory() int64 { + if m != nil { + return m.Memory + } + return 0 +} + +type Package struct { + BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` + Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Package) Reset() { *m = Package{} } +func (m *Package) String() string { return proto.CompactTextString(m) } +func (*Package) ProtoMessage() {} +func (*Package) Descriptor() ([]byte, []int) { + return fileDescriptor_f916220b45cd549e, []int{3} +} + +func (m *Package) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Package.Unmarshal(m, b) +} +func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Package.Marshal(b, m, deterministic) +} +func (m *Package) XXX_Merge(src proto.Message) { + xxx_messageInfo_Package.Merge(m, src) +} +func (m *Package) XXX_Size() int { + return xxx_messageInfo_Package.Size(m) +} +func (m *Package) XXX_DiscardUnknown() { + xxx_messageInfo_Package.DiscardUnknown(m) +} + +var xxx_messageInfo_Package proto.InternalMessageInfo + +func (m *Package) GetBucketName() string { + if m != nil { + return m.BucketName + } + return "" +} + +func (m *Package) GetObjectName() string { + if m != nil { + return m.ObjectName + } + return "" +} + +func (m *Package) GetSha256() string { + if m != nil { + return m.Sha256 + } + return "" +} + +func init() { + proto.RegisterEnum("yandex.cloud.serverless.functions.v1.Version_Status", Version_Status_name, Version_Status_value) + proto.RegisterType((*Function)(nil), "yandex.cloud.serverless.functions.v1.Function") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.functions.v1.Function.LabelsEntry") + proto.RegisterType((*Version)(nil), "yandex.cloud.serverless.functions.v1.Version") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.functions.v1.Version.EnvironmentEntry") + proto.RegisterType((*Resources)(nil), "yandex.cloud.serverless.functions.v1.Resources") + proto.RegisterType((*Package)(nil), "yandex.cloud.serverless.functions.v1.Package") +} + +func init() { + proto.RegisterFile("yandex/cloud/serverless/functions/v1/function.proto", fileDescriptor_f916220b45cd549e) +} + +var fileDescriptor_f916220b45cd549e = []byte{ + // 798 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0xae, 0x44, 0x9b, 0x96, 0x86, 0x8e, 0xc3, 0x6e, 0x8b, 0x94, 0x55, 0x91, 0x84, 0x30, 0x9a, + 0x42, 0x87, 0x9a, 0xac, 0x7e, 0xdc, 0x24, 0x6e, 0x11, 0x40, 0x76, 0xe4, 0x80, 0x45, 0x6a, 0x04, + 0x94, 0x9c, 0x43, 0x2f, 0xec, 0x8a, 0x1c, 0xd3, 0xac, 0x49, 0xae, 0xb0, 0x5c, 0x0a, 0x71, 0x6e, + 0x7d, 0x90, 0x3e, 0x4f, 0x5e, 0xa5, 0xcf, 0xd0, 0x53, 0xc1, 0x25, 0x29, 0xc9, 0x76, 0x0e, 0xf2, + 0x8d, 0xf3, 0xf3, 0xcd, 0xcf, 0x37, 0x33, 0x4b, 0x18, 0x5c, 0xd3, 0x34, 0xc0, 0x0f, 0xb6, 0x1f, + 0xb3, 0x3c, 0xb0, 0x33, 0xe4, 0x0b, 0xe4, 0x31, 0x66, 0x99, 0x7d, 0x91, 0xa7, 0xbe, 0x88, 0x58, + 0x9a, 0xd9, 0x8b, 0xde, 0x52, 0xb0, 0xe6, 0x9c, 0x09, 0x46, 0xbe, 0x2f, 0x41, 0x96, 0x04, 0x59, + 0x2b, 0x90, 0xb5, 0x04, 0x59, 0x8b, 0x5e, 0xe7, 0x49, 0xc8, 0x58, 0x18, 0xa3, 0x2d, 0x31, 0xb3, + 0xfc, 0xc2, 0x0e, 0x72, 0x4e, 0x57, 0x51, 0x3a, 0x4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, 0x10, 0xc9, 0x33, 0xd0, 0x66, 0xb9, 0x7f, + 0x85, 0xc2, 0x93, 0xcf, 0x8f, 0x2c, 0xff, 0x78, 0xeb, 0xdf, 0x4f, 0xbd, 0x86, 0x0b, 0xa5, 0xe1, + 0xac, 0x78, 0x8a, 0x9e, 0x81, 0xc6, 0x66, 0x7f, 0xa1, 0x5f, 0xb9, 0x35, 0xd7, 0xdd, 0x4a, 0x83, + 0x74, 0x7b, 0x04, 0x6a, 0x76, 0x49, 0xfb, 0x87, 0x3f, 0x57, 0x47, 0x57, 0x49, 0xc7, 0xd3, 0x3f, + 0xdc, 0x30, 0x12, 0x97, 0xf9, 0xcc, 0xf2, 0x59, 0x62, 0x97, 0x93, 0x38, 0x28, 0x9f, 0xdf, 0x90, + 0x1d, 0x84, 0x98, 0xca, 0x45, 0xb5, 0x37, 0xf9, 0x67, 0xfc, 0xb2, 0x14, 0x66, 0xaa, 0x44, 0x0d, + 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x86, 0x2a, 0x51, 0x6c, 0x06, 0x00, 0x00, +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function_service.pb.go new file mode 100644 index 000000000..341fa2214 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1/function_service.pb.go @@ -0,0 +1,2144 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: yandex/cloud/serverless/functions/v1/function_service.proto + +package functions + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + duration "github.com/golang/protobuf/ptypes/duration" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetFunctionRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFunctionRequest) Reset() { *m = GetFunctionRequest{} } +func (m *GetFunctionRequest) String() string { return proto.CompactTextString(m) } +func (*GetFunctionRequest) ProtoMessage() {} +func (*GetFunctionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{0} +} + +func (m *GetFunctionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFunctionRequest.Unmarshal(m, b) +} +func (m *GetFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFunctionRequest.Marshal(b, m, deterministic) +} +func (m *GetFunctionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFunctionRequest.Merge(m, src) +} +func (m *GetFunctionRequest) XXX_Size() int { + return xxx_messageInfo_GetFunctionRequest.Size(m) +} +func (m *GetFunctionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFunctionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFunctionRequest proto.InternalMessageInfo + +func (m *GetFunctionRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +type GetFunctionVersionRequest struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFunctionVersionRequest) Reset() { *m = GetFunctionVersionRequest{} } +func (m *GetFunctionVersionRequest) String() string { return proto.CompactTextString(m) } +func (*GetFunctionVersionRequest) ProtoMessage() {} +func (*GetFunctionVersionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{1} +} + +func (m *GetFunctionVersionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFunctionVersionRequest.Unmarshal(m, b) +} +func (m *GetFunctionVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFunctionVersionRequest.Marshal(b, m, deterministic) +} +func (m *GetFunctionVersionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFunctionVersionRequest.Merge(m, src) +} +func (m *GetFunctionVersionRequest) XXX_Size() int { + return xxx_messageInfo_GetFunctionVersionRequest.Size(m) +} +func (m *GetFunctionVersionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFunctionVersionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFunctionVersionRequest proto.InternalMessageInfo + +func (m *GetFunctionVersionRequest) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +type GetFunctionVersionByTagRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetFunctionVersionByTagRequest) Reset() { *m = GetFunctionVersionByTagRequest{} } +func (m *GetFunctionVersionByTagRequest) String() string { return proto.CompactTextString(m) } +func (*GetFunctionVersionByTagRequest) ProtoMessage() {} +func (*GetFunctionVersionByTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{2} +} + +func (m *GetFunctionVersionByTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetFunctionVersionByTagRequest.Unmarshal(m, b) +} +func (m *GetFunctionVersionByTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetFunctionVersionByTagRequest.Marshal(b, m, deterministic) +} +func (m *GetFunctionVersionByTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetFunctionVersionByTagRequest.Merge(m, src) +} +func (m *GetFunctionVersionByTagRequest) XXX_Size() int { + return xxx_messageInfo_GetFunctionVersionByTagRequest.Size(m) +} +func (m *GetFunctionVersionByTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetFunctionVersionByTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetFunctionVersionByTagRequest proto.InternalMessageInfo + +func (m *GetFunctionVersionByTagRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *GetFunctionVersionByTagRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +type ListFunctionsRequest struct { + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionsRequest) Reset() { *m = ListFunctionsRequest{} } +func (m *ListFunctionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListFunctionsRequest) ProtoMessage() {} +func (*ListFunctionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{3} +} + +func (m *ListFunctionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionsRequest.Unmarshal(m, b) +} +func (m *ListFunctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionsRequest.Marshal(b, m, deterministic) +} +func (m *ListFunctionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionsRequest.Merge(m, src) +} +func (m *ListFunctionsRequest) XXX_Size() int { + return xxx_messageInfo_ListFunctionsRequest.Size(m) +} +func (m *ListFunctionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionsRequest proto.InternalMessageInfo + +func (m *ListFunctionsRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *ListFunctionsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListFunctionsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListFunctionsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListFunctionsResponse struct { + Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionsResponse) Reset() { *m = ListFunctionsResponse{} } +func (m *ListFunctionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListFunctionsResponse) ProtoMessage() {} +func (*ListFunctionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{4} +} + +func (m *ListFunctionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionsResponse.Unmarshal(m, b) +} +func (m *ListFunctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionsResponse.Marshal(b, m, deterministic) +} +func (m *ListFunctionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionsResponse.Merge(m, src) +} +func (m *ListFunctionsResponse) XXX_Size() int { + return xxx_messageInfo_ListFunctionsResponse.Size(m) +} +func (m *ListFunctionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionsResponse proto.InternalMessageInfo + +func (m *ListFunctionsResponse) GetFunctions() []*Function { + if m != nil { + return m.Functions + } + return nil +} + +func (m *ListFunctionsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateFunctionRequest struct { + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFunctionRequest) Reset() { *m = CreateFunctionRequest{} } +func (m *CreateFunctionRequest) String() string { return proto.CompactTextString(m) } +func (*CreateFunctionRequest) ProtoMessage() {} +func (*CreateFunctionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{5} +} + +func (m *CreateFunctionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFunctionRequest.Unmarshal(m, b) +} +func (m *CreateFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFunctionRequest.Marshal(b, m, deterministic) +} +func (m *CreateFunctionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFunctionRequest.Merge(m, src) +} +func (m *CreateFunctionRequest) XXX_Size() int { + return xxx_messageInfo_CreateFunctionRequest.Size(m) +} +func (m *CreateFunctionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFunctionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFunctionRequest proto.InternalMessageInfo + +func (m *CreateFunctionRequest) GetFolderId() string { + if m != nil { + return m.FolderId + } + return "" +} + +func (m *CreateFunctionRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CreateFunctionRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateFunctionRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +type CreateFunctionMetadata struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFunctionMetadata) Reset() { *m = CreateFunctionMetadata{} } +func (m *CreateFunctionMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateFunctionMetadata) ProtoMessage() {} +func (*CreateFunctionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{6} +} + +func (m *CreateFunctionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFunctionMetadata.Unmarshal(m, b) +} +func (m *CreateFunctionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFunctionMetadata.Marshal(b, m, deterministic) +} +func (m *CreateFunctionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFunctionMetadata.Merge(m, src) +} +func (m *CreateFunctionMetadata) XXX_Size() int { + return xxx_messageInfo_CreateFunctionMetadata.Size(m) +} +func (m *CreateFunctionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFunctionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFunctionMetadata proto.InternalMessageInfo + +func (m *CreateFunctionMetadata) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +type UpdateFunctionRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateFunctionRequest) Reset() { *m = UpdateFunctionRequest{} } +func (m *UpdateFunctionRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateFunctionRequest) ProtoMessage() {} +func (*UpdateFunctionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{7} +} + +func (m *UpdateFunctionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateFunctionRequest.Unmarshal(m, b) +} +func (m *UpdateFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateFunctionRequest.Marshal(b, m, deterministic) +} +func (m *UpdateFunctionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFunctionRequest.Merge(m, src) +} +func (m *UpdateFunctionRequest) XXX_Size() int { + return xxx_messageInfo_UpdateFunctionRequest.Size(m) +} +func (m *UpdateFunctionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateFunctionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateFunctionRequest proto.InternalMessageInfo + +func (m *UpdateFunctionRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *UpdateFunctionRequest) GetUpdateMask() *field_mask.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateFunctionRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateFunctionRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateFunctionRequest) GetLabels() map[string]string { + if m != nil { + return m.Labels + } + return nil +} + +type UpdateFunctionMetadata struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateFunctionMetadata) Reset() { *m = UpdateFunctionMetadata{} } +func (m *UpdateFunctionMetadata) String() string { return proto.CompactTextString(m) } +func (*UpdateFunctionMetadata) ProtoMessage() {} +func (*UpdateFunctionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{8} +} + +func (m *UpdateFunctionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateFunctionMetadata.Unmarshal(m, b) +} +func (m *UpdateFunctionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateFunctionMetadata.Marshal(b, m, deterministic) +} +func (m *UpdateFunctionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateFunctionMetadata.Merge(m, src) +} +func (m *UpdateFunctionMetadata) XXX_Size() int { + return xxx_messageInfo_UpdateFunctionMetadata.Size(m) +} +func (m *UpdateFunctionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateFunctionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateFunctionMetadata proto.InternalMessageInfo + +func (m *UpdateFunctionMetadata) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +type DeleteFunctionRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteFunctionRequest) Reset() { *m = DeleteFunctionRequest{} } +func (m *DeleteFunctionRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteFunctionRequest) ProtoMessage() {} +func (*DeleteFunctionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{9} +} + +func (m *DeleteFunctionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteFunctionRequest.Unmarshal(m, b) +} +func (m *DeleteFunctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteFunctionRequest.Marshal(b, m, deterministic) +} +func (m *DeleteFunctionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteFunctionRequest.Merge(m, src) +} +func (m *DeleteFunctionRequest) XXX_Size() int { + return xxx_messageInfo_DeleteFunctionRequest.Size(m) +} +func (m *DeleteFunctionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteFunctionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteFunctionRequest proto.InternalMessageInfo + +func (m *DeleteFunctionRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +type DeleteFunctionMetadata struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteFunctionMetadata) Reset() { *m = DeleteFunctionMetadata{} } +func (m *DeleteFunctionMetadata) String() string { return proto.CompactTextString(m) } +func (*DeleteFunctionMetadata) ProtoMessage() {} +func (*DeleteFunctionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{10} +} + +func (m *DeleteFunctionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteFunctionMetadata.Unmarshal(m, b) +} +func (m *DeleteFunctionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteFunctionMetadata.Marshal(b, m, deterministic) +} +func (m *DeleteFunctionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteFunctionMetadata.Merge(m, src) +} +func (m *DeleteFunctionMetadata) XXX_Size() int { + return xxx_messageInfo_DeleteFunctionMetadata.Size(m) +} +func (m *DeleteFunctionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteFunctionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteFunctionMetadata proto.InternalMessageInfo + +func (m *DeleteFunctionMetadata) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +type ListRuntimesRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRuntimesRequest) Reset() { *m = ListRuntimesRequest{} } +func (m *ListRuntimesRequest) String() string { return proto.CompactTextString(m) } +func (*ListRuntimesRequest) ProtoMessage() {} +func (*ListRuntimesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{11} +} + +func (m *ListRuntimesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRuntimesRequest.Unmarshal(m, b) +} +func (m *ListRuntimesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRuntimesRequest.Marshal(b, m, deterministic) +} +func (m *ListRuntimesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRuntimesRequest.Merge(m, src) +} +func (m *ListRuntimesRequest) XXX_Size() int { + return xxx_messageInfo_ListRuntimesRequest.Size(m) +} +func (m *ListRuntimesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRuntimesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRuntimesRequest proto.InternalMessageInfo + +type ListRuntimesResponse struct { + Runtimes []string `protobuf:"bytes,1,rep,name=runtimes,proto3" json:"runtimes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRuntimesResponse) Reset() { *m = ListRuntimesResponse{} } +func (m *ListRuntimesResponse) String() string { return proto.CompactTextString(m) } +func (*ListRuntimesResponse) ProtoMessage() {} +func (*ListRuntimesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{12} +} + +func (m *ListRuntimesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRuntimesResponse.Unmarshal(m, b) +} +func (m *ListRuntimesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRuntimesResponse.Marshal(b, m, deterministic) +} +func (m *ListRuntimesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRuntimesResponse.Merge(m, src) +} +func (m *ListRuntimesResponse) XXX_Size() int { + return xxx_messageInfo_ListRuntimesResponse.Size(m) +} +func (m *ListRuntimesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRuntimesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRuntimesResponse proto.InternalMessageInfo + +func (m *ListRuntimesResponse) GetRuntimes() []string { + if m != nil { + return m.Runtimes + } + return nil +} + +type ListFunctionsVersionsRequest struct { + // Types that are valid to be assigned to Id: + // *ListFunctionsVersionsRequest_FolderId + // *ListFunctionsVersionsRequest_FunctionId + Id isListFunctionsVersionsRequest_Id `protobuf_oneof:"id"` + PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionsVersionsRequest) Reset() { *m = ListFunctionsVersionsRequest{} } +func (m *ListFunctionsVersionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListFunctionsVersionsRequest) ProtoMessage() {} +func (*ListFunctionsVersionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{13} +} + +func (m *ListFunctionsVersionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionsVersionsRequest.Unmarshal(m, b) +} +func (m *ListFunctionsVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionsVersionsRequest.Marshal(b, m, deterministic) +} +func (m *ListFunctionsVersionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionsVersionsRequest.Merge(m, src) +} +func (m *ListFunctionsVersionsRequest) XXX_Size() int { + return xxx_messageInfo_ListFunctionsVersionsRequest.Size(m) +} +func (m *ListFunctionsVersionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionsVersionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionsVersionsRequest proto.InternalMessageInfo + +type isListFunctionsVersionsRequest_Id interface { + isListFunctionsVersionsRequest_Id() +} + +type ListFunctionsVersionsRequest_FolderId struct { + FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3,oneof"` +} + +type ListFunctionsVersionsRequest_FunctionId struct { + FunctionId string `protobuf:"bytes,2,opt,name=function_id,json=functionId,proto3,oneof"` +} + +func (*ListFunctionsVersionsRequest_FolderId) isListFunctionsVersionsRequest_Id() {} + +func (*ListFunctionsVersionsRequest_FunctionId) isListFunctionsVersionsRequest_Id() {} + +func (m *ListFunctionsVersionsRequest) GetId() isListFunctionsVersionsRequest_Id { + if m != nil { + return m.Id + } + return nil +} + +func (m *ListFunctionsVersionsRequest) GetFolderId() string { + if x, ok := m.GetId().(*ListFunctionsVersionsRequest_FolderId); ok { + return x.FolderId + } + return "" +} + +func (m *ListFunctionsVersionsRequest) GetFunctionId() string { + if x, ok := m.GetId().(*ListFunctionsVersionsRequest_FunctionId); ok { + return x.FunctionId + } + return "" +} + +func (m *ListFunctionsVersionsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListFunctionsVersionsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListFunctionsVersionsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ListFunctionsVersionsRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ListFunctionsVersionsRequest_FolderId)(nil), + (*ListFunctionsVersionsRequest_FunctionId)(nil), + } +} + +type ListFunctionsVersionsResponse struct { + Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionsVersionsResponse) Reset() { *m = ListFunctionsVersionsResponse{} } +func (m *ListFunctionsVersionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListFunctionsVersionsResponse) ProtoMessage() {} +func (*ListFunctionsVersionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{14} +} + +func (m *ListFunctionsVersionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionsVersionsResponse.Unmarshal(m, b) +} +func (m *ListFunctionsVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionsVersionsResponse.Marshal(b, m, deterministic) +} +func (m *ListFunctionsVersionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionsVersionsResponse.Merge(m, src) +} +func (m *ListFunctionsVersionsResponse) XXX_Size() int { + return xxx_messageInfo_ListFunctionsVersionsResponse.Size(m) +} +func (m *ListFunctionsVersionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionsVersionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionsVersionsResponse proto.InternalMessageInfo + +func (m *ListFunctionsVersionsResponse) GetVersions() []*Version { + if m != nil { + return m.Versions + } + return nil +} + +func (m *ListFunctionsVersionsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListFunctionOperationsRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionOperationsRequest) Reset() { *m = ListFunctionOperationsRequest{} } +func (m *ListFunctionOperationsRequest) String() string { return proto.CompactTextString(m) } +func (*ListFunctionOperationsRequest) ProtoMessage() {} +func (*ListFunctionOperationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{15} +} + +func (m *ListFunctionOperationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionOperationsRequest.Unmarshal(m, b) +} +func (m *ListFunctionOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionOperationsRequest.Marshal(b, m, deterministic) +} +func (m *ListFunctionOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionOperationsRequest.Merge(m, src) +} +func (m *ListFunctionOperationsRequest) XXX_Size() int { + return xxx_messageInfo_ListFunctionOperationsRequest.Size(m) +} +func (m *ListFunctionOperationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionOperationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionOperationsRequest proto.InternalMessageInfo + +func (m *ListFunctionOperationsRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *ListFunctionOperationsRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListFunctionOperationsRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListFunctionOperationsRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListFunctionOperationsResponse struct { + Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionOperationsResponse) Reset() { *m = ListFunctionOperationsResponse{} } +func (m *ListFunctionOperationsResponse) String() string { return proto.CompactTextString(m) } +func (*ListFunctionOperationsResponse) ProtoMessage() {} +func (*ListFunctionOperationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{16} +} + +func (m *ListFunctionOperationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionOperationsResponse.Unmarshal(m, b) +} +func (m *ListFunctionOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionOperationsResponse.Marshal(b, m, deterministic) +} +func (m *ListFunctionOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionOperationsResponse.Merge(m, src) +} +func (m *ListFunctionOperationsResponse) XXX_Size() int { + return xxx_messageInfo_ListFunctionOperationsResponse.Size(m) +} +func (m *ListFunctionOperationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionOperationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionOperationsResponse proto.InternalMessageInfo + +func (m *ListFunctionOperationsResponse) GetOperations() []*operation.Operation { + if m != nil { + return m.Operations + } + return nil +} + +func (m *ListFunctionOperationsResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type CreateFunctionVersionRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + Entrypoint string `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` + Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` + ExecutionTimeout *duration.Duration `protobuf:"bytes,6,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` + ServiceAccountId string `protobuf:"bytes,7,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + // Types that are valid to be assigned to PackageSource: + // *CreateFunctionVersionRequest_Package + // *CreateFunctionVersionRequest_Content + PackageSource isCreateFunctionVersionRequest_PackageSource `protobuf_oneof:"package_source"` + Environment map[string]string `protobuf:"bytes,12,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFunctionVersionRequest) Reset() { *m = CreateFunctionVersionRequest{} } +func (m *CreateFunctionVersionRequest) String() string { return proto.CompactTextString(m) } +func (*CreateFunctionVersionRequest) ProtoMessage() {} +func (*CreateFunctionVersionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{17} +} + +func (m *CreateFunctionVersionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFunctionVersionRequest.Unmarshal(m, b) +} +func (m *CreateFunctionVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFunctionVersionRequest.Marshal(b, m, deterministic) +} +func (m *CreateFunctionVersionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFunctionVersionRequest.Merge(m, src) +} +func (m *CreateFunctionVersionRequest) XXX_Size() int { + return xxx_messageInfo_CreateFunctionVersionRequest.Size(m) +} +func (m *CreateFunctionVersionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFunctionVersionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFunctionVersionRequest proto.InternalMessageInfo + +func (m *CreateFunctionVersionRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *CreateFunctionVersionRequest) GetRuntime() string { + if m != nil { + return m.Runtime + } + return "" +} + +func (m *CreateFunctionVersionRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *CreateFunctionVersionRequest) GetEntrypoint() string { + if m != nil { + return m.Entrypoint + } + return "" +} + +func (m *CreateFunctionVersionRequest) GetResources() *Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *CreateFunctionVersionRequest) GetExecutionTimeout() *duration.Duration { + if m != nil { + return m.ExecutionTimeout + } + return nil +} + +func (m *CreateFunctionVersionRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +type isCreateFunctionVersionRequest_PackageSource interface { + isCreateFunctionVersionRequest_PackageSource() +} + +type CreateFunctionVersionRequest_Package struct { + Package *Package `protobuf:"bytes,9,opt,name=package,proto3,oneof"` +} + +type CreateFunctionVersionRequest_Content struct { + Content []byte `protobuf:"bytes,10,opt,name=content,proto3,oneof"` +} + +func (*CreateFunctionVersionRequest_Package) isCreateFunctionVersionRequest_PackageSource() {} + +func (*CreateFunctionVersionRequest_Content) isCreateFunctionVersionRequest_PackageSource() {} + +func (m *CreateFunctionVersionRequest) GetPackageSource() isCreateFunctionVersionRequest_PackageSource { + if m != nil { + return m.PackageSource + } + return nil +} + +func (m *CreateFunctionVersionRequest) GetPackage() *Package { + if x, ok := m.GetPackageSource().(*CreateFunctionVersionRequest_Package); ok { + return x.Package + } + return nil +} + +func (m *CreateFunctionVersionRequest) GetContent() []byte { + if x, ok := m.GetPackageSource().(*CreateFunctionVersionRequest_Content); ok { + return x.Content + } + return nil +} + +func (m *CreateFunctionVersionRequest) GetEnvironment() map[string]string { + if m != nil { + return m.Environment + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CreateFunctionVersionRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*CreateFunctionVersionRequest_Package)(nil), + (*CreateFunctionVersionRequest_Content)(nil), + } +} + +type CreateFunctionVersionMetadata struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateFunctionVersionMetadata) Reset() { *m = CreateFunctionVersionMetadata{} } +func (m *CreateFunctionVersionMetadata) String() string { return proto.CompactTextString(m) } +func (*CreateFunctionVersionMetadata) ProtoMessage() {} +func (*CreateFunctionVersionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{18} +} + +func (m *CreateFunctionVersionMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateFunctionVersionMetadata.Unmarshal(m, b) +} +func (m *CreateFunctionVersionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateFunctionVersionMetadata.Marshal(b, m, deterministic) +} +func (m *CreateFunctionVersionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateFunctionVersionMetadata.Merge(m, src) +} +func (m *CreateFunctionVersionMetadata) XXX_Size() int { + return xxx_messageInfo_CreateFunctionVersionMetadata.Size(m) +} +func (m *CreateFunctionVersionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_CreateFunctionVersionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateFunctionVersionMetadata proto.InternalMessageInfo + +func (m *CreateFunctionVersionMetadata) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +type SetFunctionTagRequest struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetFunctionTagRequest) Reset() { *m = SetFunctionTagRequest{} } +func (m *SetFunctionTagRequest) String() string { return proto.CompactTextString(m) } +func (*SetFunctionTagRequest) ProtoMessage() {} +func (*SetFunctionTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{19} +} + +func (m *SetFunctionTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetFunctionTagRequest.Unmarshal(m, b) +} +func (m *SetFunctionTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetFunctionTagRequest.Marshal(b, m, deterministic) +} +func (m *SetFunctionTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetFunctionTagRequest.Merge(m, src) +} +func (m *SetFunctionTagRequest) XXX_Size() int { + return xxx_messageInfo_SetFunctionTagRequest.Size(m) +} +func (m *SetFunctionTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetFunctionTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetFunctionTagRequest proto.InternalMessageInfo + +func (m *SetFunctionTagRequest) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +func (m *SetFunctionTagRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +type RemoveFunctionTagRequest struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveFunctionTagRequest) Reset() { *m = RemoveFunctionTagRequest{} } +func (m *RemoveFunctionTagRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveFunctionTagRequest) ProtoMessage() {} +func (*RemoveFunctionTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{20} +} + +func (m *RemoveFunctionTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveFunctionTagRequest.Unmarshal(m, b) +} +func (m *RemoveFunctionTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveFunctionTagRequest.Marshal(b, m, deterministic) +} +func (m *RemoveFunctionTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveFunctionTagRequest.Merge(m, src) +} +func (m *RemoveFunctionTagRequest) XXX_Size() int { + return xxx_messageInfo_RemoveFunctionTagRequest.Size(m) +} +func (m *RemoveFunctionTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveFunctionTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveFunctionTagRequest proto.InternalMessageInfo + +func (m *RemoveFunctionTagRequest) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +func (m *RemoveFunctionTagRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +type SetFunctionTagMetadata struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetFunctionTagMetadata) Reset() { *m = SetFunctionTagMetadata{} } +func (m *SetFunctionTagMetadata) String() string { return proto.CompactTextString(m) } +func (*SetFunctionTagMetadata) ProtoMessage() {} +func (*SetFunctionTagMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{21} +} + +func (m *SetFunctionTagMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetFunctionTagMetadata.Unmarshal(m, b) +} +func (m *SetFunctionTagMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetFunctionTagMetadata.Marshal(b, m, deterministic) +} +func (m *SetFunctionTagMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetFunctionTagMetadata.Merge(m, src) +} +func (m *SetFunctionTagMetadata) XXX_Size() int { + return xxx_messageInfo_SetFunctionTagMetadata.Size(m) +} +func (m *SetFunctionTagMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_SetFunctionTagMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_SetFunctionTagMetadata proto.InternalMessageInfo + +func (m *SetFunctionTagMetadata) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +type RemoveFunctionTagMetadata struct { + FunctionVersionId string `protobuf:"bytes,1,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveFunctionTagMetadata) Reset() { *m = RemoveFunctionTagMetadata{} } +func (m *RemoveFunctionTagMetadata) String() string { return proto.CompactTextString(m) } +func (*RemoveFunctionTagMetadata) ProtoMessage() {} +func (*RemoveFunctionTagMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{22} +} + +func (m *RemoveFunctionTagMetadata) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveFunctionTagMetadata.Unmarshal(m, b) +} +func (m *RemoveFunctionTagMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveFunctionTagMetadata.Marshal(b, m, deterministic) +} +func (m *RemoveFunctionTagMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveFunctionTagMetadata.Merge(m, src) +} +func (m *RemoveFunctionTagMetadata) XXX_Size() int { + return xxx_messageInfo_RemoveFunctionTagMetadata.Size(m) +} +func (m *RemoveFunctionTagMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveFunctionTagMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveFunctionTagMetadata proto.InternalMessageInfo + +func (m *RemoveFunctionTagMetadata) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +type ListFunctionTagHistoryRequest struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionTagHistoryRequest) Reset() { *m = ListFunctionTagHistoryRequest{} } +func (m *ListFunctionTagHistoryRequest) String() string { return proto.CompactTextString(m) } +func (*ListFunctionTagHistoryRequest) ProtoMessage() {} +func (*ListFunctionTagHistoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{23} +} + +func (m *ListFunctionTagHistoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionTagHistoryRequest.Unmarshal(m, b) +} +func (m *ListFunctionTagHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionTagHistoryRequest.Marshal(b, m, deterministic) +} +func (m *ListFunctionTagHistoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionTagHistoryRequest.Merge(m, src) +} +func (m *ListFunctionTagHistoryRequest) XXX_Size() int { + return xxx_messageInfo_ListFunctionTagHistoryRequest.Size(m) +} +func (m *ListFunctionTagHistoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionTagHistoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionTagHistoryRequest proto.InternalMessageInfo + +func (m *ListFunctionTagHistoryRequest) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *ListFunctionTagHistoryRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +func (m *ListFunctionTagHistoryRequest) GetPageSize() int64 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListFunctionTagHistoryRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" +} + +func (m *ListFunctionTagHistoryRequest) GetFilter() string { + if m != nil { + return m.Filter + } + return "" +} + +type ListFunctionTagHistoryResponse struct { + FunctionTagHistoryRecord []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord `protobuf:"bytes,1,rep,name=function_tag_history_record,json=functionTagHistoryRecord,proto3" json:"function_tag_history_record,omitempty"` + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionTagHistoryResponse) Reset() { *m = ListFunctionTagHistoryResponse{} } +func (m *ListFunctionTagHistoryResponse) String() string { return proto.CompactTextString(m) } +func (*ListFunctionTagHistoryResponse) ProtoMessage() {} +func (*ListFunctionTagHistoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{24} +} + +func (m *ListFunctionTagHistoryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionTagHistoryResponse.Unmarshal(m, b) +} +func (m *ListFunctionTagHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionTagHistoryResponse.Marshal(b, m, deterministic) +} +func (m *ListFunctionTagHistoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionTagHistoryResponse.Merge(m, src) +} +func (m *ListFunctionTagHistoryResponse) XXX_Size() int { + return xxx_messageInfo_ListFunctionTagHistoryResponse.Size(m) +} +func (m *ListFunctionTagHistoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionTagHistoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionTagHistoryResponse proto.InternalMessageInfo + +func (m *ListFunctionTagHistoryResponse) GetFunctionTagHistoryRecord() []*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord { + if m != nil { + return m.FunctionTagHistoryRecord + } + return nil +} + +func (m *ListFunctionTagHistoryResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type ListFunctionTagHistoryResponse_FunctionTagHistoryRecord struct { + FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"` + FunctionVersionId string `protobuf:"bytes,3,opt,name=function_version_id,json=functionVersionId,proto3" json:"function_version_id,omitempty"` + Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` + EffectiveFrom *timestamp.Timestamp `protobuf:"bytes,4,opt,name=effective_from,json=effectiveFrom,proto3" json:"effective_from,omitempty"` + EffectiveTo *timestamp.Timestamp `protobuf:"bytes,5,opt,name=effective_to,json=effectiveTo,proto3" json:"effective_to,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Reset() { + *m = ListFunctionTagHistoryResponse_FunctionTagHistoryRecord{} +} +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) String() string { + return proto.CompactTextString(m) +} +func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) ProtoMessage() {} +func (*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_4a91c4c30ec2c5ca, []int{24, 0} +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.Unmarshal(m, b) +} +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.Marshal(b, m, deterministic) +} +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.Merge(m, src) +} +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) XXX_Size() int { + return xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.Size(m) +} +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) XXX_DiscardUnknown() { + xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFunctionTagHistoryResponse_FunctionTagHistoryRecord proto.InternalMessageInfo + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionId() string { + if m != nil { + return m.FunctionId + } + return "" +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetFunctionVersionId() string { + if m != nil { + return m.FunctionVersionId + } + return "" +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveFrom() *timestamp.Timestamp { + if m != nil { + return m.EffectiveFrom + } + return nil +} + +func (m *ListFunctionTagHistoryResponse_FunctionTagHistoryRecord) GetEffectiveTo() *timestamp.Timestamp { + if m != nil { + return m.EffectiveTo + } + return nil +} + +func init() { + proto.RegisterType((*GetFunctionRequest)(nil), "yandex.cloud.serverless.functions.v1.GetFunctionRequest") + proto.RegisterType((*GetFunctionVersionRequest)(nil), "yandex.cloud.serverless.functions.v1.GetFunctionVersionRequest") + proto.RegisterType((*GetFunctionVersionByTagRequest)(nil), "yandex.cloud.serverless.functions.v1.GetFunctionVersionByTagRequest") + proto.RegisterType((*ListFunctionsRequest)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionsRequest") + proto.RegisterType((*ListFunctionsResponse)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionsResponse") + proto.RegisterType((*CreateFunctionRequest)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionRequest.LabelsEntry") + proto.RegisterType((*CreateFunctionMetadata)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionMetadata") + proto.RegisterType((*UpdateFunctionRequest)(nil), "yandex.cloud.serverless.functions.v1.UpdateFunctionRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.functions.v1.UpdateFunctionRequest.LabelsEntry") + proto.RegisterType((*UpdateFunctionMetadata)(nil), "yandex.cloud.serverless.functions.v1.UpdateFunctionMetadata") + proto.RegisterType((*DeleteFunctionRequest)(nil), "yandex.cloud.serverless.functions.v1.DeleteFunctionRequest") + proto.RegisterType((*DeleteFunctionMetadata)(nil), "yandex.cloud.serverless.functions.v1.DeleteFunctionMetadata") + proto.RegisterType((*ListRuntimesRequest)(nil), "yandex.cloud.serverless.functions.v1.ListRuntimesRequest") + proto.RegisterType((*ListRuntimesResponse)(nil), "yandex.cloud.serverless.functions.v1.ListRuntimesResponse") + proto.RegisterType((*ListFunctionsVersionsRequest)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionsVersionsRequest") + proto.RegisterType((*ListFunctionsVersionsResponse)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionsVersionsResponse") + proto.RegisterType((*ListFunctionOperationsRequest)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionOperationsRequest") + proto.RegisterType((*ListFunctionOperationsResponse)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionOperationsResponse") + proto.RegisterType((*CreateFunctionVersionRequest)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionVersionRequest.EnvironmentEntry") + proto.RegisterType((*CreateFunctionVersionMetadata)(nil), "yandex.cloud.serverless.functions.v1.CreateFunctionVersionMetadata") + proto.RegisterType((*SetFunctionTagRequest)(nil), "yandex.cloud.serverless.functions.v1.SetFunctionTagRequest") + proto.RegisterType((*RemoveFunctionTagRequest)(nil), "yandex.cloud.serverless.functions.v1.RemoveFunctionTagRequest") + proto.RegisterType((*SetFunctionTagMetadata)(nil), "yandex.cloud.serverless.functions.v1.SetFunctionTagMetadata") + proto.RegisterType((*RemoveFunctionTagMetadata)(nil), "yandex.cloud.serverless.functions.v1.RemoveFunctionTagMetadata") + proto.RegisterType((*ListFunctionTagHistoryRequest)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryRequest") + proto.RegisterType((*ListFunctionTagHistoryResponse)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse") + proto.RegisterType((*ListFunctionTagHistoryResponse_FunctionTagHistoryRecord)(nil), "yandex.cloud.serverless.functions.v1.ListFunctionTagHistoryResponse.FunctionTagHistoryRecord") +} + +func init() { + proto.RegisterFile("yandex/cloud/serverless/functions/v1/function_service.proto", fileDescriptor_4a91c4c30ec2c5ca) +} + +var fileDescriptor_4a91c4c30ec2c5ca = []byte{ + // 1915 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6c, 0xdb, 0xc8, + 0x15, 0x5e, 0x5a, 0xb2, 0x6c, 0x3d, 0x65, 0xb3, 0xde, 0xd9, 0xc8, 0x51, 0x14, 0xdb, 0xb1, 0x09, + 0x27, 0x31, 0xd4, 0x88, 0x12, 0x15, 0xc7, 0xf0, 0x4f, 0x92, 0x45, 0x94, 0x3f, 0xbb, 0x4d, 0xb0, + 0x5b, 0xda, 0xdd, 0xc3, 0x06, 0x86, 0x4a, 0x4b, 0x23, 0x2d, 0x61, 0x89, 0x54, 0x49, 0x4a, 0x88, + 0xb3, 0x9b, 0xcb, 0x1e, 0x53, 0xf4, 0xd2, 0x5e, 0x17, 0x45, 0x2f, 0xbd, 0xf5, 0x64, 0xf4, 0x54, + 0x60, 0xd1, 0xed, 0xc9, 0x46, 0x81, 0x5c, 0x5c, 0xf4, 0xd0, 0x43, 0x4f, 0xed, 0xa1, 0x3d, 0x15, + 0xf0, 0xb1, 0x28, 0xd0, 0x62, 0x86, 0x43, 0x8a, 0xa4, 0xa8, 0x64, 0x24, 0xf7, 0xef, 0x64, 0x71, + 0xe6, 0xbd, 0x37, 0xef, 0x6f, 0xbe, 0xf7, 0xde, 0x18, 0x36, 0x0e, 0x54, 0xbd, 0x86, 0x9f, 0x17, + 0xaa, 0x4d, 0xa3, 0x53, 0x2b, 0x58, 0xd8, 0xec, 0x62, 0xb3, 0x89, 0x2d, 0x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xa9, 0xa1, 0x25, 0x54, 0xe4, + 0x83, 0x61, 0xbb, 0x67, 0xc4, 0x6b, 0x21, 0xfc, 0x9c, 0xee, 0x82, 0x58, 0xf9, 0xec, 0x63, 0x21, + 0x4f, 0x2c, 0x9f, 0x1e, 0x9e, 0xe4, 0x96, 0xde, 0x36, 0x9a, 0x05, 0xe2, 0x79, 0x59, 0x1c, 0x70, + 0xb1, 0x48, 0xbc, 0x7e, 0x2e, 0xc0, 0x39, 0xff, 0xc3, 0x1e, 0x5a, 0xe3, 0x77, 0x70, 0xe8, 0x8d, + 0x30, 0xbb, 0x3e, 0x0a, 0x6b, 0x10, 0x03, 0xc2, 0xaa, 0xba, 0x6f, 0x89, 0xe8, 0xf7, 0x02, 0x9c, + 0x27, 0x8c, 0xbd, 0x87, 0xa0, 0x51, 0xf2, 0xa9, 0xef, 0x19, 0x6c, 0x94, 0x7c, 0xea, 0x7f, 0x8b, + 0x1a, 0x32, 0x9f, 0x7a, 0xff, 0xed, 0xb3, 0xca, 0x3b, 0x9f, 0x2a, 0x0d, 0xcd, 0xfe, 0xac, 0xb3, + 0x27, 0x55, 0x8d, 0x56, 0xc1, 0xd1, 0x25, 0xef, 0xfc, 0xd7, 0xaf, 0x61, 0xe4, 0x1b, 0x58, 0xa7, + 0xe5, 0xb6, 0xc0, 0xf3, 0xbf, 0xc6, 0x0d, 0xef, 0x63, 0x2f, 0x41, 0xb9, 0x6e, 0xfe, 0x2b, 0x00, + 0x00, 0xff, 0xff, 0xae, 0xaa, 0x7c, 0x1b, 0xa4, 0x1d, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// FunctionServiceClient is the client API for FunctionService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type FunctionServiceClient interface { + Get(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*Function, error) + List(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error) + Create(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Update(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) + Delete(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) + GetFunctionVersion(ctx context.Context, in *GetFunctionVersionRequest, opts ...grpc.CallOption) (*Version, error) + GetFunctionVersionByTag(ctx context.Context, in *GetFunctionVersionByTagRequest, opts ...grpc.CallOption) (*Version, error) + ListFunctionVersions(ctx context.Context, in *ListFunctionsVersionsRequest, opts ...grpc.CallOption) (*ListFunctionsVersionsResponse, error) + SetTag(ctx context.Context, in *SetFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) + RemoveTag(ctx context.Context, in *RemoveFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListFunctionTagHistory(ctx context.Context, in *ListFunctionTagHistoryRequest, opts ...grpc.CallOption) (*ListFunctionTagHistoryResponse, error) + CreateFunctionVersion(ctx context.Context, in *CreateFunctionVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error) + ListRuntimes(ctx context.Context, in *ListRuntimesRequest, opts ...grpc.CallOption) (*ListRuntimesResponse, error) + ListOperations(ctx context.Context, in *ListFunctionOperationsRequest, opts ...grpc.CallOption) (*ListFunctionOperationsResponse, error) +} + +type functionServiceClient struct { + cc *grpc.ClientConn +} + +func NewFunctionServiceClient(cc *grpc.ClientConn) FunctionServiceClient { + return &functionServiceClient{cc} +} + +func (c *functionServiceClient) Get(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*Function, error) { + out := new(Function) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/Get", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) List(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error) { + out := new(ListFunctionsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/List", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) Create(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/Create", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) Update(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/Update", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) Delete(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/Delete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) GetFunctionVersion(ctx context.Context, in *GetFunctionVersionRequest, opts ...grpc.CallOption) (*Version, error) { + out := new(Version) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/GetFunctionVersion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) GetFunctionVersionByTag(ctx context.Context, in *GetFunctionVersionByTagRequest, opts ...grpc.CallOption) (*Version, error) { + out := new(Version) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/GetFunctionVersionByTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) ListFunctionVersions(ctx context.Context, in *ListFunctionsVersionsRequest, opts ...grpc.CallOption) (*ListFunctionsVersionsResponse, error) { + out := new(ListFunctionsVersionsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/ListFunctionVersions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) SetTag(ctx context.Context, in *SetFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/SetTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) RemoveTag(ctx context.Context, in *RemoveFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/RemoveTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) ListFunctionTagHistory(ctx context.Context, in *ListFunctionTagHistoryRequest, opts ...grpc.CallOption) (*ListFunctionTagHistoryResponse, error) { + out := new(ListFunctionTagHistoryResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/ListFunctionTagHistory", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) CreateFunctionVersion(ctx context.Context, in *CreateFunctionVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + out := new(operation.Operation) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/CreateFunctionVersion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) ListRuntimes(ctx context.Context, in *ListRuntimesRequest, opts ...grpc.CallOption) (*ListRuntimesResponse, error) { + out := new(ListRuntimesResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/ListRuntimes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *functionServiceClient) ListOperations(ctx context.Context, in *ListFunctionOperationsRequest, opts ...grpc.CallOption) (*ListFunctionOperationsResponse, error) { + out := new(ListFunctionOperationsResponse) + err := c.cc.Invoke(ctx, "/yandex.cloud.serverless.functions.v1.FunctionService/ListOperations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FunctionServiceServer is the server API for FunctionService service. +type FunctionServiceServer interface { + Get(context.Context, *GetFunctionRequest) (*Function, error) + List(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error) + Create(context.Context, *CreateFunctionRequest) (*operation.Operation, error) + Update(context.Context, *UpdateFunctionRequest) (*operation.Operation, error) + Delete(context.Context, *DeleteFunctionRequest) (*operation.Operation, error) + GetFunctionVersion(context.Context, *GetFunctionVersionRequest) (*Version, error) + GetFunctionVersionByTag(context.Context, *GetFunctionVersionByTagRequest) (*Version, error) + ListFunctionVersions(context.Context, *ListFunctionsVersionsRequest) (*ListFunctionsVersionsResponse, error) + SetTag(context.Context, *SetFunctionTagRequest) (*operation.Operation, error) + RemoveTag(context.Context, *RemoveFunctionTagRequest) (*operation.Operation, error) + ListFunctionTagHistory(context.Context, *ListFunctionTagHistoryRequest) (*ListFunctionTagHistoryResponse, error) + CreateFunctionVersion(context.Context, *CreateFunctionVersionRequest) (*operation.Operation, error) + ListRuntimes(context.Context, *ListRuntimesRequest) (*ListRuntimesResponse, error) + ListOperations(context.Context, *ListFunctionOperationsRequest) (*ListFunctionOperationsResponse, error) +} + +// UnimplementedFunctionServiceServer can be embedded to have forward compatible implementations. +type UnimplementedFunctionServiceServer struct { +} + +func (*UnimplementedFunctionServiceServer) Get(ctx context.Context, req *GetFunctionRequest) (*Function, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedFunctionServiceServer) List(ctx context.Context, req *ListFunctionsRequest) (*ListFunctionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedFunctionServiceServer) Create(ctx context.Context, req *CreateFunctionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedFunctionServiceServer) Update(ctx context.Context, req *UpdateFunctionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedFunctionServiceServer) Delete(ctx context.Context, req *DeleteFunctionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedFunctionServiceServer) GetFunctionVersion(ctx context.Context, req *GetFunctionVersionRequest) (*Version, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetFunctionVersion not implemented") +} +func (*UnimplementedFunctionServiceServer) GetFunctionVersionByTag(ctx context.Context, req *GetFunctionVersionByTagRequest) (*Version, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetFunctionVersionByTag not implemented") +} +func (*UnimplementedFunctionServiceServer) ListFunctionVersions(ctx context.Context, req *ListFunctionsVersionsRequest) (*ListFunctionsVersionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListFunctionVersions not implemented") +} +func (*UnimplementedFunctionServiceServer) SetTag(ctx context.Context, req *SetFunctionTagRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetTag not implemented") +} +func (*UnimplementedFunctionServiceServer) RemoveTag(ctx context.Context, req *RemoveFunctionTagRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveTag not implemented") +} +func (*UnimplementedFunctionServiceServer) ListFunctionTagHistory(ctx context.Context, req *ListFunctionTagHistoryRequest) (*ListFunctionTagHistoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListFunctionTagHistory not implemented") +} +func (*UnimplementedFunctionServiceServer) CreateFunctionVersion(ctx context.Context, req *CreateFunctionVersionRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateFunctionVersion not implemented") +} +func (*UnimplementedFunctionServiceServer) ListRuntimes(ctx context.Context, req *ListRuntimesRequest) (*ListRuntimesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListRuntimes not implemented") +} +func (*UnimplementedFunctionServiceServer) ListOperations(ctx context.Context, req *ListFunctionOperationsRequest) (*ListFunctionOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + +func RegisterFunctionServiceServer(s *grpc.Server, srv FunctionServiceServer) { + s.RegisterService(&_FunctionService_serviceDesc, srv) +} + +func _FunctionService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFunctionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).Get(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/Get", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).Get(ctx, req.(*GetFunctionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFunctionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).List(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/List", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).List(ctx, req.(*ListFunctionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateFunctionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).Create(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/Create", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).Create(ctx, req.(*CreateFunctionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateFunctionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).Update(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/Update", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).Update(ctx, req.(*UpdateFunctionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteFunctionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).Delete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/Delete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).Delete(ctx, req.(*DeleteFunctionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_GetFunctionVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFunctionVersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).GetFunctionVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/GetFunctionVersion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).GetFunctionVersion(ctx, req.(*GetFunctionVersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_GetFunctionVersionByTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFunctionVersionByTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).GetFunctionVersionByTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/GetFunctionVersionByTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).GetFunctionVersionByTag(ctx, req.(*GetFunctionVersionByTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_ListFunctionVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFunctionsVersionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).ListFunctionVersions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/ListFunctionVersions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).ListFunctionVersions(ctx, req.(*ListFunctionsVersionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_SetTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetFunctionTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).SetTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/SetTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).SetTag(ctx, req.(*SetFunctionTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_RemoveTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveFunctionTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).RemoveTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/RemoveTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).RemoveTag(ctx, req.(*RemoveFunctionTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_ListFunctionTagHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFunctionTagHistoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).ListFunctionTagHistory(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/ListFunctionTagHistory", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).ListFunctionTagHistory(ctx, req.(*ListFunctionTagHistoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_CreateFunctionVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateFunctionVersionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).CreateFunctionVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/CreateFunctionVersion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).CreateFunctionVersion(ctx, req.(*CreateFunctionVersionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_ListRuntimes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListRuntimesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).ListRuntimes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/ListRuntimes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).ListRuntimes(ctx, req.(*ListRuntimesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FunctionService_ListOperations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFunctionOperationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FunctionServiceServer).ListOperations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/yandex.cloud.serverless.functions.v1.FunctionService/ListOperations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FunctionServiceServer).ListOperations(ctx, req.(*ListFunctionOperationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _FunctionService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "yandex.cloud.serverless.functions.v1.FunctionService", + HandlerType: (*FunctionServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Get", + Handler: _FunctionService_Get_Handler, + }, + { + MethodName: "List", + Handler: _FunctionService_List_Handler, + }, + { + MethodName: "Create", + Handler: _FunctionService_Create_Handler, + }, + { + MethodName: "Update", + Handler: _FunctionService_Update_Handler, + }, + { + MethodName: "Delete", + Handler: _FunctionService_Delete_Handler, + }, + { + MethodName: "GetFunctionVersion", + Handler: _FunctionService_GetFunctionVersion_Handler, + }, + { + MethodName: "GetFunctionVersionByTag", + Handler: _FunctionService_GetFunctionVersionByTag_Handler, + }, + { + MethodName: "ListFunctionVersions", + Handler: _FunctionService_ListFunctionVersions_Handler, + }, + { + MethodName: "SetTag", + Handler: _FunctionService_SetTag_Handler, + }, + { + MethodName: "RemoveTag", + Handler: _FunctionService_RemoveTag_Handler, + }, + { + MethodName: "ListFunctionTagHistory", + Handler: _FunctionService_ListFunctionTagHistory_Handler, + }, + { + MethodName: "CreateFunctionVersion", + Handler: _FunctionService_CreateFunctionVersion_Handler, + }, + { + MethodName: "ListRuntimes", + Handler: _FunctionService_ListRuntimes_Handler, + }, + { + MethodName: "ListOperations", + Handler: _FunctionService_ListOperations_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "yandex/cloud/serverless/functions/v1/function_service.proto", +} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/validation/validation.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/validation/validation.pb.go index d2ed0dacf..0e2f58df1 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/validation/validation.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/validation/validation.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/validation.proto -package validation // import "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" +package validation -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MapKeySpec struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` @@ -32,16 +34,17 @@ func (m *MapKeySpec) Reset() { *m = MapKeySpec{} } func (m *MapKeySpec) String() string { return proto.CompactTextString(m) } func (*MapKeySpec) ProtoMessage() {} func (*MapKeySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_validation_03a1dce1f846faa7, []int{0} + return fileDescriptor_3c1b148dbcaf4bce, []int{0} } + func (m *MapKeySpec) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MapKeySpec.Unmarshal(m, b) } func (m *MapKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MapKeySpec.Marshal(b, m, deterministic) } -func (dst *MapKeySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MapKeySpec.Merge(dst, src) +func (m *MapKeySpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_MapKeySpec.Merge(m, src) } func (m *MapKeySpec) XXX_Size() int { return xxx_messageInfo_MapKeySpec.Size(m) @@ -78,7 +81,7 @@ var E_ExactlyOne = &proto.ExtensionDesc{ ExtensionType: (*bool)(nil), Field: 101400, Name: "yandex.cloud.exactly_one", - Tag: "varint,101400,opt,name=exactly_one,json=exactlyOne", + Tag: "varint,101400,opt,name=exactly_one", Filename: "yandex/cloud/validation.proto", } @@ -132,7 +135,7 @@ var E_MapKey = &proto.ExtensionDesc{ ExtensionType: (*MapKeySpec)(nil), Field: 101510, Name: "yandex.cloud.map_key", - Tag: "bytes,101510,opt,name=map_key,json=mapKey", + Tag: "bytes,101510,opt,name=map_key", Filename: "yandex/cloud/validation.proto", } @@ -147,11 +150,9 @@ func init() { proto.RegisterExtension(E_MapKey) } -func init() { - proto.RegisterFile("yandex/cloud/validation.proto", fileDescriptor_validation_03a1dce1f846faa7) -} +func init() { proto.RegisterFile("yandex/cloud/validation.proto", fileDescriptor_3c1b148dbcaf4bce) } -var fileDescriptor_validation_03a1dce1f846faa7 = []byte{ +var fileDescriptor_3c1b148dbcaf4bce = []byte{ // 339 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4b, 0xfb, 0x30, 0x18, 0xc6, 0xd9, 0xf7, 0xab, 0xdd, 0xcc, 0x3c, 0x15, 0x91, 0x22, 0x0c, 0x86, 0xa7, 0x5d, 0x96, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network.pb.go index 9fbff19ba..45678fdd2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/network.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" +package vpc -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Network resource. For more information, see [Networks](/docs/vpc/concepts/network). type Network struct { @@ -43,16 +45,17 @@ func (m *Network) Reset() { *m = Network{} } func (m *Network) String() string { return proto.CompactTextString(m) } func (*Network) ProtoMessage() {} func (*Network) Descriptor() ([]byte, []int) { - return fileDescriptor_network_b5763e43292627a3, []int{0} + return fileDescriptor_9e464e02c9bad7c3, []int{0} } + func (m *Network) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Network.Unmarshal(m, b) } func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Network.Marshal(b, m, deterministic) } -func (dst *Network) XXX_Merge(src proto.Message) { - xxx_messageInfo_Network.Merge(dst, src) +func (m *Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_Network.Merge(m, src) } func (m *Network) XXX_Size() int { return xxx_messageInfo_Network.Size(m) @@ -110,11 +113,9 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.vpc.v1.Network.LabelsEntry") } -func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/network.proto", fileDescriptor_network_b5763e43292627a3) -} +func init() { proto.RegisterFile("yandex/cloud/vpc/v1/network.proto", fileDescriptor_9e464e02c9bad7c3) } -var fileDescriptor_network_b5763e43292627a3 = []byte{ +var fileDescriptor_9e464e02c9bad7c3 = []byte{ // 314 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x4f, 0x4b, 0xf3, 0x40, 0x10, 0xc6, 0x49, 0xfa, 0xe7, 0x7d, 0x3b, 0x01, 0x91, 0xd5, 0x43, 0xa8, 0x07, 0xa3, 0xa7, 0x5c, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network_service.pb.go index 410493f2c..593ead92e 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/network_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/network_service.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package vpc import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetNetworkRequest struct { // ID of the Network resource to return. @@ -41,16 +42,17 @@ func (m *GetNetworkRequest) Reset() { *m = GetNetworkRequest{} } func (m *GetNetworkRequest) String() string { return proto.CompactTextString(m) } func (*GetNetworkRequest) ProtoMessage() {} func (*GetNetworkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{0} + return fileDescriptor_1f3ed0db5a46b68e, []int{0} } + func (m *GetNetworkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetNetworkRequest.Unmarshal(m, b) } func (m *GetNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetNetworkRequest.Marshal(b, m, deterministic) } -func (dst *GetNetworkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNetworkRequest.Merge(dst, src) +func (m *GetNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkRequest.Merge(m, src) } func (m *GetNetworkRequest) XXX_Size() int { return xxx_messageInfo_GetNetworkRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListNetworksRequest) Reset() { *m = ListNetworksRequest{} } func (m *ListNetworksRequest) String() string { return proto.CompactTextString(m) } func (*ListNetworksRequest) ProtoMessage() {} func (*ListNetworksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{1} + return fileDescriptor_1f3ed0db5a46b68e, []int{1} } + func (m *ListNetworksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworksRequest.Unmarshal(m, b) } func (m *ListNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworksRequest.Marshal(b, m, deterministic) } -func (dst *ListNetworksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworksRequest.Merge(dst, src) +func (m *ListNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksRequest.Merge(m, src) } func (m *ListNetworksRequest) XXX_Size() int { return xxx_messageInfo_ListNetworksRequest.Size(m) @@ -162,16 +165,17 @@ func (m *ListNetworksResponse) Reset() { *m = ListNetworksResponse{} } func (m *ListNetworksResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworksResponse) ProtoMessage() {} func (*ListNetworksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{2} + return fileDescriptor_1f3ed0db5a46b68e, []int{2} } + func (m *ListNetworksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworksResponse.Unmarshal(m, b) } func (m *ListNetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworksResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworksResponse.Merge(dst, src) +func (m *ListNetworksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksResponse.Merge(m, src) } func (m *ListNetworksResponse) XXX_Size() int { return xxx_messageInfo_ListNetworksResponse.Size(m) @@ -216,16 +220,17 @@ func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} } func (m *CreateNetworkRequest) String() string { return proto.CompactTextString(m) } func (*CreateNetworkRequest) ProtoMessage() {} func (*CreateNetworkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{3} + return fileDescriptor_1f3ed0db5a46b68e, []int{3} } + func (m *CreateNetworkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworkRequest.Unmarshal(m, b) } func (m *CreateNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworkRequest.Marshal(b, m, deterministic) } -func (dst *CreateNetworkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworkRequest.Merge(dst, src) +func (m *CreateNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkRequest.Merge(m, src) } func (m *CreateNetworkRequest) XXX_Size() int { return xxx_messageInfo_CreateNetworkRequest.Size(m) @@ -276,16 +281,17 @@ func (m *CreateNetworkMetadata) Reset() { *m = CreateNetworkMetadata{} } func (m *CreateNetworkMetadata) String() string { return proto.CompactTextString(m) } func (*CreateNetworkMetadata) ProtoMessage() {} func (*CreateNetworkMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{4} + return fileDescriptor_1f3ed0db5a46b68e, []int{4} } + func (m *CreateNetworkMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateNetworkMetadata.Unmarshal(m, b) } func (m *CreateNetworkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateNetworkMetadata.Marshal(b, m, deterministic) } -func (dst *CreateNetworkMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNetworkMetadata.Merge(dst, src) +func (m *CreateNetworkMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkMetadata.Merge(m, src) } func (m *CreateNetworkMetadata) XXX_Size() int { return xxx_messageInfo_CreateNetworkMetadata.Size(m) @@ -325,16 +331,17 @@ func (m *UpdateNetworkRequest) Reset() { *m = UpdateNetworkRequest{} } func (m *UpdateNetworkRequest) String() string { return proto.CompactTextString(m) } func (*UpdateNetworkRequest) ProtoMessage() {} func (*UpdateNetworkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{5} + return fileDescriptor_1f3ed0db5a46b68e, []int{5} } + func (m *UpdateNetworkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNetworkRequest.Unmarshal(m, b) } func (m *UpdateNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateNetworkRequest.Marshal(b, m, deterministic) } -func (dst *UpdateNetworkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNetworkRequest.Merge(dst, src) +func (m *UpdateNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNetworkRequest.Merge(m, src) } func (m *UpdateNetworkRequest) XXX_Size() int { return xxx_messageInfo_UpdateNetworkRequest.Size(m) @@ -392,16 +399,17 @@ func (m *UpdateNetworkMetadata) Reset() { *m = UpdateNetworkMetadata{} } func (m *UpdateNetworkMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateNetworkMetadata) ProtoMessage() {} func (*UpdateNetworkMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{6} + return fileDescriptor_1f3ed0db5a46b68e, []int{6} } + func (m *UpdateNetworkMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateNetworkMetadata.Unmarshal(m, b) } func (m *UpdateNetworkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateNetworkMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateNetworkMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNetworkMetadata.Merge(dst, src) +func (m *UpdateNetworkMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNetworkMetadata.Merge(m, src) } func (m *UpdateNetworkMetadata) XXX_Size() int { return xxx_messageInfo_UpdateNetworkMetadata.Size(m) @@ -432,16 +440,17 @@ func (m *DeleteNetworkRequest) Reset() { *m = DeleteNetworkRequest{} } func (m *DeleteNetworkRequest) String() string { return proto.CompactTextString(m) } func (*DeleteNetworkRequest) ProtoMessage() {} func (*DeleteNetworkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{7} + return fileDescriptor_1f3ed0db5a46b68e, []int{7} } + func (m *DeleteNetworkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNetworkRequest.Unmarshal(m, b) } func (m *DeleteNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteNetworkRequest.Marshal(b, m, deterministic) } -func (dst *DeleteNetworkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNetworkRequest.Merge(dst, src) +func (m *DeleteNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNetworkRequest.Merge(m, src) } func (m *DeleteNetworkRequest) XXX_Size() int { return xxx_messageInfo_DeleteNetworkRequest.Size(m) @@ -471,16 +480,17 @@ func (m *DeleteNetworkMetadata) Reset() { *m = DeleteNetworkMetadata{} } func (m *DeleteNetworkMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteNetworkMetadata) ProtoMessage() {} func (*DeleteNetworkMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{8} + return fileDescriptor_1f3ed0db5a46b68e, []int{8} } + func (m *DeleteNetworkMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteNetworkMetadata.Unmarshal(m, b) } func (m *DeleteNetworkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteNetworkMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteNetworkMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNetworkMetadata.Merge(dst, src) +func (m *DeleteNetworkMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNetworkMetadata.Merge(m, src) } func (m *DeleteNetworkMetadata) XXX_Size() int { return xxx_messageInfo_DeleteNetworkMetadata.Size(m) @@ -519,16 +529,17 @@ func (m *ListNetworkSubnetsRequest) Reset() { *m = ListNetworkSubnetsReq func (m *ListNetworkSubnetsRequest) String() string { return proto.CompactTextString(m) } func (*ListNetworkSubnetsRequest) ProtoMessage() {} func (*ListNetworkSubnetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{9} + return fileDescriptor_1f3ed0db5a46b68e, []int{9} } + func (m *ListNetworkSubnetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkSubnetsRequest.Unmarshal(m, b) } func (m *ListNetworkSubnetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkSubnetsRequest.Marshal(b, m, deterministic) } -func (dst *ListNetworkSubnetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkSubnetsRequest.Merge(dst, src) +func (m *ListNetworkSubnetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkSubnetsRequest.Merge(m, src) } func (m *ListNetworkSubnetsRequest) XXX_Size() int { return xxx_messageInfo_ListNetworkSubnetsRequest.Size(m) @@ -579,16 +590,17 @@ func (m *ListNetworkSubnetsResponse) Reset() { *m = ListNetworkSubnetsRe func (m *ListNetworkSubnetsResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworkSubnetsResponse) ProtoMessage() {} func (*ListNetworkSubnetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{10} + return fileDescriptor_1f3ed0db5a46b68e, []int{10} } + func (m *ListNetworkSubnetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkSubnetsResponse.Unmarshal(m, b) } func (m *ListNetworkSubnetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkSubnetsResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworkSubnetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkSubnetsResponse.Merge(dst, src) +func (m *ListNetworkSubnetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkSubnetsResponse.Merge(m, src) } func (m *ListNetworkSubnetsResponse) XXX_Size() int { return xxx_messageInfo_ListNetworkSubnetsResponse.Size(m) @@ -632,16 +644,17 @@ func (m *ListNetworkOperationsRequest) Reset() { *m = ListNetworkOperati func (m *ListNetworkOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListNetworkOperationsRequest) ProtoMessage() {} func (*ListNetworkOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{11} + return fileDescriptor_1f3ed0db5a46b68e, []int{11} } + func (m *ListNetworkOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkOperationsRequest.Unmarshal(m, b) } func (m *ListNetworkOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListNetworkOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkOperationsRequest.Merge(dst, src) +func (m *ListNetworkOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkOperationsRequest.Merge(m, src) } func (m *ListNetworkOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListNetworkOperationsRequest.Size(m) @@ -690,16 +703,17 @@ func (m *ListNetworkOperationsResponse) Reset() { *m = ListNetworkOperat func (m *ListNetworkOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListNetworkOperationsResponse) ProtoMessage() {} func (*ListNetworkOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_network_service_ee3168d16ae63f82, []int{12} + return fileDescriptor_1f3ed0db5a46b68e, []int{12} } + func (m *ListNetworkOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListNetworkOperationsResponse.Unmarshal(m, b) } func (m *ListNetworkOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListNetworkOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListNetworkOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNetworkOperationsResponse.Merge(dst, src) +func (m *ListNetworkOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworkOperationsResponse.Merge(m, src) } func (m *ListNetworkOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListNetworkOperationsResponse.Size(m) @@ -742,6 +756,80 @@ func init() { proto.RegisterType((*ListNetworkOperationsResponse)(nil), "yandex.cloud.vpc.v1.ListNetworkOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/vpc/v1/network_service.proto", fileDescriptor_1f3ed0db5a46b68e) +} + +var fileDescriptor_1f3ed0db5a46b68e = []byte{ + // 1041 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0xdb, 0x64, + 0x18, 0x96, 0x9b, 0x34, 0x6b, 0xde, 0xc0, 0x28, 0xdf, 0x52, 0x29, 0x98, 0x46, 0xa4, 0x96, 0xd6, + 0xa5, 0x19, 0xb6, 0xe3, 0x8c, 0x44, 0xeb, 0xba, 0x6a, 0x90, 0x31, 0xa6, 0x49, 0x1d, 0x20, 0x0f, + 0x84, 0x44, 0x35, 0x45, 0x4e, 0xfc, 0x35, 0x58, 0x71, 0x6d, 0x63, 0x3b, 0xa1, 0x3f, 0xd8, 0x65, + 0xc7, 0x1e, 0xb8, 0x70, 0xe0, 0x80, 0xe0, 0xc4, 0x85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0x4a, 0x5c, + 0x39, 0xdb, 0x7c, 0xe5, 0xaf, 0x13, 0x85, 0x3b, 0x3a, 0x55, 0xd2, 0xb7, 0x37, 0xeb, 0x55, 0x35, + 0xcb, 0xe2, 0x0f, 0x74, 0xe1, 0x37, 0x0e, 0xae, 0x6c, 0x19, 0x5e, 0x98, 0xc3, 0x0b, 0x93, 0xac, + 0x41, 0x76, 0xc7, 0x36, 0x75, 0xec, 0x4e, 0xca, 0xb1, 0x40, 0xc3, 0x0f, 0x74, 0x74, 0x0d, 0xb2, + 0x8e, 0xd6, 0xc5, 0x2d, 0xcf, 0x38, 0xc0, 0x85, 0xb9, 0x12, 0x57, 0x4e, 0x35, 0xe1, 0x9f, 0x13, + 0x25, 0x73, 0x7b, 0x53, 0xa9, 0x56, 0xab, 0xea, 0x42, 0x10, 0x7c, 0x64, 0x1c, 0x60, 0x54, 0x06, + 0x20, 0x40, 0xdf, 0xee, 0x61, 0xab, 0x90, 0x22, 0x49, 0xb3, 0x47, 0xa7, 0xca, 0x3c, 0x41, 0xaa, + 0x24, 0xcb, 0x27, 0x41, 0x0c, 0x09, 0x90, 0xd9, 0x31, 0x4c, 0x1f, 0xbb, 0x85, 0x34, 0x41, 0xc1, + 0xd1, 0xe9, 0x30, 0x1f, 0x8b, 0x08, 0x7b, 0x90, 0x8f, 0x12, 0xf7, 0x1c, 0xdb, 0xf2, 0x30, 0xba, + 0x09, 0x0b, 0xec, 0x7a, 0x5e, 0x81, 0x2b, 0xa5, 0xca, 0xb9, 0xda, 0xb2, 0x14, 0x33, 0x23, 0x52, + 0xa8, 0xda, 0x10, 0x8d, 0x56, 0xe1, 0x35, 0x0b, 0xef, 0xf9, 0xad, 0x11, 0x92, 0xc1, 0x75, 0xb2, + 0xea, 0xab, 0xc1, 0x9f, 0x3f, 0x0e, 0xd9, 0x09, 0x7f, 0xcf, 0x41, 0xfe, 0xae, 0x8b, 0x35, 0x1f, + 0x9f, 0x53, 0xfe, 0x02, 0xa2, 0xd5, 0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xa7, 0x13, 0x3d, 0x33, 0x99, 0xe6, 0xe6, + 0xe7, 0x1b, 0x5d, 0xc3, 0xff, 0xa2, 0xdf, 0x96, 0x3a, 0xf6, 0xae, 0x4c, 0x2b, 0x8a, 0xf4, 0xb7, + 0x43, 0xd7, 0x16, 0xbb, 0xd8, 0x22, 0x0d, 0x92, 0x63, 0x7e, 0x9e, 0x6c, 0x0c, 0x9c, 0x4e, 0x3b, + 0x43, 0xc2, 0x37, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xae, 0xe7, 0x44, 0x00, 0x7f, 0x0d, 0x00, + 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -867,6 +955,32 @@ type NetworkServiceServer interface { ListOperations(context.Context, *ListNetworkOperationsRequest) (*ListNetworkOperationsResponse, error) } +// UnimplementedNetworkServiceServer can be embedded to have forward compatible implementations. +type UnimplementedNetworkServiceServer struct { +} + +func (*UnimplementedNetworkServiceServer) Get(ctx context.Context, req *GetNetworkRequest) (*Network, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedNetworkServiceServer) List(ctx context.Context, req *ListNetworksRequest) (*ListNetworksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedNetworkServiceServer) Create(ctx context.Context, req *CreateNetworkRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedNetworkServiceServer) Update(ctx context.Context, req *UpdateNetworkRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedNetworkServiceServer) Delete(ctx context.Context, req *DeleteNetworkRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedNetworkServiceServer) ListSubnets(ctx context.Context, req *ListNetworkSubnetsRequest) (*ListNetworkSubnetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListSubnets not implemented") +} +func (*UnimplementedNetworkServiceServer) ListOperations(ctx context.Context, req *ListNetworkOperationsRequest) (*ListNetworkOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterNetworkServiceServer(s *grpc.Server, srv NetworkServiceServer) { s.RegisterService(&_NetworkService_serviceDesc, srv) } @@ -1033,77 +1147,3 @@ var _NetworkService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/vpc/v1/network_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/network_service.proto", fileDescriptor_network_service_ee3168d16ae63f82) -} - -var fileDescriptor_network_service_ee3168d16ae63f82 = []byte{ - // 1041 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0xdb, 0x64, - 0x18, 0x96, 0x9b, 0x34, 0x6b, 0xde, 0xc0, 0x28, 0xdf, 0x52, 0x29, 0x98, 0x46, 0xa4, 0x96, 0xd6, - 0xa5, 0x19, 0xb6, 0xe3, 0x8c, 0x44, 0xeb, 0xba, 0x6a, 0x90, 0x31, 0xa6, 0x49, 0x1d, 0x20, 0x0f, - 0x84, 0x44, 0x35, 0x45, 0x4e, 0xfc, 0x35, 0x58, 0x71, 0x6d, 0x63, 0x3b, 0xa1, 0x3f, 0xd8, 0x65, - 0xc7, 0x1e, 0xb8, 0x70, 0xe0, 0x80, 0xe0, 0xc4, 0x85, 0x13, 0xa8, 0x17, 0x24, 0xfe, 0x81, 0xf6, - 0x3c, 0xfe, 0x05, 0x0e, 0x5c, 0xd9, 0x91, 0x13, 0xf2, 0xf7, 0x7d, 0x4e, 0xe3, 0xc6, 0x49, 0x5c, - 0xc6, 0x61, 0x37, 0xbb, 0xef, 0xf3, 0xbd, 0xef, 0xf3, 0x3d, 0xef, 0xdb, 0xe7, 0x75, 0x60, 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, 0xec, 0x4e, 0xca, 0xb1, 0x40, 0xc3, 0x0f, 0x74, 0x74, 0x0d, 0xb2, - 0x8e, 0xd6, 0xc5, 0x2d, 0xcf, 0x38, 0xc0, 0x85, 0xb9, 0x12, 0x57, 0x4e, 0x35, 0xe1, 0x9f, 0x13, - 0x25, 0x73, 0x7b, 0x53, 0xa9, 0x56, 0xab, 0xea, 0x42, 0x10, 0x7c, 0x64, 0x1c, 0x60, 0x54, 0x06, - 0x20, 0x40, 0xdf, 0xee, 0x61, 0xab, 0x90, 0x22, 0x49, 0xb3, 0x47, 0xa7, 0xca, 0x3c, 0x41, 0xaa, - 0x24, 0xcb, 0x27, 0x41, 0x0c, 0x09, 0x90, 0xd9, 0x31, 0x4c, 0x1f, 0xbb, 0x85, 0x34, 0x41, 0xc1, - 0xd1, 0xe9, 0x30, 0x1f, 0x8b, 0x08, 0x7b, 0x90, 0x8f, 0x12, 0xf7, 0x1c, 0xdb, 0xf2, 0x30, 0xba, - 0x09, 0x0b, 0xec, 0x7a, 0x5e, 0x81, 0x2b, 0xa5, 0xca, 0xb9, 0xda, 0xb2, 0x14, 0x33, 0x23, 0x52, - 0xa8, 0xda, 0x10, 0x8d, 0x56, 0xe1, 0x35, 0x0b, 0xef, 0xf9, 0xad, 0x11, 0x92, 0xc1, 0x75, 0xb2, - 0xea, 0xab, 0xc1, 0x9f, 0x3f, 0x0e, 0xd9, 0x09, 0x7f, 0xcf, 0x41, 0xfe, 0xae, 0x8b, 0x35, 0x1f, - 0x9f, 0x53, 0xfe, 0x02, 0xa2, 0xd5, 0x21, 0x6d, 0x69, 0xbb, 0x54, 0xaf, 0x6c, 0x73, 0xe5, 0xf9, - 0x89, 0x52, 0xfc, 0x7a, 0x5b, 0x13, 0x0f, 0x1e, 0x6f, 0x8b, 0x9a, 0x78, 0x50, 0x15, 0xd7, 0x1f, - 0x1f, 0x2a, 0x6f, 0x37, 0x94, 0x27, 0xdb, 0xec, 0x4d, 0x25, 0x70, 0x74, 0x1d,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 0x3b, - 0x43, 0xc2, 0x37, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xae, 0xe7, 0x44, 0x00, 0x7f, 0x0d, 0x00, - 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table.pb.go index 8296f0e09..3e3e59eac 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/route_table.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" +package vpc -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A RouteTable resource. For more information, see [RouteTables](/docs/vpc/concepts/route_tables). type RouteTable struct { @@ -46,16 +48,17 @@ func (m *RouteTable) Reset() { *m = RouteTable{} } func (m *RouteTable) String() string { return proto.CompactTextString(m) } func (*RouteTable) ProtoMessage() {} func (*RouteTable) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_5b58e1ab44cd12e3, []int{0} + return fileDescriptor_fefcab5534a5cf97, []int{0} } + func (m *RouteTable) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RouteTable.Unmarshal(m, b) } func (m *RouteTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RouteTable.Marshal(b, m, deterministic) } -func (dst *RouteTable) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteTable.Merge(dst, src) +func (m *RouteTable) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteTable.Merge(m, src) } func (m *RouteTable) XXX_Size() int { return xxx_messageInfo_RouteTable.Size(m) @@ -129,26 +132,29 @@ type StaticRoute struct { Destination isStaticRoute_Destination `protobuf_oneof:"destination"` // Types that are valid to be assigned to NextHop: // *StaticRoute_NextHopAddress - NextHop isStaticRoute_NextHop `protobuf_oneof:"next_hop"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NextHop isStaticRoute_NextHop `protobuf_oneof:"next_hop"` + // Resource labels as `` key:value `` pairs. Мaximum of 64 per resource. + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *StaticRoute) Reset() { *m = StaticRoute{} } func (m *StaticRoute) String() string { return proto.CompactTextString(m) } func (*StaticRoute) ProtoMessage() {} func (*StaticRoute) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_5b58e1ab44cd12e3, []int{1} + return fileDescriptor_fefcab5534a5cf97, []int{1} } + func (m *StaticRoute) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StaticRoute.Unmarshal(m, b) } func (m *StaticRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StaticRoute.Marshal(b, m, deterministic) } -func (dst *StaticRoute) XXX_Merge(src proto.Message) { - xxx_messageInfo_StaticRoute.Merge(dst, src) +func (m *StaticRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_StaticRoute.Merge(m, src) } func (m *StaticRoute) XXX_Size() int { return xxx_messageInfo_StaticRoute.Size(m) @@ -207,122 +213,61 @@ func (m *StaticRoute) GetNextHopAddress() string { return "" } -// XXX_OneofFuncs is for the internal use of the proto package. -func (*StaticRoute) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { - return _StaticRoute_OneofMarshaler, _StaticRoute_OneofUnmarshaler, _StaticRoute_OneofSizer, []interface{}{ - (*StaticRoute_DestinationPrefix)(nil), - (*StaticRoute_NextHopAddress)(nil), - } -} - -func _StaticRoute_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { - m := msg.(*StaticRoute) - // destination - switch x := m.Destination.(type) { - case *StaticRoute_DestinationPrefix: - b.EncodeVarint(1<<3 | proto.WireBytes) - b.EncodeStringBytes(x.DestinationPrefix) - case nil: - default: - return fmt.Errorf("StaticRoute.Destination has unexpected type %T", x) - } - // next_hop - switch x := m.NextHop.(type) { - case *StaticRoute_NextHopAddress: - b.EncodeVarint(2<<3 | proto.WireBytes) - b.EncodeStringBytes(x.NextHopAddress) - case nil: - default: - return fmt.Errorf("StaticRoute.NextHop has unexpected type %T", x) +func (m *StaticRoute) GetLabels() map[string]string { + if m != nil { + return m.Labels } return nil } -func _StaticRoute_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { - m := msg.(*StaticRoute) - switch tag { - case 1: // destination.destination_prefix - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.Destination = &StaticRoute_DestinationPrefix{x} - return true, err - case 2: // next_hop.next_hop_address - if wire != proto.WireBytes { - return true, proto.ErrInternalBadWireType - } - x, err := b.DecodeStringBytes() - m.NextHop = &StaticRoute_NextHopAddress{x} - return true, err - default: - return false, nil +// XXX_OneofWrappers is for the internal use of the proto package. +func (*StaticRoute) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*StaticRoute_DestinationPrefix)(nil), + (*StaticRoute_NextHopAddress)(nil), } } -func _StaticRoute_OneofSizer(msg proto.Message) (n int) { - m := msg.(*StaticRoute) - // destination - switch x := m.Destination.(type) { - case *StaticRoute_DestinationPrefix: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.DestinationPrefix))) - n += len(x.DestinationPrefix) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - // next_hop - switch x := m.NextHop.(type) { - case *StaticRoute_NextHopAddress: - n += 1 // tag and wire - n += proto.SizeVarint(uint64(len(x.NextHopAddress))) - n += len(x.NextHopAddress) - case nil: - default: - panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) - } - return n -} - func init() { proto.RegisterType((*RouteTable)(nil), "yandex.cloud.vpc.v1.RouteTable") proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.vpc.v1.RouteTable.LabelsEntry") proto.RegisterType((*StaticRoute)(nil), "yandex.cloud.vpc.v1.StaticRoute") + proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.vpc.v1.StaticRoute.LabelsEntry") } func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/route_table.proto", fileDescriptor_route_table_5b58e1ab44cd12e3) + proto.RegisterFile("yandex/cloud/vpc/v1/route_table.proto", fileDescriptor_fefcab5534a5cf97) } -var fileDescriptor_route_table_5b58e1ab44cd12e3 = []byte{ - // 436 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x41, 0x6b, 0xdb, 0x30, - 0x18, 0x9d, 0x93, 0x36, 0x4b, 0x3e, 0xaf, 0xa5, 0xd3, 0x76, 0x30, 0x19, 0x63, 0xa6, 0x30, 0x08, - 0x1b, 0x95, 0x69, 0x77, 0x59, 0x57, 0x76, 0x68, 0x46, 0x21, 0x85, 0x1d, 0x86, 0xd7, 0xd3, 0x2e, - 0x46, 0xb6, 0xbe, 0xb8, 0xa2, 0x8e, 0x25, 0x24, 0xd9, 0x4b, 0x7e, 0xc0, 0xee, 0xfb, 0xc9, 0xc5, - 0x92, 0x43, 0x72, 0xc8, 0x4d, 0x7a, 0xef, 0x7d, 0xef, 0xf1, 0x3d, 0x09, 0x3e, 0x6e, 0x58, 0xcd, - 0x71, 0x9d, 0x14, 0x95, 0x6c, 0x78, 0xd2, 0xaa, 0x22, 0x69, 0x2f, 0x13, 0x2d, 0x1b, 0x8b, 0x99, - 0x65, 0x79, 0x85, 0x54, 0x69, 0x69, 0x25, 0x79, 0xe3, 0x65, 0xd4, 0xc9, 0x68, 0xab, 0x0a, 0xda, - 0x5e, 0x4e, 0x3f, 0x94, 0x52, 0x96, 0x15, 0x26, 0x4e, 0x92, 0x37, 0xcb, 0xc4, 0x8a, 0x15, 0x1a, - 0xcb, 0x56, 0xca, 0x4f, 0x9d, 0xff, 0x1f, 0x02, 0xa4, 0x9d, 0xd7, 0x43, 0x67, 0x45, 0x4e, 0x61, - 0x20, 0x78, 0x14, 0xc4, 0xc1, 0x6c, 0x92, 0x0e, 0x04, 0x27, 0xef, 0x60, 0xb2, 0x94, 0x15, 0x47, - 0x9d, 0x09, 0x1e, 0x0d, 0x1c, 0x3c, 0xf6, 0xc0, 0x3d, 0x27, 0xd7, 0x00, 0x85, 0x46, 0x66, 0x91, - 0x67, 0xcc, 0x46, 0xc3, 0x38, 0x98, 0x85, 0x57, 0x53, 0xea, 0x13, 0xe9, 0x36, 0x91, 0x3e, 0x6c, - 0x13, 0xd3, 0x49, 0xaf, 0xbe, 0xb5, 0x84, 0xc0, 0x51, 0xcd, 0x56, 0x18, 0x1d, 0x39, 0x4b, 0x77, - 0x26, 0x31, 0x84, 0x1c, 0x4d, 0xa1, 0x85, 0xb2, 0x42, 0xd6, 0xd1, 0xb1, 0xa3, 0xf6, 0x21, 0xf2, - 0x03, 0x46, 0x15, 0xcb, 0xb1, 0x32, 0xd1, 0x28, 0x1e, 0xce, 0xc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, - 0xad, 0x2a, 0xf2, 0x91, 0xa3, 0xbf, 0x3c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x9a, 0x2f, 0x68, - 0xbf, 0x02, 0x00, 0x00, +var fileDescriptor_fefcab5534a5cf97 = []byte{ + // 456 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x41, 0x6f, 0xd3, 0x30, + 0x18, 0x25, 0xc9, 0x36, 0xda, 0x2f, 0x6c, 0x1a, 0x86, 0x43, 0x54, 0x84, 0x88, 0x26, 0x21, 0x55, + 0xc0, 0x1c, 0x6d, 0x5c, 0x18, 0x13, 0x87, 0x15, 0x26, 0x75, 0x12, 0x07, 0x14, 0x76, 0xe2, 0x12, + 0x39, 0xf1, 0xd7, 0xcc, 0x5a, 0x1a, 0x47, 0xb6, 0x13, 0xda, 0x3f, 0xc0, 0x99, 0x9f, 0x8c, 0x62, + 0xa7, 0xac, 0x87, 0x4a, 0x1c, 0xb8, 0xd9, 0xdf, 0x7b, 0x7e, 0xcf, 0xef, 0x25, 0x86, 0xd7, 0x6b, + 0x56, 0x73, 0x5c, 0x25, 0x45, 0x25, 0x5b, 0x9e, 0x74, 0x4d, 0x91, 0x74, 0x67, 0x89, 0x92, 0xad, + 0xc1, 0xcc, 0xb0, 0xbc, 0x42, 0xda, 0x28, 0x69, 0x24, 0x79, 0xe6, 0x68, 0xd4, 0xd2, 0x68, 0xd7, + 0x14, 0xb4, 0x3b, 0x9b, 0xbc, 0x2a, 0xa5, 0x2c, 0x2b, 0x4c, 0x2c, 0x25, 0x6f, 0x17, 0x89, 0x11, + 0x4b, 0xd4, 0x86, 0x2d, 0x1b, 0x77, 0xea, 0xe4, 0x77, 0x00, 0x90, 0xf6, 0x5a, 0xb7, 0xbd, 0x14, + 0x39, 0x02, 0x5f, 0xf0, 0xc8, 0x8b, 0xbd, 0xe9, 0x38, 0xf5, 0x05, 0x27, 0x2f, 0x60, 0xbc, 0x90, + 0x15, 0x47, 0x95, 0x09, 0x1e, 0xf9, 0x76, 0x3c, 0x72, 0x83, 0x1b, 0x4e, 0x2e, 0x00, 0x0a, 0x85, + 0xcc, 0x20, 0xcf, 0x98, 0x89, 0x82, 0xd8, 0x9b, 0x86, 0xe7, 0x13, 0xea, 0x1c, 0xe9, 0xc6, 0x91, + 0xde, 0x6e, 0x1c, 0xd3, 0xf1, 0xc0, 0xbe, 0x32, 0x84, 0xc0, 0x5e, 0xcd, 0x96, 0x18, 0xed, 0x59, + 0x49, 0xbb, 0x26, 0x31, 0x84, 0x1c, 0x75, 0xa1, 0x44, 0x63, 0x84, 0xac, 0xa3, 0x7d, 0x0b, 0x6d, + 0x8f, 0xc8, 0x67, 0x38, 0xa8, 0x58, 0x8e, 0x95, 0x8e, 0x0e, 0xe2, 0x60, 0x1a, 0x9e, 0xbf, 0xa5, + 0x3b, 0x32, 0xd3, 0x87, 0x38, 0xf4, 0xab, 0x65, 0x5f, 0xd7, 0x46, 0xad, 0xd3, 0xe1, 0x28, 0x79, + 0x09, 0x50, 0xa3, 0xf9, 0x29, 0xd5, 0x7d, 0x9f, 0xe9, 0xb1, 0x75, 0x19, 0x0f, 0x93, 0x1b, 0x4e, + 0xae, 0xe1, 0x50, 0x1b, 0x66, 0x44, 0x91, 0xd9, 0x8a, 0x75, 0x34, 0xb2, 0x56, 0xf1, 0x4e, 0xab, + 0xef, 0x96, 0x69, 0x0d, 0xd3, 0x27, 0xfa, 0x61, 0xa3, 0x27, 0x17, 0x10, 0x6e, 0x99, 0x93, 0x63, + 0x08, 0xee, 0x71, 0x3d, 0x14, 0xdb, 0x2f, 0xc9, 0x73, 0xd8, 0xef, 0x58, 0xd5, 0xe2, 0xd0, 0xaa, + 0xdb, 0x7c, 0xf4, 0x3f, 0x78, 0x27, 0xbf, 0x7c, 0x08, 0xb7, 0x84, 0x49, 0x02, 0x84, 0xa3, 0x36, + 0xa2, 0x66, 0x7d, 0x09, 0x59, 0xa3, 0x70, 0x21, 0x56, 0x4e, 0x6a, 0xfe, 0x28, 0x7d, 0xba, 0x85, + 0x7d, 0xb3, 0x10, 0x79, 0x03, 0xc7, 0x35, 0xae, 0x4c, 0x76, 0x27, 0x9b, 0x8c, 0x71, 0xae, 0x50, + 0x6b, 0xe7, 0x32, 0xf7, 0xd2, 0xa3, 0x1e, 0x99, 0xcb, 0xe6, 0xca, 0xcd, 0xc9, 0x97, 0xbf, 0x95, + 0x06, 0x36, 0xe7, 0xbb, 0x7f, 0xe5, 0xdc, 0xd5, 0xe9, 0x7f, 0xa4, 0x9d, 0x1d, 0xda, 0xaf, 0xbe, + 0x49, 0x30, 0x03, 0x18, 0x6d, 0xee, 0x3e, 0xfb, 0xf4, 0xe3, 0xb2, 0x14, 0xe6, 0xae, 0xcd, 0x69, + 0x21, 0x97, 0x89, 0xbb, 0xd7, 0xa9, 0x7b, 0x05, 0xa5, 0x3c, 0x2d, 0xb1, 0xb6, 0xff, 0x58, 0xb2, + 0xe3, 0x79, 0x5c, 0x76, 0x4d, 0x91, 0x1f, 0x58, 0xf8, 0xfd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x45, 0x89, 0xe7, 0xdf, 0x40, 0x03, 0x00, 0x00, } diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table_service.pb.go index d873aabf9..6886cc8a7 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/route_table_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/route_table_service.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package vpc import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetRouteTableRequest struct { // ID of the RouteTable resource to return. @@ -41,16 +42,17 @@ func (m *GetRouteTableRequest) Reset() { *m = GetRouteTableRequest{} } func (m *GetRouteTableRequest) String() string { return proto.CompactTextString(m) } func (*GetRouteTableRequest) ProtoMessage() {} func (*GetRouteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{0} + return fileDescriptor_9bfefbf6833abb34, []int{0} } + func (m *GetRouteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetRouteTableRequest.Unmarshal(m, b) } func (m *GetRouteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetRouteTableRequest.Marshal(b, m, deterministic) } -func (dst *GetRouteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRouteTableRequest.Merge(dst, src) +func (m *GetRouteTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRouteTableRequest.Merge(m, src) } func (m *GetRouteTableRequest) XXX_Size() int { return xxx_messageInfo_GetRouteTableRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListRouteTablesRequest) Reset() { *m = ListRouteTablesRequest{} func (m *ListRouteTablesRequest) String() string { return proto.CompactTextString(m) } func (*ListRouteTablesRequest) ProtoMessage() {} func (*ListRouteTablesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{1} + return fileDescriptor_9bfefbf6833abb34, []int{1} } + func (m *ListRouteTablesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRouteTablesRequest.Unmarshal(m, b) } func (m *ListRouteTablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRouteTablesRequest.Marshal(b, m, deterministic) } -func (dst *ListRouteTablesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRouteTablesRequest.Merge(dst, src) +func (m *ListRouteTablesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRouteTablesRequest.Merge(m, src) } func (m *ListRouteTablesRequest) XXX_Size() int { return xxx_messageInfo_ListRouteTablesRequest.Size(m) @@ -162,16 +165,17 @@ func (m *ListRouteTablesResponse) Reset() { *m = ListRouteTablesResponse func (m *ListRouteTablesResponse) String() string { return proto.CompactTextString(m) } func (*ListRouteTablesResponse) ProtoMessage() {} func (*ListRouteTablesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{2} + return fileDescriptor_9bfefbf6833abb34, []int{2} } + func (m *ListRouteTablesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRouteTablesResponse.Unmarshal(m, b) } func (m *ListRouteTablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRouteTablesResponse.Marshal(b, m, deterministic) } -func (dst *ListRouteTablesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRouteTablesResponse.Merge(dst, src) +func (m *ListRouteTablesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRouteTablesResponse.Merge(m, src) } func (m *ListRouteTablesResponse) XXX_Size() int { return xxx_messageInfo_ListRouteTablesResponse.Size(m) @@ -220,16 +224,17 @@ func (m *CreateRouteTableRequest) Reset() { *m = CreateRouteTableRequest func (m *CreateRouteTableRequest) String() string { return proto.CompactTextString(m) } func (*CreateRouteTableRequest) ProtoMessage() {} func (*CreateRouteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{3} + return fileDescriptor_9bfefbf6833abb34, []int{3} } + func (m *CreateRouteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRouteTableRequest.Unmarshal(m, b) } func (m *CreateRouteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateRouteTableRequest.Marshal(b, m, deterministic) } -func (dst *CreateRouteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRouteTableRequest.Merge(dst, src) +func (m *CreateRouteTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRouteTableRequest.Merge(m, src) } func (m *CreateRouteTableRequest) XXX_Size() int { return xxx_messageInfo_CreateRouteTableRequest.Size(m) @@ -294,16 +299,17 @@ func (m *CreateRouteTableMetadata) Reset() { *m = CreateRouteTableMetada func (m *CreateRouteTableMetadata) String() string { return proto.CompactTextString(m) } func (*CreateRouteTableMetadata) ProtoMessage() {} func (*CreateRouteTableMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{4} + return fileDescriptor_9bfefbf6833abb34, []int{4} } + func (m *CreateRouteTableMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateRouteTableMetadata.Unmarshal(m, b) } func (m *CreateRouteTableMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateRouteTableMetadata.Marshal(b, m, deterministic) } -func (dst *CreateRouteTableMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRouteTableMetadata.Merge(dst, src) +func (m *CreateRouteTableMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRouteTableMetadata.Merge(m, src) } func (m *CreateRouteTableMetadata) XXX_Size() int { return xxx_messageInfo_CreateRouteTableMetadata.Size(m) @@ -344,16 +350,17 @@ func (m *UpdateRouteTableRequest) Reset() { *m = UpdateRouteTableRequest func (m *UpdateRouteTableRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRouteTableRequest) ProtoMessage() {} func (*UpdateRouteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{5} + return fileDescriptor_9bfefbf6833abb34, []int{5} } + func (m *UpdateRouteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRouteTableRequest.Unmarshal(m, b) } func (m *UpdateRouteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRouteTableRequest.Marshal(b, m, deterministic) } -func (dst *UpdateRouteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRouteTableRequest.Merge(dst, src) +func (m *UpdateRouteTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRouteTableRequest.Merge(m, src) } func (m *UpdateRouteTableRequest) XXX_Size() int { return xxx_messageInfo_UpdateRouteTableRequest.Size(m) @@ -418,16 +425,17 @@ func (m *UpdateRouteTableMetadata) Reset() { *m = UpdateRouteTableMetada func (m *UpdateRouteTableMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateRouteTableMetadata) ProtoMessage() {} func (*UpdateRouteTableMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{6} + return fileDescriptor_9bfefbf6833abb34, []int{6} } + func (m *UpdateRouteTableMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateRouteTableMetadata.Unmarshal(m, b) } func (m *UpdateRouteTableMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateRouteTableMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateRouteTableMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRouteTableMetadata.Merge(dst, src) +func (m *UpdateRouteTableMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRouteTableMetadata.Merge(m, src) } func (m *UpdateRouteTableMetadata) XXX_Size() int { return xxx_messageInfo_UpdateRouteTableMetadata.Size(m) @@ -458,16 +466,17 @@ func (m *DeleteRouteTableRequest) Reset() { *m = DeleteRouteTableRequest func (m *DeleteRouteTableRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRouteTableRequest) ProtoMessage() {} func (*DeleteRouteTableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{7} + return fileDescriptor_9bfefbf6833abb34, []int{7} } + func (m *DeleteRouteTableRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRouteTableRequest.Unmarshal(m, b) } func (m *DeleteRouteTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRouteTableRequest.Marshal(b, m, deterministic) } -func (dst *DeleteRouteTableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRouteTableRequest.Merge(dst, src) +func (m *DeleteRouteTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRouteTableRequest.Merge(m, src) } func (m *DeleteRouteTableRequest) XXX_Size() int { return xxx_messageInfo_DeleteRouteTableRequest.Size(m) @@ -497,16 +506,17 @@ func (m *DeleteRouteTableMetadata) Reset() { *m = DeleteRouteTableMetada func (m *DeleteRouteTableMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteRouteTableMetadata) ProtoMessage() {} func (*DeleteRouteTableMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{8} + return fileDescriptor_9bfefbf6833abb34, []int{8} } + func (m *DeleteRouteTableMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteRouteTableMetadata.Unmarshal(m, b) } func (m *DeleteRouteTableMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteRouteTableMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteRouteTableMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRouteTableMetadata.Merge(dst, src) +func (m *DeleteRouteTableMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRouteTableMetadata.Merge(m, src) } func (m *DeleteRouteTableMetadata) XXX_Size() int { return xxx_messageInfo_DeleteRouteTableMetadata.Size(m) @@ -543,16 +553,17 @@ func (m *ListRouteTableOperationsRequest) Reset() { *m = ListRouteTableO func (m *ListRouteTableOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListRouteTableOperationsRequest) ProtoMessage() {} func (*ListRouteTableOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{9} + return fileDescriptor_9bfefbf6833abb34, []int{9} } + func (m *ListRouteTableOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRouteTableOperationsRequest.Unmarshal(m, b) } func (m *ListRouteTableOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRouteTableOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListRouteTableOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRouteTableOperationsRequest.Merge(dst, src) +func (m *ListRouteTableOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRouteTableOperationsRequest.Merge(m, src) } func (m *ListRouteTableOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListRouteTableOperationsRequest.Size(m) @@ -601,16 +612,17 @@ func (m *ListRouteTableOperationsResponse) Reset() { *m = ListRouteTable func (m *ListRouteTableOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListRouteTableOperationsResponse) ProtoMessage() {} func (*ListRouteTableOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_route_table_service_18dbfac795d82b53, []int{10} + return fileDescriptor_9bfefbf6833abb34, []int{10} } + func (m *ListRouteTableOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListRouteTableOperationsResponse.Unmarshal(m, b) } func (m *ListRouteTableOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListRouteTableOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListRouteTableOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRouteTableOperationsResponse.Merge(dst, src) +func (m *ListRouteTableOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRouteTableOperationsResponse.Merge(m, src) } func (m *ListRouteTableOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListRouteTableOperationsResponse.Size(m) @@ -651,6 +663,79 @@ func init() { proto.RegisterType((*ListRouteTableOperationsResponse)(nil), "yandex.cloud.vpc.v1.ListRouteTableOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/vpc/v1/route_table_service.proto", fileDescriptor_9bfefbf6833abb34) +} + +var fileDescriptor_9bfefbf6833abb34 = []byte{ + // 1036 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, + 0x17, 0xd7, 0xc6, 0x8e, 0xbf, 0xf5, 0x73, 0xda, 0x6f, 0x99, 0xb6, 0xc4, 0x5a, 0xa8, 0xea, 0xae, + 0x4a, 0x48, 0x9c, 0xec, 0xae, 0xd7, 0x6d, 0x42, 0xd3, 0x34, 0x02, 0x0c, 0xa1, 0x04, 0x35, 0x02, + 0x6d, 0xca, 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xa2, 0x1b, 0x09, 0x94, 0x77, 0x6c, 0x24, 0xc9, 0x8b, 0x63, 0x46, 0x45, 0xc2, 0x7d, 0x8d, 0xa3, + 0x35, 0x90, 0x9e, 0x04, 0x6d, 0xef, 0x95, 0x4f, 0x2b, 0xab, 0x1f, 0xaf, 0x34, 0xec, 0xf0, 0x93, + 0x56, 0x4d, 0xab, 0x7b, 0x3b, 0xba, 0xf8, 0xdb, 0xaa, 0x78, 0xed, 0x37, 0x3c, 0xb5, 0x41, 0x5c, + 0x4e, 0x8a, 0x1e, 0xf3, 0x5f, 0xc5, 0x4a, 0xdb, 0xaf, 0xd7, 0x32, 0xdc, 0x7c, 0xfd, 0xef, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x80, 0x29, 0xd2, 0x08, 0x17, 0x0d, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -763,6 +848,29 @@ type RouteTableServiceServer interface { ListOperations(context.Context, *ListRouteTableOperationsRequest) (*ListRouteTableOperationsResponse, error) } +// UnimplementedRouteTableServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRouteTableServiceServer struct { +} + +func (*UnimplementedRouteTableServiceServer) Get(ctx context.Context, req *GetRouteTableRequest) (*RouteTable, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedRouteTableServiceServer) List(ctx context.Context, req *ListRouteTablesRequest) (*ListRouteTablesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedRouteTableServiceServer) Create(ctx context.Context, req *CreateRouteTableRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedRouteTableServiceServer) Update(ctx context.Context, req *UpdateRouteTableRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedRouteTableServiceServer) Delete(ctx context.Context, req *DeleteRouteTableRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedRouteTableServiceServer) ListOperations(ctx context.Context, req *ListRouteTableOperationsRequest) (*ListRouteTableOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterRouteTableServiceServer(s *grpc.Server, srv RouteTableServiceServer) { s.RegisterService(&_RouteTableService_serviceDesc, srv) } @@ -907,76 +1015,3 @@ var _RouteTableService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/vpc/v1/route_table_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/route_table_service.proto", fileDescriptor_route_table_service_18dbfac795d82b53) -} - -var fileDescriptor_route_table_service_18dbfac795d82b53 = []byte{ - // 1036 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, - 0x17, 0xd7, 0xc6, 0x8e, 0xbf, 0xf5, 0x73, 0xda, 0x6f, 0x99, 0xb6, 0xc4, 0x5a, 0xa8, 0xea, 0xae, - 0x4a, 0x48, 0x9c, 0xec, 0xae, 0xd7, 0x6d, 0x42, 0xd3, 0x34, 0x02, 0x0c, 0xa1, 0x04, 0x35, 0x02, - 0x6d, 0xca, 0x01, 0xa2, 0xca, 0x1a, 0x7b, 0x27, 0x66, 0xe5, 0xcd, 0xee, 0xb2, 0xb3, 0x36, 0x4d, - 0x4a, 0x41, 0xaa, 0xe0, 0x12, 0x89, 0x03, 0xe2, 0x4f, 0xe0, 0xc2, 0x39, 0x42, 0x1c, 0x10, 0xf7, - 0xe4, 0x5c, 0xfe, 0x05, 0x0e, 0x20, 0x6e, 0x3d, 0x72, 0x42, 0x33, 0xb3, 0xfe, 0x99, 0x75, 0xb2, - 0xa6, 0x45, 0xe2, 0xb6, 0xe3, 0xf7, 0x23, 0x9f, 0xf7,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xdb, 0xaf, 0xd7, 0x32, 0xdc, 0x7c, 0xfd, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x80, 0x29, 0xd2, 0x08, 0x17, 0x0d, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet.pb.go index 47023bcb6..23082bea6 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet.pb.go @@ -1,12 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/subnet.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" +package vpc -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import timestamp "github.com/golang/protobuf/ptypes/timestamp" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -17,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // A Subnet resource. For more information, see [Subnets](/docs/vpc/concepts/subnets). type Subnet struct { @@ -56,16 +58,17 @@ func (m *Subnet) Reset() { *m = Subnet{} } func (m *Subnet) String() string { return proto.CompactTextString(m) } func (*Subnet) ProtoMessage() {} func (*Subnet) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_ffafe502c297ef9c, []int{0} + return fileDescriptor_40c0de762dc72cc6, []int{0} } + func (m *Subnet) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Subnet.Unmarshal(m, b) } func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Subnet.Marshal(b, m, deterministic) } -func (dst *Subnet) XXX_Merge(src proto.Message) { - xxx_messageInfo_Subnet.Merge(dst, src) +func (m *Subnet) XXX_Merge(src proto.Message) { + xxx_messageInfo_Subnet.Merge(m, src) } func (m *Subnet) XXX_Size() int { return xxx_messageInfo_Subnet.Size(m) @@ -158,11 +161,9 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "yandex.cloud.vpc.v1.Subnet.LabelsEntry") } -func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/subnet.proto", fileDescriptor_subnet_ffafe502c297ef9c) -} +func init() { proto.RegisterFile("yandex/cloud/vpc/v1/subnet.proto", fileDescriptor_40c0de762dc72cc6) } -var fileDescriptor_subnet_ffafe502c297ef9c = []byte{ +var fileDescriptor_40c0de762dc72cc6 = []byte{ // 404 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x51, 0x6b, 0xd4, 0x40, 0x14, 0x85, 0xd9, 0x4d, 0x9b, 0x36, 0x37, 0x4b, 0x91, 0x51, 0x30, 0xac, 0x88, 0x41, 0x04, 0xf7, diff --git a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet_service.pb.go b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet_service.pb.go index 4b6da76e1..51d3b0ab2 100644 --- a/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet_service.pb.go +++ b/vendor/github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1/subnet_service.pb.go @@ -1,20 +1,21 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: yandex/cloud/vpc/v1/subnet_service.proto -package vpc // import "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" - -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/yandex-cloud/go-genproto/yandex/api" -import operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" -import _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" -import _ "google.golang.org/genproto/googleapis/api/annotations" -import field_mask "google.golang.org/genproto/protobuf/field_mask" +package vpc import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + _ "github.com/yandex-cloud/go-genproto/yandex/api" + operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + _ "github.com/yandex-cloud/go-genproto/yandex/cloud/validation" + _ "google.golang.org/genproto/googleapis/api/annotations" + field_mask "google.golang.org/genproto/protobuf/field_mask" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,7 +27,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type GetSubnetRequest struct { // ID of the Subnet resource to return. @@ -41,16 +42,17 @@ func (m *GetSubnetRequest) Reset() { *m = GetSubnetRequest{} } func (m *GetSubnetRequest) String() string { return proto.CompactTextString(m) } func (*GetSubnetRequest) ProtoMessage() {} func (*GetSubnetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{0} + return fileDescriptor_3ec158e4cb3e4034, []int{0} } + func (m *GetSubnetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSubnetRequest.Unmarshal(m, b) } func (m *GetSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetSubnetRequest.Marshal(b, m, deterministic) } -func (dst *GetSubnetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSubnetRequest.Merge(dst, src) +func (m *GetSubnetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSubnetRequest.Merge(m, src) } func (m *GetSubnetRequest) XXX_Size() int { return xxx_messageInfo_GetSubnetRequest.Size(m) @@ -95,16 +97,17 @@ func (m *ListSubnetsRequest) Reset() { *m = ListSubnetsRequest{} } func (m *ListSubnetsRequest) String() string { return proto.CompactTextString(m) } func (*ListSubnetsRequest) ProtoMessage() {} func (*ListSubnetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{1} + return fileDescriptor_3ec158e4cb3e4034, []int{1} } + func (m *ListSubnetsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubnetsRequest.Unmarshal(m, b) } func (m *ListSubnetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSubnetsRequest.Marshal(b, m, deterministic) } -func (dst *ListSubnetsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubnetsRequest.Merge(dst, src) +func (m *ListSubnetsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSubnetsRequest.Merge(m, src) } func (m *ListSubnetsRequest) XXX_Size() int { return xxx_messageInfo_ListSubnetsRequest.Size(m) @@ -162,16 +165,17 @@ func (m *ListSubnetsResponse) Reset() { *m = ListSubnetsResponse{} } func (m *ListSubnetsResponse) String() string { return proto.CompactTextString(m) } func (*ListSubnetsResponse) ProtoMessage() {} func (*ListSubnetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{2} + return fileDescriptor_3ec158e4cb3e4034, []int{2} } + func (m *ListSubnetsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubnetsResponse.Unmarshal(m, b) } func (m *ListSubnetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSubnetsResponse.Marshal(b, m, deterministic) } -func (dst *ListSubnetsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubnetsResponse.Merge(dst, src) +func (m *ListSubnetsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSubnetsResponse.Merge(m, src) } func (m *ListSubnetsResponse) XXX_Size() int { return xxx_messageInfo_ListSubnetsResponse.Size(m) @@ -231,16 +235,17 @@ func (m *CreateSubnetRequest) Reset() { *m = CreateSubnetRequest{} } func (m *CreateSubnetRequest) String() string { return proto.CompactTextString(m) } func (*CreateSubnetRequest) ProtoMessage() {} func (*CreateSubnetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{3} + return fileDescriptor_3ec158e4cb3e4034, []int{3} } + func (m *CreateSubnetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSubnetRequest.Unmarshal(m, b) } func (m *CreateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSubnetRequest.Marshal(b, m, deterministic) } -func (dst *CreateSubnetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSubnetRequest.Merge(dst, src) +func (m *CreateSubnetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSubnetRequest.Merge(m, src) } func (m *CreateSubnetRequest) XXX_Size() int { return xxx_messageInfo_CreateSubnetRequest.Size(m) @@ -326,16 +331,17 @@ func (m *CreateSubnetMetadata) Reset() { *m = CreateSubnetMetadata{} } func (m *CreateSubnetMetadata) String() string { return proto.CompactTextString(m) } func (*CreateSubnetMetadata) ProtoMessage() {} func (*CreateSubnetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{4} + return fileDescriptor_3ec158e4cb3e4034, []int{4} } + func (m *CreateSubnetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSubnetMetadata.Unmarshal(m, b) } func (m *CreateSubnetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSubnetMetadata.Marshal(b, m, deterministic) } -func (dst *CreateSubnetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSubnetMetadata.Merge(dst, src) +func (m *CreateSubnetMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSubnetMetadata.Merge(m, src) } func (m *CreateSubnetMetadata) XXX_Size() int { return xxx_messageInfo_CreateSubnetMetadata.Size(m) @@ -376,16 +382,17 @@ func (m *UpdateSubnetRequest) Reset() { *m = UpdateSubnetRequest{} } func (m *UpdateSubnetRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSubnetRequest) ProtoMessage() {} func (*UpdateSubnetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{5} + return fileDescriptor_3ec158e4cb3e4034, []int{5} } + func (m *UpdateSubnetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSubnetRequest.Unmarshal(m, b) } func (m *UpdateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSubnetRequest.Marshal(b, m, deterministic) } -func (dst *UpdateSubnetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSubnetRequest.Merge(dst, src) +func (m *UpdateSubnetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSubnetRequest.Merge(m, src) } func (m *UpdateSubnetRequest) XXX_Size() int { return xxx_messageInfo_UpdateSubnetRequest.Size(m) @@ -450,16 +457,17 @@ func (m *UpdateSubnetMetadata) Reset() { *m = UpdateSubnetMetadata{} } func (m *UpdateSubnetMetadata) String() string { return proto.CompactTextString(m) } func (*UpdateSubnetMetadata) ProtoMessage() {} func (*UpdateSubnetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{6} + return fileDescriptor_3ec158e4cb3e4034, []int{6} } + func (m *UpdateSubnetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSubnetMetadata.Unmarshal(m, b) } func (m *UpdateSubnetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSubnetMetadata.Marshal(b, m, deterministic) } -func (dst *UpdateSubnetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSubnetMetadata.Merge(dst, src) +func (m *UpdateSubnetMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSubnetMetadata.Merge(m, src) } func (m *UpdateSubnetMetadata) XXX_Size() int { return xxx_messageInfo_UpdateSubnetMetadata.Size(m) @@ -490,16 +498,17 @@ func (m *DeleteSubnetRequest) Reset() { *m = DeleteSubnetRequest{} } func (m *DeleteSubnetRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSubnetRequest) ProtoMessage() {} func (*DeleteSubnetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{7} + return fileDescriptor_3ec158e4cb3e4034, []int{7} } + func (m *DeleteSubnetRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubnetRequest.Unmarshal(m, b) } func (m *DeleteSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSubnetRequest.Marshal(b, m, deterministic) } -func (dst *DeleteSubnetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubnetRequest.Merge(dst, src) +func (m *DeleteSubnetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSubnetRequest.Merge(m, src) } func (m *DeleteSubnetRequest) XXX_Size() int { return xxx_messageInfo_DeleteSubnetRequest.Size(m) @@ -529,16 +538,17 @@ func (m *DeleteSubnetMetadata) Reset() { *m = DeleteSubnetMetadata{} } func (m *DeleteSubnetMetadata) String() string { return proto.CompactTextString(m) } func (*DeleteSubnetMetadata) ProtoMessage() {} func (*DeleteSubnetMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{8} + return fileDescriptor_3ec158e4cb3e4034, []int{8} } + func (m *DeleteSubnetMetadata) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSubnetMetadata.Unmarshal(m, b) } func (m *DeleteSubnetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSubnetMetadata.Marshal(b, m, deterministic) } -func (dst *DeleteSubnetMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteSubnetMetadata.Merge(dst, src) +func (m *DeleteSubnetMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteSubnetMetadata.Merge(m, src) } func (m *DeleteSubnetMetadata) XXX_Size() int { return xxx_messageInfo_DeleteSubnetMetadata.Size(m) @@ -575,16 +585,17 @@ func (m *ListSubnetOperationsRequest) Reset() { *m = ListSubnetOperation func (m *ListSubnetOperationsRequest) String() string { return proto.CompactTextString(m) } func (*ListSubnetOperationsRequest) ProtoMessage() {} func (*ListSubnetOperationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{9} + return fileDescriptor_3ec158e4cb3e4034, []int{9} } + func (m *ListSubnetOperationsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubnetOperationsRequest.Unmarshal(m, b) } func (m *ListSubnetOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSubnetOperationsRequest.Marshal(b, m, deterministic) } -func (dst *ListSubnetOperationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubnetOperationsRequest.Merge(dst, src) +func (m *ListSubnetOperationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSubnetOperationsRequest.Merge(m, src) } func (m *ListSubnetOperationsRequest) XXX_Size() int { return xxx_messageInfo_ListSubnetOperationsRequest.Size(m) @@ -633,16 +644,17 @@ func (m *ListSubnetOperationsResponse) Reset() { *m = ListSubnetOperatio func (m *ListSubnetOperationsResponse) String() string { return proto.CompactTextString(m) } func (*ListSubnetOperationsResponse) ProtoMessage() {} func (*ListSubnetOperationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_subnet_service_c165cb64a0d126f6, []int{10} + return fileDescriptor_3ec158e4cb3e4034, []int{10} } + func (m *ListSubnetOperationsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSubnetOperationsResponse.Unmarshal(m, b) } func (m *ListSubnetOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSubnetOperationsResponse.Marshal(b, m, deterministic) } -func (dst *ListSubnetOperationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSubnetOperationsResponse.Merge(dst, src) +func (m *ListSubnetOperationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSubnetOperationsResponse.Merge(m, src) } func (m *ListSubnetOperationsResponse) XXX_Size() int { return xxx_messageInfo_ListSubnetOperationsResponse.Size(m) @@ -683,6 +695,81 @@ func init() { proto.RegisterType((*ListSubnetOperationsResponse)(nil), "yandex.cloud.vpc.v1.ListSubnetOperationsResponse") } +func init() { + proto.RegisterFile("yandex/cloud/vpc/v1/subnet_service.proto", fileDescriptor_3ec158e4cb3e4034) +} + +var fileDescriptor_3ec158e4cb3e4034 = []byte{ + // 1063 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x41, 0x73, 0xdb, 0x44, + 0x14, 0x1e, 0xc5, 0x8e, 0x12, 0x3f, 0xa7, 0x69, 0x58, 0x87, 0xc1, 0xa3, 0x34, 0x8c, 0x23, 0x20, + 0x35, 0x2e, 0x92, 0x2c, 0x27, 0xf1, 0x90, 0x26, 0x19, 0xc0, 0xa5, 0x14, 0xcf, 0xb4, 0x03, 0xa3, + 0x84, 0x0b, 0x99, 0x8e, 0x47, 0xb6, 0x36, 0x46, 0x63, 0x45, 0x12, 0xd2, 0xda, 0x34, 0x2e, 0x3d, + 0xd0, 0x1b, 0x99, 0xe1, 0xd4, 0x23, 0x07, 0x4e, 0x9c, 0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0x99, 0x83, 0xc5, 0x40, 0x16, 0x97, 0x15, 0x86, 0x8a, 0x57, 0x68, + 0x67, 0xa4, 0x55, 0x08, 0xea, 0xbf, 0xf0, 0x08, 0x65, 0x27, 0x53, 0x72, 0x79, 0xb4, 0x3e, 0x81, + 0xdc, 0xe5, 0xeb, 0xd9, 0xaf, 0xec, 0x7d, 0xb9, 0xd3, 0x34, 0xc9, 0x57, 0xed, 0xba, 0xdc, 0x70, + 0x8e, 0x15, 0xb6, 0x9d, 0xc4, 0x5e, 0xd1, 0x4d, 0x47, 0x6a, 0x62, 0x9b, 0x1e, 0x5d, 0x89, 0x79, + 0xa8, 0xef, 0x74, 0xdc, 0x46, 0x9d, 0xa7, 0xe6, 0x8d, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x08, + 0x43, 0xd1, 0xd5, 0x65, 0x0c, 0x00, 0x00, +} + // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -795,6 +882,29 @@ type SubnetServiceServer interface { ListOperations(context.Context, *ListSubnetOperationsRequest) (*ListSubnetOperationsResponse, error) } +// UnimplementedSubnetServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSubnetServiceServer struct { +} + +func (*UnimplementedSubnetServiceServer) Get(ctx context.Context, req *GetSubnetRequest) (*Subnet, error) { + return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") +} +func (*UnimplementedSubnetServiceServer) List(ctx context.Context, req *ListSubnetsRequest) (*ListSubnetsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method List not implemented") +} +func (*UnimplementedSubnetServiceServer) Create(ctx context.Context, req *CreateSubnetRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") +} +func (*UnimplementedSubnetServiceServer) Update(ctx context.Context, req *UpdateSubnetRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") +} +func (*UnimplementedSubnetServiceServer) Delete(ctx context.Context, req *DeleteSubnetRequest) (*operation.Operation, error) { + return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented") +} +func (*UnimplementedSubnetServiceServer) ListOperations(ctx context.Context, req *ListSubnetOperationsRequest) (*ListSubnetOperationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListOperations not implemented") +} + func RegisterSubnetServiceServer(s *grpc.Server, srv SubnetServiceServer) { s.RegisterService(&_SubnetService_serviceDesc, srv) } @@ -939,78 +1049,3 @@ var _SubnetService_serviceDesc = grpc.ServiceDesc{ Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/vpc/v1/subnet_service.proto", } - -func init() { - proto.RegisterFile("yandex/cloud/vpc/v1/subnet_service.proto", fileDescriptor_subnet_service_c165cb64a0d126f6) -} - -var fileDescriptor_subnet_service_c165cb64a0d126f6 = []byte{ - // 1063 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x41, 0x73, 0xdb, 0x44, - 0x14, 0x1e, 0xc5, 0x8e, 0x12, 0x3f, 0xa7, 0x69, 0x58, 0x87, 0xc1, 0xa3, 0x34, 0x8c, 0x23, 0x20, - 0x35, 0x2e, 0x92, 0x2c, 0x27, 0xf1, 0x90, 0x26, 0x19, 0xc0, 0xa5, 0x14, 0xcf, 0xb4, 0x03, 0xa3, - 0x84, 0x0b, 0x99, 0x8e, 0x47, 0xb6, 0x36, 0x46, 0x63, 0x45, 0x12, 0xd2, 0xda, 0x34, 0x2e, 0x3d, - 0xd0, 0x1b, 0x99, 0xe1, 0xd4, 0x23, 0x07, 0x4e, 0x9c, 0xb8, 0xe5, 0xc0, 0x85, 0x1f, 0x90, 0x9c, - 0xcb, 0x95, 0x23, 0x07, 0xce, 0x3d, 0x72, 0x62, 0xb4, 0x2b, 0x3b, 0xb2, 0x2d, 0x3b, 0xa6, 0xd0, - 0x9b, 0x56, 0xef, 0x7b, 0x6f, 0xbf, 0x7d, 0xfb, 0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 0x7d, 0xb9, 0xd3, 0x34, 0xc9, 0x57, 0xed, 0xba, 0xdc, 0x70, - 0x8e, 0x15, 0xb6, 0x9d, 0xc4, 0x5e, 0xd1, 0x4d, 0x47, 0x6a, 0x62, 0x9b, 0x1e, 0x5d, 0x89, 0x79, - 0xa8, 0xef, 0x74, 0xdc, 0x46, 0x9d, 0xa7, 0xe6, 0x8d, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x08, - 0x43, 0xd1, 0xd5, 0x65, 0x0c, 0x00, 0x00, -} diff --git a/vendor/github.com/yandex-cloud/go-sdk/credentials.go b/vendor/github.com/yandex-cloud/go-sdk/credentials.go index 237c3952f..d6514a712 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/credentials.go +++ b/vendor/github.com/yandex-cloud/go-sdk/credentials.go @@ -4,25 +4,24 @@ package ycsdk import ( + "context" "crypto/rsa" + "encoding/json" "errors" "fmt" + "io/ioutil" + "net" + "net/http" "time" jwt "github.com/dgrijalva/jwt-go" + "github.com/golang/protobuf/ptypes" iampb "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" "github.com/yandex-cloud/go-sdk/iamkey" "github.com/yandex-cloud/go-sdk/pkg/sdkerrors" ) -const ( - // iamTokenExpiration is refreshAfter time of IAM token. - // for now it constant, but in near future token expiration will be returned in - // See https://cloud.yandex.ru/docs/iam/concepts/authorization/iam-token for details. - iamTokenExpiration = 12 * time.Hour -) - // Credentials is an abstraction of API authorization credentials. // See https://cloud.yandex.ru/docs/iam/concepts/authorization/authorization for details. // Note that functions that return Credentials may return different Credentials implementation @@ -34,12 +33,18 @@ type Credentials interface { // ExchangeableCredentials can be exchanged for IAM Token in IAM Token Service, that can be used // to authorize API calls. -// For now, this is the only option to authorize API calls, but this may be changed in future. // See https://cloud.yandex.ru/docs/iam/concepts/authorization/iam-token for details. type ExchangeableCredentials interface { Credentials // IAMTokenRequest returns request for fresh IAM token or error. - IAMTokenRequest() (iamTokenReq *iampb.CreateIamTokenRequest, err error) + IAMTokenRequest() (*iampb.CreateIamTokenRequest, error) +} + +// NonExchangeableCredentials allows to get IAM Token without calling IAM Token Service. +type NonExchangeableCredentials interface { + Credentials + // IAMToken returns IAM Token. + IAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error) } // OAuthToken returns API credentials for user Yandex Passport OAuth token, that can be received @@ -55,16 +60,6 @@ func OAuthToken(token string) Credentials { }) } -type exchangeableCredentialsFunc func() (iamTokenReq *iampb.CreateIamTokenRequest, err error) - -var _ ExchangeableCredentials = (exchangeableCredentialsFunc)(nil) - -func (exchangeableCredentialsFunc) YandexCloudAPICredentials() {} - -func (f exchangeableCredentialsFunc) IAMTokenRequest() (iamTokenReq *iampb.CreateIamTokenRequest, err error) { - return f() -} - // ServiceAccountKey returns credentials for the given IAM Key. The key is used to sign JWT tokens. // JWT tokens are exchanged for IAM Tokens used to authorize API calls. // This authorization method is not supported for IAM Keys issued for User Accounts. @@ -86,6 +81,15 @@ func ServiceAccountKey(key *iamkey.Key) (Credentials, error) { }), nil } +// InstanceServiceAccount returns credentials for Compute Instance Service Account. +// That is, for SDK build with InstanceServiceAccount credentials and used on Compute Instance +// created with yandex.cloud.compute.v1.CreateInstanceRequest.service_account_id, API calls +// will be authenticated with this ServiceAccount ID. +// TODO(skipor): doc link +func InstanceServiceAccount() NonExchangeableCredentials { + return newInstanceServiceAccountCredentials(InstanceMetadataAddr) +} + func newServiceAccountJWTBuilder(key *iamkey.Key) (*serviceAccountJWTBuilder, error) { err := validateServiceAccountKey(key) if err != nil { @@ -140,3 +144,84 @@ var jwtSigningMethodPS256WithSaltLengthEqualsHash = &jwt.SigningMethodRSAPSS{ SaltLength: rsa.PSSSaltLengthEqualsHash, }, } + +type exchangeableCredentialsFunc func() (iamTokenReq *iampb.CreateIamTokenRequest, err error) + +var _ ExchangeableCredentials = (exchangeableCredentialsFunc)(nil) + +func (exchangeableCredentialsFunc) YandexCloudAPICredentials() {} +func (f exchangeableCredentialsFunc) IAMTokenRequest() (iamTokenReq *iampb.CreateIamTokenRequest, err error) { + return f() +} + +func newInstanceServiceAccountCredentials(metadataServiceAddr string) NonExchangeableCredentials { + return &instanceServiceAccountCredentials{ + metadataServiceAddr: metadataServiceAddr, + client: http.Client{ + Transport: &http.Transport{ + DialContext: (&net.Dialer{ + Timeout: time.Second, // One second should be enough for localhost connection. + KeepAlive: 0, // No keep alive. Near token per hour requested. + }).DialContext, + }, + }, + } +} + +type instanceServiceAccountCredentials struct { + metadataServiceAddr string + client http.Client +} + +func (c *instanceServiceAccountCredentials) YandexCloudAPICredentials() {} + +func (c *instanceServiceAccountCredentials) IAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error) { + token, err := c.iamToken(ctx) + if err != nil { + return nil, sdkerrors.WithMessage(err, "instance service account token") + } + return token, nil +} + +func (c *instanceServiceAccountCredentials) iamToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error) { + URL := fmt.Sprintf("http://%s/computeMetadata/v1/instance/service-accounts/default/token", c.metadataServiceAddr) + req, err := http.NewRequest("GET", URL, nil) + if err != nil { + return nil, sdkerrors.WithMessage(err, "request make failed") + } + req.Header.Set("Metadata-Flavor", "Google") + resp, err := c.client.Do(req.WithContext(ctx)) + if err != nil { + return nil, sdkerrors.WithMessage(err, "compute instance metadata service call failed.\n"+ + "Are you inside compute instance?\n"+ + "Details") + } + if resp.StatusCode == http.StatusNotFound { + return nil, errors.New("compute instance metadata service token resource is not found.\n" + + "Is this compute instance running using Service Account? That is, Instance.service_account_id should not be empty.") + } + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + return nil, sdkerrors.WithMessage(err, "response body read failed") + } + if resp.StatusCode != http.StatusOK { + return nil, fmt.Errorf("unexpected token get status: %s: %s", resp.Status, body) + } + var tokenResponse struct { + AccessToken string `json:"access_token"` + ExpiresIn int64 `json:"expires_in"` + TokenType string `json:"token_type"` + } + err = json.Unmarshal(body, &tokenResponse) + if err != nil { + return nil, sdkerrors.WithMessage(err, "body unmarshal failed") + } + expiresAt := ptypes.TimestampNow() + expiresAt.Seconds += tokenResponse.ExpiresIn - 1 + expiresAt.Nanos = 0 // Truncate is for readability. + return &iampb.CreateIamTokenResponse{ + IamToken: tokenResponse.AccessToken, + ExpiresAt: expiresAt, + }, nil +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/dial/dialer.go b/vendor/github.com/yandex-cloud/go-sdk/dial/dialer.go index de7c17ef4..b31732650 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/dial/dialer.go +++ b/vendor/github.com/yandex-cloud/go-sdk/dial/dialer.go @@ -16,9 +16,7 @@ type DialFunc = func(context.Context, string) (net.Conn, error) func NewDialer() DialFunc { return func(ctx context.Context, target string) (net.Conn, error) { - dialer := &net.Dialer{ - DualStack: true, - } + dialer := &net.Dialer{} net, addr := parseDialTarget(target) deadline, ok := ctx.Deadline() diff --git a/vendor/github.com/yandex-cloud/go-sdk/functions.go b/vendor/github.com/yandex-cloud/go-sdk/functions.go new file mode 100644 index 000000000..32cd24f07 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/functions.go @@ -0,0 +1,13 @@ +// Copyright (c) 2019 YANDEX LLC. + +package ycsdk + +import "github.com/yandex-cloud/go-sdk/gen/functions" + +const ( + FunctionServiceID Endpoint = "serverless-functions" +) + +func (sdk *SDK) Functions() *functions.Function { + return functions.NewFunction(sdk.getConn(FunctionServiceID)) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup.go b/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup.go new file mode 100644 index 000000000..6e2c5b74f --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup.go @@ -0,0 +1,113 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package instancegroup + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// InstanceGroupServiceClient is a instancegroup.InstanceGroupServiceClient with +// lazy GRPC connection initialization. +type InstanceGroupServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ instancegroup.InstanceGroupServiceClient = &InstanceGroupServiceClient{} + +// Create implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) Create(ctx context.Context, in *instancegroup.CreateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).Create(ctx, in, opts...) +} + +// CreateFromYaml implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) CreateFromYaml(ctx context.Context, in *instancegroup.CreateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).CreateFromYaml(ctx, in, opts...) +} + +// Delete implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) Delete(ctx context.Context, in *instancegroup.DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).Delete(ctx, in, opts...) +} + +// Get implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) Get(ctx context.Context, in *instancegroup.GetInstanceGroupRequest, opts ...grpc.CallOption) (*instancegroup.InstanceGroup, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) List(ctx context.Context, in *instancegroup.ListInstanceGroupsRequest, opts ...grpc.CallOption) (*instancegroup.ListInstanceGroupsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).List(ctx, in, opts...) +} + +// ListInstances implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) ListInstances(ctx context.Context, in *instancegroup.ListInstanceGroupInstancesRequest, opts ...grpc.CallOption) (*instancegroup.ListInstanceGroupInstancesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).ListInstances(ctx, in, opts...) +} + +// ListLogRecords implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) ListLogRecords(ctx context.Context, in *instancegroup.ListInstanceGroupLogRecordsRequest, opts ...grpc.CallOption) (*instancegroup.ListInstanceGroupLogRecordsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).ListLogRecords(ctx, in, opts...) +} + +// ListOperations implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) ListOperations(ctx context.Context, in *instancegroup.ListInstanceGroupOperationsRequest, opts ...grpc.CallOption) (*instancegroup.ListInstanceGroupOperationsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).ListOperations(ctx, in, opts...) +} + +// Update implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) Update(ctx context.Context, in *instancegroup.UpdateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).Update(ctx, in, opts...) +} + +// UpdateFromYaml implements instancegroup.InstanceGroupServiceClient +func (c *InstanceGroupServiceClient) UpdateFromYaml(ctx context.Context, in *instancegroup.UpdateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return instancegroup.NewInstanceGroupServiceClient(conn).UpdateFromYaml(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup_group.go b/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup_group.go new file mode 100644 index 000000000..c7782d726 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/compute/instancegroup/instancegroup_group.go @@ -0,0 +1,24 @@ +// Code generated by sdkgen. DO NOT EDIT. + +package instancegroup + +import ( + "context" + + "google.golang.org/grpc" +) + +// InstanceGroup provides access to "instancegroup" component of Yandex.Cloud +type InstanceGroup struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +// NewInstanceGroup creates instance of InstanceGroup +func NewInstanceGroup(g func(ctx context.Context) (*grpc.ClientConn, error)) *InstanceGroup { + return &InstanceGroup{g} +} + +// InstanceGroup gets InstanceGroupService client +func (i *InstanceGroup) InstanceGroup() *InstanceGroupServiceClient { + return &InstanceGroupServiceClient{getConn: i.getConn} +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/functions/function.go b/vendor/github.com/yandex-cloud/go-sdk/gen/functions/function.go new file mode 100644 index 000000000..053a9774a --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/functions/function.go @@ -0,0 +1,149 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package functions + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" + "github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1" +) + +//revive:disable + +// FunctionServiceClient is a functions.FunctionServiceClient with +// lazy GRPC connection initialization. +type FunctionServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ functions.FunctionServiceClient = &FunctionServiceClient{} + +// Create implements functions.FunctionServiceClient +func (c *FunctionServiceClient) Create(ctx context.Context, in *functions.CreateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).Create(ctx, in, opts...) +} + +// CreateFunctionVersion implements functions.FunctionServiceClient +func (c *FunctionServiceClient) CreateFunctionVersion(ctx context.Context, in *functions.CreateFunctionVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).CreateFunctionVersion(ctx, in, opts...) +} + +// Delete implements functions.FunctionServiceClient +func (c *FunctionServiceClient) Delete(ctx context.Context, in *functions.DeleteFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).Delete(ctx, in, opts...) +} + +// Get implements functions.FunctionServiceClient +func (c *FunctionServiceClient) Get(ctx context.Context, in *functions.GetFunctionRequest, opts ...grpc.CallOption) (*functions.Function, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).Get(ctx, in, opts...) +} + +// GetFunctionVersion implements functions.FunctionServiceClient +func (c *FunctionServiceClient) GetFunctionVersion(ctx context.Context, in *functions.GetFunctionVersionRequest, opts ...grpc.CallOption) (*functions.Version, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).GetFunctionVersion(ctx, in, opts...) +} + +// GetFunctionVersionByTag implements functions.FunctionServiceClient +func (c *FunctionServiceClient) GetFunctionVersionByTag(ctx context.Context, in *functions.GetFunctionVersionByTagRequest, opts ...grpc.CallOption) (*functions.Version, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).GetFunctionVersionByTag(ctx, in, opts...) +} + +// List implements functions.FunctionServiceClient +func (c *FunctionServiceClient) List(ctx context.Context, in *functions.ListFunctionsRequest, opts ...grpc.CallOption) (*functions.ListFunctionsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).List(ctx, in, opts...) +} + +// ListFunctionTagHistory implements functions.FunctionServiceClient +func (c *FunctionServiceClient) ListFunctionTagHistory(ctx context.Context, in *functions.ListFunctionTagHistoryRequest, opts ...grpc.CallOption) (*functions.ListFunctionTagHistoryResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).ListFunctionTagHistory(ctx, in, opts...) +} + +// ListFunctionVersions implements functions.FunctionServiceClient +func (c *FunctionServiceClient) ListFunctionVersions(ctx context.Context, in *functions.ListFunctionsVersionsRequest, opts ...grpc.CallOption) (*functions.ListFunctionsVersionsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).ListFunctionVersions(ctx, in, opts...) +} + +// ListOperations implements functions.FunctionServiceClient +func (c *FunctionServiceClient) ListOperations(ctx context.Context, in *functions.ListFunctionOperationsRequest, opts ...grpc.CallOption) (*functions.ListFunctionOperationsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).ListOperations(ctx, in, opts...) +} + +// ListRuntimes implements functions.FunctionServiceClient +func (c *FunctionServiceClient) ListRuntimes(ctx context.Context, in *functions.ListRuntimesRequest, opts ...grpc.CallOption) (*functions.ListRuntimesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).ListRuntimes(ctx, in, opts...) +} + +// RemoveTag implements functions.FunctionServiceClient +func (c *FunctionServiceClient) RemoveTag(ctx context.Context, in *functions.RemoveFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).RemoveTag(ctx, in, opts...) +} + +// SetTag implements functions.FunctionServiceClient +func (c *FunctionServiceClient) SetTag(ctx context.Context, in *functions.SetFunctionTagRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).SetTag(ctx, in, opts...) +} + +// Update implements functions.FunctionServiceClient +func (c *FunctionServiceClient) Update(ctx context.Context, in *functions.UpdateFunctionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return functions.NewFunctionServiceClient(conn).Update(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/functions/functions_group.go b/vendor/github.com/yandex-cloud/go-sdk/gen/functions/functions_group.go new file mode 100644 index 000000000..d0c35b0d2 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/functions/functions_group.go @@ -0,0 +1,24 @@ +// Code generated by sdkgen. DO NOT EDIT. + +package functions + +import ( + "context" + + "google.golang.org/grpc" +) + +// Function provides access to "functions" component of Yandex.Cloud +type Function struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +// NewFunction creates instance of Function +func NewFunction(g func(ctx context.Context) (*grpc.ClientConn, error)) *Function { + return &Function{g} +} + +// Function gets FunctionService client +func (f *Function) Function() *FunctionServiceClient { + return &FunctionServiceClient{getConn: f.getConn} +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/device.go b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/device.go new file mode 100644 index 000000000..2a4db3ca1 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/device.go @@ -0,0 +1,104 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package devices + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// DeviceServiceClient is a devices.DeviceServiceClient with +// lazy GRPC connection initialization. +type DeviceServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ devices.DeviceServiceClient = &DeviceServiceClient{} + +// AddCertificate implements devices.DeviceServiceClient +func (c *DeviceServiceClient) AddCertificate(ctx context.Context, in *devices.AddDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).AddCertificate(ctx, in, opts...) +} + +// Create implements devices.DeviceServiceClient +func (c *DeviceServiceClient) Create(ctx context.Context, in *devices.CreateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).Create(ctx, in, opts...) +} + +// Delete implements devices.DeviceServiceClient +func (c *DeviceServiceClient) Delete(ctx context.Context, in *devices.DeleteDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).Delete(ctx, in, opts...) +} + +// DeleteCertificate implements devices.DeviceServiceClient +func (c *DeviceServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteDeviceCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).DeleteCertificate(ctx, in, opts...) +} + +// Get implements devices.DeviceServiceClient +func (c *DeviceServiceClient) Get(ctx context.Context, in *devices.GetDeviceRequest, opts ...grpc.CallOption) (*devices.Device, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements devices.DeviceServiceClient +func (c *DeviceServiceClient) List(ctx context.Context, in *devices.ListDevicesRequest, opts ...grpc.CallOption) (*devices.ListDevicesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).List(ctx, in, opts...) +} + +// ListCertificates implements devices.DeviceServiceClient +func (c *DeviceServiceClient) ListCertificates(ctx context.Context, in *devices.ListDeviceCertificatesRequest, opts ...grpc.CallOption) (*devices.ListDeviceCertificatesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).ListCertificates(ctx, in, opts...) +} + +// ListOperations implements devices.DeviceServiceClient +func (c *DeviceServiceClient) ListOperations(ctx context.Context, in *devices.ListDeviceOperationsRequest, opts ...grpc.CallOption) (*devices.ListDeviceOperationsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).ListOperations(ctx, in, opts...) +} + +// Update implements devices.DeviceServiceClient +func (c *DeviceServiceClient) Update(ctx context.Context, in *devices.UpdateDeviceRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewDeviceServiceClient(conn).Update(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/devices_group.go b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/devices_group.go new file mode 100644 index 000000000..b52d5d180 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/devices_group.go @@ -0,0 +1,29 @@ +// Code generated by sdkgen. DO NOT EDIT. + +package devices + +import ( + "context" + + "google.golang.org/grpc" +) + +// Devices provides access to "devices" component of Yandex.Cloud +type Devices struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +// NewDevices creates instance of Devices +func NewDevices(g func(ctx context.Context) (*grpc.ClientConn, error)) *Devices { + return &Devices{g} +} + +// Device gets DeviceService client +func (d *Devices) Device() *DeviceServiceClient { + return &DeviceServiceClient{getConn: d.getConn} +} + +// Registry gets RegistryService client +func (d *Devices) Registry() *RegistryServiceClient { + return &RegistryServiceClient{getConn: d.getConn} +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/registry.go b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/registry.go new file mode 100644 index 000000000..6d0adb35b --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/iot/devices/registry.go @@ -0,0 +1,113 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package devices + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// RegistryServiceClient is a devices.RegistryServiceClient with +// lazy GRPC connection initialization. +type RegistryServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ devices.RegistryServiceClient = &RegistryServiceClient{} + +// AddCertificate implements devices.RegistryServiceClient +func (c *RegistryServiceClient) AddCertificate(ctx context.Context, in *devices.AddRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).AddCertificate(ctx, in, opts...) +} + +// Create implements devices.RegistryServiceClient +func (c *RegistryServiceClient) Create(ctx context.Context, in *devices.CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).Create(ctx, in, opts...) +} + +// Delete implements devices.RegistryServiceClient +func (c *RegistryServiceClient) Delete(ctx context.Context, in *devices.DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).Delete(ctx, in, opts...) +} + +// DeleteCertificate implements devices.RegistryServiceClient +func (c *RegistryServiceClient) DeleteCertificate(ctx context.Context, in *devices.DeleteRegistryCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).DeleteCertificate(ctx, in, opts...) +} + +// Get implements devices.RegistryServiceClient +func (c *RegistryServiceClient) Get(ctx context.Context, in *devices.GetRegistryRequest, opts ...grpc.CallOption) (*devices.Registry, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements devices.RegistryServiceClient +func (c *RegistryServiceClient) List(ctx context.Context, in *devices.ListRegistriesRequest, opts ...grpc.CallOption) (*devices.ListRegistriesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).List(ctx, in, opts...) +} + +// ListCertificates implements devices.RegistryServiceClient +func (c *RegistryServiceClient) ListCertificates(ctx context.Context, in *devices.ListRegistryCertificatesRequest, opts ...grpc.CallOption) (*devices.ListRegistryCertificatesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).ListCertificates(ctx, in, opts...) +} + +// ListDeviceTopicAliases implements devices.RegistryServiceClient +func (c *RegistryServiceClient) ListDeviceTopicAliases(ctx context.Context, in *devices.ListDeviceTopicAliasesRequest, opts ...grpc.CallOption) (*devices.ListDeviceTopicAliasesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).ListDeviceTopicAliases(ctx, in, opts...) +} + +// ListOperations implements devices.RegistryServiceClient +func (c *RegistryServiceClient) ListOperations(ctx context.Context, in *devices.ListRegistryOperationsRequest, opts ...grpc.CallOption) (*devices.ListRegistryOperationsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).ListOperations(ctx, in, opts...) +} + +// Update implements devices.RegistryServiceClient +func (c *RegistryServiceClient) Update(ctx context.Context, in *devices.UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return devices.NewRegistryServiceClient(conn).Update(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse/cluster.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse/cluster.go index 6ec276477..c90eaaa4f 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse/cluster.go +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse/cluster.go @@ -40,6 +40,15 @@ func (c *ClusterServiceClient) AddShard(ctx context.Context, in *clickhouse.AddC return clickhouse.NewClusterServiceClient(conn).AddShard(ctx, in, opts...) } +// AddZookeeper implements clickhouse.ClusterServiceClient +func (c *ClusterServiceClient) AddZookeeper(ctx context.Context, in *clickhouse.AddClusterZookeeperRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return clickhouse.NewClusterServiceClient(conn).AddZookeeper(ctx, in, opts...) +} + // Backup implements clickhouse.ClusterServiceClient func (c *ClusterServiceClient) Backup(ctx context.Context, in *clickhouse.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) @@ -58,6 +67,15 @@ func (c *ClusterServiceClient) Create(ctx context.Context, in *clickhouse.Create return clickhouse.NewClusterServiceClient(conn).Create(ctx, in, opts...) } +// CreateExternalDictionary implements clickhouse.ClusterServiceClient +func (c *ClusterServiceClient) CreateExternalDictionary(ctx context.Context, in *clickhouse.CreateClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return clickhouse.NewClusterServiceClient(conn).CreateExternalDictionary(ctx, in, opts...) +} + // Delete implements clickhouse.ClusterServiceClient func (c *ClusterServiceClient) Delete(ctx context.Context, in *clickhouse.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) @@ -67,6 +85,15 @@ func (c *ClusterServiceClient) Delete(ctx context.Context, in *clickhouse.Delete return clickhouse.NewClusterServiceClient(conn).Delete(ctx, in, opts...) } +// DeleteExternalDictionary implements clickhouse.ClusterServiceClient +func (c *ClusterServiceClient) DeleteExternalDictionary(ctx context.Context, in *clickhouse.DeleteClusterExternalDictionaryRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return clickhouse.NewClusterServiceClient(conn).DeleteExternalDictionary(ctx, in, opts...) +} + // DeleteHosts implements clickhouse.ClusterServiceClient func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *clickhouse.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/backup.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/backup.go new file mode 100644 index 000000000..fcf3729ce --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/backup.go @@ -0,0 +1,40 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package mysql + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" +) + +//revive:disable + +// BackupServiceClient is a mysql.BackupServiceClient with +// lazy GRPC connection initialization. +type BackupServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ mysql.BackupServiceClient = &BackupServiceClient{} + +// Get implements mysql.BackupServiceClient +func (c *BackupServiceClient) Get(ctx context.Context, in *mysql.GetBackupRequest, opts ...grpc.CallOption) (*mysql.Backup, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewBackupServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements mysql.BackupServiceClient +func (c *BackupServiceClient) List(ctx context.Context, in *mysql.ListBackupsRequest, opts ...grpc.CallOption) (*mysql.ListBackupsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewBackupServiceClient(conn).List(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/cluster.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/cluster.go new file mode 100644 index 000000000..9b7174a69 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/cluster.go @@ -0,0 +1,176 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package mysql + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// ClusterServiceClient is a mysql.ClusterServiceClient with +// lazy GRPC connection initialization. +type ClusterServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ mysql.ClusterServiceClient = &ClusterServiceClient{} + +// AddHosts implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *mysql.AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).AddHosts(ctx, in, opts...) +} + +// Backup implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Backup(ctx context.Context, in *mysql.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Backup(ctx, in, opts...) +} + +// Create implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Create(ctx context.Context, in *mysql.CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Create(ctx, in, opts...) +} + +// Delete implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Delete(ctx context.Context, in *mysql.DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Delete(ctx, in, opts...) +} + +// DeleteHosts implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *mysql.DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).DeleteHosts(ctx, in, opts...) +} + +// Get implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Get(ctx context.Context, in *mysql.GetClusterRequest, opts ...grpc.CallOption) (*mysql.Cluster, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) List(ctx context.Context, in *mysql.ListClustersRequest, opts ...grpc.CallOption) (*mysql.ListClustersResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).List(ctx, in, opts...) +} + +// ListBackups implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) ListBackups(ctx context.Context, in *mysql.ListClusterBackupsRequest, opts ...grpc.CallOption) (*mysql.ListClusterBackupsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).ListBackups(ctx, in, opts...) +} + +// ListHosts implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) ListHosts(ctx context.Context, in *mysql.ListClusterHostsRequest, opts ...grpc.CallOption) (*mysql.ListClusterHostsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).ListHosts(ctx, in, opts...) +} + +// ListLogs implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) ListLogs(ctx context.Context, in *mysql.ListClusterLogsRequest, opts ...grpc.CallOption) (*mysql.ListClusterLogsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).ListLogs(ctx, in, opts...) +} + +// ListOperations implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *mysql.ListClusterOperationsRequest, opts ...grpc.CallOption) (*mysql.ListClusterOperationsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).ListOperations(ctx, in, opts...) +} + +// Move implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Move(ctx context.Context, in *mysql.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Move(ctx, in, opts...) +} + +// Restore implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Restore(ctx context.Context, in *mysql.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Restore(ctx, in, opts...) +} + +// Start implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Start(ctx context.Context, in *mysql.StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Start(ctx, in, opts...) +} + +// StartFailover implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *mysql.StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).StartFailover(ctx, in, opts...) +} + +// Stop implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Stop(ctx context.Context, in *mysql.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Stop(ctx, in, opts...) +} + +// Update implements mysql.ClusterServiceClient +func (c *ClusterServiceClient) Update(ctx context.Context, in *mysql.UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewClusterServiceClient(conn).Update(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/database.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/database.go new file mode 100644 index 000000000..5c12b5900 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/database.go @@ -0,0 +1,59 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package mysql + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// DatabaseServiceClient is a mysql.DatabaseServiceClient with +// lazy GRPC connection initialization. +type DatabaseServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ mysql.DatabaseServiceClient = &DatabaseServiceClient{} + +// Create implements mysql.DatabaseServiceClient +func (c *DatabaseServiceClient) Create(ctx context.Context, in *mysql.CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewDatabaseServiceClient(conn).Create(ctx, in, opts...) +} + +// Delete implements mysql.DatabaseServiceClient +func (c *DatabaseServiceClient) Delete(ctx context.Context, in *mysql.DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewDatabaseServiceClient(conn).Delete(ctx, in, opts...) +} + +// Get implements mysql.DatabaseServiceClient +func (c *DatabaseServiceClient) Get(ctx context.Context, in *mysql.GetDatabaseRequest, opts ...grpc.CallOption) (*mysql.Database, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewDatabaseServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements mysql.DatabaseServiceClient +func (c *DatabaseServiceClient) List(ctx context.Context, in *mysql.ListDatabasesRequest, opts ...grpc.CallOption) (*mysql.ListDatabasesResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewDatabaseServiceClient(conn).List(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/mysql_group.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/mysql_group.go new file mode 100644 index 000000000..6bca68e1e --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/mysql_group.go @@ -0,0 +1,44 @@ +// Code generated by sdkgen. DO NOT EDIT. + +package mysql + +import ( + "context" + + "google.golang.org/grpc" +) + +// MySQL provides access to "mysql" component of Yandex.Cloud +type MySQL struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +// NewMySQL creates instance of MySQL +func NewMySQL(g func(ctx context.Context) (*grpc.ClientConn, error)) *MySQL { + return &MySQL{g} +} + +// Backup gets BackupService client +func (m *MySQL) Backup() *BackupServiceClient { + return &BackupServiceClient{getConn: m.getConn} +} + +// Cluster gets ClusterService client +func (m *MySQL) Cluster() *ClusterServiceClient { + return &ClusterServiceClient{getConn: m.getConn} +} + +// Database gets DatabaseService client +func (m *MySQL) Database() *DatabaseServiceClient { + return &DatabaseServiceClient{getConn: m.getConn} +} + +// ResourcePreset gets ResourcePresetService client +func (m *MySQL) ResourcePreset() *ResourcePresetServiceClient { + return &ResourcePresetServiceClient{getConn: m.getConn} +} + +// User gets UserService client +func (m *MySQL) User() *UserServiceClient { + return &UserServiceClient{getConn: m.getConn} +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/resourcepreset.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/resourcepreset.go new file mode 100644 index 000000000..4382700a0 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/resourcepreset.go @@ -0,0 +1,40 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package mysql + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" +) + +//revive:disable + +// ResourcePresetServiceClient is a mysql.ResourcePresetServiceClient with +// lazy GRPC connection initialization. +type ResourcePresetServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ mysql.ResourcePresetServiceClient = &ResourcePresetServiceClient{} + +// Get implements mysql.ResourcePresetServiceClient +func (c *ResourcePresetServiceClient) Get(ctx context.Context, in *mysql.GetResourcePresetRequest, opts ...grpc.CallOption) (*mysql.ResourcePreset, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewResourcePresetServiceClient(conn).Get(ctx, in, opts...) +} + +// List implements mysql.ResourcePresetServiceClient +func (c *ResourcePresetServiceClient) List(ctx context.Context, in *mysql.ListResourcePresetsRequest, opts ...grpc.CallOption) (*mysql.ListResourcePresetsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewResourcePresetServiceClient(conn).List(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/user.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/user.go new file mode 100644 index 000000000..5cb67db00 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/mysql/user.go @@ -0,0 +1,86 @@ +// Code generated by sdkgen. DO NOT EDIT. + +//nolint +package mysql + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" +) + +//revive:disable + +// UserServiceClient is a mysql.UserServiceClient with +// lazy GRPC connection initialization. +type UserServiceClient struct { + getConn func(ctx context.Context) (*grpc.ClientConn, error) +} + +var _ mysql.UserServiceClient = &UserServiceClient{} + +// Create implements mysql.UserServiceClient +func (c *UserServiceClient) Create(ctx context.Context, in *mysql.CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).Create(ctx, in, opts...) +} + +// Delete implements mysql.UserServiceClient +func (c *UserServiceClient) Delete(ctx context.Context, in *mysql.DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).Delete(ctx, in, opts...) +} + +// Get implements mysql.UserServiceClient +func (c *UserServiceClient) Get(ctx context.Context, in *mysql.GetUserRequest, opts ...grpc.CallOption) (*mysql.User, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).Get(ctx, in, opts...) +} + +// GrantPermission implements mysql.UserServiceClient +func (c *UserServiceClient) GrantPermission(ctx context.Context, in *mysql.GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).GrantPermission(ctx, in, opts...) +} + +// List implements mysql.UserServiceClient +func (c *UserServiceClient) List(ctx context.Context, in *mysql.ListUsersRequest, opts ...grpc.CallOption) (*mysql.ListUsersResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).List(ctx, in, opts...) +} + +// RevokePermission implements mysql.UserServiceClient +func (c *UserServiceClient) RevokePermission(ctx context.Context, in *mysql.RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).RevokePermission(ctx, in, opts...) +} + +// Update implements mysql.UserServiceClient +func (c *UserServiceClient) Update(ctx context.Context, in *mysql.UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return mysql.NewUserServiceClient(conn).Update(ctx, in, opts...) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/redis/cluster.go b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/redis/cluster.go index 82f6c0134..8eb043b24 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/redis/cluster.go +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/mdb/redis/cluster.go @@ -31,6 +31,15 @@ func (c *ClusterServiceClient) AddHosts(ctx context.Context, in *redis.AddCluste return redis.NewClusterServiceClient(conn).AddHosts(ctx, in, opts...) } +// AddShard implements redis.ClusterServiceClient +func (c *ClusterServiceClient) AddShard(ctx context.Context, in *redis.AddClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).AddShard(ctx, in, opts...) +} + // Backup implements redis.ClusterServiceClient func (c *ClusterServiceClient) Backup(ctx context.Context, in *redis.BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) @@ -67,6 +76,15 @@ func (c *ClusterServiceClient) DeleteHosts(ctx context.Context, in *redis.Delete return redis.NewClusterServiceClient(conn).DeleteHosts(ctx, in, opts...) } +// DeleteShard implements redis.ClusterServiceClient +func (c *ClusterServiceClient) DeleteShard(ctx context.Context, in *redis.DeleteClusterShardRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).DeleteShard(ctx, in, opts...) +} + // Get implements redis.ClusterServiceClient func (c *ClusterServiceClient) Get(ctx context.Context, in *redis.GetClusterRequest, opts ...grpc.CallOption) (*redis.Cluster, error) { conn, err := c.getConn(ctx) @@ -76,6 +94,15 @@ func (c *ClusterServiceClient) Get(ctx context.Context, in *redis.GetClusterRequ return redis.NewClusterServiceClient(conn).Get(ctx, in, opts...) } +// GetShard implements redis.ClusterServiceClient +func (c *ClusterServiceClient) GetShard(ctx context.Context, in *redis.GetClusterShardRequest, opts ...grpc.CallOption) (*redis.Shard, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).GetShard(ctx, in, opts...) +} + // List implements redis.ClusterServiceClient func (c *ClusterServiceClient) List(ctx context.Context, in *redis.ListClustersRequest, opts ...grpc.CallOption) (*redis.ListClustersResponse, error) { conn, err := c.getConn(ctx) @@ -121,6 +148,15 @@ func (c *ClusterServiceClient) ListOperations(ctx context.Context, in *redis.Lis return redis.NewClusterServiceClient(conn).ListOperations(ctx, in, opts...) } +// ListShards implements redis.ClusterServiceClient +func (c *ClusterServiceClient) ListShards(ctx context.Context, in *redis.ListClusterShardsRequest, opts ...grpc.CallOption) (*redis.ListClusterShardsResponse, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).ListShards(ctx, in, opts...) +} + // Move implements redis.ClusterServiceClient func (c *ClusterServiceClient) Move(ctx context.Context, in *redis.MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) @@ -130,6 +166,15 @@ func (c *ClusterServiceClient) Move(ctx context.Context, in *redis.MoveClusterRe return redis.NewClusterServiceClient(conn).Move(ctx, in, opts...) } +// Rebalance implements redis.ClusterServiceClient +func (c *ClusterServiceClient) Rebalance(ctx context.Context, in *redis.RebalanceClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).Rebalance(ctx, in, opts...) +} + // Restore implements redis.ClusterServiceClient func (c *ClusterServiceClient) Restore(ctx context.Context, in *redis.RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) @@ -148,6 +193,15 @@ func (c *ClusterServiceClient) Start(ctx context.Context, in *redis.StartCluster return redis.NewClusterServiceClient(conn).Start(ctx, in, opts...) } +// StartFailover implements redis.ClusterServiceClient +func (c *ClusterServiceClient) StartFailover(ctx context.Context, in *redis.StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return redis.NewClusterServiceClient(conn).StartFailover(ctx, in, opts...) +} + // Stop implements redis.ClusterServiceClient func (c *ClusterServiceClient) Stop(ctx context.Context, in *redis.StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) diff --git a/vendor/github.com/yandex-cloud/go-sdk/gen/resourcemanager/cloud.go b/vendor/github.com/yandex-cloud/go-sdk/gen/resourcemanager/cloud.go index 2be6863e9..cf7fea07e 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/gen/resourcemanager/cloud.go +++ b/vendor/github.com/yandex-cloud/go-sdk/gen/resourcemanager/cloud.go @@ -68,6 +68,15 @@ func (c *CloudServiceClient) SetAccessBindings(ctx context.Context, in *access.S return resourcemanager.NewCloudServiceClient(conn).SetAccessBindings(ctx, in, opts...) } +// Update implements resourcemanager.CloudServiceClient +func (c *CloudServiceClient) Update(ctx context.Context, in *resourcemanager.UpdateCloudRequest, opts ...grpc.CallOption) (*operation.Operation, error) { + conn, err := c.getConn(ctx) + if err != nil { + return nil, err + } + return resourcemanager.NewCloudServiceClient(conn).Update(ctx, in, opts...) +} + // UpdateAccessBindings implements resourcemanager.CloudServiceClient func (c *CloudServiceClient) UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) { conn, err := c.getConn(ctx) diff --git a/vendor/github.com/yandex-cloud/go-sdk/iamkey/generate_proto.sh b/vendor/github.com/yandex-cloud/go-sdk/iamkey/generate_proto.sh index b78c9081d..ee0af2fa8 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/iamkey/generate_proto.sh +++ b/vendor/github.com/yandex-cloud/go-sdk/iamkey/generate_proto.sh @@ -2,7 +2,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" protoc \ - --proto_path ../../vendor/bb.yandex-team.ru/cloud/public-api/ \ + --proto_path ../../public-api/ \ --proto_path . \ --go_out=Myandex/cloud/iam/v1/key.proto=bb.yandex-team.ru/cloud/cloud-go/genproto/publicapi/yandex/cloud/iam/v1:$GOPATH/src *.proto diff --git a/vendor/github.com/yandex-cloud/go-sdk/instance_group.go b/vendor/github.com/yandex-cloud/go-sdk/instance_group.go new file mode 100644 index 000000000..733e043d1 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/instance_group.go @@ -0,0 +1,10 @@ +package ycsdk + +import "github.com/yandex-cloud/go-sdk/gen/compute/instancegroup" + +const InstancegroupServiceID Endpoint = "compute" + +// InstanceGroup returns InstanceGroup object that is used to operate on Yandex Compute InstanceGroup +func (sdk *SDK) InstanceGroup() *instancegroup.InstanceGroup { + return instancegroup.NewInstanceGroup(sdk.getConn(InstancegroupServiceID)) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/instance_metadata.go b/vendor/github.com/yandex-cloud/go-sdk/instance_metadata.go new file mode 100644 index 000000000..2c1238539 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/instance_metadata.go @@ -0,0 +1,11 @@ +// Copyright (c) 2019 Yandex LLC. All rights reserved. +// Author: Vladimir Skipor + +package ycsdk + +// InstanceMetadata is address at the metadata server is accessible from inside the virtual machine. +// See doc for details: https://cloud.yandex.com/docs/compute/operations/vm-info/get-info#inside-instance +const InstanceMetadataAddr = "169.254.169.254" + +// TODO(skipor): SDK methods for getting information from inside a VM. +// https://cloud.yandex.com/docs/compute/operations/vm-info/get-info#inside-instance diff --git a/vendor/github.com/yandex-cloud/go-sdk/iot.go b/vendor/github.com/yandex-cloud/go-sdk/iot.go new file mode 100644 index 000000000..19f7aa57e --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/iot.go @@ -0,0 +1,24 @@ +// Copyright (c) 2019 Yandex LLC. All rights reserved. +// Author: Andrey Khaliullin + +package ycsdk + +import ( + "github.com/yandex-cloud/go-sdk/gen/iot/devices" +) + +const ( + IoTDevicesServiceID Endpoint = "iot-devices" +) + +func (sdk *SDK) IoT() *IoT { + return &IoT{sdk: sdk} +} + +type IoT struct { + sdk *SDK +} + +func (m *IoT) Devices() *devices.Devices { + return devices.NewDevices(m.sdk.getConn(IoTDevicesServiceID)) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/mdb.go b/vendor/github.com/yandex-cloud/go-sdk/mdb.go index 2706c45a6..404417db1 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/mdb.go +++ b/vendor/github.com/yandex-cloud/go-sdk/mdb.go @@ -6,6 +6,7 @@ package ycsdk import ( "github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse" "github.com/yandex-cloud/go-sdk/gen/mdb/mongodb" + "github.com/yandex-cloud/go-sdk/gen/mdb/mysql" "github.com/yandex-cloud/go-sdk/gen/mdb/postgresql" "github.com/yandex-cloud/go-sdk/gen/mdb/redis" ) @@ -15,6 +16,7 @@ const ( MDBClickhouseServiceID Endpoint = "managed-clickhouse" MDBPostgreSQLServiceID Endpoint = "managed-postgresql" MDBRedisServiceID Endpoint = "managed-redis" + MDBMySQLServiceID Endpoint = "managed-mysql" ) type MDB struct { @@ -36,3 +38,7 @@ func (m *MDB) Clickhouse() *clickhouse.Clickhouse { func (m *MDB) Redis() *redis.Redis { return redis.NewRedis(m.sdk.getConn(MDBRedisServiceID)) } + +func (m *MDB) MySQL() *mysql.MySQL { + return mysql.NewMySQL(m.sdk.getConn(MDBMySQLServiceID)) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/pkg/singleflight/singleflight.go b/vendor/github.com/yandex-cloud/go-sdk/pkg/singleflight/singleflight.go index ee125856e..448cec9cf 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/pkg/singleflight/singleflight.go +++ b/vendor/github.com/yandex-cloud/go-sdk/pkg/singleflight/singleflight.go @@ -72,30 +72,35 @@ func (g *Group) DoAsync(key interface{}, fn func() interface{}) { // Call represents single deduplicated function call. type Call struct { - wg sync.WaitGroup - mu sync.Mutex - calling bool - val interface{} + mu sync.Mutex + callState *callState +} + +type callState struct { + wg sync.WaitGroup + val interface{} } func (c *Call) Do(fn func() interface{}) interface{} { c.mu.Lock() - if c.calling { + if c.callState != nil { + callState := c.callState c.mu.Unlock() - c.wg.Wait() - return c.val + callState.wg.Wait() + return callState.val } - c.calling = true - c.wg.Add(1) + c.callState = &callState{} + c.callState.wg.Add(1) c.mu.Unlock() - c.val = fn() + res := fn() c.mu.Lock() - c.calling = false + c.callState.val = res + c.callState.wg.Done() + c.callState = nil c.mu.Unlock() - c.wg.Done() - return c.val + return res } diff --git a/vendor/github.com/yandex-cloud/go-sdk/rpc_credentials.go b/vendor/github.com/yandex-cloud/go-sdk/rpc_credentials.go index 8c2fbcfae..136634262 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/rpc_credentials.go +++ b/vendor/github.com/yandex-cloud/go-sdk/rpc_credentials.go @@ -9,46 +9,45 @@ import ( "sync" "time" - "google.golang.org/grpc" + "github.com/golang/protobuf/ptypes" "google.golang.org/grpc/credentials" + "google.golang.org/grpc/grpclog" "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" "github.com/yandex-cloud/go-sdk/pkg/sdkerrors" ) type rpcCredentials struct { - creds ExchangeableCredentials plaintext bool - // getConn set in Init. - getConn lazyConn + createToken createIAMTokenFunc // Injected on Init // now may be replaced in tests now func() time.Time // mutex guards conn and currentState, and excludes multiple simultaneous token updates mutex sync.RWMutex - conn *grpc.ClientConn // initialized lazily from getConn currentState rpcCredentialsState } var _ credentials.PerRPCCredentials = &rpcCredentials{} type rpcCredentialsState struct { - token string - refreshAfter time.Time - version int64 + token string + expiresAt time.Time + version int64 } -func newRPCCredentials(creds ExchangeableCredentials, plaintext bool) *rpcCredentials { +func newRPCCredentials(plaintext bool) *rpcCredentials { return &rpcCredentials{ - creds: creds, plaintext: plaintext, now: time.Now, } } -func (c *rpcCredentials) Init(lazyConn lazyConn) { - c.getConn = lazyConn +type createIAMTokenFunc func(ctx context.Context) (*iam.CreateIamTokenResponse, error) + +func (c *rpcCredentials) Init(createToken createIAMTokenFunc) { + c.createToken = createToken } func (c *rpcCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) { @@ -66,8 +65,8 @@ func (c *rpcCredentials) GetRequestMetadata(ctx context.Context, uri ...string) c.mutex.RUnlock() token := state.token - outdated := state.refreshAfter.Before(c.now()) - if outdated { + expired := c.now().After(state.expiresAt) + if expired { token, err = c.updateToken(ctx, state) if err != nil { return nil, err @@ -92,30 +91,20 @@ func (c *rpcCredentials) updateToken(ctx context.Context, currentState rpcCreden return c.currentState.token, nil } - if c.conn == nil { - conn, err := c.getConn(ctx) - if err != nil { - return "", err - } - c.conn = conn - } - tokenClient := iam.NewIamTokenServiceClient(c.conn) - - tokenReq, err := c.creds.IAMTokenRequest() + resp, err := c.createToken(ctx) if err != nil { - return "", sdkerrors.WithMessage(err, "failed to create IAM token request from credentials") + return "", sdkerrors.WithMessage(err, "iam token create failed") } - - resp, err := tokenClient.Create(ctx, tokenReq) - if err != nil { - return "", err + expiresAt, expiresAtErr := ptypes.Timestamp(resp.ExpiresAt) + if expiresAtErr != nil { + grpclog.Errorf("invalid IAM Token expires_at: %s", expiresAtErr) + // Fallback to short term caching. + expiresAt = time.Now().Add(time.Minute) } - c.currentState = rpcCredentialsState{ - token: resp.IamToken, - refreshAfter: c.now().Add(iamTokenExpiration), - version: currentState.version + 1, + token: resp.IamToken, + expiresAt: expiresAt, + version: currentState.version + 1, } - return c.currentState.token, nil } diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdk.go b/vendor/github.com/yandex-cloud/go-sdk/sdk.go index b0bef9270..256ae6ef6 100644 --- a/vendor/github.com/yandex-cloud/go-sdk/sdk.go +++ b/vendor/github.com/yandex-cloud/go-sdk/sdk.go @@ -8,7 +8,6 @@ import ( "crypto/tls" "errors" "fmt" - "net" "sort" "sync" "time" @@ -17,6 +16,7 @@ import ( "google.golang.org/grpc/credentials" "github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint" + iampb "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" "github.com/yandex-cloud/go-genproto/yandex/cloud/operation" "github.com/yandex-cloud/go-sdk/dial" apiendpoint "github.com/yandex-cloud/go-sdk/gen/apiendpoint" @@ -92,22 +92,16 @@ func Build(ctx context.Context, conf Config, customOpts ...grpc.DialOption) (*SD conf.DialContextTimeout = DefaultTimeout } - creds, ok := conf.Credentials.(ExchangeableCredentials) - if !ok { - return nil, fmt.Errorf("unsupported credentials type %T", conf.Credentials) + switch creds := conf.Credentials.(type) { + case ExchangeableCredentials, NonExchangeableCredentials: + default: + return nil, fmt.Errorf("unsupported credentials type %T", creds) } var dialOpts []grpc.DialOption - dialOpts = append(dialOpts, grpc.WithDialer( - func(target string, timeout time.Duration) (conn net.Conn, e error) { - // Remove extra wrapper when grpc.withContextDialer become exported in https://github.com/grpc/grpc-go/issues/1786 - ctx, cancel := context.WithTimeout(context.Background(), timeout) - defer cancel() - dialer := dial.NewProxyDialer(dial.NewDialer()) - return dialer(ctx, target) - })) + dialOpts = append(dialOpts, grpc.WithContextDialer(dial.NewProxyDialer(dial.NewDialer()))) - rpcCreds := newRPCCredentials(creds, conf.Plaintext) + rpcCreds := newRPCCredentials(conf.Plaintext) dialOpts = append(dialOpts, grpc.WithPerRPCCredentials(rpcCreds)) if conf.DialContextTimeout > 0 { dialOpts = append(dialOpts, grpc.WithBlock(), grpc.WithTimeout(conf.DialContextTimeout)) // nolint @@ -130,7 +124,7 @@ func Build(ctx context.Context, conf Config, customOpts ...grpc.DialOption) (*SD cc: cc, conf: conf, } - rpcCreds.Init(sdk.getConn(IAMServiceID)) + rpcCreds.Init(sdk.CreateIAMToken) return sdk, nil } @@ -198,8 +192,6 @@ func (sdk *SDK) Resolve(ctx context.Context, r ...Resolver) error { return sdkerrors.CombineGoroutines(args...) } -type lazyConn func(ctx context.Context) (*grpc.ClientConn, error) - func (sdk *SDK) getConn(serviceID Endpoint) func(ctx context.Context) (*grpc.ClientConn, error) { return func(ctx context.Context) (*grpc.ClientConn, error) { if !sdk.initDone() { @@ -276,3 +268,19 @@ func (sdk *SDK) initConns(ctx context.Context) error { sdk.endpoints.mu.Unlock() return nil } + +func (sdk *SDK) CreateIAMToken(ctx context.Context) (*iampb.CreateIamTokenResponse, error) { + creds := sdk.conf.Credentials + switch creds := creds.(type) { + case ExchangeableCredentials: + req, err := creds.IAMTokenRequest() + if err != nil { + return nil, sdkerrors.WithMessage(err, "IAM token request build failed") + } + return sdk.IAM().IamToken().Create(ctx, req) + case NonExchangeableCredentials: + return creds.IAMToken(ctx) + default: + return nil, fmt.Errorf("credentials type %T is not supported yet", creds) + } +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/base_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/base_resolver.go new file mode 100644 index 000000000..d1348b835 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/base_resolver.go @@ -0,0 +1,204 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "fmt" + "reflect" + + "github.com/yandex-cloud/go-sdk/pkg/sdkerrors" +) + +const DefaultResolverPageSize = 100 + +func CreateResolverFilter(nameField string, value string) string { + // TODO(novikoff): should we add escaping or value validation? + return fmt.Sprintf(`%s = "%s"`, nameField, value) +} + +type resolveOptions struct { + out *string + folderID string + cloudID string + clusterID string +} + +type ResolveOption func(*resolveOptions) + +func Out(out *string) ResolveOption { + return func(o *resolveOptions) { + o.out = out + } +} + +// FolderID specifies folder id for resolvers that need it (most of the resolvers). +func FolderID(folderID string) ResolveOption { + return func(o *resolveOptions) { + o.folderID = folderID + } +} + +// CloudID specifies cloud id for resolvers that need it, e.g. FolderResolver +func CloudID(cloudID string) ResolveOption { + return func(o *resolveOptions) { + o.cloudID = cloudID + } +} + +// ClusterID specifies cluster id for resolvers that need it, e.g. DataprocSubclusterResolver +func ClusterID(clusterID string) ResolveOption { + return func(o *resolveOptions) { + o.clusterID = clusterID + } +} + +func combineOpts(opts ...ResolveOption) *resolveOptions { + o := &resolveOptions{} + for _, opt := range opts { + opt(o) + } + return o +} + +type BaseResolver struct { + Name string + id string + err error + opts *resolveOptions +} + +func NewBaseResolver(name string, opts ...ResolveOption) BaseResolver { + return BaseResolver{ + Name: name, + opts: combineOpts(opts...), + } +} + +type BaseNameResolver struct { + BaseResolver + + resolvingObjectType string +} + +func NewBaseNameResolver(name string, resolvingObjectType string, opts ...ResolveOption) BaseNameResolver { + return BaseNameResolver{ + BaseResolver: NewBaseResolver(name, opts...), + resolvingObjectType: resolvingObjectType, + } +} + +func (r *BaseResolver) ID() string { + return r.id +} +func (r *BaseResolver) Err() error { + return r.err +} + +func (r *BaseResolver) SetErr(err error) error { + if r.err != nil { + panic(fmt.Sprintf("Trying to change error. Old: %v; New: %v", r.err, err)) + } + r.err = err + return r.err +} + +func (r *BaseResolver) SetID(id string) { + r.id = id + r.writeOut() +} + +func (r *BaseResolver) Set(entity Entity, err error) error { + if err != nil { + return r.SetErr(err) + } + r.SetID(entity.GetId()) + return nil +} + +type Entity interface { + GetId() string +} + +func (r *BaseResolver) FolderID() string { + return r.opts.folderID +} + +func (r *BaseResolver) CloudID() string { + return r.opts.cloudID +} + +func (r *BaseResolver) ClusterID() string { + return r.opts.clusterID +} + +func (r *BaseResolver) writeOut() { + if r.opts.out != nil { + *r.opts.out = r.id + } +} + +func (r *BaseNameResolver) findName(slice interface{}, err error) error { + return r.SetErr(r.findNameImpl(slice, err)) +} + +func (r *BaseNameResolver) ensureFolderID() error { + if r.FolderID() == "" { + err := &ErrNotFound{error: fmt.Sprintf("can't resolve %v without folder id specified", r.resolvingObjectType)} + return r.SetErr(err) + } + + return nil +} + +func (r *BaseNameResolver) ensureCloudID() error { + if r.CloudID() == "" { + err := &ErrNotFound{error: fmt.Sprintf("can't resolve %v without cloud id specified", r.resolvingObjectType)} + return r.SetErr(err) + } + + return nil +} + +func NewErrNotFound(err string) error { + return &ErrNotFound{error: err} +} + +type ErrNotFound struct { + error string +} + +func (e *ErrNotFound) Error() string { + return e.error +} + +func errNotFound(caption, name string) error { + return &ErrNotFound{error: fmt.Sprintf("%v with name \"%v\" not found", caption, name)} +} + +func (r *BaseNameResolver) findNameImpl(slice interface{}, err error) error { + if err != nil { + return sdkerrors.WithMessagef(err, "failed to find %v with name \"%v\"", r.resolvingObjectType, r.Name) + } + rv := reflect.ValueOf(slice) + var found nameAndID + for i := 0; i < rv.Len(); i++ { + v := rv.Index(i).Interface().(nameAndID) + if v.GetName() == r.Name { + if found != nil { + return fmt.Errorf("multiple %v items with name \"%v\" found", r.resolvingObjectType, r.Name) + } + found = v + } + } + if found == nil { + return errNotFound(r.resolvingObjectType, r.Name) + } + r.SetID(found.GetId()) + return nil +} + +type nameAndID interface { + GetId() string + GetName() string +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/cloud_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/cloud_resolver.go new file mode 100644 index 000000000..4ea0838b1 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/cloud_resolver.go @@ -0,0 +1,31 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Maxim Kolganov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type cloudResolver struct { + BaseNameResolver +} + +func CloudResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &cloudResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cloud", opts...), + } +} + +func (r *cloudResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + resp, err := sdk.ResourceManager().Cloud().List(ctx, &resourcemanager.ListCloudsRequest{ + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetClouds(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/container_registry_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/container_registry_resolver.go new file mode 100644 index 000000000..00b190b45 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/container_registry_resolver.go @@ -0,0 +1,36 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type registryResolver struct { + BaseNameResolver +} + +func RegistryResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return ®istryResolver{ + BaseNameResolver: NewBaseNameResolver(name, "registry", opts...), + } +} + +func (r *registryResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.ContainerRegistry().Registry().List(ctx, &containerregistry.ListRegistriesRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetRegistries(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/disk_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/disk_resolver.go new file mode 100644 index 000000000..f2cfa170a --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/disk_resolver.go @@ -0,0 +1,34 @@ +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type diskResolver struct { + BaseNameResolver +} + +func DiskResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &diskResolver{ + BaseNameResolver: NewBaseNameResolver(name, "disk", opts...), + } +} + +func (r *diskResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.Compute().Disk().List(ctx, &compute.ListDisksRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetDisks(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/folder_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/folder_resolver.go new file mode 100644 index 000000000..6961b2750 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/folder_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type folderResolver struct { + BaseNameResolver +} + +func FolderResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &folderResolver{ + BaseNameResolver: NewBaseNameResolver(name, "folder", opts...), + } +} + +func (r *folderResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureCloudID() + if err != nil { + return err + } + + resp, err := sdk.ResourceManager().Folder().List(ctx, &resourcemanager.ListFoldersRequest{ + CloudId: r.CloudID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetFolders(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/function_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/function_resolver.go new file mode 100644 index 000000000..7e3308b59 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/function_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + functions "github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type functionResolver struct { + BaseNameResolver +} + +func FunctionResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &functionResolver{ + BaseNameResolver: NewBaseNameResolver(name, "function", opts...), + } +} + +func (r *functionResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.Functions().Function().List(ctx, &functions.ListFunctionsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetFunctions(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/image_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/image_resolver.go new file mode 100644 index 000000000..56c4aa04a --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/image_resolver.go @@ -0,0 +1,64 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" + ycsdk "github.com/yandex-cloud/go-sdk" + "github.com/yandex-cloud/go-sdk/pkg/sdkerrors" +) + +type imageResolver struct { + BaseNameResolver +} + +func ImageResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &imageResolver{ + BaseNameResolver: NewBaseNameResolver(name, "image", opts...), + } +} + +func (r *imageResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.Compute().Image().List(ctx, &compute.ListImagesRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetImages(), err) +} + +type imageByFamilyResolver struct { + BaseNameResolver +} + +func ImageByFamilyResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &imageByFamilyResolver{ + BaseNameResolver: NewBaseNameResolver(name, "image from family", opts...), + } +} + +func (r *imageByFamilyResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + img, err := sdk.Compute().Image().GetLatestByFamily(ctx, &compute.GetImageLatestByFamilyRequest{ + FolderId: r.FolderID(), + Family: r.Name, + }) + if err != nil { + err = sdkerrors.WithMessagef(err, "failed to find image with family \"%v\"", r.Name) + } + return r.Set(img, err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_group_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_group_resolver.go new file mode 100644 index 000000000..61f94a551 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_group_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type instanceGroupResolver struct { + BaseNameResolver +} + +func InstanceGroupResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &instanceGroupResolver{ + BaseNameResolver: NewBaseNameResolver(name, "instance group", opts...), + } +} + +func (r *instanceGroupResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.InstanceGroup().InstanceGroup().List(ctx, &instancegroup.ListInstanceGroupsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetInstanceGroups(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_resolver.go new file mode 100644 index 000000000..e7465bdf5 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/instance_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + compute "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type instanceResolver struct { + BaseNameResolver +} + +func InstanceResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &instanceResolver{ + BaseNameResolver: NewBaseNameResolver(name, "instance", opts...), + } +} + +func (r *instanceResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.Compute().Instance().List(ctx, &compute.ListInstancesRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetInstances(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/load_balancer_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/load_balancer_resolver.go new file mode 100644 index 000000000..b5b5fe1c0 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/load_balancer_resolver.go @@ -0,0 +1,61 @@ +// Copyright (c) 2019 Yandex LLC. All rights reserved. +// Author: Vasiliy Briginets <0x40@yandex-team.ru> + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + loadbalancer "github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type networkLoadBalancerResolver struct { + BaseNameResolver +} + +func NetworkLoadBalancerResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &networkLoadBalancerResolver{ + BaseNameResolver: NewBaseNameResolver(name, "network load balancer", opts...), + } +} + +func (r *networkLoadBalancerResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.LoadBalancer().NetworkLoadBalancer().List(ctx, &loadbalancer.ListNetworkLoadBalancersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetNetworkLoadBalancers(), err) +} + +type targetGroupResolver struct { + BaseNameResolver +} + +func TargetGroupResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &targetGroupResolver{ + BaseNameResolver: NewBaseNameResolver(name, "target group", opts...), + } +} + +func (r *targetGroupResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.LoadBalancer().TargetGroup().List(ctx, &loadbalancer.ListTargetGroupsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetTargetGroups(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/mdb_resolvers.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/mdb_resolvers.go new file mode 100644 index 000000000..e6e63fc10 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/mdb_resolvers.go @@ -0,0 +1,134 @@ +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1" + mysql "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1" + "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1" + redis "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +func PostgreSQLClusterResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &postgreSQLClusterResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cluster", opts...), + } +} + +type postgreSQLClusterResolver struct { + BaseNameResolver +} + +func (r *postgreSQLClusterResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.MDB().PostgreSQL().Cluster().List(ctx, &postgresql.ListClustersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }) + return r.findName(resp.GetClusters(), err) +} + +func MongoDBClusterResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &mongodbClusterResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cluster", opts...), + } +} + +type mongodbClusterResolver struct { + BaseNameResolver +} + +func (r *mongodbClusterResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.MDB().MongoDB().Cluster().List(ctx, &mongodb.ListClustersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }) + return r.findName(resp.GetClusters(), err) +} + +func ClickhouseClusterResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &clickhouseClusterResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cluster", opts...), + } +} + +type clickhouseClusterResolver struct { + BaseNameResolver +} + +func (r *clickhouseClusterResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.MDB().Clickhouse().Cluster().List(ctx, &clickhouse.ListClustersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }) + return r.findName(resp.GetClusters(), err) +} + +func RedisClusterResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &redisClusterResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cluster", opts...), + } +} + +type redisClusterResolver struct { + BaseNameResolver +} + +func (r *redisClusterResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.MDB().Redis().Cluster().List(ctx, &redis.ListClustersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }) + return r.findName(resp.GetClusters(), err) +} + +func MySQLClusterResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &mySQLClusterResolver{ + BaseNameResolver: NewBaseNameResolver(name, "cluster", opts...), + } +} + +type mySQLClusterResolver struct { + BaseNameResolver +} + +func (r *mySQLClusterResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.MDB().MySQL().Cluster().List(ctx, &mysql.ListClustersRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }) + return r.findName(resp.GetClusters(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/net_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/net_resolver.go new file mode 100644 index 000000000..28166ae79 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/net_resolver.go @@ -0,0 +1,61 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Maxim Kolganov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type networkResolver struct { + BaseNameResolver +} + +func NetworkResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &networkResolver{ + BaseNameResolver: NewBaseNameResolver(name, "network", opts...), + } +} + +func (r *networkResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.VPC().Network().List(ctx, &vpc.ListNetworksRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetNetworks(), err) +} + +type subnetResolver struct { + BaseNameResolver +} + +func SubnetResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &subnetResolver{ + BaseNameResolver: NewBaseNameResolver(name, "subnet", opts...), + } +} + +func (r *subnetResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.VPC().Subnet().List(ctx, &vpc.ListSubnetsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetSubnets(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/route_table_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/route_table_resolver.go new file mode 100644 index 000000000..96bc1c73a --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/route_table_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2019 Yandex LLC. All rights reserved. +// Author: Alexey Baranov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type routeTableResolver struct { + BaseNameResolver +} + +func RouteTableResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &routeTableResolver{ + BaseNameResolver: NewBaseNameResolver(name, "route_table", opts...), + } +} + +func (r *routeTableResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.VPC().RouteTable().List(ctx, &vpc.ListRouteTablesRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetRouteTables(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/service_account_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/service_account_resolver.go new file mode 100644 index 000000000..9bfc5a0b6 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/service_account_resolver.go @@ -0,0 +1,37 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type serviceAccountResolver struct { + BaseNameResolver +} + +func ServiceAccountResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &serviceAccountResolver{ + BaseNameResolver: NewBaseNameResolver(name, "service account", opts...), + } +} + +func (r *serviceAccountResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.IAM().ServiceAccount().List(ctx, &iam.ListServiceAccountsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetServiceAccounts(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/snapshot_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/snapshot_resolver.go new file mode 100644 index 000000000..15046be11 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/snapshot_resolver.go @@ -0,0 +1,34 @@ +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + compute "github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type snapshotResolver struct { + BaseNameResolver +} + +func SnapshotResolver(name string, opts ...ResolveOption) ycsdk.Resolver { + return &snapshotResolver{ + BaseNameResolver: NewBaseNameResolver(name, "snapshot", opts...), + } +} + +func (r *snapshotResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + err := r.ensureFolderID() + if err != nil { + return err + } + + resp, err := sdk.Compute().Snapshot().List(ctx, &compute.ListSnapshotsRequest{ + FolderId: r.FolderID(), + Filter: CreateResolverFilter("name", r.Name), + PageSize: DefaultResolverPageSize, + }, opts...) + return r.findName(resp.GetSnapshots(), err) +} diff --git a/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/user_account_resolver.go b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/user_account_resolver.go new file mode 100644 index 000000000..72235b7e4 --- /dev/null +++ b/vendor/github.com/yandex-cloud/go-sdk/sdkresolvers/user_account_resolver.go @@ -0,0 +1,29 @@ +// Copyright (c) 2018 Yandex LLC. All rights reserved. +// Author: Dmitry Novikov + +package sdkresolvers + +import ( + "context" + + "google.golang.org/grpc" + + "github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1" + ycsdk "github.com/yandex-cloud/go-sdk" +) + +type userAccountByLoginResolver struct { + BaseResolver +} + +func UserAccountByLoginResolver(login string, opts ...ResolveOption) ycsdk.Resolver { + return &userAccountByLoginResolver{ + BaseResolver: NewBaseResolver(login, opts...), + } +} + +func (r *userAccountByLoginResolver) Run(ctx context.Context, sdk *ycsdk.SDK, opts ...grpc.CallOption) error { + return r.Set(sdk.IAM().YandexPassportUserAccount().GetByLogin(ctx, &iam.GetUserAccountByLoginRequest{ + Login: r.Name, + }, opts...)) +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 74fb9701f..8c1360f8c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -475,38 +475,47 @@ github.com/vmware/govmomi/vim25/types github.com/vmware/govmomi/vim25/xml # github.com/xanzy/go-cloudstack v0.0.0-20190526095453-42f262b63ed0 github.com/xanzy/go-cloudstack/cloudstack -# github.com/yandex-cloud/go-genproto v0.0.0-20190401174212-1db0ef3dce9b +# github.com/yandex-cloud/go-genproto v0.0.0-20190802103534-6089d9ff8d82 github.com/yandex-cloud/go-genproto/yandex/api github.com/yandex-cloud/go-genproto/yandex/cloud/access github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1 +github.com/yandex-cloud/go-genproto/yandex/cloud/compute/v1/instancegroup github.com/yandex-cloud/go-genproto/yandex/cloud/containerregistry/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/endpoint github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1/awscompatibility +github.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1/config github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mongodb/v1/config +github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1 +github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1/config github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/redis/v1/config github.com/yandex-cloud/go-genproto/yandex/cloud/operation github.com/yandex-cloud/go-genproto/yandex/cloud/resourcemanager/v1 +github.com/yandex-cloud/go-genproto/yandex/cloud/serverless/functions/v1 github.com/yandex-cloud/go-genproto/yandex/cloud/validation github.com/yandex-cloud/go-genproto/yandex/cloud/vpc/v1 -# github.com/yandex-cloud/go-sdk v0.0.0-20190402114215-3fc1d6947035 +# github.com/yandex-cloud/go-sdk v0.0.0-20190802103531-4ab1dac90bf7 github.com/yandex-cloud/go-sdk github.com/yandex-cloud/go-sdk/dial github.com/yandex-cloud/go-sdk/gen/apiendpoint github.com/yandex-cloud/go-sdk/gen/compute +github.com/yandex-cloud/go-sdk/gen/compute/instancegroup github.com/yandex-cloud/go-sdk/gen/containerregistry +github.com/yandex-cloud/go-sdk/gen/functions github.com/yandex-cloud/go-sdk/gen/iam github.com/yandex-cloud/go-sdk/gen/iam/awscompatibility +github.com/yandex-cloud/go-sdk/gen/iot/devices github.com/yandex-cloud/go-sdk/gen/loadbalancer github.com/yandex-cloud/go-sdk/gen/mdb/clickhouse github.com/yandex-cloud/go-sdk/gen/mdb/mongodb +github.com/yandex-cloud/go-sdk/gen/mdb/mysql github.com/yandex-cloud/go-sdk/gen/mdb/postgresql github.com/yandex-cloud/go-sdk/gen/mdb/redis github.com/yandex-cloud/go-sdk/gen/operation @@ -518,6 +527,7 @@ github.com/yandex-cloud/go-sdk/pkg/grpcclient github.com/yandex-cloud/go-sdk/pkg/requestid github.com/yandex-cloud/go-sdk/pkg/sdkerrors github.com/yandex-cloud/go-sdk/pkg/singleflight +github.com/yandex-cloud/go-sdk/sdkresolvers # go.opencensus.io v0.22.0 go.opencensus.io go.opencensus.io/internal