diff --git a/api/managementpb/dbaas/json/client/psmdb_cluster/update_psmdb_cluster_responses.go b/api/managementpb/dbaas/json/client/psmdb_cluster/update_psmdb_cluster_responses.go index e7ca60e591..09f155af2a 100644 --- a/api/managementpb/dbaas/json/client/psmdb_cluster/update_psmdb_cluster_responses.go +++ b/api/managementpb/dbaas/json/client/psmdb_cluster/update_psmdb_cluster_responses.go @@ -255,7 +255,7 @@ func (o *UpdatePSMDBClusterDefaultBody) UnmarshalBinary(b []byte) error { return nil } -/*UpdatePSMDBClusterParamsBodyParams PSMDBClusterParams represents PSMDB cluster parameters that can be updated. +/*UpdatePSMDBClusterParamsBodyParams UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated. swagger:model UpdatePSMDBClusterParamsBodyParams */ type UpdatePSMDBClusterParamsBodyParams struct { @@ -318,14 +318,10 @@ func (o *UpdatePSMDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error { } /*UpdatePSMDBClusterParamsBodyParamsReplicaset ReplicaSet container parameters. -// TODO Do not use inner messages in all public APIs (for consistency). swagger:model UpdatePSMDBClusterParamsBodyParamsReplicaset */ type UpdatePSMDBClusterParamsBodyParamsReplicaset struct { - // Disk size in bytes. - DiskSize string `json:"disk_size,omitempty"` - // compute resources ComputeResources *UpdatePSMDBClusterParamsBodyParamsReplicasetComputeResources `json:"compute_resources,omitempty"` } diff --git a/api/managementpb/dbaas/json/client/xtra_db_cluster/update_xtra_db_cluster_responses.go b/api/managementpb/dbaas/json/client/xtra_db_cluster/update_xtra_db_cluster_responses.go index 0d19683c22..1aae7593df 100644 --- a/api/managementpb/dbaas/json/client/xtra_db_cluster/update_xtra_db_cluster_responses.go +++ b/api/managementpb/dbaas/json/client/xtra_db_cluster/update_xtra_db_cluster_responses.go @@ -255,7 +255,7 @@ func (o *UpdateXtraDBClusterDefaultBody) UnmarshalBinary(b []byte) error { return nil } -/*UpdateXtraDBClusterParamsBodyParams XtraDBClusterParams represents XtraDB cluster parameters that can be updated. +/*UpdateXtraDBClusterParamsBodyParams UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated. swagger:model UpdateXtraDBClusterParamsBodyParams */ type UpdateXtraDBClusterParamsBodyParams struct { @@ -343,14 +343,10 @@ func (o *UpdateXtraDBClusterParamsBodyParams) UnmarshalBinary(b []byte) error { } /*UpdateXtraDBClusterParamsBodyParamsProxysql ProxySQL container parameters. -// TODO Do not use inner messages in all public APIs (for consistency). swagger:model UpdateXtraDBClusterParamsBodyParamsProxysql */ type UpdateXtraDBClusterParamsBodyParamsProxysql struct { - // Disk size in bytes. - DiskSize string `json:"disk_size,omitempty"` - // compute resources ComputeResources *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources `json:"compute_resources,omitempty"` } @@ -441,14 +437,10 @@ func (o *UpdateXtraDBClusterParamsBodyParamsProxysqlComputeResources) UnmarshalB } /*UpdateXtraDBClusterParamsBodyParamsPxc PXC container parameters. -// TODO Do not use inner messages in all public APIs (for consistency). swagger:model UpdateXtraDBClusterParamsBodyParamsPxc */ type UpdateXtraDBClusterParamsBodyParamsPxc struct { - // Disk size in bytes. - DiskSize string `json:"disk_size,omitempty"` - // compute resources ComputeResources *UpdateXtraDBClusterParamsBodyParamsPxcComputeResources `json:"compute_resources,omitempty"` } diff --git a/api/managementpb/dbaas/json/dbaas.json b/api/managementpb/dbaas/json/dbaas.json index bb806584ab..f3c00c75cb 100644 --- a/api/managementpb/dbaas/json/dbaas.json +++ b/api/managementpb/dbaas/json/dbaas.json @@ -562,7 +562,7 @@ "x-order": 1 }, "params": { - "description": "PSMDBClusterParams represents PSMDB cluster parameters that can be updated.", + "description": "UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated.", "type": "object", "properties": { "cluster_size": { @@ -572,7 +572,7 @@ "x-order": 0 }, "replicaset": { - "description": "ReplicaSet container parameters.\nTODO Do not use inner messages in all public APIs (for consistency).", + "description": "ReplicaSet container parameters.", "type": "object", "properties": { "compute_resources": { @@ -593,12 +593,6 @@ } }, "x-order": 0 - }, - "disk_size": { - "description": "Disk size in bytes.", - "type": "string", - "format": "int64", - "x-order": 1 } }, "x-order": 1 @@ -1352,7 +1346,7 @@ "x-order": 1 }, "params": { - "description": "XtraDBClusterParams represents XtraDB cluster parameters that can be updated.", + "description": "UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated.", "type": "object", "properties": { "cluster_size": { @@ -1362,7 +1356,7 @@ "x-order": 0 }, "proxysql": { - "description": "ProxySQL container parameters.\nTODO Do not use inner messages in all public APIs (for consistency).", + "description": "ProxySQL container parameters.", "type": "object", "properties": { "compute_resources": { @@ -1383,18 +1377,12 @@ } }, "x-order": 0 - }, - "disk_size": { - "description": "Disk size in bytes.", - "type": "string", - "format": "int64", - "x-order": 1 } }, "x-order": 2 }, "pxc": { - "description": "PXC container parameters.\nTODO Do not use inner messages in all public APIs (for consistency).", + "description": "PXC container parameters.", "type": "object", "properties": { "compute_resources": { @@ -1415,12 +1403,6 @@ } }, "x-order": 0 - }, - "disk_size": { - "description": "Disk size in bytes.", - "type": "string", - "format": "int64", - "x-order": 1 } }, "x-order": 1 diff --git a/api/managementpb/dbaas/psmdb_cluster.pb.go b/api/managementpb/dbaas/psmdb_cluster.pb.go index 4a68984511..3540b22023 100644 --- a/api/managementpb/dbaas/psmdb_cluster.pb.go +++ b/api/managementpb/dbaas/psmdb_cluster.pb.go @@ -495,7 +495,7 @@ type UpdatePSMDBClusterRequest struct { // PSMDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. - Params *PSMDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` + Params *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` } func (x *UpdatePSMDBClusterRequest) Reset() { @@ -544,7 +544,7 @@ func (x *UpdatePSMDBClusterRequest) GetName() string { return "" } -func (x *UpdatePSMDBClusterRequest) GetParams() *PSMDBClusterParams { +func (x *UpdatePSMDBClusterRequest) GetParams() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams { if x != nil { return x.Params } @@ -1001,6 +1001,113 @@ func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetReplicaset() string { return "" } +// UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated. +type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Cluster size. + ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` + // ReplicaSet container parameters. + Replicaset *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet `protobuf:"bytes,2,opt,name=replicaset,proto3" json:"replicaset,omitempty"` +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Reset() { + *x = UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams{} + if protoimpl.UnsafeEnabled { + mi := &file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoMessage() {} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoReflect() protoreflect.Message { + mi := &file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams.ProtoReflect.Descriptor instead. +func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Descriptor() ([]byte, []int) { + return file_managementpb_dbaas_psmdb_cluster_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetClusterSize() int32 { + if x != nil { + return x.ClusterSize + } + return 0 +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetReplicaset() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet { + if x != nil { + return x.Replicaset + } + return nil +} + +// ReplicaSet container parameters. +type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Requested compute resources. + ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Reset() { + *x = UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet{} + if protoimpl.UnsafeEnabled { + mi := &file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoMessage() {} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoReflect() protoreflect.Message { + mi := &file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet.ProtoReflect.Descriptor instead. +func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Descriptor() ([]byte, []int) { + return file_managementpb_dbaas_psmdb_cluster_proto_rawDescGZIP(), []int{7, 0, 0} +} + +func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) GetComputeResources() *ComputeResources { + if x != nil { + return x.ComputeResources + } + return nil +} + var File_managementpb_dbaas_psmdb_cluster_proto protoreflect.FileDescriptor var file_managementpb_dbaas_psmdb_cluster_proto_rawDesc = []byte{ @@ -1110,114 +1217,134 @@ var file_managementpb_dbaas_psmdb_cluster_proto_rawDesc = []byte{ 0x6d, 0x73, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xba, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, + 0x22, 0xf4, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, - 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x64, 0x62, 0x61, - 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x53, 0x4d, 0x44, 0x42, + 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x64, 0x62, 0x61, + 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x06, 0xe2, - 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x1c, 0x0a, - 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, 0x19, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, - 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, - 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x78, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, - 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, - 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, - 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x1b, + 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x97, 0x02, + 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x29, 0x0a, 0x0c, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x10, 0x00, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x74, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x64, 0x62, 0x61, 0x61, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x65, 0x74, 0x1a, 0x5a, 0x0a, 0x0a, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x11, 0x63, 0x6f, 0x6d, + 0x70, 0x75, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, + 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1c, + 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0xb7, 0x01, 0x0a, 0x11, - 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, - 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, - 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x49, - 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, - 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, - 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, - 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, - 0x49, 0x4e, 0x47, 0x10, 0x04, 0x32, 0xc9, 0x07, 0x0a, 0x0c, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, - 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x64, - 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, - 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x4c, 0x69, 0x73, 0x74, - 0x3a, 0x01, 0x2a, 0x12, 0x93, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, - 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, - 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x73, 0x2f, 0x47, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, + 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0xb7, 0x01, 0x0a, 0x11, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x50, + 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, + 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1d, + 0x0a, 0x19, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x1e, 0x0a, + 0x1a, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x20, 0x0a, + 0x1c, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x32, + 0xc9, 0x07, 0x0a, 0x0c, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x2c, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x4c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x93, 0x01, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x12, 0x25, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x53, 0x4d, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, + 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x47, 0x65, 0x74, + 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x53, + 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, - 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, - 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x2f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, + 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, + 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, - 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x2f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, + 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, - 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, - 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x2f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, - 0x13, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, - 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3a, 0x01, - 0x2a, 0x42, 0x25, 0x5a, 0x23, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, 0x64, 0x62, 0x61, 0x61, 0x73, 0x3b, 0x64, 0x62, 0x61, 0x61, - 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x53, 0x4d, + 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, + 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, + 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, + 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, + 0x61, 0x61, 0x53, 0x2f, 0x50, 0x53, 0x4d, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x2f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x42, 0x25, 0x5a, 0x23, 0x61, + 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, + 0x64, 0x62, 0x61, 0x61, 0x73, 0x3b, 0x64, 0x62, 0x61, 0x61, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1233,58 +1360,62 @@ func file_managementpb_dbaas_psmdb_cluster_proto_rawDescGZIP() []byte { } var file_managementpb_dbaas_psmdb_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_managementpb_dbaas_psmdb_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_managementpb_dbaas_psmdb_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_managementpb_dbaas_psmdb_cluster_proto_goTypes = []interface{}{ - (PSMDBClusterState)(0), // 0: dbaas.v1beta1.PSMDBClusterState - (*PSMDBClusterParams)(nil), // 1: dbaas.v1beta1.PSMDBClusterParams - (*ListPSMDBClustersRequest)(nil), // 2: dbaas.v1beta1.ListPSMDBClustersRequest - (*ListPSMDBClustersResponse)(nil), // 3: dbaas.v1beta1.ListPSMDBClustersResponse - (*GetPSMDBClusterRequest)(nil), // 4: dbaas.v1beta1.GetPSMDBClusterRequest - (*GetPSMDBClusterResponse)(nil), // 5: dbaas.v1beta1.GetPSMDBClusterResponse - (*CreatePSMDBClusterRequest)(nil), // 6: dbaas.v1beta1.CreatePSMDBClusterRequest - (*CreatePSMDBClusterResponse)(nil), // 7: dbaas.v1beta1.CreatePSMDBClusterResponse - (*UpdatePSMDBClusterRequest)(nil), // 8: dbaas.v1beta1.UpdatePSMDBClusterRequest - (*UpdatePSMDBClusterResponse)(nil), // 9: dbaas.v1beta1.UpdatePSMDBClusterResponse - (*DeletePSMDBClusterRequest)(nil), // 10: dbaas.v1beta1.DeletePSMDBClusterRequest - (*DeletePSMDBClusterResponse)(nil), // 11: dbaas.v1beta1.DeletePSMDBClusterResponse - (*RestartPSMDBClusterRequest)(nil), // 12: dbaas.v1beta1.RestartPSMDBClusterRequest - (*RestartPSMDBClusterResponse)(nil), // 13: dbaas.v1beta1.RestartPSMDBClusterResponse - (*PSMDBClusterParams_ReplicaSet)(nil), // 14: dbaas.v1beta1.PSMDBClusterParams.ReplicaSet - (*ListPSMDBClustersResponse_Cluster)(nil), // 15: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster - (*GetPSMDBClusterResponse_PSMDBCredentials)(nil), // 16: dbaas.v1beta1.GetPSMDBClusterResponse.PSMDBCredentials - (*RunningOperation)(nil), // 17: dbaas.v1beta1.RunningOperation - (*ComputeResources)(nil), // 18: dbaas.v1beta1.ComputeResources + (PSMDBClusterState)(0), // 0: dbaas.v1beta1.PSMDBClusterState + (*PSMDBClusterParams)(nil), // 1: dbaas.v1beta1.PSMDBClusterParams + (*ListPSMDBClustersRequest)(nil), // 2: dbaas.v1beta1.ListPSMDBClustersRequest + (*ListPSMDBClustersResponse)(nil), // 3: dbaas.v1beta1.ListPSMDBClustersResponse + (*GetPSMDBClusterRequest)(nil), // 4: dbaas.v1beta1.GetPSMDBClusterRequest + (*GetPSMDBClusterResponse)(nil), // 5: dbaas.v1beta1.GetPSMDBClusterResponse + (*CreatePSMDBClusterRequest)(nil), // 6: dbaas.v1beta1.CreatePSMDBClusterRequest + (*CreatePSMDBClusterResponse)(nil), // 7: dbaas.v1beta1.CreatePSMDBClusterResponse + (*UpdatePSMDBClusterRequest)(nil), // 8: dbaas.v1beta1.UpdatePSMDBClusterRequest + (*UpdatePSMDBClusterResponse)(nil), // 9: dbaas.v1beta1.UpdatePSMDBClusterResponse + (*DeletePSMDBClusterRequest)(nil), // 10: dbaas.v1beta1.DeletePSMDBClusterRequest + (*DeletePSMDBClusterResponse)(nil), // 11: dbaas.v1beta1.DeletePSMDBClusterResponse + (*RestartPSMDBClusterRequest)(nil), // 12: dbaas.v1beta1.RestartPSMDBClusterRequest + (*RestartPSMDBClusterResponse)(nil), // 13: dbaas.v1beta1.RestartPSMDBClusterResponse + (*PSMDBClusterParams_ReplicaSet)(nil), // 14: dbaas.v1beta1.PSMDBClusterParams.ReplicaSet + (*ListPSMDBClustersResponse_Cluster)(nil), // 15: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster + (*GetPSMDBClusterResponse_PSMDBCredentials)(nil), // 16: dbaas.v1beta1.GetPSMDBClusterResponse.PSMDBCredentials + (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams)(nil), // 17: dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams + (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet)(nil), // 18: dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams.ReplicaSet + (*RunningOperation)(nil), // 19: dbaas.v1beta1.RunningOperation + (*ComputeResources)(nil), // 20: dbaas.v1beta1.ComputeResources } var file_managementpb_dbaas_psmdb_cluster_proto_depIdxs = []int32{ 14, // 0: dbaas.v1beta1.PSMDBClusterParams.replicaset:type_name -> dbaas.v1beta1.PSMDBClusterParams.ReplicaSet 15, // 1: dbaas.v1beta1.ListPSMDBClustersResponse.clusters:type_name -> dbaas.v1beta1.ListPSMDBClustersResponse.Cluster 0, // 2: dbaas.v1beta1.GetPSMDBClusterResponse.state:type_name -> dbaas.v1beta1.PSMDBClusterState - 17, // 3: dbaas.v1beta1.GetPSMDBClusterResponse.operation:type_name -> dbaas.v1beta1.RunningOperation + 19, // 3: dbaas.v1beta1.GetPSMDBClusterResponse.operation:type_name -> dbaas.v1beta1.RunningOperation 1, // 4: dbaas.v1beta1.GetPSMDBClusterResponse.params:type_name -> dbaas.v1beta1.PSMDBClusterParams 16, // 5: dbaas.v1beta1.GetPSMDBClusterResponse.connection_credentials:type_name -> dbaas.v1beta1.GetPSMDBClusterResponse.PSMDBCredentials 1, // 6: dbaas.v1beta1.CreatePSMDBClusterRequest.params:type_name -> dbaas.v1beta1.PSMDBClusterParams - 1, // 7: dbaas.v1beta1.UpdatePSMDBClusterRequest.params:type_name -> dbaas.v1beta1.PSMDBClusterParams - 18, // 8: dbaas.v1beta1.PSMDBClusterParams.ReplicaSet.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 17, // 7: dbaas.v1beta1.UpdatePSMDBClusterRequest.params:type_name -> dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams + 20, // 8: dbaas.v1beta1.PSMDBClusterParams.ReplicaSet.compute_resources:type_name -> dbaas.v1beta1.ComputeResources 0, // 9: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster.state:type_name -> dbaas.v1beta1.PSMDBClusterState - 17, // 10: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster.operation:type_name -> dbaas.v1beta1.RunningOperation + 19, // 10: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster.operation:type_name -> dbaas.v1beta1.RunningOperation 1, // 11: dbaas.v1beta1.ListPSMDBClustersResponse.Cluster.params:type_name -> dbaas.v1beta1.PSMDBClusterParams - 2, // 12: dbaas.v1beta1.PSMDBCluster.ListPSMDBClusters:input_type -> dbaas.v1beta1.ListPSMDBClustersRequest - 4, // 13: dbaas.v1beta1.PSMDBCluster.GetPSMDBCluster:input_type -> dbaas.v1beta1.GetPSMDBClusterRequest - 6, // 14: dbaas.v1beta1.PSMDBCluster.CreatePSMDBCluster:input_type -> dbaas.v1beta1.CreatePSMDBClusterRequest - 8, // 15: dbaas.v1beta1.PSMDBCluster.UpdatePSMDBCluster:input_type -> dbaas.v1beta1.UpdatePSMDBClusterRequest - 10, // 16: dbaas.v1beta1.PSMDBCluster.DeletePSMDBCluster:input_type -> dbaas.v1beta1.DeletePSMDBClusterRequest - 12, // 17: dbaas.v1beta1.PSMDBCluster.RestartPSMDBCluster:input_type -> dbaas.v1beta1.RestartPSMDBClusterRequest - 3, // 18: dbaas.v1beta1.PSMDBCluster.ListPSMDBClusters:output_type -> dbaas.v1beta1.ListPSMDBClustersResponse - 5, // 19: dbaas.v1beta1.PSMDBCluster.GetPSMDBCluster:output_type -> dbaas.v1beta1.GetPSMDBClusterResponse - 7, // 20: dbaas.v1beta1.PSMDBCluster.CreatePSMDBCluster:output_type -> dbaas.v1beta1.CreatePSMDBClusterResponse - 9, // 21: dbaas.v1beta1.PSMDBCluster.UpdatePSMDBCluster:output_type -> dbaas.v1beta1.UpdatePSMDBClusterResponse - 11, // 22: dbaas.v1beta1.PSMDBCluster.DeletePSMDBCluster:output_type -> dbaas.v1beta1.DeletePSMDBClusterResponse - 13, // 23: dbaas.v1beta1.PSMDBCluster.RestartPSMDBCluster:output_type -> dbaas.v1beta1.RestartPSMDBClusterResponse - 18, // [18:24] is the sub-list for method output_type - 12, // [12:18] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name + 18, // 12: dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams.replicaset:type_name -> dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams.ReplicaSet + 20, // 13: dbaas.v1beta1.UpdatePSMDBClusterRequest.UpdatePSMDBClusterParams.ReplicaSet.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 2, // 14: dbaas.v1beta1.PSMDBCluster.ListPSMDBClusters:input_type -> dbaas.v1beta1.ListPSMDBClustersRequest + 4, // 15: dbaas.v1beta1.PSMDBCluster.GetPSMDBCluster:input_type -> dbaas.v1beta1.GetPSMDBClusterRequest + 6, // 16: dbaas.v1beta1.PSMDBCluster.CreatePSMDBCluster:input_type -> dbaas.v1beta1.CreatePSMDBClusterRequest + 8, // 17: dbaas.v1beta1.PSMDBCluster.UpdatePSMDBCluster:input_type -> dbaas.v1beta1.UpdatePSMDBClusterRequest + 10, // 18: dbaas.v1beta1.PSMDBCluster.DeletePSMDBCluster:input_type -> dbaas.v1beta1.DeletePSMDBClusterRequest + 12, // 19: dbaas.v1beta1.PSMDBCluster.RestartPSMDBCluster:input_type -> dbaas.v1beta1.RestartPSMDBClusterRequest + 3, // 20: dbaas.v1beta1.PSMDBCluster.ListPSMDBClusters:output_type -> dbaas.v1beta1.ListPSMDBClustersResponse + 5, // 21: dbaas.v1beta1.PSMDBCluster.GetPSMDBCluster:output_type -> dbaas.v1beta1.GetPSMDBClusterResponse + 7, // 22: dbaas.v1beta1.PSMDBCluster.CreatePSMDBCluster:output_type -> dbaas.v1beta1.CreatePSMDBClusterResponse + 9, // 23: dbaas.v1beta1.PSMDBCluster.UpdatePSMDBCluster:output_type -> dbaas.v1beta1.UpdatePSMDBClusterResponse + 11, // 24: dbaas.v1beta1.PSMDBCluster.DeletePSMDBCluster:output_type -> dbaas.v1beta1.DeletePSMDBClusterResponse + 13, // 25: dbaas.v1beta1.PSMDBCluster.RestartPSMDBCluster:output_type -> dbaas.v1beta1.RestartPSMDBClusterResponse + 20, // [20:26] is the sub-list for method output_type + 14, // [14:20] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_managementpb_dbaas_psmdb_cluster_proto_init() } @@ -1486,6 +1617,30 @@ func file_managementpb_dbaas_psmdb_cluster_proto_init() { return nil } } + file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_managementpb_dbaas_psmdb_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1493,7 +1648,7 @@ func file_managementpb_dbaas_psmdb_cluster_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_managementpb_dbaas_psmdb_cluster_proto_rawDesc, NumEnums: 1, - NumMessages: 16, + NumMessages: 18, NumExtensions: 0, NumServices: 1, }, diff --git a/api/managementpb/dbaas/psmdb_cluster.proto b/api/managementpb/dbaas/psmdb_cluster.proto index c16bdd02a5..59725f6d2a 100644 --- a/api/managementpb/dbaas/psmdb_cluster.proto +++ b/api/managementpb/dbaas/psmdb_cluster.proto @@ -155,8 +155,28 @@ message UpdatePSMDBClusterRequest { string_not_empty: true } ]; + // UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated. + message UpdatePSMDBClusterParams { + // ReplicaSet container parameters. + message ReplicaSet { + // Requested compute resources. + ComputeResources compute_resources = 1; + } + // Cluster size. + int32 cluster_size = 1 [ + (validator.field) = { + int_gt: 0 + } + ]; + // ReplicaSet container parameters. + ReplicaSet replicaset = 2 [ + (validator.field) = { + msg_exists: true + } + ]; + } // Cluster parameters. - PSMDBClusterParams params = 3 [ + UpdatePSMDBClusterParams params = 3 [ (validator.field) = { msg_exists: true } diff --git a/api/managementpb/dbaas/psmdb_cluster.validator.pb.go b/api/managementpb/dbaas/psmdb_cluster.validator.pb.go index 50bbde6186..81bd5c1cc1 100644 --- a/api/managementpb/dbaas/psmdb_cluster.validator.pb.go +++ b/api/managementpb/dbaas/psmdb_cluster.validator.pb.go @@ -142,6 +142,28 @@ func (this *UpdatePSMDBClusterRequest) Validate() error { } return nil } +func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Validate() error { + if !(this.ClusterSize > 0) { + return github_com_mwitkow_go_proto_validators.FieldError("ClusterSize", fmt.Errorf(`value '%v' must be greater than '0'`, this.ClusterSize)) + } + if nil == this.Replicaset { + return github_com_mwitkow_go_proto_validators.FieldError("Replicaset", fmt.Errorf("message must exist")) + } + if this.Replicaset != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Replicaset); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Replicaset", err) + } + } + return nil +} +func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Validate() error { + if this.ComputeResources != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.ComputeResources); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("ComputeResources", err) + } + } + return nil +} func (this *UpdatePSMDBClusterResponse) Validate() error { return nil } diff --git a/api/managementpb/dbaas/xtradb_cluster.pb.go b/api/managementpb/dbaas/xtradb_cluster.pb.go index 4d9ef9da2e..7d3032bb17 100644 --- a/api/managementpb/dbaas/xtradb_cluster.pb.go +++ b/api/managementpb/dbaas/xtradb_cluster.pb.go @@ -637,7 +637,7 @@ type UpdateXtraDBClusterRequest struct { // XtraDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. - Params *XtraDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` + Params *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` } func (x *UpdateXtraDBClusterRequest) Reset() { @@ -686,7 +686,7 @@ func (x *UpdateXtraDBClusterRequest) GetName() string { return "" } -func (x *UpdateXtraDBClusterRequest) GetParams() *XtraDBClusterParams { +func (x *UpdateXtraDBClusterRequest) GetParams() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams { if x != nil { return x.Params } @@ -1116,6 +1116,171 @@ func (x *ListXtraDBClustersResponse_Cluster) GetParams() *XtraDBClusterParams { return nil } +// UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated. +type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Cluster size. + ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` + // PXC container parameters. + Pxc *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC `protobuf:"bytes,2,opt,name=pxc,proto3" json:"pxc,omitempty"` + // ProxySQL container parameters. + Proxysql *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL `protobuf:"bytes,3,opt,name=proxysql,proto3" json:"proxysql,omitempty"` +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Reset() { + *x = UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams{} + if protoimpl.UnsafeEnabled { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoMessage() {} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoReflect() protoreflect.Message { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams.ProtoReflect.Descriptor instead. +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Descriptor() ([]byte, []int) { + return file_managementpb_dbaas_xtradb_cluster_proto_rawDescGZIP(), []int{8, 0} +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetClusterSize() int32 { + if x != nil { + return x.ClusterSize + } + return 0 +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetPxc() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC { + if x != nil { + return x.Pxc + } + return nil +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetProxysql() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL { + if x != nil { + return x.Proxysql + } + return nil +} + +// PXC container parameters. +type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Requested compute resources. + ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Reset() { + *x = UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC{} + if protoimpl.UnsafeEnabled { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoMessage() {} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoReflect() protoreflect.Message { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC.ProtoReflect.Descriptor instead. +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Descriptor() ([]byte, []int) { + return file_managementpb_dbaas_xtradb_cluster_proto_rawDescGZIP(), []int{8, 0, 0} +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) GetComputeResources() *ComputeResources { + if x != nil { + return x.ComputeResources + } + return nil +} + +// ProxySQL container parameters. +type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Requested compute resources. + ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Reset() { + *x = UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL{} + if protoimpl.UnsafeEnabled { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoMessage() {} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoReflect() protoreflect.Message { + mi := &file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL.ProtoReflect.Descriptor instead. +func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Descriptor() ([]byte, []int) { + return file_managementpb_dbaas_xtradb_cluster_proto_rawDescGZIP(), []int{8, 0, 1} +} + +func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) GetComputeResources() *ComputeResources { + if x != nil { + return x.ComputeResources + } + return nil +} + var File_managementpb_dbaas_xtradb_cluster_proto protoreflect.FileDescriptor var file_managementpb_dbaas_xtradb_cluster_proto_rawDesc = []byte{ @@ -1236,127 +1401,158 @@ var file_managementpb_dbaas_xtradb_cluster_proto_rawDesc = []byte{ 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xbc, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, + 0xaa, 0x05, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, - 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x62, 0x61, - 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x58, 0x74, 0x72, 0x61, 0x44, - 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x06, - 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x1d, - 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x0a, - 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, - 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, - 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, - 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x64, 0x62, 0x61, + 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, - 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, - 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, 0x72, 0x61, - 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2a, 0xc2, 0x01, 0x0a, 0x12, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x58, 0x54, 0x52, 0x41, - 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x58, - 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, - 0x1f, 0x0a, 0x1b, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, - 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, - 0x12, 0x20, 0x0a, 0x1c, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, - 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, - 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, - 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x2a, 0x9c, 0x01, 0x0a, 0x11, 0x58, 0x74, 0x72, 0x61, 0x44, - 0x42, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x1c, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, + 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, + 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, + 0xca, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x29, 0x0a, + 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x10, 0x00, 0x52, 0x0b, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x61, 0x0a, 0x03, 0x70, 0x78, 0x63, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, + 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x50, 0x58, 0x43, 0x42, 0x06, + 0xe2, 0xdf, 0x1f, 0x02, 0x20, 0x01, 0x52, 0x03, 0x70, 0x78, 0x63, 0x12, 0x70, 0x0a, 0x08, 0x70, + 0x72, 0x6f, 0x78, 0x79, 0x73, 0x71, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, + 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x51, 0x4c, 0x42, 0x06, 0xe2, 0xdf, 0x1f, + 0x02, 0x20, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x73, 0x71, 0x6c, 0x1a, 0x53, 0x0a, + 0x03, 0x50, 0x58, 0x43, 0x12, 0x4c, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x1a, 0x58, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x53, 0x51, 0x4c, 0x12, 0x4c, + 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x64, 0x62, 0x61, 0x61, + 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x1d, 0x0a, 0x1b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x0a, 0x1a, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, + 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x17, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x15, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, + 0xc2, 0x01, 0x0a, 0x12, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, + 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x58, 0x54, 0x52, + 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1f, 0x0a, + 0x1b, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x20, + 0x0a, 0x1c, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, + 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, + 0x12, 0x22, 0x0a, 0x1e, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x55, 0x53, + 0x54, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, + 0x4e, 0x47, 0x10, 0x04, 0x2a, 0x9c, 0x01, 0x0a, 0x11, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x58, 0x54, + 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x20, - 0x0a, 0x1c, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, - 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, - 0x12, 0x22, 0x0a, 0x1e, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, - 0x55, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, - 0x45, 0x44, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, - 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, - 0x4c, 0x45, 0x44, 0x10, 0x03, 0x32, 0xe2, 0x07, 0x0a, 0x0d, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, - 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, - 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x58, 0x74, 0x72, - 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, - 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, - 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, - 0x2f, 0x4c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x97, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, - 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, - 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, - 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, - 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x47, 0x65, 0x74, 0x3a, - 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, - 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x64, 0x62, 0x61, - 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x22, + 0x0a, 0x1e, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, 0x50, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x58, 0x54, 0x52, 0x41, 0x5f, 0x44, 0x42, 0x5f, 0x42, 0x41, + 0x43, 0x4b, 0x55, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x03, 0x32, 0xe2, 0x07, 0x0a, 0x0d, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x58, 0x74, + 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x64, + 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, + 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x4c, + 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0x97, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x58, 0x74, + 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x64, 0x62, + 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2c, 0x22, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x47, 0x65, 0x74, 0x3a, 0x01, 0x2a, + 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, + 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, + 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, + 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, + 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x2f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x12, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x2e, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, + 0xa6, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, + 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, - 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, - 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x64, 0x62, 0x61, - 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x22, 0x29, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, - 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x2f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xa2, 0x01, 0x0a, - 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, - 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2a, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2e, 0x22, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, - 0x2a, 0x12, 0xa6, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, 0x72, - 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x2e, 0x64, 0x62, 0x61, - 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x64, 0x62, 0x61, 0x61, 0x73, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x58, 0x74, - 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x2a, 0x2f, 0x76, 0x31, - 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x44, 0x42, 0x61, 0x61, - 0x53, 0x2f, 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, - 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x42, 0x25, 0x5a, 0x23, 0x61, 0x70, - 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, 0x64, - 0x62, 0x61, 0x61, 0x73, 0x3b, 0x64, 0x62, 0x61, 0x61, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x58, 0x74, 0x72, 0x61, 0x44, 0x42, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x42, 0x25, 0x5a, 0x23, 0x61, 0x70, 0x69, 0x2f, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, 0x64, 0x62, 0x61, + 0x61, 0x73, 0x3b, 0x64, 0x62, 0x61, 0x61, 0x73, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1372,62 +1568,69 @@ func file_managementpb_dbaas_xtradb_cluster_proto_rawDescGZIP() []byte { } var file_managementpb_dbaas_xtradb_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_managementpb_dbaas_xtradb_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_managementpb_dbaas_xtradb_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 20) var file_managementpb_dbaas_xtradb_cluster_proto_goTypes = []interface{}{ - (XtraDBClusterState)(0), // 0: dbaas.v1beta1.XtraDBClusterState - (XtraDBBackupState)(0), // 1: dbaas.v1beta1.XtraDBBackupState - (*XtraDBClusterParams)(nil), // 2: dbaas.v1beta1.XtraDBClusterParams - (*ListXtraDBClustersRequest)(nil), // 3: dbaas.v1beta1.ListXtraDBClustersRequest - (*ListXtraDBClustersResponse)(nil), // 4: dbaas.v1beta1.ListXtraDBClustersResponse - (*GetXtraDBClusterRequest)(nil), // 5: dbaas.v1beta1.GetXtraDBClusterRequest - (*XtraDBClusterConnectionCredentials)(nil), // 6: dbaas.v1beta1.XtraDBClusterConnectionCredentials - (*GetXtraDBClusterResponse)(nil), // 7: dbaas.v1beta1.GetXtraDBClusterResponse - (*CreateXtraDBClusterRequest)(nil), // 8: dbaas.v1beta1.CreateXtraDBClusterRequest - (*CreateXtraDBClusterResponse)(nil), // 9: dbaas.v1beta1.CreateXtraDBClusterResponse - (*UpdateXtraDBClusterRequest)(nil), // 10: dbaas.v1beta1.UpdateXtraDBClusterRequest - (*UpdateXtraDBClusterResponse)(nil), // 11: dbaas.v1beta1.UpdateXtraDBClusterResponse - (*DeleteXtraDBClusterRequest)(nil), // 12: dbaas.v1beta1.DeleteXtraDBClusterRequest - (*DeleteXtraDBClusterResponse)(nil), // 13: dbaas.v1beta1.DeleteXtraDBClusterResponse - (*RestartXtraDBClusterRequest)(nil), // 14: dbaas.v1beta1.RestartXtraDBClusterRequest - (*RestartXtraDBClusterResponse)(nil), // 15: dbaas.v1beta1.RestartXtraDBClusterResponse - (*XtraDBClusterParams_PXC)(nil), // 16: dbaas.v1beta1.XtraDBClusterParams.PXC - (*XtraDBClusterParams_ProxySQL)(nil), // 17: dbaas.v1beta1.XtraDBClusterParams.ProxySQL - (*ListXtraDBClustersResponse_Cluster)(nil), // 18: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster - (*RunningOperation)(nil), // 19: dbaas.v1beta1.RunningOperation - (*ComputeResources)(nil), // 20: dbaas.v1beta1.ComputeResources + (XtraDBClusterState)(0), // 0: dbaas.v1beta1.XtraDBClusterState + (XtraDBBackupState)(0), // 1: dbaas.v1beta1.XtraDBBackupState + (*XtraDBClusterParams)(nil), // 2: dbaas.v1beta1.XtraDBClusterParams + (*ListXtraDBClustersRequest)(nil), // 3: dbaas.v1beta1.ListXtraDBClustersRequest + (*ListXtraDBClustersResponse)(nil), // 4: dbaas.v1beta1.ListXtraDBClustersResponse + (*GetXtraDBClusterRequest)(nil), // 5: dbaas.v1beta1.GetXtraDBClusterRequest + (*XtraDBClusterConnectionCredentials)(nil), // 6: dbaas.v1beta1.XtraDBClusterConnectionCredentials + (*GetXtraDBClusterResponse)(nil), // 7: dbaas.v1beta1.GetXtraDBClusterResponse + (*CreateXtraDBClusterRequest)(nil), // 8: dbaas.v1beta1.CreateXtraDBClusterRequest + (*CreateXtraDBClusterResponse)(nil), // 9: dbaas.v1beta1.CreateXtraDBClusterResponse + (*UpdateXtraDBClusterRequest)(nil), // 10: dbaas.v1beta1.UpdateXtraDBClusterRequest + (*UpdateXtraDBClusterResponse)(nil), // 11: dbaas.v1beta1.UpdateXtraDBClusterResponse + (*DeleteXtraDBClusterRequest)(nil), // 12: dbaas.v1beta1.DeleteXtraDBClusterRequest + (*DeleteXtraDBClusterResponse)(nil), // 13: dbaas.v1beta1.DeleteXtraDBClusterResponse + (*RestartXtraDBClusterRequest)(nil), // 14: dbaas.v1beta1.RestartXtraDBClusterRequest + (*RestartXtraDBClusterResponse)(nil), // 15: dbaas.v1beta1.RestartXtraDBClusterResponse + (*XtraDBClusterParams_PXC)(nil), // 16: dbaas.v1beta1.XtraDBClusterParams.PXC + (*XtraDBClusterParams_ProxySQL)(nil), // 17: dbaas.v1beta1.XtraDBClusterParams.ProxySQL + (*ListXtraDBClustersResponse_Cluster)(nil), // 18: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster + (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams)(nil), // 19: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams + (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC)(nil), // 20: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.PXC + (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL)(nil), // 21: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.ProxySQL + (*RunningOperation)(nil), // 22: dbaas.v1beta1.RunningOperation + (*ComputeResources)(nil), // 23: dbaas.v1beta1.ComputeResources } var file_managementpb_dbaas_xtradb_cluster_proto_depIdxs = []int32{ 16, // 0: dbaas.v1beta1.XtraDBClusterParams.pxc:type_name -> dbaas.v1beta1.XtraDBClusterParams.PXC 17, // 1: dbaas.v1beta1.XtraDBClusterParams.proxysql:type_name -> dbaas.v1beta1.XtraDBClusterParams.ProxySQL 18, // 2: dbaas.v1beta1.ListXtraDBClustersResponse.clusters:type_name -> dbaas.v1beta1.ListXtraDBClustersResponse.Cluster 0, // 3: dbaas.v1beta1.GetXtraDBClusterResponse.state:type_name -> dbaas.v1beta1.XtraDBClusterState - 19, // 4: dbaas.v1beta1.GetXtraDBClusterResponse.operation:type_name -> dbaas.v1beta1.RunningOperation + 22, // 4: dbaas.v1beta1.GetXtraDBClusterResponse.operation:type_name -> dbaas.v1beta1.RunningOperation 2, // 5: dbaas.v1beta1.GetXtraDBClusterResponse.params:type_name -> dbaas.v1beta1.XtraDBClusterParams 6, // 6: dbaas.v1beta1.GetXtraDBClusterResponse.connection_credentials:type_name -> dbaas.v1beta1.XtraDBClusterConnectionCredentials 2, // 7: dbaas.v1beta1.CreateXtraDBClusterRequest.params:type_name -> dbaas.v1beta1.XtraDBClusterParams - 2, // 8: dbaas.v1beta1.UpdateXtraDBClusterRequest.params:type_name -> dbaas.v1beta1.XtraDBClusterParams - 20, // 9: dbaas.v1beta1.XtraDBClusterParams.PXC.compute_resources:type_name -> dbaas.v1beta1.ComputeResources - 20, // 10: dbaas.v1beta1.XtraDBClusterParams.ProxySQL.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 19, // 8: dbaas.v1beta1.UpdateXtraDBClusterRequest.params:type_name -> dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams + 23, // 9: dbaas.v1beta1.XtraDBClusterParams.PXC.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 23, // 10: dbaas.v1beta1.XtraDBClusterParams.ProxySQL.compute_resources:type_name -> dbaas.v1beta1.ComputeResources 0, // 11: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster.state:type_name -> dbaas.v1beta1.XtraDBClusterState - 19, // 12: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster.operation:type_name -> dbaas.v1beta1.RunningOperation + 22, // 12: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster.operation:type_name -> dbaas.v1beta1.RunningOperation 2, // 13: dbaas.v1beta1.ListXtraDBClustersResponse.Cluster.params:type_name -> dbaas.v1beta1.XtraDBClusterParams - 3, // 14: dbaas.v1beta1.XtraDBCluster.ListXtraDBClusters:input_type -> dbaas.v1beta1.ListXtraDBClustersRequest - 5, // 15: dbaas.v1beta1.XtraDBCluster.GetXtraDBCluster:input_type -> dbaas.v1beta1.GetXtraDBClusterRequest - 8, // 16: dbaas.v1beta1.XtraDBCluster.CreateXtraDBCluster:input_type -> dbaas.v1beta1.CreateXtraDBClusterRequest - 10, // 17: dbaas.v1beta1.XtraDBCluster.UpdateXtraDBCluster:input_type -> dbaas.v1beta1.UpdateXtraDBClusterRequest - 12, // 18: dbaas.v1beta1.XtraDBCluster.DeleteXtraDBCluster:input_type -> dbaas.v1beta1.DeleteXtraDBClusterRequest - 14, // 19: dbaas.v1beta1.XtraDBCluster.RestartXtraDBCluster:input_type -> dbaas.v1beta1.RestartXtraDBClusterRequest - 4, // 20: dbaas.v1beta1.XtraDBCluster.ListXtraDBClusters:output_type -> dbaas.v1beta1.ListXtraDBClustersResponse - 7, // 21: dbaas.v1beta1.XtraDBCluster.GetXtraDBCluster:output_type -> dbaas.v1beta1.GetXtraDBClusterResponse - 9, // 22: dbaas.v1beta1.XtraDBCluster.CreateXtraDBCluster:output_type -> dbaas.v1beta1.CreateXtraDBClusterResponse - 11, // 23: dbaas.v1beta1.XtraDBCluster.UpdateXtraDBCluster:output_type -> dbaas.v1beta1.UpdateXtraDBClusterResponse - 13, // 24: dbaas.v1beta1.XtraDBCluster.DeleteXtraDBCluster:output_type -> dbaas.v1beta1.DeleteXtraDBClusterResponse - 15, // 25: dbaas.v1beta1.XtraDBCluster.RestartXtraDBCluster:output_type -> dbaas.v1beta1.RestartXtraDBClusterResponse - 20, // [20:26] is the sub-list for method output_type - 14, // [14:20] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name + 20, // 14: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.pxc:type_name -> dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.PXC + 21, // 15: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.proxysql:type_name -> dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.ProxySQL + 23, // 16: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.PXC.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 23, // 17: dbaas.v1beta1.UpdateXtraDBClusterRequest.UpdateXtraDBClusterParams.ProxySQL.compute_resources:type_name -> dbaas.v1beta1.ComputeResources + 3, // 18: dbaas.v1beta1.XtraDBCluster.ListXtraDBClusters:input_type -> dbaas.v1beta1.ListXtraDBClustersRequest + 5, // 19: dbaas.v1beta1.XtraDBCluster.GetXtraDBCluster:input_type -> dbaas.v1beta1.GetXtraDBClusterRequest + 8, // 20: dbaas.v1beta1.XtraDBCluster.CreateXtraDBCluster:input_type -> dbaas.v1beta1.CreateXtraDBClusterRequest + 10, // 21: dbaas.v1beta1.XtraDBCluster.UpdateXtraDBCluster:input_type -> dbaas.v1beta1.UpdateXtraDBClusterRequest + 12, // 22: dbaas.v1beta1.XtraDBCluster.DeleteXtraDBCluster:input_type -> dbaas.v1beta1.DeleteXtraDBClusterRequest + 14, // 23: dbaas.v1beta1.XtraDBCluster.RestartXtraDBCluster:input_type -> dbaas.v1beta1.RestartXtraDBClusterRequest + 4, // 24: dbaas.v1beta1.XtraDBCluster.ListXtraDBClusters:output_type -> dbaas.v1beta1.ListXtraDBClustersResponse + 7, // 25: dbaas.v1beta1.XtraDBCluster.GetXtraDBCluster:output_type -> dbaas.v1beta1.GetXtraDBClusterResponse + 9, // 26: dbaas.v1beta1.XtraDBCluster.CreateXtraDBCluster:output_type -> dbaas.v1beta1.CreateXtraDBClusterResponse + 11, // 27: dbaas.v1beta1.XtraDBCluster.UpdateXtraDBCluster:output_type -> dbaas.v1beta1.UpdateXtraDBClusterResponse + 13, // 28: dbaas.v1beta1.XtraDBCluster.DeleteXtraDBCluster:output_type -> dbaas.v1beta1.DeleteXtraDBClusterResponse + 15, // 29: dbaas.v1beta1.XtraDBCluster.RestartXtraDBCluster:output_type -> dbaas.v1beta1.RestartXtraDBClusterResponse + 24, // [24:30] is the sub-list for method output_type + 18, // [18:24] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name } func init() { file_managementpb_dbaas_xtradb_cluster_proto_init() } @@ -1641,6 +1844,42 @@ func file_managementpb_dbaas_xtradb_cluster_proto_init() { return nil } } + file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_managementpb_dbaas_xtradb_cluster_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1648,7 +1887,7 @@ func file_managementpb_dbaas_xtradb_cluster_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_managementpb_dbaas_xtradb_cluster_proto_rawDesc, NumEnums: 2, - NumMessages: 17, + NumMessages: 20, NumExtensions: 0, NumServices: 1, }, diff --git a/api/managementpb/dbaas/xtradb_cluster.proto b/api/managementpb/dbaas/xtradb_cluster.proto index 2352fa5dee..ad8c055eb3 100644 --- a/api/managementpb/dbaas/xtradb_cluster.proto +++ b/api/managementpb/dbaas/xtradb_cluster.proto @@ -185,8 +185,39 @@ message UpdateXtraDBClusterRequest { string_not_empty: true } ]; + // UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated. + message UpdateXtraDBClusterParams { + // PXC container parameters. + message PXC { + // Requested compute resources. + ComputeResources compute_resources = 1; + } + // ProxySQL container parameters. + message ProxySQL { + // Requested compute resources. + ComputeResources compute_resources = 1; + } + // Cluster size. + int32 cluster_size = 1 [ + (validator.field) = { + int_gt: 0 + } + ]; + // PXC container parameters. + PXC pxc = 2 [ + (validator.field) = { + msg_exists: true + } + ]; + // ProxySQL container parameters. + ProxySQL proxysql = 3 [ + (validator.field) = { + msg_exists: true + } + ]; + } // Cluster parameters. - XtraDBClusterParams params = 3 [ + UpdateXtraDBClusterParams params = 3 [ (validator.field) = { msg_exists: true } diff --git a/api/managementpb/dbaas/xtradb_cluster.validator.pb.go b/api/managementpb/dbaas/xtradb_cluster.validator.pb.go index 4b2cff70a2..13b7884304 100644 --- a/api/managementpb/dbaas/xtradb_cluster.validator.pb.go +++ b/api/managementpb/dbaas/xtradb_cluster.validator.pb.go @@ -161,6 +161,44 @@ func (this *UpdateXtraDBClusterRequest) Validate() error { } return nil } +func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Validate() error { + if !(this.ClusterSize > 0) { + return github_com_mwitkow_go_proto_validators.FieldError("ClusterSize", fmt.Errorf(`value '%v' must be greater than '0'`, this.ClusterSize)) + } + if nil == this.Pxc { + return github_com_mwitkow_go_proto_validators.FieldError("Pxc", fmt.Errorf("message must exist")) + } + if this.Pxc != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Pxc); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Pxc", err) + } + } + if nil == this.Proxysql { + return github_com_mwitkow_go_proto_validators.FieldError("Proxysql", fmt.Errorf("message must exist")) + } + if this.Proxysql != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Proxysql); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("Proxysql", err) + } + } + return nil +} +func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Validate() error { + if this.ComputeResources != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.ComputeResources); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("ComputeResources", err) + } + } + return nil +} +func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Validate() error { + if this.ComputeResources != nil { + if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.ComputeResources); err != nil { + return github_com_mwitkow_go_proto_validators.FieldError("ComputeResources", err) + } + } + return nil +} func (this *UpdateXtraDBClusterResponse) Validate() error { return nil }