diff --git a/pkg/rpc/pb/model_acme_task.pb.go b/pkg/rpc/pb/model_acme_task.pb.go new file mode 100644 index 0000000..c5915fe --- /dev/null +++ b/pkg/rpc/pb/model_acme_task.pb.go @@ -0,0 +1,249 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: model_acme_task.proto + +package pb + +import ( + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type ACMETask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` + DnsDomain string `protobuf:"bytes,3,opt,name=dnsDomain,proto3" json:"dnsDomain,omitempty"` + Domains []string `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"` + CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + IsOk bool `protobuf:"varint,6,opt,name=isOk,proto3" json:"isOk,omitempty"` + AutoRenew bool `protobuf:"varint,7,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"` + AcmeUser *ACMEUser `protobuf:"bytes,30,opt,name=acmeUser,proto3" json:"acmeUser,omitempty"` + DnsProvider *DNSProvider `protobuf:"bytes,31,opt,name=dnsProvider,proto3" json:"dnsProvider,omitempty"` + SslCert *SSLCert `protobuf:"bytes,32,opt,name=sslCert,proto3" json:"sslCert,omitempty"` +} + +func (x *ACMETask) Reset() { + *x = ACMETask{} + if protoimpl.UnsafeEnabled { + mi := &file_model_acme_task_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ACMETask) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ACMETask) ProtoMessage() {} + +func (x *ACMETask) ProtoReflect() protoreflect.Message { + mi := &file_model_acme_task_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ACMETask.ProtoReflect.Descriptor instead. +func (*ACMETask) Descriptor() ([]byte, []int) { + return file_model_acme_task_proto_rawDescGZIP(), []int{0} +} + +func (x *ACMETask) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *ACMETask) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + +func (x *ACMETask) GetDnsDomain() string { + if x != nil { + return x.DnsDomain + } + return "" +} + +func (x *ACMETask) GetDomains() []string { + if x != nil { + return x.Domains + } + return nil +} + +func (x *ACMETask) GetCreatedAt() int64 { + if x != nil { + return x.CreatedAt + } + return 0 +} + +func (x *ACMETask) GetIsOk() bool { + if x != nil { + return x.IsOk + } + return false +} + +func (x *ACMETask) GetAutoRenew() bool { + if x != nil { + return x.AutoRenew + } + return false +} + +func (x *ACMETask) GetAcmeUser() *ACMEUser { + if x != nil { + return x.AcmeUser + } + return nil +} + +func (x *ACMETask) GetDnsProvider() *DNSProvider { + if x != nil { + return x.DnsProvider + } + return nil +} + +func (x *ACMETask) GetSslCert() *SSLCert { + if x != nil { + return x.SslCert + } + return nil +} + +var File_model_acme_task_proto protoreflect.FileDescriptor + +var file_model_acme_task_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x73, + 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x15, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xba, 0x02, 0x0a, 0x08, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, + 0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, + 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x1c, 0x0a, + 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x12, 0x28, 0x0a, 0x08, 0x61, + 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x61, 0x63, 0x6d, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x73, 0x6c, 0x43, + 0x65, 0x72, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, + 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x07, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x42, + 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_model_acme_task_proto_rawDescOnce sync.Once + file_model_acme_task_proto_rawDescData = file_model_acme_task_proto_rawDesc +) + +func file_model_acme_task_proto_rawDescGZIP() []byte { + file_model_acme_task_proto_rawDescOnce.Do(func() { + file_model_acme_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_acme_task_proto_rawDescData) + }) + return file_model_acme_task_proto_rawDescData +} + +var file_model_acme_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_model_acme_task_proto_goTypes = []interface{}{ + (*ACMETask)(nil), // 0: pb.ACMETask + (*ACMEUser)(nil), // 1: pb.ACMEUser + (*DNSProvider)(nil), // 2: pb.DNSProvider + (*SSLCert)(nil), // 3: pb.SSLCert +} +var file_model_acme_task_proto_depIdxs = []int32{ + 1, // 0: pb.ACMETask.acmeUser:type_name -> pb.ACMEUser + 2, // 1: pb.ACMETask.dnsProvider:type_name -> pb.DNSProvider + 3, // 2: pb.ACMETask.sslCert:type_name -> pb.SSLCert + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_model_acme_task_proto_init() } +func file_model_acme_task_proto_init() { + if File_model_acme_task_proto != nil { + return + } + file_model_acme_user_proto_init() + file_model_dns_provider_proto_init() + file_model_ssl_cert_proto_init() + if !protoimpl.UnsafeEnabled { + file_model_acme_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ACMETask); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_model_acme_task_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_model_acme_task_proto_goTypes, + DependencyIndexes: file_model_acme_task_proto_depIdxs, + MessageInfos: file_model_acme_task_proto_msgTypes, + }.Build() + File_model_acme_task_proto = out.File + file_model_acme_task_proto_rawDesc = nil + file_model_acme_task_proto_goTypes = nil + file_model_acme_task_proto_depIdxs = nil +} diff --git a/pkg/rpc/pb/model_ssl_cert.pb.go b/pkg/rpc/pb/model_ssl_cert.pb.go new file mode 100644 index 0000000..2c2ab84 --- /dev/null +++ b/pkg/rpc/pb/model_ssl_cert.pb.go @@ -0,0 +1,164 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: model_ssl_cert.proto + +package pb + +import ( + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type SSLCert struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *SSLCert) Reset() { + *x = SSLCert{} + if protoimpl.UnsafeEnabled { + mi := &file_model_ssl_cert_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSLCert) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSLCert) ProtoMessage() {} + +func (x *SSLCert) ProtoReflect() protoreflect.Message { + mi := &file_model_ssl_cert_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSLCert.ProtoReflect.Descriptor instead. +func (*SSLCert) Descriptor() ([]byte, []int) { + return file_model_ssl_cert_proto_rawDescGZIP(), []int{0} +} + +func (x *SSLCert) GetId() int64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *SSLCert) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + +func (x *SSLCert) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +var File_model_ssl_cert_proto protoreflect.FileDescriptor + +var file_model_ssl_cert_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x41, 0x0a, 0x07, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x5a, + 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_model_ssl_cert_proto_rawDescOnce sync.Once + file_model_ssl_cert_proto_rawDescData = file_model_ssl_cert_proto_rawDesc +) + +func file_model_ssl_cert_proto_rawDescGZIP() []byte { + file_model_ssl_cert_proto_rawDescOnce.Do(func() { + file_model_ssl_cert_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_ssl_cert_proto_rawDescData) + }) + return file_model_ssl_cert_proto_rawDescData +} + +var file_model_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_model_ssl_cert_proto_goTypes = []interface{}{ + (*SSLCert)(nil), // 0: pb.SSLCert +} +var file_model_ssl_cert_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_model_ssl_cert_proto_init() } +func file_model_ssl_cert_proto_init() { + if File_model_ssl_cert_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_model_ssl_cert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSLCert); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_model_ssl_cert_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_model_ssl_cert_proto_goTypes, + DependencyIndexes: file_model_ssl_cert_proto_depIdxs, + MessageInfos: file_model_ssl_cert_proto_msgTypes, + }.Build() + File_model_ssl_cert_proto = out.File + file_model_ssl_cert_proto_rawDesc = nil + file_model_ssl_cert_proto_goTypes = nil + file_model_ssl_cert_proto_depIdxs = nil +} diff --git a/pkg/rpc/pb/service_acme_task.pb.go b/pkg/rpc/pb/service_acme_task.pb.go new file mode 100644 index 0000000..dca4090 --- /dev/null +++ b/pkg/rpc/pb/service_acme_task.pb.go @@ -0,0 +1,1537 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: service_acme_task.proto + +package pb + +import ( + context "context" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// 计算某个ACME用户相关的任务数量 +type CountAllEnabledACMETasksWithACMEUserIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeUserId int64 `protobuf:"varint,1,opt,name=acmeUserId,proto3" json:"acmeUserId,omitempty"` +} + +func (x *CountAllEnabledACMETasksWithACMEUserIdRequest) Reset() { + *x = CountAllEnabledACMETasksWithACMEUserIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountAllEnabledACMETasksWithACMEUserIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountAllEnabledACMETasksWithACMEUserIdRequest) ProtoMessage() {} + +func (x *CountAllEnabledACMETasksWithACMEUserIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountAllEnabledACMETasksWithACMEUserIdRequest.ProtoReflect.Descriptor instead. +func (*CountAllEnabledACMETasksWithACMEUserIdRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{0} +} + +func (x *CountAllEnabledACMETasksWithACMEUserIdRequest) GetAcmeUserId() int64 { + if x != nil { + return x.AcmeUserId + } + return 0 +} + +// 计算跟某个DNS服务商相关的任务数量 +type CountEnabledACMETasksWithDNSProviderIdRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` +} + +func (x *CountEnabledACMETasksWithDNSProviderIdRequest) Reset() { + *x = CountEnabledACMETasksWithDNSProviderIdRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountEnabledACMETasksWithDNSProviderIdRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountEnabledACMETasksWithDNSProviderIdRequest) ProtoMessage() {} + +func (x *CountEnabledACMETasksWithDNSProviderIdRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountEnabledACMETasksWithDNSProviderIdRequest.ProtoReflect.Descriptor instead. +func (*CountEnabledACMETasksWithDNSProviderIdRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{1} +} + +func (x *CountEnabledACMETasksWithDNSProviderIdRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +// 计算所有任务数量 +type CountAllEnabledACMETasksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` +} + +func (x *CountAllEnabledACMETasksRequest) Reset() { + *x = CountAllEnabledACMETasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountAllEnabledACMETasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountAllEnabledACMETasksRequest) ProtoMessage() {} + +func (x *CountAllEnabledACMETasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountAllEnabledACMETasksRequest.ProtoReflect.Descriptor instead. +func (*CountAllEnabledACMETasksRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{2} +} + +func (x *CountAllEnabledACMETasksRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *CountAllEnabledACMETasksRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +// 列出单页任务 +type ListEnabledACMETasksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` + Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` +} + +func (x *ListEnabledACMETasksRequest) Reset() { + *x = ListEnabledACMETasksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListEnabledACMETasksRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEnabledACMETasksRequest) ProtoMessage() {} + +func (x *ListEnabledACMETasksRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListEnabledACMETasksRequest.ProtoReflect.Descriptor instead. +func (*ListEnabledACMETasksRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{3} +} + +func (x *ListEnabledACMETasksRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *ListEnabledACMETasksRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +func (x *ListEnabledACMETasksRequest) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *ListEnabledACMETasksRequest) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +type ListEnabledACMETasksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTasks []*ACMETask `protobuf:"bytes,1,rep,name=acmeTasks,proto3" json:"acmeTasks,omitempty"` +} + +func (x *ListEnabledACMETasksResponse) Reset() { + *x = ListEnabledACMETasksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListEnabledACMETasksResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListEnabledACMETasksResponse) ProtoMessage() {} + +func (x *ListEnabledACMETasksResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListEnabledACMETasksResponse.ProtoReflect.Descriptor instead. +func (*ListEnabledACMETasksResponse) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{4} +} + +func (x *ListEnabledACMETasksResponse) GetAcmeTasks() []*ACMETask { + if x != nil { + return x.AcmeTasks + } + return nil +} + +// 创建任务 +type CreateACMETaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeUserId int64 `protobuf:"varint,1,opt,name=acmeUserId,proto3" json:"acmeUserId,omitempty"` + DnsProviderId int64 `protobuf:"varint,2,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` + DnsDomain string `protobuf:"bytes,3,opt,name=dnsDomain,proto3" json:"dnsDomain,omitempty"` + Domains []string `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"` + AutoRenew bool `protobuf:"varint,5,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"` +} + +func (x *CreateACMETaskRequest) Reset() { + *x = CreateACMETaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateACMETaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateACMETaskRequest) ProtoMessage() {} + +func (x *CreateACMETaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateACMETaskRequest.ProtoReflect.Descriptor instead. +func (*CreateACMETaskRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{5} +} + +func (x *CreateACMETaskRequest) GetAcmeUserId() int64 { + if x != nil { + return x.AcmeUserId + } + return 0 +} + +func (x *CreateACMETaskRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +func (x *CreateACMETaskRequest) GetDnsDomain() string { + if x != nil { + return x.DnsDomain + } + return "" +} + +func (x *CreateACMETaskRequest) GetDomains() []string { + if x != nil { + return x.Domains + } + return nil +} + +func (x *CreateACMETaskRequest) GetAutoRenew() bool { + if x != nil { + return x.AutoRenew + } + return false +} + +type CreateACMETaskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` +} + +func (x *CreateACMETaskResponse) Reset() { + *x = CreateACMETaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateACMETaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateACMETaskResponse) ProtoMessage() {} + +func (x *CreateACMETaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateACMETaskResponse.ProtoReflect.Descriptor instead. +func (*CreateACMETaskResponse) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{6} +} + +func (x *CreateACMETaskResponse) GetAcmeTaskId() int64 { + if x != nil { + return x.AcmeTaskId + } + return 0 +} + +// 修改任务 +type UpdateACMETaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` + AcmeUserId int64 `protobuf:"varint,2,opt,name=acmeUserId,proto3" json:"acmeUserId,omitempty"` + DnsProviderId int64 `protobuf:"varint,3,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"` + DnsDomain string `protobuf:"bytes,4,opt,name=dnsDomain,proto3" json:"dnsDomain,omitempty"` + Domains []string `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"` + AutoRenew bool `protobuf:"varint,6,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"` +} + +func (x *UpdateACMETaskRequest) Reset() { + *x = UpdateACMETaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateACMETaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateACMETaskRequest) ProtoMessage() {} + +func (x *UpdateACMETaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateACMETaskRequest.ProtoReflect.Descriptor instead. +func (*UpdateACMETaskRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{7} +} + +func (x *UpdateACMETaskRequest) GetAcmeTaskId() int64 { + if x != nil { + return x.AcmeTaskId + } + return 0 +} + +func (x *UpdateACMETaskRequest) GetAcmeUserId() int64 { + if x != nil { + return x.AcmeUserId + } + return 0 +} + +func (x *UpdateACMETaskRequest) GetDnsProviderId() int64 { + if x != nil { + return x.DnsProviderId + } + return 0 +} + +func (x *UpdateACMETaskRequest) GetDnsDomain() string { + if x != nil { + return x.DnsDomain + } + return "" +} + +func (x *UpdateACMETaskRequest) GetDomains() []string { + if x != nil { + return x.Domains + } + return nil +} + +func (x *UpdateACMETaskRequest) GetAutoRenew() bool { + if x != nil { + return x.AutoRenew + } + return false +} + +// 删除任务 +type DeleteACMETaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` +} + +func (x *DeleteACMETaskRequest) Reset() { + *x = DeleteACMETaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteACMETaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteACMETaskRequest) ProtoMessage() {} + +func (x *DeleteACMETaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteACMETaskRequest.ProtoReflect.Descriptor instead. +func (*DeleteACMETaskRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{8} +} + +func (x *DeleteACMETaskRequest) GetAcmeTaskId() int64 { + if x != nil { + return x.AcmeTaskId + } + return 0 +} + +// 运行某个任务 +type RunACMETaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` +} + +func (x *RunACMETaskRequest) Reset() { + *x = RunACMETaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunACMETaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunACMETaskRequest) ProtoMessage() {} + +func (x *RunACMETaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunACMETaskRequest.ProtoReflect.Descriptor instead. +func (*RunACMETaskRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{9} +} + +func (x *RunACMETaskRequest) GetAcmeTaskId() int64 { + if x != nil { + return x.AcmeTaskId + } + return 0 +} + +type RunACMETaskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + SslCertId int64 `protobuf:"varint,3,opt,name=sslCertId,proto3" json:"sslCertId,omitempty"` +} + +func (x *RunACMETaskResponse) Reset() { + *x = RunACMETaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RunACMETaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RunACMETaskResponse) ProtoMessage() {} + +func (x *RunACMETaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RunACMETaskResponse.ProtoReflect.Descriptor instead. +func (*RunACMETaskResponse) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{10} +} + +func (x *RunACMETaskResponse) GetIsOk() bool { + if x != nil { + return x.IsOk + } + return false +} + +func (x *RunACMETaskResponse) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +func (x *RunACMETaskResponse) GetSslCertId() int64 { + if x != nil { + return x.SslCertId + } + return 0 +} + +// 查找单个任务信息 +type FindEnabledACMETaskRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` +} + +func (x *FindEnabledACMETaskRequest) Reset() { + *x = FindEnabledACMETaskRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindEnabledACMETaskRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindEnabledACMETaskRequest) ProtoMessage() {} + +func (x *FindEnabledACMETaskRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindEnabledACMETaskRequest.ProtoReflect.Descriptor instead. +func (*FindEnabledACMETaskRequest) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{11} +} + +func (x *FindEnabledACMETaskRequest) GetAcmeTaskId() int64 { + if x != nil { + return x.AcmeTaskId + } + return 0 +} + +type FindEnabledACMETaskResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeTask *ACMETask `protobuf:"bytes,1,opt,name=acmeTask,proto3" json:"acmeTask,omitempty"` +} + +func (x *FindEnabledACMETaskResponse) Reset() { + *x = FindEnabledACMETaskResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_task_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindEnabledACMETaskResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindEnabledACMETaskResponse) ProtoMessage() {} + +func (x *FindEnabledACMETaskResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_task_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindEnabledACMETaskResponse.ProtoReflect.Descriptor instead. +func (*FindEnabledACMETaskResponse) Descriptor() ([]byte, []int) { + return file_service_acme_task_proto_rawDescGZIP(), []int{12} +} + +func (x *FindEnabledACMETaskResponse) GetAcmeTask() *ACMETask { + if x != nil { + return x.AcmeTask + } + return nil +} + +var File_service_acme_task_proto protoreflect.FileDescriptor + +var file_service_acme_task_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x74, + 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x72, + 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x15, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, + 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x2d, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, + 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, + 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x2d, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, + 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, + 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x53, 0x0a, 0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, + 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, + 0x7a, 0x65, 0x22, 0x4a, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x09, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x54, + 0x61, 0x73, 0x6b, 0x52, 0x09, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22, 0xb3, + 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, + 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, + 0x6e, 0x65, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, + 0x65, 0x6e, 0x65, 0x77, 0x22, 0x38, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, + 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, + 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0xd3, + 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, + 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, + 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, + 0x6e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52, + 0x65, 0x6e, 0x65, 0x77, 0x22, 0x37, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, + 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x34, 0x0a, + 0x12, 0x52, 0x75, 0x6e, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x52, 0x75, 0x6e, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, + 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, + 0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, + 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, + 0x22, 0x47, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, + 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x28, 0x0a, 0x08, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, + 0x08, 0x61, 0x63, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x32, 0x84, 0x06, 0x0a, 0x0f, 0x41, 0x43, + 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x71, 0x0a, + 0x26, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, + 0x45, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, + 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x71, 0x0a, 0x26, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x31, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, + 0x54, 0x61, 0x73, 0x6b, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, + 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x6c, 0x69, + 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, + 0x6b, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, + 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, + 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, + 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, + 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, + 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x19, 0x2e, + 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, + 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x41, + 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x75, 0x6e, + 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x75, 0x6e, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x66, 0x69, 0x6e, 0x64, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, + 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_service_acme_task_proto_rawDescOnce sync.Once + file_service_acme_task_proto_rawDescData = file_service_acme_task_proto_rawDesc +) + +func file_service_acme_task_proto_rawDescGZIP() []byte { + file_service_acme_task_proto_rawDescOnce.Do(func() { + file_service_acme_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_acme_task_proto_rawDescData) + }) + return file_service_acme_task_proto_rawDescData +} + +var file_service_acme_task_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_service_acme_task_proto_goTypes = []interface{}{ + (*CountAllEnabledACMETasksWithACMEUserIdRequest)(nil), // 0: pb.CountAllEnabledACMETasksWithACMEUserIdRequest + (*CountEnabledACMETasksWithDNSProviderIdRequest)(nil), // 1: pb.CountEnabledACMETasksWithDNSProviderIdRequest + (*CountAllEnabledACMETasksRequest)(nil), // 2: pb.CountAllEnabledACMETasksRequest + (*ListEnabledACMETasksRequest)(nil), // 3: pb.ListEnabledACMETasksRequest + (*ListEnabledACMETasksResponse)(nil), // 4: pb.ListEnabledACMETasksResponse + (*CreateACMETaskRequest)(nil), // 5: pb.CreateACMETaskRequest + (*CreateACMETaskResponse)(nil), // 6: pb.CreateACMETaskResponse + (*UpdateACMETaskRequest)(nil), // 7: pb.UpdateACMETaskRequest + (*DeleteACMETaskRequest)(nil), // 8: pb.DeleteACMETaskRequest + (*RunACMETaskRequest)(nil), // 9: pb.RunACMETaskRequest + (*RunACMETaskResponse)(nil), // 10: pb.RunACMETaskResponse + (*FindEnabledACMETaskRequest)(nil), // 11: pb.FindEnabledACMETaskRequest + (*FindEnabledACMETaskResponse)(nil), // 12: pb.FindEnabledACMETaskResponse + (*ACMETask)(nil), // 13: pb.ACMETask + (*RPCCountResponse)(nil), // 14: pb.RPCCountResponse + (*RPCSuccess)(nil), // 15: pb.RPCSuccess +} +var file_service_acme_task_proto_depIdxs = []int32{ + 13, // 0: pb.ListEnabledACMETasksResponse.acmeTasks:type_name -> pb.ACMETask + 13, // 1: pb.FindEnabledACMETaskResponse.acmeTask:type_name -> pb.ACMETask + 0, // 2: pb.ACMETaskService.countAllEnabledACMETasksWithACMEUserId:input_type -> pb.CountAllEnabledACMETasksWithACMEUserIdRequest + 1, // 3: pb.ACMETaskService.countEnabledACMETasksWithDNSProviderId:input_type -> pb.CountEnabledACMETasksWithDNSProviderIdRequest + 2, // 4: pb.ACMETaskService.countAllEnabledACMETasks:input_type -> pb.CountAllEnabledACMETasksRequest + 3, // 5: pb.ACMETaskService.listEnabledACMETasks:input_type -> pb.ListEnabledACMETasksRequest + 5, // 6: pb.ACMETaskService.createACMETask:input_type -> pb.CreateACMETaskRequest + 7, // 7: pb.ACMETaskService.updateACMETask:input_type -> pb.UpdateACMETaskRequest + 8, // 8: pb.ACMETaskService.deleteACMETask:input_type -> pb.DeleteACMETaskRequest + 9, // 9: pb.ACMETaskService.runACMETask:input_type -> pb.RunACMETaskRequest + 11, // 10: pb.ACMETaskService.findEnabledACMETask:input_type -> pb.FindEnabledACMETaskRequest + 14, // 11: pb.ACMETaskService.countAllEnabledACMETasksWithACMEUserId:output_type -> pb.RPCCountResponse + 14, // 12: pb.ACMETaskService.countEnabledACMETasksWithDNSProviderId:output_type -> pb.RPCCountResponse + 14, // 13: pb.ACMETaskService.countAllEnabledACMETasks:output_type -> pb.RPCCountResponse + 4, // 14: pb.ACMETaskService.listEnabledACMETasks:output_type -> pb.ListEnabledACMETasksResponse + 6, // 15: pb.ACMETaskService.createACMETask:output_type -> pb.CreateACMETaskResponse + 15, // 16: pb.ACMETaskService.updateACMETask:output_type -> pb.RPCSuccess + 15, // 17: pb.ACMETaskService.deleteACMETask:output_type -> pb.RPCSuccess + 10, // 18: pb.ACMETaskService.runACMETask:output_type -> pb.RunACMETaskResponse + 12, // 19: pb.ACMETaskService.findEnabledACMETask:output_type -> pb.FindEnabledACMETaskResponse + 11, // [11:20] is the sub-list for method output_type + 2, // [2:11] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_service_acme_task_proto_init() } +func file_service_acme_task_proto_init() { + if File_service_acme_task_proto != nil { + return + } + file_rpc_messages_proto_init() + file_model_acme_task_proto_init() + if !protoimpl.UnsafeEnabled { + file_service_acme_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountAllEnabledACMETasksWithACMEUserIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountEnabledACMETasksWithDNSProviderIdRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountAllEnabledACMETasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEnabledACMETasksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListEnabledACMETasksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateACMETaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateACMETaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateACMETaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteACMETaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RunACMETaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RunACMETaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindEnabledACMETaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_task_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindEnabledACMETaskResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_service_acme_task_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_service_acme_task_proto_goTypes, + DependencyIndexes: file_service_acme_task_proto_depIdxs, + MessageInfos: file_service_acme_task_proto_msgTypes, + }.Build() + File_service_acme_task_proto = out.File + file_service_acme_task_proto_rawDesc = nil + file_service_acme_task_proto_goTypes = nil + file_service_acme_task_proto_depIdxs = nil +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConnInterface + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion6 + +// ACMETaskServiceClient is the client API for ACMETaskService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ACMETaskServiceClient interface { + // 计算某个ACME用户相关的任务数量 + CountAllEnabledACMETasksWithACMEUserId(ctx context.Context, in *CountAllEnabledACMETasksWithACMEUserIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) + // 计算跟某个DNS服务商相关的任务数量 + CountEnabledACMETasksWithDNSProviderId(ctx context.Context, in *CountEnabledACMETasksWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) + // 计算所有任务数量 + CountAllEnabledACMETasks(ctx context.Context, in *CountAllEnabledACMETasksRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) + // 列出单页任务 + ListEnabledACMETasks(ctx context.Context, in *ListEnabledACMETasksRequest, opts ...grpc.CallOption) (*ListEnabledACMETasksResponse, error) + // 创建任务 + CreateACMETask(ctx context.Context, in *CreateACMETaskRequest, opts ...grpc.CallOption) (*CreateACMETaskResponse, error) + // 修改任务 + UpdateACMETask(ctx context.Context, in *UpdateACMETaskRequest, opts ...grpc.CallOption) (*RPCSuccess, error) + // 删除任务 + DeleteACMETask(ctx context.Context, in *DeleteACMETaskRequest, opts ...grpc.CallOption) (*RPCSuccess, error) + // 运行某个任务 + RunACMETask(ctx context.Context, in *RunACMETaskRequest, opts ...grpc.CallOption) (*RunACMETaskResponse, error) + // 查找单个任务信息 + FindEnabledACMETask(ctx context.Context, in *FindEnabledACMETaskRequest, opts ...grpc.CallOption) (*FindEnabledACMETaskResponse, error) +} + +type aCMETaskServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewACMETaskServiceClient(cc grpc.ClientConnInterface) ACMETaskServiceClient { + return &aCMETaskServiceClient{cc} +} + +func (c *aCMETaskServiceClient) CountAllEnabledACMETasksWithACMEUserId(ctx context.Context, in *CountAllEnabledACMETasksWithACMEUserIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/countAllEnabledACMETasksWithACMEUserId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) CountEnabledACMETasksWithDNSProviderId(ctx context.Context, in *CountEnabledACMETasksWithDNSProviderIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/countEnabledACMETasksWithDNSProviderId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) CountAllEnabledACMETasks(ctx context.Context, in *CountAllEnabledACMETasksRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { + out := new(RPCCountResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/countAllEnabledACMETasks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) ListEnabledACMETasks(ctx context.Context, in *ListEnabledACMETasksRequest, opts ...grpc.CallOption) (*ListEnabledACMETasksResponse, error) { + out := new(ListEnabledACMETasksResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/listEnabledACMETasks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) CreateACMETask(ctx context.Context, in *CreateACMETaskRequest, opts ...grpc.CallOption) (*CreateACMETaskResponse, error) { + out := new(CreateACMETaskResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/createACMETask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) UpdateACMETask(ctx context.Context, in *UpdateACMETaskRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/updateACMETask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) DeleteACMETask(ctx context.Context, in *DeleteACMETaskRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/deleteACMETask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) RunACMETask(ctx context.Context, in *RunACMETaskRequest, opts ...grpc.CallOption) (*RunACMETaskResponse, error) { + out := new(RunACMETaskResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/runACMETask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *aCMETaskServiceClient) FindEnabledACMETask(ctx context.Context, in *FindEnabledACMETaskRequest, opts ...grpc.CallOption) (*FindEnabledACMETaskResponse, error) { + out := new(FindEnabledACMETaskResponse) + err := c.cc.Invoke(ctx, "/pb.ACMETaskService/findEnabledACMETask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ACMETaskServiceServer is the server API for ACMETaskService service. +type ACMETaskServiceServer interface { + // 计算某个ACME用户相关的任务数量 + CountAllEnabledACMETasksWithACMEUserId(context.Context, *CountAllEnabledACMETasksWithACMEUserIdRequest) (*RPCCountResponse, error) + // 计算跟某个DNS服务商相关的任务数量 + CountEnabledACMETasksWithDNSProviderId(context.Context, *CountEnabledACMETasksWithDNSProviderIdRequest) (*RPCCountResponse, error) + // 计算所有任务数量 + CountAllEnabledACMETasks(context.Context, *CountAllEnabledACMETasksRequest) (*RPCCountResponse, error) + // 列出单页任务 + ListEnabledACMETasks(context.Context, *ListEnabledACMETasksRequest) (*ListEnabledACMETasksResponse, error) + // 创建任务 + CreateACMETask(context.Context, *CreateACMETaskRequest) (*CreateACMETaskResponse, error) + // 修改任务 + UpdateACMETask(context.Context, *UpdateACMETaskRequest) (*RPCSuccess, error) + // 删除任务 + DeleteACMETask(context.Context, *DeleteACMETaskRequest) (*RPCSuccess, error) + // 运行某个任务 + RunACMETask(context.Context, *RunACMETaskRequest) (*RunACMETaskResponse, error) + // 查找单个任务信息 + FindEnabledACMETask(context.Context, *FindEnabledACMETaskRequest) (*FindEnabledACMETaskResponse, error) +} + +// UnimplementedACMETaskServiceServer can be embedded to have forward compatible implementations. +type UnimplementedACMETaskServiceServer struct { +} + +func (*UnimplementedACMETaskServiceServer) CountAllEnabledACMETasksWithACMEUserId(context.Context, *CountAllEnabledACMETasksWithACMEUserIdRequest) (*RPCCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledACMETasksWithACMEUserId not implemented") +} +func (*UnimplementedACMETaskServiceServer) CountEnabledACMETasksWithDNSProviderId(context.Context, *CountEnabledACMETasksWithDNSProviderIdRequest) (*RPCCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountEnabledACMETasksWithDNSProviderId not implemented") +} +func (*UnimplementedACMETaskServiceServer) CountAllEnabledACMETasks(context.Context, *CountAllEnabledACMETasksRequest) (*RPCCountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledACMETasks not implemented") +} +func (*UnimplementedACMETaskServiceServer) ListEnabledACMETasks(context.Context, *ListEnabledACMETasksRequest) (*ListEnabledACMETasksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListEnabledACMETasks not implemented") +} +func (*UnimplementedACMETaskServiceServer) CreateACMETask(context.Context, *CreateACMETaskRequest) (*CreateACMETaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateACMETask not implemented") +} +func (*UnimplementedACMETaskServiceServer) UpdateACMETask(context.Context, *UpdateACMETaskRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateACMETask not implemented") +} +func (*UnimplementedACMETaskServiceServer) DeleteACMETask(context.Context, *DeleteACMETaskRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteACMETask not implemented") +} +func (*UnimplementedACMETaskServiceServer) RunACMETask(context.Context, *RunACMETaskRequest) (*RunACMETaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RunACMETask not implemented") +} +func (*UnimplementedACMETaskServiceServer) FindEnabledACMETask(context.Context, *FindEnabledACMETaskRequest) (*FindEnabledACMETaskResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindEnabledACMETask not implemented") +} + +func RegisterACMETaskServiceServer(s *grpc.Server, srv ACMETaskServiceServer) { + s.RegisterService(&_ACMETaskService_serviceDesc, srv) +} + +func _ACMETaskService_CountAllEnabledACMETasksWithACMEUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountAllEnabledACMETasksWithACMEUserIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).CountAllEnabledACMETasksWithACMEUserId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/CountAllEnabledACMETasksWithACMEUserId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).CountAllEnabledACMETasksWithACMEUserId(ctx, req.(*CountAllEnabledACMETasksWithACMEUserIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_CountEnabledACMETasksWithDNSProviderId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountEnabledACMETasksWithDNSProviderIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).CountEnabledACMETasksWithDNSProviderId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/CountEnabledACMETasksWithDNSProviderId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).CountEnabledACMETasksWithDNSProviderId(ctx, req.(*CountEnabledACMETasksWithDNSProviderIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_CountAllEnabledACMETasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountAllEnabledACMETasksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).CountAllEnabledACMETasks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/CountAllEnabledACMETasks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).CountAllEnabledACMETasks(ctx, req.(*CountAllEnabledACMETasksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_ListEnabledACMETasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListEnabledACMETasksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).ListEnabledACMETasks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/ListEnabledACMETasks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).ListEnabledACMETasks(ctx, req.(*ListEnabledACMETasksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_CreateACMETask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateACMETaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).CreateACMETask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/CreateACMETask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).CreateACMETask(ctx, req.(*CreateACMETaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_UpdateACMETask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateACMETaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).UpdateACMETask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/UpdateACMETask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).UpdateACMETask(ctx, req.(*UpdateACMETaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_DeleteACMETask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteACMETaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).DeleteACMETask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/DeleteACMETask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).DeleteACMETask(ctx, req.(*DeleteACMETaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_RunACMETask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RunACMETaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).RunACMETask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/RunACMETask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).RunACMETask(ctx, req.(*RunACMETaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ACMETaskService_FindEnabledACMETask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindEnabledACMETaskRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMETaskServiceServer).FindEnabledACMETask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMETaskService/FindEnabledACMETask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMETaskServiceServer).FindEnabledACMETask(ctx, req.(*FindEnabledACMETaskRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ACMETaskService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "pb.ACMETaskService", + HandlerType: (*ACMETaskServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "countAllEnabledACMETasksWithACMEUserId", + Handler: _ACMETaskService_CountAllEnabledACMETasksWithACMEUserId_Handler, + }, + { + MethodName: "countEnabledACMETasksWithDNSProviderId", + Handler: _ACMETaskService_CountEnabledACMETasksWithDNSProviderId_Handler, + }, + { + MethodName: "countAllEnabledACMETasks", + Handler: _ACMETaskService_CountAllEnabledACMETasks_Handler, + }, + { + MethodName: "listEnabledACMETasks", + Handler: _ACMETaskService_ListEnabledACMETasks_Handler, + }, + { + MethodName: "createACMETask", + Handler: _ACMETaskService_CreateACMETask_Handler, + }, + { + MethodName: "updateACMETask", + Handler: _ACMETaskService_UpdateACMETask_Handler, + }, + { + MethodName: "deleteACMETask", + Handler: _ACMETaskService_DeleteACMETask_Handler, + }, + { + MethodName: "runACMETask", + Handler: _ACMETaskService_RunACMETask_Handler, + }, + { + MethodName: "findEnabledACMETask", + Handler: _ACMETaskService_FindEnabledACMETask_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "service_acme_task.proto", +} diff --git a/pkg/rpc/pb/service_acme_user.pb.go b/pkg/rpc/pb/service_acme_user.pb.go index c654824..1bd8614 100644 --- a/pkg/rpc/pb/service_acme_user.pb.go +++ b/pkg/rpc/pb/service_acme_user.pb.go @@ -506,6 +506,109 @@ func (x *FindEnabledACMEUserResponse) GetAcmeUser() *ACMEUser { return nil } +// 查找所有用户 +type FindAllACMEUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` +} + +func (x *FindAllACMEUsersRequest) Reset() { + *x = FindAllACMEUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_user_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllACMEUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllACMEUsersRequest) ProtoMessage() {} + +func (x *FindAllACMEUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_user_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllACMEUsersRequest.ProtoReflect.Descriptor instead. +func (*FindAllACMEUsersRequest) Descriptor() ([]byte, []int) { + return file_service_acme_user_proto_rawDescGZIP(), []int{9} +} + +func (x *FindAllACMEUsersRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *FindAllACMEUsersRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +type FindAllACMEUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcmeUsers []*ACMEUser `protobuf:"bytes,1,rep,name=acmeUsers,proto3" json:"acmeUsers,omitempty"` +} + +func (x *FindAllACMEUsersResponse) Reset() { + *x = FindAllACMEUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_acme_user_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllACMEUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllACMEUsersResponse) ProtoMessage() {} + +func (x *FindAllACMEUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_acme_user_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllACMEUsersResponse.ProtoReflect.Descriptor instead. +func (*FindAllACMEUsersResponse) Descriptor() ([]byte, []int) { + return file_service_acme_user_proto_rawDescGZIP(), []int{10} +} + +func (x *FindAllACMEUsersResponse) GetAcmeUsers() []*ACMEUser { + if x != nil { + return x.AcmeUsers + } + return nil +} + var File_service_acme_user_proto protoreflect.FileDescriptor var file_service_acme_user_proto_rawDesc = []byte{ @@ -556,35 +659,49 @@ var file_service_acme_user_proto_rawDesc = []byte{ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x61, 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x61, 0x63, 0x6d, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x32, 0xb5, 0x03, 0x0a, 0x0f, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, - 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x22, 0x4b, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, + 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x22, 0x46, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x43, 0x4d, 0x45, + 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, + 0x09, 0x61, 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x09, + 0x61, 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, 0x84, 0x04, 0x0a, 0x0f, 0x41, 0x43, + 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, + 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, + 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, - 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3b, - 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, - 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x0e, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x19, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, - 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, - 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, - 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, - 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, - 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x43, 0x4d, + 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x41, 0x0a, 0x0e, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, + 0x72, 0x73, 0x12, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x6d, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, + 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, + 0x73, 0x65, 0x72, 0x73, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x43, + 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, + 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x66, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, 0x43, 0x4d, 0x45, + 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x41, + 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -599,7 +716,7 @@ func file_service_acme_user_proto_rawDescGZIP() []byte { return file_service_acme_user_proto_rawDescData } -var file_service_acme_user_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_service_acme_user_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_service_acme_user_proto_goTypes = []interface{}{ (*CreateACMEUserRequest)(nil), // 0: pb.CreateACMEUserRequest (*CreateACMEUserResponse)(nil), // 1: pb.CreateACMEUserResponse @@ -610,30 +727,35 @@ var file_service_acme_user_proto_goTypes = []interface{}{ (*ListACMEUsersResponse)(nil), // 6: pb.ListACMEUsersResponse (*FindEnabledACMEUserRequest)(nil), // 7: pb.FindEnabledACMEUserRequest (*FindEnabledACMEUserResponse)(nil), // 8: pb.FindEnabledACMEUserResponse - (*ACMEUser)(nil), // 9: pb.ACMEUser - (*RPCSuccess)(nil), // 10: pb.RPCSuccess - (*RPCCountResponse)(nil), // 11: pb.RPCCountResponse + (*FindAllACMEUsersRequest)(nil), // 9: pb.FindAllACMEUsersRequest + (*FindAllACMEUsersResponse)(nil), // 10: pb.FindAllACMEUsersResponse + (*ACMEUser)(nil), // 11: pb.ACMEUser + (*RPCSuccess)(nil), // 12: pb.RPCSuccess + (*RPCCountResponse)(nil), // 13: pb.RPCCountResponse } var file_service_acme_user_proto_depIdxs = []int32{ - 9, // 0: pb.ListACMEUsersResponse.acmeUsers:type_name -> pb.ACMEUser - 9, // 1: pb.FindEnabledACMEUserResponse.acmeUser:type_name -> pb.ACMEUser - 0, // 2: pb.ACMEUserService.createACMEUser:input_type -> pb.CreateACMEUserRequest - 2, // 3: pb.ACMEUserService.updateACMEUser:input_type -> pb.UpdateACMEUserRequest - 3, // 4: pb.ACMEUserService.deleteACMEUser:input_type -> pb.DeleteACMEUserRequest - 4, // 5: pb.ACMEUserService.countACMEUsers:input_type -> pb.CountAcmeUsersRequest - 5, // 6: pb.ACMEUserService.listACMEUsers:input_type -> pb.ListACMEUsersRequest - 7, // 7: pb.ACMEUserService.findEnabledACMEUser:input_type -> pb.FindEnabledACMEUserRequest - 1, // 8: pb.ACMEUserService.createACMEUser:output_type -> pb.CreateACMEUserResponse - 10, // 9: pb.ACMEUserService.updateACMEUser:output_type -> pb.RPCSuccess - 10, // 10: pb.ACMEUserService.deleteACMEUser:output_type -> pb.RPCSuccess - 11, // 11: pb.ACMEUserService.countACMEUsers:output_type -> pb.RPCCountResponse - 6, // 12: pb.ACMEUserService.listACMEUsers:output_type -> pb.ListACMEUsersResponse - 8, // 13: pb.ACMEUserService.findEnabledACMEUser:output_type -> pb.FindEnabledACMEUserResponse - 8, // [8:14] is the sub-list for method output_type - 2, // [2:8] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name + 11, // 0: pb.ListACMEUsersResponse.acmeUsers:type_name -> pb.ACMEUser + 11, // 1: pb.FindEnabledACMEUserResponse.acmeUser:type_name -> pb.ACMEUser + 11, // 2: pb.FindAllACMEUsersResponse.acmeUsers:type_name -> pb.ACMEUser + 0, // 3: pb.ACMEUserService.createACMEUser:input_type -> pb.CreateACMEUserRequest + 2, // 4: pb.ACMEUserService.updateACMEUser:input_type -> pb.UpdateACMEUserRequest + 3, // 5: pb.ACMEUserService.deleteACMEUser:input_type -> pb.DeleteACMEUserRequest + 4, // 6: pb.ACMEUserService.countACMEUsers:input_type -> pb.CountAcmeUsersRequest + 5, // 7: pb.ACMEUserService.listACMEUsers:input_type -> pb.ListACMEUsersRequest + 7, // 8: pb.ACMEUserService.findEnabledACMEUser:input_type -> pb.FindEnabledACMEUserRequest + 9, // 9: pb.ACMEUserService.findAllACMEUsers:input_type -> pb.FindAllACMEUsersRequest + 1, // 10: pb.ACMEUserService.createACMEUser:output_type -> pb.CreateACMEUserResponse + 12, // 11: pb.ACMEUserService.updateACMEUser:output_type -> pb.RPCSuccess + 12, // 12: pb.ACMEUserService.deleteACMEUser:output_type -> pb.RPCSuccess + 13, // 13: pb.ACMEUserService.countACMEUsers:output_type -> pb.RPCCountResponse + 6, // 14: pb.ACMEUserService.listACMEUsers:output_type -> pb.ListACMEUsersResponse + 8, // 15: pb.ACMEUserService.findEnabledACMEUser:output_type -> pb.FindEnabledACMEUserResponse + 10, // 16: pb.ACMEUserService.findAllACMEUsers:output_type -> pb.FindAllACMEUsersResponse + 10, // [10:17] is the sub-list for method output_type + 3, // [3:10] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name } func init() { file_service_acme_user_proto_init() } @@ -752,6 +874,30 @@ func file_service_acme_user_proto_init() { return nil } } + file_service_acme_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllACMEUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_acme_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllACMEUsersResponse); 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{ @@ -759,7 +905,7 @@ func file_service_acme_user_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_acme_user_proto_rawDesc, NumEnums: 0, - NumMessages: 9, + NumMessages: 11, NumExtensions: 0, NumServices: 1, }, @@ -797,6 +943,8 @@ type ACMEUserServiceClient interface { ListACMEUsers(ctx context.Context, in *ListACMEUsersRequest, opts ...grpc.CallOption) (*ListACMEUsersResponse, error) // 查找单个用户 FindEnabledACMEUser(ctx context.Context, in *FindEnabledACMEUserRequest, opts ...grpc.CallOption) (*FindEnabledACMEUserResponse, error) + // 查找所有用户 + FindAllACMEUsers(ctx context.Context, in *FindAllACMEUsersRequest, opts ...grpc.CallOption) (*FindAllACMEUsersResponse, error) } type aCMEUserServiceClient struct { @@ -861,6 +1009,15 @@ func (c *aCMEUserServiceClient) FindEnabledACMEUser(ctx context.Context, in *Fin return out, nil } +func (c *aCMEUserServiceClient) FindAllACMEUsers(ctx context.Context, in *FindAllACMEUsersRequest, opts ...grpc.CallOption) (*FindAllACMEUsersResponse, error) { + out := new(FindAllACMEUsersResponse) + err := c.cc.Invoke(ctx, "/pb.ACMEUserService/findAllACMEUsers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ACMEUserServiceServer is the server API for ACMEUserService service. type ACMEUserServiceServer interface { // 创建用户 @@ -875,6 +1032,8 @@ type ACMEUserServiceServer interface { ListACMEUsers(context.Context, *ListACMEUsersRequest) (*ListACMEUsersResponse, error) // 查找单个用户 FindEnabledACMEUser(context.Context, *FindEnabledACMEUserRequest) (*FindEnabledACMEUserResponse, error) + // 查找所有用户 + FindAllACMEUsers(context.Context, *FindAllACMEUsersRequest) (*FindAllACMEUsersResponse, error) } // UnimplementedACMEUserServiceServer can be embedded to have forward compatible implementations. @@ -899,6 +1058,9 @@ func (*UnimplementedACMEUserServiceServer) ListACMEUsers(context.Context, *ListA func (*UnimplementedACMEUserServiceServer) FindEnabledACMEUser(context.Context, *FindEnabledACMEUserRequest) (*FindEnabledACMEUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledACMEUser not implemented") } +func (*UnimplementedACMEUserServiceServer) FindAllACMEUsers(context.Context, *FindAllACMEUsersRequest) (*FindAllACMEUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAllACMEUsers not implemented") +} func RegisterACMEUserServiceServer(s *grpc.Server, srv ACMEUserServiceServer) { s.RegisterService(&_ACMEUserService_serviceDesc, srv) @@ -1012,6 +1174,24 @@ func _ACMEUserService_FindEnabledACMEUser_Handler(srv interface{}, ctx context.C return interceptor(ctx, in, info, handler) } +func _ACMEUserService_FindAllACMEUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindAllACMEUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ACMEUserServiceServer).FindAllACMEUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ACMEUserService/FindAllACMEUsers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ACMEUserServiceServer).FindAllACMEUsers(ctx, req.(*FindAllACMEUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _ACMEUserService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.ACMEUserService", HandlerType: (*ACMEUserServiceServer)(nil), @@ -1040,6 +1220,10 @@ var _ACMEUserService_serviceDesc = grpc.ServiceDesc{ MethodName: "findEnabledACMEUser", Handler: _ACMEUserService_FindEnabledACMEUser_Handler, }, + { + MethodName: "findAllACMEUsers", + Handler: _ACMEUserService_FindAllACMEUsers_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_acme_user.proto", diff --git a/pkg/rpc/pb/service_dns_provider.pb.go b/pkg/rpc/pb/service_dns_provider.pb.go index 858fc1f..741a20b 100644 --- a/pkg/rpc/pb/service_dns_provider.pb.go +++ b/pkg/rpc/pb/service_dns_provider.pb.go @@ -209,6 +209,9 @@ type CountAllEnabledDNSProvidersRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` } func (x *CountAllEnabledDNSProvidersRequest) Reset() { @@ -243,14 +246,30 @@ func (*CountAllEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) { return file_service_dns_provider_proto_rawDescGZIP(), []int{3} } +func (x *CountAllEnabledDNSProvidersRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *CountAllEnabledDNSProvidersRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + // 列出单页的服务商信息 type ListEnabledDNSProvidersRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` + Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` } func (x *ListEnabledDNSProvidersRequest) Reset() { @@ -285,6 +304,20 @@ func (*ListEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) { return file_service_dns_provider_proto_rawDescGZIP(), []int{4} } +func (x *ListEnabledDNSProvidersRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *ListEnabledDNSProvidersRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + func (x *ListEnabledDNSProvidersRequest) GetOffset() int64 { if x != nil { return x.Offset @@ -346,6 +379,109 @@ func (x *ListEnabledDNSProvidersResponse) GetDnsProviders() []*DNSProvider { return nil } +// 查找所有的DNS服务商 +type FindAllEnabledDNSProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` + UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` +} + +func (x *FindAllEnabledDNSProvidersRequest) Reset() { + *x = FindAllEnabledDNSProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_provider_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllEnabledDNSProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllEnabledDNSProvidersRequest) ProtoMessage() {} + +func (x *FindAllEnabledDNSProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_provider_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllEnabledDNSProvidersRequest.ProtoReflect.Descriptor instead. +func (*FindAllEnabledDNSProvidersRequest) Descriptor() ([]byte, []int) { + return file_service_dns_provider_proto_rawDescGZIP(), []int{6} +} + +func (x *FindAllEnabledDNSProvidersRequest) GetAdminId() int64 { + if x != nil { + return x.AdminId + } + return 0 +} + +func (x *FindAllEnabledDNSProvidersRequest) GetUserId() int64 { + if x != nil { + return x.UserId + } + return 0 +} + +type FindAllEnabledDNSProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsProviders []*DNSProvider `protobuf:"bytes,1,rep,name=dnsProviders,proto3" json:"dnsProviders,omitempty"` +} + +func (x *FindAllEnabledDNSProvidersResponse) Reset() { + *x = FindAllEnabledDNSProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_dns_provider_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllEnabledDNSProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllEnabledDNSProvidersResponse) ProtoMessage() {} + +func (x *FindAllEnabledDNSProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_dns_provider_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllEnabledDNSProvidersResponse.ProtoReflect.Descriptor instead. +func (*FindAllEnabledDNSProvidersResponse) Descriptor() ([]byte, []int) { + return file_service_dns_provider_proto_rawDescGZIP(), []int{7} +} + +func (x *FindAllEnabledDNSProvidersResponse) GetDnsProviders() []*DNSProvider { + if x != nil { + return x.DnsProviders + } + return nil +} + // 删除服务商 type DeleteDNSProviderRequest struct { state protoimpl.MessageState @@ -358,7 +494,7 @@ type DeleteDNSProviderRequest struct { func (x *DeleteDNSProviderRequest) Reset() { *x = DeleteDNSProviderRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[6] + mi := &file_service_dns_provider_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -371,7 +507,7 @@ func (x *DeleteDNSProviderRequest) String() string { func (*DeleteDNSProviderRequest) ProtoMessage() {} func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[6] + mi := &file_service_dns_provider_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -384,7 +520,7 @@ func (x *DeleteDNSProviderRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteDNSProviderRequest.ProtoReflect.Descriptor instead. func (*DeleteDNSProviderRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{6} + return file_service_dns_provider_proto_rawDescGZIP(), []int{8} } func (x *DeleteDNSProviderRequest) GetDnsProviderId() int64 { @@ -406,7 +542,7 @@ type FindEnabledDNSProviderRequest struct { func (x *FindEnabledDNSProviderRequest) Reset() { *x = FindEnabledDNSProviderRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[7] + mi := &file_service_dns_provider_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -419,7 +555,7 @@ func (x *FindEnabledDNSProviderRequest) String() string { func (*FindEnabledDNSProviderRequest) ProtoMessage() {} func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[7] + mi := &file_service_dns_provider_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -432,7 +568,7 @@ func (x *FindEnabledDNSProviderRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDNSProviderRequest.ProtoReflect.Descriptor instead. func (*FindEnabledDNSProviderRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{7} + return file_service_dns_provider_proto_rawDescGZIP(), []int{9} } func (x *FindEnabledDNSProviderRequest) GetDnsProviderId() int64 { @@ -453,7 +589,7 @@ type FindEnabledDNSProviderResponse struct { func (x *FindEnabledDNSProviderResponse) Reset() { *x = FindEnabledDNSProviderResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[8] + mi := &file_service_dns_provider_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -466,7 +602,7 @@ func (x *FindEnabledDNSProviderResponse) String() string { func (*FindEnabledDNSProviderResponse) ProtoMessage() {} func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[8] + mi := &file_service_dns_provider_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -479,7 +615,7 @@ func (x *FindEnabledDNSProviderResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledDNSProviderResponse.ProtoReflect.Descriptor instead. func (*FindEnabledDNSProviderResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{8} + return file_service_dns_provider_proto_rawDescGZIP(), []int{10} } func (x *FindEnabledDNSProviderResponse) GetDnsProvider() *DNSProvider { @@ -499,7 +635,7 @@ type FindAllDNSProviderTypesRequest struct { func (x *FindAllDNSProviderTypesRequest) Reset() { *x = FindAllDNSProviderTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[9] + mi := &file_service_dns_provider_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -512,7 +648,7 @@ func (x *FindAllDNSProviderTypesRequest) String() string { func (*FindAllDNSProviderTypesRequest) ProtoMessage() {} func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[9] + mi := &file_service_dns_provider_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -525,7 +661,7 @@ func (x *FindAllDNSProviderTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllDNSProviderTypesRequest.ProtoReflect.Descriptor instead. func (*FindAllDNSProviderTypesRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{9} + return file_service_dns_provider_proto_rawDescGZIP(), []int{11} } type FindAllDNSProviderTypesResponse struct { @@ -539,7 +675,7 @@ type FindAllDNSProviderTypesResponse struct { func (x *FindAllDNSProviderTypesResponse) Reset() { *x = FindAllDNSProviderTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[10] + mi := &file_service_dns_provider_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -552,7 +688,7 @@ func (x *FindAllDNSProviderTypesResponse) String() string { func (*FindAllDNSProviderTypesResponse) ProtoMessage() {} func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[10] + mi := &file_service_dns_provider_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -565,7 +701,7 @@ func (x *FindAllDNSProviderTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindAllDNSProviderTypesResponse.ProtoReflect.Descriptor instead. func (*FindAllDNSProviderTypesResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{10} + return file_service_dns_provider_proto_rawDescGZIP(), []int{12} } func (x *FindAllDNSProviderTypesResponse) GetProviderTypes() []*DNSProviderType { @@ -587,7 +723,7 @@ type DNSProviderType struct { func (x *DNSProviderType) Reset() { *x = DNSProviderType{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[11] + mi := &file_service_dns_provider_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -600,7 +736,7 @@ func (x *DNSProviderType) String() string { func (*DNSProviderType) ProtoMessage() {} func (x *DNSProviderType) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[11] + mi := &file_service_dns_provider_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -613,7 +749,7 @@ func (x *DNSProviderType) ProtoReflect() protoreflect.Message { // Deprecated: Use DNSProviderType.ProtoReflect.Descriptor instead. func (*DNSProviderType) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{11} + return file_service_dns_provider_proto_rawDescGZIP(), []int{13} } func (x *DNSProviderType) GetName() string { @@ -642,7 +778,7 @@ type FindAllEnabledDNSProvidersWithTypeRequest struct { func (x *FindAllEnabledDNSProvidersWithTypeRequest) Reset() { *x = FindAllEnabledDNSProvidersWithTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[12] + mi := &file_service_dns_provider_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -655,7 +791,7 @@ func (x *FindAllEnabledDNSProvidersWithTypeRequest) String() string { func (*FindAllEnabledDNSProvidersWithTypeRequest) ProtoMessage() {} func (x *FindAllEnabledDNSProvidersWithTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[12] + mi := &file_service_dns_provider_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -668,7 +804,7 @@ func (x *FindAllEnabledDNSProvidersWithTypeRequest) ProtoReflect() protoreflect. // Deprecated: Use FindAllEnabledDNSProvidersWithTypeRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledDNSProvidersWithTypeRequest) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{12} + return file_service_dns_provider_proto_rawDescGZIP(), []int{14} } func (x *FindAllEnabledDNSProvidersWithTypeRequest) GetProviderTypeCode() string { @@ -689,7 +825,7 @@ type FindAllEnabledDNSProvidersWithTypeResponse struct { func (x *FindAllEnabledDNSProvidersWithTypeResponse) Reset() { *x = FindAllEnabledDNSProvidersWithTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_dns_provider_proto_msgTypes[13] + mi := &file_service_dns_provider_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -702,7 +838,7 @@ func (x *FindAllEnabledDNSProvidersWithTypeResponse) String() string { func (*FindAllEnabledDNSProvidersWithTypeResponse) ProtoMessage() {} func (x *FindAllEnabledDNSProvidersWithTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_dns_provider_proto_msgTypes[13] + mi := &file_service_dns_provider_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -715,7 +851,7 @@ func (x *FindAllEnabledDNSProvidersWithTypeResponse) ProtoReflect() protoreflect // Deprecated: Use FindAllEnabledDNSProvidersWithTypeResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledDNSProvidersWithTypeResponse) Descriptor() ([]byte, []int) { - return file_service_dns_provider_proto_rawDescGZIP(), []int{13} + return file_service_dns_provider_proto_rawDescGZIP(), []int{15} } func (x *FindAllEnabledDNSProvidersWithTypeResponse) GetDnsProviders() []*DNSProvider { @@ -751,106 +887,130 @@ var file_service_dns_provider_proto_rawDesc = []byte{ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x56, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, 0x0a, - 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x56, 0x0a, 0x1f, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, - 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, - 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, - 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, - 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, - 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x57, 0x0a, 0x29, - 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, - 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x61, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, - 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0xf8, 0x05, 0x0a, 0x12, 0x44, 0x4e, 0x53, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, - 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, - 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, - 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, - 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, - 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, + 0x7e, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, + 0x56, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x55, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x59, + 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, + 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, + 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x1d, 0x46, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, + 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, + 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, - 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x39, 0x0a, 0x0f, 0x44, 0x4e, 0x53, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x22, 0x57, 0x0a, 0x29, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x61, 0x0a, 0x2a, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x64, 0x6e, 0x73, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0xe5, + 0x06, 0x0a, 0x12, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, + 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, + 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, + 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, + 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x66, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, + 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, + 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x66, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, + 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, + 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -865,7 +1025,7 @@ func file_service_dns_provider_proto_rawDescGZIP() []byte { return file_service_dns_provider_proto_rawDescData } -var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_service_dns_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 16) var file_service_dns_provider_proto_goTypes = []interface{}{ (*CreateDNSProviderRequest)(nil), // 0: pb.CreateDNSProviderRequest (*CreateDNSProviderResponse)(nil), // 1: pb.CreateDNSProviderResponse @@ -873,44 +1033,49 @@ var file_service_dns_provider_proto_goTypes = []interface{}{ (*CountAllEnabledDNSProvidersRequest)(nil), // 3: pb.CountAllEnabledDNSProvidersRequest (*ListEnabledDNSProvidersRequest)(nil), // 4: pb.ListEnabledDNSProvidersRequest (*ListEnabledDNSProvidersResponse)(nil), // 5: pb.ListEnabledDNSProvidersResponse - (*DeleteDNSProviderRequest)(nil), // 6: pb.DeleteDNSProviderRequest - (*FindEnabledDNSProviderRequest)(nil), // 7: pb.FindEnabledDNSProviderRequest - (*FindEnabledDNSProviderResponse)(nil), // 8: pb.FindEnabledDNSProviderResponse - (*FindAllDNSProviderTypesRequest)(nil), // 9: pb.FindAllDNSProviderTypesRequest - (*FindAllDNSProviderTypesResponse)(nil), // 10: pb.FindAllDNSProviderTypesResponse - (*DNSProviderType)(nil), // 11: pb.DNSProviderType - (*FindAllEnabledDNSProvidersWithTypeRequest)(nil), // 12: pb.FindAllEnabledDNSProvidersWithTypeRequest - (*FindAllEnabledDNSProvidersWithTypeResponse)(nil), // 13: pb.FindAllEnabledDNSProvidersWithTypeResponse - (*DNSProvider)(nil), // 14: pb.DNSProvider - (*RPCSuccess)(nil), // 15: pb.RPCSuccess - (*RPCCountResponse)(nil), // 16: pb.RPCCountResponse + (*FindAllEnabledDNSProvidersRequest)(nil), // 6: pb.FindAllEnabledDNSProvidersRequest + (*FindAllEnabledDNSProvidersResponse)(nil), // 7: pb.FindAllEnabledDNSProvidersResponse + (*DeleteDNSProviderRequest)(nil), // 8: pb.DeleteDNSProviderRequest + (*FindEnabledDNSProviderRequest)(nil), // 9: pb.FindEnabledDNSProviderRequest + (*FindEnabledDNSProviderResponse)(nil), // 10: pb.FindEnabledDNSProviderResponse + (*FindAllDNSProviderTypesRequest)(nil), // 11: pb.FindAllDNSProviderTypesRequest + (*FindAllDNSProviderTypesResponse)(nil), // 12: pb.FindAllDNSProviderTypesResponse + (*DNSProviderType)(nil), // 13: pb.DNSProviderType + (*FindAllEnabledDNSProvidersWithTypeRequest)(nil), // 14: pb.FindAllEnabledDNSProvidersWithTypeRequest + (*FindAllEnabledDNSProvidersWithTypeResponse)(nil), // 15: pb.FindAllEnabledDNSProvidersWithTypeResponse + (*DNSProvider)(nil), // 16: pb.DNSProvider + (*RPCSuccess)(nil), // 17: pb.RPCSuccess + (*RPCCountResponse)(nil), // 18: pb.RPCCountResponse } var file_service_dns_provider_proto_depIdxs = []int32{ - 14, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider - 14, // 1: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider - 11, // 2: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType - 14, // 3: pb.FindAllEnabledDNSProvidersWithTypeResponse.dnsProviders:type_name -> pb.DNSProvider - 0, // 4: pb.DNSProviderService.createDNSProvider:input_type -> pb.CreateDNSProviderRequest - 2, // 5: pb.DNSProviderService.updateDNSProvider:input_type -> pb.UpdateDNSProviderRequest - 3, // 6: pb.DNSProviderService.countAllEnabledDNSProviders:input_type -> pb.CountAllEnabledDNSProvidersRequest - 4, // 7: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest - 6, // 8: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest - 7, // 9: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest - 9, // 10: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest - 12, // 11: pb.DNSProviderService.findAllEnabledDNSProvidersWithType:input_type -> pb.FindAllEnabledDNSProvidersWithTypeRequest - 1, // 12: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse - 15, // 13: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCSuccess - 16, // 14: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.RPCCountResponse - 5, // 15: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse - 15, // 16: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCSuccess - 8, // 17: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse - 10, // 18: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse - 13, // 19: pb.DNSProviderService.findAllEnabledDNSProvidersWithType:output_type -> pb.FindAllEnabledDNSProvidersWithTypeResponse - 12, // [12:20] is the sub-list for method output_type - 4, // [4:12] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 16, // 0: pb.ListEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider + 16, // 1: pb.FindAllEnabledDNSProvidersResponse.dnsProviders:type_name -> pb.DNSProvider + 16, // 2: pb.FindEnabledDNSProviderResponse.dnsProvider:type_name -> pb.DNSProvider + 13, // 3: pb.FindAllDNSProviderTypesResponse.providerTypes:type_name -> pb.DNSProviderType + 16, // 4: pb.FindAllEnabledDNSProvidersWithTypeResponse.dnsProviders:type_name -> pb.DNSProvider + 0, // 5: pb.DNSProviderService.createDNSProvider:input_type -> pb.CreateDNSProviderRequest + 2, // 6: pb.DNSProviderService.updateDNSProvider:input_type -> pb.UpdateDNSProviderRequest + 3, // 7: pb.DNSProviderService.countAllEnabledDNSProviders:input_type -> pb.CountAllEnabledDNSProvidersRequest + 4, // 8: pb.DNSProviderService.listEnabledDNSProviders:input_type -> pb.ListEnabledDNSProvidersRequest + 6, // 9: pb.DNSProviderService.findAllEnabledDNSProviders:input_type -> pb.FindAllEnabledDNSProvidersRequest + 8, // 10: pb.DNSProviderService.deleteDNSProvider:input_type -> pb.DeleteDNSProviderRequest + 9, // 11: pb.DNSProviderService.findEnabledDNSProvider:input_type -> pb.FindEnabledDNSProviderRequest + 11, // 12: pb.DNSProviderService.findAllDNSProviderTypes:input_type -> pb.FindAllDNSProviderTypesRequest + 14, // 13: pb.DNSProviderService.findAllEnabledDNSProvidersWithType:input_type -> pb.FindAllEnabledDNSProvidersWithTypeRequest + 1, // 14: pb.DNSProviderService.createDNSProvider:output_type -> pb.CreateDNSProviderResponse + 17, // 15: pb.DNSProviderService.updateDNSProvider:output_type -> pb.RPCSuccess + 18, // 16: pb.DNSProviderService.countAllEnabledDNSProviders:output_type -> pb.RPCCountResponse + 5, // 17: pb.DNSProviderService.listEnabledDNSProviders:output_type -> pb.ListEnabledDNSProvidersResponse + 7, // 18: pb.DNSProviderService.findAllEnabledDNSProviders:output_type -> pb.FindAllEnabledDNSProvidersResponse + 17, // 19: pb.DNSProviderService.deleteDNSProvider:output_type -> pb.RPCSuccess + 10, // 20: pb.DNSProviderService.findEnabledDNSProvider:output_type -> pb.FindEnabledDNSProviderResponse + 12, // 21: pb.DNSProviderService.findAllDNSProviderTypes:output_type -> pb.FindAllDNSProviderTypesResponse + 15, // 22: pb.DNSProviderService.findAllEnabledDNSProvidersWithType:output_type -> pb.FindAllEnabledDNSProvidersWithTypeResponse + 14, // [14:23] is the sub-list for method output_type + 5, // [5:14] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_service_dns_provider_proto_init() } @@ -994,7 +1159,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteDNSProviderRequest); i { + switch v := v.(*FindAllEnabledDNSProvidersRequest); i { case 0: return &v.state case 1: @@ -1006,7 +1171,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledDNSProviderRequest); i { + switch v := v.(*FindAllEnabledDNSProvidersResponse); i { case 0: return &v.state case 1: @@ -1018,7 +1183,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledDNSProviderResponse); i { + switch v := v.(*DeleteDNSProviderRequest); i { case 0: return &v.state case 1: @@ -1030,7 +1195,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllDNSProviderTypesRequest); i { + switch v := v.(*FindEnabledDNSProviderRequest); i { case 0: return &v.state case 1: @@ -1042,7 +1207,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllDNSProviderTypesResponse); i { + switch v := v.(*FindEnabledDNSProviderResponse); i { case 0: return &v.state case 1: @@ -1054,7 +1219,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DNSProviderType); i { + switch v := v.(*FindAllDNSProviderTypesRequest); i { case 0: return &v.state case 1: @@ -1066,7 +1231,7 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledDNSProvidersWithTypeRequest); i { + switch v := v.(*FindAllDNSProviderTypesResponse); i { case 0: return &v.state case 1: @@ -1078,6 +1243,30 @@ func file_service_dns_provider_proto_init() { } } file_service_dns_provider_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DNSProviderType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_provider_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllEnabledDNSProvidersWithTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_dns_provider_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindAllEnabledDNSProvidersWithTypeResponse); i { case 0: return &v.state @@ -1096,7 +1285,7 @@ func file_service_dns_provider_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_dns_provider_proto_rawDesc, NumEnums: 0, - NumMessages: 14, + NumMessages: 16, NumExtensions: 0, NumServices: 1, }, @@ -1130,6 +1319,8 @@ type DNSProviderServiceClient interface { CountAllEnabledDNSProviders(ctx context.Context, in *CountAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页服务商信息 ListEnabledDNSProviders(ctx context.Context, in *ListEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*ListEnabledDNSProvidersResponse, error) + // 查找所有的DNS服务商 + FindAllEnabledDNSProviders(ctx context.Context, in *FindAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSProvidersResponse, error) // 删除服务商 DeleteDNSProvider(ctx context.Context, in *DeleteDNSProviderRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 查找单个服务商 @@ -1184,6 +1375,15 @@ func (c *dNSProviderServiceClient) ListEnabledDNSProviders(ctx context.Context, return out, nil } +func (c *dNSProviderServiceClient) FindAllEnabledDNSProviders(ctx context.Context, in *FindAllEnabledDNSProvidersRequest, opts ...grpc.CallOption) (*FindAllEnabledDNSProvidersResponse, error) { + out := new(FindAllEnabledDNSProvidersResponse) + err := c.cc.Invoke(ctx, "/pb.DNSProviderService/findAllEnabledDNSProviders", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *dNSProviderServiceClient) DeleteDNSProvider(ctx context.Context, in *DeleteDNSProviderRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.DNSProviderService/deleteDNSProvider", in, out, opts...) @@ -1230,6 +1430,8 @@ type DNSProviderServiceServer interface { CountAllEnabledDNSProviders(context.Context, *CountAllEnabledDNSProvidersRequest) (*RPCCountResponse, error) // 列出单页服务商信息 ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) + // 查找所有的DNS服务商 + FindAllEnabledDNSProviders(context.Context, *FindAllEnabledDNSProvidersRequest) (*FindAllEnabledDNSProvidersResponse, error) // 删除服务商 DeleteDNSProvider(context.Context, *DeleteDNSProviderRequest) (*RPCSuccess, error) // 查找单个服务商 @@ -1256,6 +1458,9 @@ func (*UnimplementedDNSProviderServiceServer) CountAllEnabledDNSProviders(contex func (*UnimplementedDNSProviderServiceServer) ListEnabledDNSProviders(context.Context, *ListEnabledDNSProvidersRequest) (*ListEnabledDNSProvidersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListEnabledDNSProviders not implemented") } +func (*UnimplementedDNSProviderServiceServer) FindAllEnabledDNSProviders(context.Context, *FindAllEnabledDNSProvidersRequest) (*FindAllEnabledDNSProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledDNSProviders not implemented") +} func (*UnimplementedDNSProviderServiceServer) DeleteDNSProvider(context.Context, *DeleteDNSProviderRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteDNSProvider not implemented") } @@ -1345,6 +1550,24 @@ func _DNSProviderService_ListEnabledDNSProviders_Handler(srv interface{}, ctx co return interceptor(ctx, in, info, handler) } +func _DNSProviderService_FindAllEnabledDNSProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindAllEnabledDNSProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DNSProviderServiceServer).FindAllEnabledDNSProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.DNSProviderService/FindAllEnabledDNSProviders", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DNSProviderServiceServer).FindAllEnabledDNSProviders(ctx, req.(*FindAllEnabledDNSProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _DNSProviderService_DeleteDNSProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteDNSProviderRequest) if err := dec(in); err != nil { @@ -1437,6 +1660,10 @@ var _DNSProviderService_serviceDesc = grpc.ServiceDesc{ MethodName: "listEnabledDNSProviders", Handler: _DNSProviderService_ListEnabledDNSProviders_Handler, }, + { + MethodName: "findAllEnabledDNSProviders", + Handler: _DNSProviderService_FindAllEnabledDNSProviders_Handler, + }, { MethodName: "deleteDNSProvider", Handler: _DNSProviderService_DeleteDNSProvider_Handler, diff --git a/pkg/rpc/pb/service_ssl_cert.pb.go b/pkg/rpc/pb/service_ssl_cert.pb.go index 434bf2f..04272dc 100644 --- a/pkg/rpc/pb/service_ssl_cert.pb.go +++ b/pkg/rpc/pb/service_ssl_cert.pb.go @@ -706,229 +706,6 @@ func (x *ListSSLCertsResponse) GetCertsJSON() []byte { return nil } -// 计算某个ACME用户生成的证书数量 -type CountSSLCertsWithACMEUserIdRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AcmeUserId int64 `protobuf:"varint,1,opt,name=acmeUserId,proto3" json:"acmeUserId,omitempty"` -} - -func (x *CountSSLCertsWithACMEUserIdRequest) Reset() { - *x = CountSSLCertsWithACMEUserIdRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountSSLCertsWithACMEUserIdRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountSSLCertsWithACMEUserIdRequest) ProtoMessage() {} - -func (x *CountSSLCertsWithACMEUserIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountSSLCertsWithACMEUserIdRequest.ProtoReflect.Descriptor instead. -func (*CountSSLCertsWithACMEUserIdRequest) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{9} -} - -func (x *CountSSLCertsWithACMEUserIdRequest) GetAcmeUserId() int64 { - if x != nil { - return x.AcmeUserId - } - return 0 -} - -// 计算所有某个管理员/用户下所有的ACME用户生成的证书 -type CountAllSSLCertsWithACMERequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` - UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` -} - -func (x *CountAllSSLCertsWithACMERequest) Reset() { - *x = CountAllSSLCertsWithACMERequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountAllSSLCertsWithACMERequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountAllSSLCertsWithACMERequest) ProtoMessage() {} - -func (x *CountAllSSLCertsWithACMERequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountAllSSLCertsWithACMERequest.ProtoReflect.Descriptor instead. -func (*CountAllSSLCertsWithACMERequest) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{10} -} - -func (x *CountAllSSLCertsWithACMERequest) GetAdminId() int64 { - if x != nil { - return x.AdminId - } - return 0 -} - -func (x *CountAllSSLCertsWithACMERequest) GetUserId() int64 { - if x != nil { - return x.UserId - } - return 0 -} - -// 列出单个管理员/用户下所有的ACME用户生成的证书 -type ListSSLCertsWithACMERequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"` - UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` - Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` - Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` -} - -func (x *ListSSLCertsWithACMERequest) Reset() { - *x = ListSSLCertsWithACMERequest{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSSLCertsWithACMERequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSSLCertsWithACMERequest) ProtoMessage() {} - -func (x *ListSSLCertsWithACMERequest) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSSLCertsWithACMERequest.ProtoReflect.Descriptor instead. -func (*ListSSLCertsWithACMERequest) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{11} -} - -func (x *ListSSLCertsWithACMERequest) GetAdminId() int64 { - if x != nil { - return x.AdminId - } - return 0 -} - -func (x *ListSSLCertsWithACMERequest) GetUserId() int64 { - if x != nil { - return x.UserId - } - return 0 -} - -func (x *ListSSLCertsWithACMERequest) GetOffset() int64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *ListSSLCertsWithACMERequest) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -type ListSSLCertsWithACMEResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CertsJSON []byte `protobuf:"bytes,1,opt,name=certsJSON,proto3" json:"certsJSON,omitempty"` -} - -func (x *ListSSLCertsWithACMEResponse) Reset() { - *x = ListSSLCertsWithACMEResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_ssl_cert_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListSSLCertsWithACMEResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListSSLCertsWithACMEResponse) ProtoMessage() {} - -func (x *ListSSLCertsWithACMEResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_ssl_cert_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListSSLCertsWithACMEResponse.ProtoReflect.Descriptor instead. -func (*ListSSLCertsWithACMEResponse) Descriptor() ([]byte, []int) { - return file_service_ssl_cert_proto_rawDescGZIP(), []int{12} -} - -func (x *ListSSLCertsWithACMEResponse) GetCertsJSON() []byte { - if x != nil { - return x.CertsJSON - } - return nil -} - var File_service_ssl_cert_proto protoreflect.FileDescriptor var file_service_ssl_cert_proto_rawDesc = []byte{ @@ -1019,73 +796,35 @@ var file_service_ssl_cert_proto_rawDesc = []byte{ 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, - 0x22, 0x44, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x6d, 0x65, 0x55, 0x73, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x6d, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x53, 0x0a, 0x1f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x6c, 0x6c, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, - 0x4d, 0x45, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x1b, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, - 0x43, 0x4d, 0x45, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x3c, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, - 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x65, 0x72, 0x74, - 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x65, 0x72, - 0x74, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x32, 0xc5, 0x05, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, - 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, + 0x32, 0xb6, 0x03, 0x0a, 0x0e, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, + 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, + 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x39, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, - 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, - 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, - 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x64, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, - 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, - 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, - 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, - 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x18, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, - 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, - 0x72, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x12, 0x1f, 0x2e, 0x70, 0x62, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x41, 0x43, 0x4d, 0x45, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, - 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x41, 0x43, 0x4d, 0x45, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, - 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x65, 0x0a, 0x18, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x53, 0x4c, 0x43, + 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x53, + 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1100,23 +839,19 @@ func file_service_ssl_cert_proto_rawDescGZIP() []byte { return file_service_ssl_cert_proto_rawDescData } -var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_service_ssl_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_service_ssl_cert_proto_goTypes = []interface{}{ - (*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest - (*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse - (*UpdateSSLCertRequest)(nil), // 2: pb.UpdateSSLCertRequest - (*FindEnabledSSLCertConfigRequest)(nil), // 3: pb.FindEnabledSSLCertConfigRequest - (*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse - (*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest - (*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest - (*ListSSLCertsRequest)(nil), // 7: pb.ListSSLCertsRequest - (*ListSSLCertsResponse)(nil), // 8: pb.ListSSLCertsResponse - (*CountSSLCertsWithACMEUserIdRequest)(nil), // 9: pb.CountSSLCertsWithACMEUserIdRequest - (*CountAllSSLCertsWithACMERequest)(nil), // 10: pb.CountAllSSLCertsWithACMERequest - (*ListSSLCertsWithACMERequest)(nil), // 11: pb.ListSSLCertsWithACMERequest - (*ListSSLCertsWithACMEResponse)(nil), // 12: pb.ListSSLCertsWithACMEResponse - (*RPCSuccess)(nil), // 13: pb.RPCSuccess - (*RPCCountResponse)(nil), // 14: pb.RPCCountResponse + (*CreateSSLCertRequest)(nil), // 0: pb.CreateSSLCertRequest + (*CreateSSLCertResponse)(nil), // 1: pb.CreateSSLCertResponse + (*UpdateSSLCertRequest)(nil), // 2: pb.UpdateSSLCertRequest + (*FindEnabledSSLCertConfigRequest)(nil), // 3: pb.FindEnabledSSLCertConfigRequest + (*FindEnabledSSLCertConfigResponse)(nil), // 4: pb.FindEnabledSSLCertConfigResponse + (*DeleteSSLCertRequest)(nil), // 5: pb.DeleteSSLCertRequest + (*CountSSLCertRequest)(nil), // 6: pb.CountSSLCertRequest + (*ListSSLCertsRequest)(nil), // 7: pb.ListSSLCertsRequest + (*ListSSLCertsResponse)(nil), // 8: pb.ListSSLCertsResponse + (*RPCSuccess)(nil), // 9: pb.RPCSuccess + (*RPCCountResponse)(nil), // 10: pb.RPCCountResponse } var file_service_ssl_cert_proto_depIdxs = []int32{ 0, // 0: pb.SSLCertService.createSSLCert:input_type -> pb.CreateSSLCertRequest @@ -1125,20 +860,14 @@ var file_service_ssl_cert_proto_depIdxs = []int32{ 3, // 3: pb.SSLCertService.findEnabledSSLCertConfig:input_type -> pb.FindEnabledSSLCertConfigRequest 6, // 4: pb.SSLCertService.countSSLCerts:input_type -> pb.CountSSLCertRequest 7, // 5: pb.SSLCertService.listSSLCerts:input_type -> pb.ListSSLCertsRequest - 9, // 6: pb.SSLCertService.countSSLCertsWithACMEUserId:input_type -> pb.CountSSLCertsWithACMEUserIdRequest - 10, // 7: pb.SSLCertService.countAllSSLCertsWithACME:input_type -> pb.CountAllSSLCertsWithACMERequest - 11, // 8: pb.SSLCertService.listSSLCertsWithACME:input_type -> pb.ListSSLCertsWithACMERequest - 1, // 9: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse - 13, // 10: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCSuccess - 13, // 11: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCSuccess - 4, // 12: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse - 14, // 13: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse - 8, // 14: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse - 14, // 15: pb.SSLCertService.countSSLCertsWithACMEUserId:output_type -> pb.RPCCountResponse - 14, // 16: pb.SSLCertService.countAllSSLCertsWithACME:output_type -> pb.RPCCountResponse - 12, // 17: pb.SSLCertService.listSSLCertsWithACME:output_type -> pb.ListSSLCertsWithACMEResponse - 9, // [9:18] is the sub-list for method output_type - 0, // [0:9] is the sub-list for method input_type + 1, // 6: pb.SSLCertService.createSSLCert:output_type -> pb.CreateSSLCertResponse + 9, // 7: pb.SSLCertService.updateSSLCert:output_type -> pb.RPCSuccess + 9, // 8: pb.SSLCertService.deleteSSLCert:output_type -> pb.RPCSuccess + 4, // 9: pb.SSLCertService.findEnabledSSLCertConfig:output_type -> pb.FindEnabledSSLCertConfigResponse + 10, // 10: pb.SSLCertService.countSSLCerts:output_type -> pb.RPCCountResponse + 8, // 11: pb.SSLCertService.listSSLCerts:output_type -> pb.ListSSLCertsResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name @@ -1259,54 +988,6 @@ func file_service_ssl_cert_proto_init() { return nil } } - file_service_ssl_cert_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountSSLCertsWithACMEUserIdRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_ssl_cert_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllSSLCertsWithACMERequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_ssl_cert_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSSLCertsWithACMERequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_service_ssl_cert_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListSSLCertsWithACMEResponse); 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{ @@ -1314,7 +995,7 @@ func file_service_ssl_cert_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_ssl_cert_proto_rawDesc, NumEnums: 0, - NumMessages: 13, + NumMessages: 9, NumExtensions: 0, NumServices: 1, }, @@ -1352,12 +1033,6 @@ type SSLCertServiceClient interface { CountSSLCerts(ctx context.Context, in *CountSSLCertRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(ctx context.Context, in *ListSSLCertsRequest, opts ...grpc.CallOption) (*ListSSLCertsResponse, error) - // 计算某个ACME用户生成的证书数量 - CountSSLCertsWithACMEUserId(ctx context.Context, in *CountSSLCertsWithACMEUserIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) - // 计算所有某个管理员/用户下所有的ACME用户生成的证书 - CountAllSSLCertsWithACME(ctx context.Context, in *CountAllSSLCertsWithACMERequest, opts ...grpc.CallOption) (*RPCCountResponse, error) - // 列出单个管理员/用户下所有的ACME用户生成的证书 - ListSSLCertsWithACME(ctx context.Context, in *ListSSLCertsWithACMERequest, opts ...grpc.CallOption) (*ListSSLCertsWithACMEResponse, error) } type sSLCertServiceClient struct { @@ -1422,33 +1097,6 @@ func (c *sSLCertServiceClient) ListSSLCerts(ctx context.Context, in *ListSSLCert return out, nil } -func (c *sSLCertServiceClient) CountSSLCertsWithACMEUserId(ctx context.Context, in *CountSSLCertsWithACMEUserIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { - out := new(RPCCountResponse) - err := c.cc.Invoke(ctx, "/pb.SSLCertService/countSSLCertsWithACMEUserId", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sSLCertServiceClient) CountAllSSLCertsWithACME(ctx context.Context, in *CountAllSSLCertsWithACMERequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { - out := new(RPCCountResponse) - err := c.cc.Invoke(ctx, "/pb.SSLCertService/countAllSSLCertsWithACME", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sSLCertServiceClient) ListSSLCertsWithACME(ctx context.Context, in *ListSSLCertsWithACMERequest, opts ...grpc.CallOption) (*ListSSLCertsWithACMEResponse, error) { - out := new(ListSSLCertsWithACMEResponse) - err := c.cc.Invoke(ctx, "/pb.SSLCertService/listSSLCertsWithACME", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - // SSLCertServiceServer is the server API for SSLCertService service. type SSLCertServiceServer interface { // 创建Cert @@ -1463,12 +1111,6 @@ type SSLCertServiceServer interface { CountSSLCerts(context.Context, *CountSSLCertRequest) (*RPCCountResponse, error) // 列出单页匹配的Cert ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) - // 计算某个ACME用户生成的证书数量 - CountSSLCertsWithACMEUserId(context.Context, *CountSSLCertsWithACMEUserIdRequest) (*RPCCountResponse, error) - // 计算所有某个管理员/用户下所有的ACME用户生成的证书 - CountAllSSLCertsWithACME(context.Context, *CountAllSSLCertsWithACMERequest) (*RPCCountResponse, error) - // 列出单个管理员/用户下所有的ACME用户生成的证书 - ListSSLCertsWithACME(context.Context, *ListSSLCertsWithACMERequest) (*ListSSLCertsWithACMEResponse, error) } // UnimplementedSSLCertServiceServer can be embedded to have forward compatible implementations. @@ -1493,15 +1135,6 @@ func (*UnimplementedSSLCertServiceServer) CountSSLCerts(context.Context, *CountS func (*UnimplementedSSLCertServiceServer) ListSSLCerts(context.Context, *ListSSLCertsRequest) (*ListSSLCertsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSSLCerts not implemented") } -func (*UnimplementedSSLCertServiceServer) CountSSLCertsWithACMEUserId(context.Context, *CountSSLCertsWithACMEUserIdRequest) (*RPCCountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CountSSLCertsWithACMEUserId not implemented") -} -func (*UnimplementedSSLCertServiceServer) CountAllSSLCertsWithACME(context.Context, *CountAllSSLCertsWithACMERequest) (*RPCCountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CountAllSSLCertsWithACME not implemented") -} -func (*UnimplementedSSLCertServiceServer) ListSSLCertsWithACME(context.Context, *ListSSLCertsWithACMERequest) (*ListSSLCertsWithACMEResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListSSLCertsWithACME not implemented") -} func RegisterSSLCertServiceServer(s *grpc.Server, srv SSLCertServiceServer) { s.RegisterService(&_SSLCertService_serviceDesc, srv) @@ -1615,60 +1248,6 @@ func _SSLCertService_ListSSLCerts_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -func _SSLCertService_CountSSLCertsWithACMEUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CountSSLCertsWithACMEUserIdRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SSLCertServiceServer).CountSSLCertsWithACMEUserId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.SSLCertService/CountSSLCertsWithACMEUserId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SSLCertServiceServer).CountSSLCertsWithACMEUserId(ctx, req.(*CountSSLCertsWithACMEUserIdRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SSLCertService_CountAllSSLCertsWithACME_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CountAllSSLCertsWithACMERequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SSLCertServiceServer).CountAllSSLCertsWithACME(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.SSLCertService/CountAllSSLCertsWithACME", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SSLCertServiceServer).CountAllSSLCertsWithACME(ctx, req.(*CountAllSSLCertsWithACMERequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SSLCertService_ListSSLCertsWithACME_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListSSLCertsWithACMERequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SSLCertServiceServer).ListSSLCertsWithACME(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/pb.SSLCertService/ListSSLCertsWithACME", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SSLCertServiceServer).ListSSLCertsWithACME(ctx, req.(*ListSSLCertsWithACMERequest)) - } - return interceptor(ctx, in, info, handler) -} - var _SSLCertService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.SSLCertService", HandlerType: (*SSLCertServiceServer)(nil), @@ -1697,18 +1276,6 @@ var _SSLCertService_serviceDesc = grpc.ServiceDesc{ MethodName: "listSSLCerts", Handler: _SSLCertService_ListSSLCerts_Handler, }, - { - MethodName: "countSSLCertsWithACMEUserId", - Handler: _SSLCertService_CountSSLCertsWithACMEUserId_Handler, - }, - { - MethodName: "countAllSSLCertsWithACME", - Handler: _SSLCertService_CountAllSSLCertsWithACME_Handler, - }, - { - MethodName: "listSSLCertsWithACME", - Handler: _SSLCertService_ListSSLCertsWithACME_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_ssl_cert.proto", diff --git a/pkg/rpc/protos/model_acme_task.proto b/pkg/rpc/protos/model_acme_task.proto new file mode 100644 index 0000000..d7cdac7 --- /dev/null +++ b/pkg/rpc/protos/model_acme_task.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +import "model_acme_user.proto"; +import "model_dns_provider.proto"; +import "model_ssl_cert.proto"; + +message ACMETask { + int64 id = 1; + bool isOn = 2; + string dnsDomain = 3; + repeated string domains = 4; + int64 createdAt = 5; + bool isOk = 6; + bool autoRenew = 7; + + ACMEUser acmeUser = 30; + DNSProvider dnsProvider = 31; + SSLCert sslCert = 32; +} \ No newline at end of file diff --git a/pkg/rpc/protos/model_ssl_cert.proto b/pkg/rpc/protos/model_ssl_cert.proto new file mode 100644 index 0000000..2200194 --- /dev/null +++ b/pkg/rpc/protos/model_ssl_cert.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +message SSLCert { + int64 id = 1; + bool isOn = 2; + string name = 3; +} \ No newline at end of file diff --git a/pkg/rpc/protos/service_acme_task.proto b/pkg/rpc/protos/service_acme_task.proto new file mode 100644 index 0000000..94b495c --- /dev/null +++ b/pkg/rpc/protos/service_acme_task.proto @@ -0,0 +1,113 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +import "rpc_messages.proto"; +import "model_acme_task.proto"; + +// ACME任务相关服务 +service ACMETaskService { + // 计算某个ACME用户相关的任务数量 + rpc countAllEnabledACMETasksWithACMEUserId (CountAllEnabledACMETasksWithACMEUserIdRequest) returns (RPCCountResponse); + + // 计算跟某个DNS服务商相关的任务数量 + rpc countEnabledACMETasksWithDNSProviderId (CountEnabledACMETasksWithDNSProviderIdRequest) returns (RPCCountResponse); + + // 计算所有任务数量 + rpc countAllEnabledACMETasks (CountAllEnabledACMETasksRequest) returns (RPCCountResponse); + + // 列出单页任务 + rpc listEnabledACMETasks (ListEnabledACMETasksRequest) returns (ListEnabledACMETasksResponse); + + // 创建任务 + rpc createACMETask (CreateACMETaskRequest) returns (CreateACMETaskResponse); + + // 修改任务 + rpc updateACMETask (UpdateACMETaskRequest) returns (RPCSuccess); + + // 删除任务 + rpc deleteACMETask (DeleteACMETaskRequest) returns (RPCSuccess); + + // 运行某个任务 + rpc runACMETask (RunACMETaskRequest) returns (RunACMETaskResponse); + + // 查找单个任务信息 + rpc findEnabledACMETask (FindEnabledACMETaskRequest) returns (FindEnabledACMETaskResponse); +} + +// 计算某个ACME用户相关的任务数量 +message CountAllEnabledACMETasksWithACMEUserIdRequest { + int64 acmeUserId = 1; +} + +// 计算跟某个DNS服务商相关的任务数量 +message CountEnabledACMETasksWithDNSProviderIdRequest { + int64 dnsProviderId = 1; +} + +// 计算所有任务数量 +message CountAllEnabledACMETasksRequest { + int64 adminId = 1; + int64 userId = 2; +} + +// 列出单页任务 +message ListEnabledACMETasksRequest { + int64 adminId = 1; + int64 userId = 2; + int64 offset = 3; + int64 size = 4; +} + +message ListEnabledACMETasksResponse { + repeated ACMETask acmeTasks = 1; +} + +// 创建任务 +message CreateACMETaskRequest { + int64 acmeUserId = 1; + int64 dnsProviderId = 2; + string dnsDomain = 3; + repeated string domains = 4; + bool autoRenew = 5; +} + +message CreateACMETaskResponse { + int64 acmeTaskId = 1; +} + +// 修改任务 +message UpdateACMETaskRequest { + int64 acmeTaskId = 1; + int64 acmeUserId = 2; + int64 dnsProviderId = 3; + string dnsDomain = 4; + repeated string domains = 5; + bool autoRenew = 6; +} + +// 删除任务 +message DeleteACMETaskRequest { + int64 acmeTaskId = 1; +} + +// 运行某个任务 +message RunACMETaskRequest { + int64 acmeTaskId = 1; +} + +message RunACMETaskResponse { + bool isOk = 1; + string error = 2; + int64 sslCertId = 3; +} + +// 查找单个任务信息 +message FindEnabledACMETaskRequest { + int64 acmeTaskId = 1; +} + +message FindEnabledACMETaskResponse { + ACMETask acmeTask = 1; +} \ No newline at end of file diff --git a/pkg/rpc/protos/service_acme_user.proto b/pkg/rpc/protos/service_acme_user.proto index d77d989..61bcf4d 100644 --- a/pkg/rpc/protos/service_acme_user.proto +++ b/pkg/rpc/protos/service_acme_user.proto @@ -25,6 +25,9 @@ service ACMEUserService { // 查找单个用户 rpc findEnabledACMEUser (FindEnabledACMEUserRequest) returns (FindEnabledACMEUserResponse); + + // 查找所有用户 + rpc findAllACMEUsers (FindAllACMEUsersRequest) returns (FindAllACMEUsersResponse); } // 创建用户 @@ -73,4 +76,14 @@ message FindEnabledACMEUserRequest { message FindEnabledACMEUserResponse { ACMEUser acmeUser = 1; +} + +// 查找所有用户 +message FindAllACMEUsersRequest { + int64 adminId = 1; + int64 userId = 2; +} + +message FindAllACMEUsersResponse { + repeated ACMEUser acmeUsers = 1; } \ No newline at end of file diff --git a/pkg/rpc/protos/service_dns_provider.proto b/pkg/rpc/protos/service_dns_provider.proto index 5cc311d..6860a5f 100644 --- a/pkg/rpc/protos/service_dns_provider.proto +++ b/pkg/rpc/protos/service_dns_provider.proto @@ -20,6 +20,9 @@ service DNSProviderService { // 列出单页服务商信息 rpc listEnabledDNSProviders (ListEnabledDNSProvidersRequest) returns (ListEnabledDNSProvidersResponse); + // 查找所有的DNS服务商 + rpc findAllEnabledDNSProviders (FindAllEnabledDNSProvidersRequest) returns (FindAllEnabledDNSProvidersResponse); + // 删除服务商 rpc deleteDNSProvider (DeleteDNSProviderRequest) returns (RPCSuccess); @@ -53,19 +56,32 @@ message UpdateDNSProviderRequest { // 计算服务商数量 message CountAllEnabledDNSProvidersRequest { - + int64 adminId = 1; + int64 userId = 2; } // 列出单页的服务商信息 message ListEnabledDNSProvidersRequest { - int64 offset = 1; - int64 size = 2; + int64 adminId = 1; + int64 userId = 2; + int64 offset = 3; + int64 size = 4; } message ListEnabledDNSProvidersResponse { repeated DNSProvider dnsProviders = 1; } +// 查找所有的DNS服务商 +message FindAllEnabledDNSProvidersRequest { + int64 adminId = 1; + int64 userId = 2; +} + +message FindAllEnabledDNSProvidersResponse { + repeated DNSProvider dnsProviders = 1; +} + // 删除服务商 message DeleteDNSProviderRequest { int64 dnsProviderId = 1; diff --git a/pkg/rpc/protos/service_ssl_cert.proto b/pkg/rpc/protos/service_ssl_cert.proto index 962e6c2..814a679 100644 --- a/pkg/rpc/protos/service_ssl_cert.proto +++ b/pkg/rpc/protos/service_ssl_cert.proto @@ -23,15 +23,6 @@ service SSLCertService { // 列出单页匹配的Cert rpc listSSLCerts (ListSSLCertsRequest) returns (ListSSLCertsResponse); - - // 计算某个ACME用户生成的证书数量 - rpc countSSLCertsWithACMEUserId (CountSSLCertsWithACMEUserIdRequest) returns (RPCCountResponse); - - // 计算所有某个管理员/用户下所有的ACME用户生成的证书 - rpc countAllSSLCertsWithACME (CountAllSSLCertsWithACMERequest) returns (RPCCountResponse); - - // 列出单个管理员/用户下所有的ACME用户生成的证书 - rpc listSSLCertsWithACME (ListSSLCertsWithACMERequest) returns (ListSSLCertsWithACMEResponse); } // 创建Cert @@ -106,26 +97,3 @@ message ListSSLCertsRequest { message ListSSLCertsResponse { bytes certsJSON = 1; } - -// 计算某个ACME用户生成的证书数量 -message CountSSLCertsWithACMEUserIdRequest { - int64 acmeUserId = 1; -} - -// 计算所有某个管理员/用户下所有的ACME用户生成的证书 -message CountAllSSLCertsWithACMERequest { - int64 adminId = 1; - int64 userId = 2; -} - -// 列出单个管理员/用户下所有的ACME用户生成的证书 -message ListSSLCertsWithACMERequest { - int64 adminId = 1; - int64 userId = 2; - int64 offset = 3; - int64 size = 4; -} - -message ListSSLCertsWithACMEResponse { - bytes certsJSON = 1; -} \ No newline at end of file