1111 lines
36 KiB
Go
1111 lines
36 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_acme_task.proto
|
||
|
||
package pb
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
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)
|
||
)
|
||
|
||
// 计算某个ACME用户相关的任务数量
|
||
type CountAllEnabledACMETasksWithACMEUserIdRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AcmeUserId int64 `protobuf:"varint,1,opt,name=acmeUserId,proto3" json:"acmeUserId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksWithACMEUserIdRequest) Reset() {
|
||
*x = CountAllEnabledACMETasksWithACMEUserIdRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
DnsProviderId int64 `protobuf:"varint,1,opt,name=dnsProviderId,proto3" json:"dnsProviderId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountEnabledACMETasksWithDNSProviderIdRequest) Reset() {
|
||
*x = CountEnabledACMETasksWithDNSProviderIdRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
AdminId int64 `protobuf:"varint,1,opt,name=adminId,proto3" json:"adminId,omitempty"`
|
||
UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
|
||
IsAvailable bool `protobuf:"varint,3,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"`
|
||
IsExpired bool `protobuf:"varint,4,opt,name=isExpired,proto3" json:"isExpired,omitempty"`
|
||
ExpiringDays int32 `protobuf:"varint,5,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"`
|
||
Keyword string `protobuf:"bytes,6,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
UserOnly bool `protobuf:"varint,7,opt,name=userOnly,proto3" json:"userOnly,omitempty"` // 可选项,是否只列出用户上传的证书
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) Reset() {
|
||
*x = CountAllEnabledACMETasksRequest{}
|
||
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 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
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) GetIsAvailable() bool {
|
||
if x != nil {
|
||
return x.IsAvailable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) GetIsExpired() bool {
|
||
if x != nil {
|
||
return x.IsExpired
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) GetExpiringDays() int32 {
|
||
if x != nil {
|
||
return x.ExpiringDays
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CountAllEnabledACMETasksRequest) GetUserOnly() bool {
|
||
if x != nil {
|
||
return x.UserOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 列出单页任务
|
||
type ListEnabledACMETasksRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
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"`
|
||
IsAvailable bool `protobuf:"varint,5,opt,name=isAvailable,proto3" json:"isAvailable,omitempty"`
|
||
IsExpired bool `protobuf:"varint,6,opt,name=isExpired,proto3" json:"isExpired,omitempty"`
|
||
ExpiringDays int32 `protobuf:"varint,7,opt,name=expiringDays,proto3" json:"expiringDays,omitempty"`
|
||
Keyword string `protobuf:"bytes,8,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
UserOnly bool `protobuf:"varint,9,opt,name=userOnly,proto3" json:"userOnly,omitempty"` // 可选项,是否只列出用户上传的证书
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) Reset() {
|
||
*x = ListEnabledACMETasksRequest{}
|
||
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 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
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) GetIsAvailable() bool {
|
||
if x != nil {
|
||
return x.IsAvailable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) GetIsExpired() bool {
|
||
if x != nil {
|
||
return x.IsExpired
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) GetExpiringDays() int32 {
|
||
if x != nil {
|
||
return x.ExpiringDays
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksRequest) GetUserOnly() bool {
|
||
if x != nil {
|
||
return x.UserOnly
|
||
}
|
||
return false
|
||
}
|
||
|
||
type ListEnabledACMETasksResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AcmeTasks []*ACMETask `protobuf:"bytes,1,rep,name=acmeTasks,proto3" json:"acmeTasks,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListEnabledACMETasksResponse) Reset() {
|
||
*x = ListEnabledACMETasksResponse{}
|
||
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 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 `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"` // 平台用户ID,只有管理员才有权限指定
|
||
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"`
|
||
AuthType string `protobuf:"bytes,6,opt,name=authType,proto3" json:"authType,omitempty"`
|
||
AuthURL string `protobuf:"bytes,7,opt,name=authURL,proto3" json:"authURL,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateACMETaskRequest) Reset() {
|
||
*x = CreateACMETaskRequest{}
|
||
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 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) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
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
|
||
}
|
||
|
||
func (x *CreateACMETaskRequest) GetAuthType() string {
|
||
if x != nil {
|
||
return x.AuthType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *CreateACMETaskRequest) GetAuthURL() string {
|
||
if x != nil {
|
||
return x.AuthURL
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type CreateACMETaskResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CreateACMETaskResponse) Reset() {
|
||
*x = CreateACMETaskResponse{}
|
||
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 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 `protogen:"open.v1"`
|
||
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"`
|
||
AuthURL string `protobuf:"bytes,7,opt,name=authURL,proto3" json:"authURL,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *UpdateACMETaskRequest) Reset() {
|
||
*x = UpdateACMETaskRequest{}
|
||
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 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
|
||
}
|
||
|
||
func (x *UpdateACMETaskRequest) GetAuthURL() string {
|
||
if x != nil {
|
||
return x.AuthURL
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 删除任务
|
||
type DeleteACMETaskRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *DeleteACMETaskRequest) Reset() {
|
||
*x = DeleteACMETaskRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RunACMETaskRequest) Reset() {
|
||
*x = RunACMETaskRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
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"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RunACMETaskResponse) Reset() {
|
||
*x = RunACMETaskResponse{}
|
||
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 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 `protogen:"open.v1"`
|
||
AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledACMETaskRequest) Reset() {
|
||
*x = FindEnabledACMETaskRequest{}
|
||
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 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 `protogen:"open.v1"`
|
||
AcmeTask *ACMETask `protobuf:"bytes,1,opt,name=acmeTask,proto3" json:"acmeTask,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindEnabledACMETaskResponse) Reset() {
|
||
*x = FindEnabledACMETaskResponse{}
|
||
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 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
|
||
}
|
||
|
||
// 查找任务所属用户
|
||
type FindACMETaskUserRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
AcmeTaskId int64 `protobuf:"varint,1,opt,name=acmeTaskId,proto3" json:"acmeTaskId,omitempty"` // 任务ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindACMETaskUserRequest) Reset() {
|
||
*x = FindACMETaskUserRequest{}
|
||
mi := &file_service_acme_task_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindACMETaskUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindACMETaskUserRequest) ProtoMessage() {}
|
||
|
||
func (x *FindACMETaskUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_acme_task_proto_msgTypes[13]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindACMETaskUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindACMETaskUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_acme_task_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *FindACMETaskUserRequest) GetAcmeTaskId() int64 {
|
||
if x != nil {
|
||
return x.AcmeTaskId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindACMETaskUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // 用户信息,只包含几个基本的信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindACMETaskUserResponse) Reset() {
|
||
*x = FindACMETaskUserResponse{}
|
||
mi := &file_service_acme_task_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindACMETaskUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindACMETaskUserResponse) ProtoMessage() {}
|
||
|
||
func (x *FindACMETaskUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_acme_task_proto_msgTypes[14]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use FindACMETaskUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindACMETaskUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_acme_task_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *FindACMETaskUserResponse) GetUser() *User {
|
||
if x != nil {
|
||
return x.User
|
||
}
|
||
return nil
|
||
}
|
||
|
||
var File_service_acme_task_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_acme_task_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x17service_acme_task.proto\x12\x02pb\x1a\x19models/rpc_messages.proto\x1a\x1cmodels/model_acme_task.proto\x1a\x17models/model_user.proto\"O\n" +
|
||
"-CountAllEnabledACMETasksWithACMEUserIdRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeUserId\x18\x01 \x01(\x03R\n" +
|
||
"acmeUserId\"U\n" +
|
||
"-CountEnabledACMETasksWithDNSProviderIdRequest\x12$\n" +
|
||
"\rdnsProviderId\x18\x01 \x01(\x03R\rdnsProviderId\"\xed\x01\n" +
|
||
"\x1fCountAllEnabledACMETasksRequest\x12\x18\n" +
|
||
"\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x16\n" +
|
||
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12 \n" +
|
||
"\visAvailable\x18\x03 \x01(\bR\visAvailable\x12\x1c\n" +
|
||
"\tisExpired\x18\x04 \x01(\bR\tisExpired\x12\"\n" +
|
||
"\fexpiringDays\x18\x05 \x01(\x05R\fexpiringDays\x12\x18\n" +
|
||
"\akeyword\x18\x06 \x01(\tR\akeyword\x12\x1a\n" +
|
||
"\buserOnly\x18\a \x01(\bR\buserOnly\"\x95\x02\n" +
|
||
"\x1bListEnabledACMETasksRequest\x12\x18\n" +
|
||
"\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x16\n" +
|
||
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x16\n" +
|
||
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\x04 \x01(\x03R\x04size\x12 \n" +
|
||
"\visAvailable\x18\x05 \x01(\bR\visAvailable\x12\x1c\n" +
|
||
"\tisExpired\x18\x06 \x01(\bR\tisExpired\x12\"\n" +
|
||
"\fexpiringDays\x18\a \x01(\x05R\fexpiringDays\x12\x18\n" +
|
||
"\akeyword\x18\b \x01(\tR\akeyword\x12\x1a\n" +
|
||
"\buserOnly\x18\t \x01(\bR\buserOnly\"J\n" +
|
||
"\x1cListEnabledACMETasksResponse\x12*\n" +
|
||
"\tacmeTasks\x18\x01 \x03(\v2\f.pb.ACMETaskR\tacmeTasks\"\x81\x02\n" +
|
||
"\x15CreateACMETaskRequest\x12\x16\n" +
|
||
"\x06userId\x18\b \x01(\x03R\x06userId\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeUserId\x18\x01 \x01(\x03R\n" +
|
||
"acmeUserId\x12$\n" +
|
||
"\rdnsProviderId\x18\x02 \x01(\x03R\rdnsProviderId\x12\x1c\n" +
|
||
"\tdnsDomain\x18\x03 \x01(\tR\tdnsDomain\x12\x18\n" +
|
||
"\adomains\x18\x04 \x03(\tR\adomains\x12\x1c\n" +
|
||
"\tautoRenew\x18\x05 \x01(\bR\tautoRenew\x12\x1a\n" +
|
||
"\bauthType\x18\x06 \x01(\tR\bauthType\x12\x18\n" +
|
||
"\aauthURL\x18\a \x01(\tR\aauthURL\"8\n" +
|
||
"\x16CreateACMETaskResponse\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\"\xed\x01\n" +
|
||
"\x15UpdateACMETaskRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeUserId\x18\x02 \x01(\x03R\n" +
|
||
"acmeUserId\x12$\n" +
|
||
"\rdnsProviderId\x18\x03 \x01(\x03R\rdnsProviderId\x12\x1c\n" +
|
||
"\tdnsDomain\x18\x04 \x01(\tR\tdnsDomain\x12\x18\n" +
|
||
"\adomains\x18\x05 \x03(\tR\adomains\x12\x1c\n" +
|
||
"\tautoRenew\x18\x06 \x01(\bR\tautoRenew\x12\x18\n" +
|
||
"\aauthURL\x18\a \x01(\tR\aauthURL\"7\n" +
|
||
"\x15DeleteACMETaskRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\"4\n" +
|
||
"\x12RunACMETaskRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\"]\n" +
|
||
"\x13RunACMETaskResponse\x12\x12\n" +
|
||
"\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x14\n" +
|
||
"\x05error\x18\x02 \x01(\tR\x05error\x12\x1c\n" +
|
||
"\tsslCertId\x18\x03 \x01(\x03R\tsslCertId\"<\n" +
|
||
"\x1aFindEnabledACMETaskRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\"G\n" +
|
||
"\x1bFindEnabledACMETaskResponse\x12(\n" +
|
||
"\bacmeTask\x18\x01 \x01(\v2\f.pb.ACMETaskR\bacmeTask\"9\n" +
|
||
"\x17FindACMETaskUserRequest\x12\x1e\n" +
|
||
"\n" +
|
||
"acmeTaskId\x18\x01 \x01(\x03R\n" +
|
||
"acmeTaskId\"8\n" +
|
||
"\x18FindACMETaskUserResponse\x12\x1c\n" +
|
||
"\x04user\x18\x01 \x01(\v2\b.pb.UserR\x04user2\xd3\x06\n" +
|
||
"\x0fACMETaskService\x12q\n" +
|
||
"&countAllEnabledACMETasksWithACMEUserId\x121.pb.CountAllEnabledACMETasksWithACMEUserIdRequest\x1a\x14.pb.RPCCountResponse\x12q\n" +
|
||
"&countEnabledACMETasksWithDNSProviderId\x121.pb.CountEnabledACMETasksWithDNSProviderIdRequest\x1a\x14.pb.RPCCountResponse\x12U\n" +
|
||
"\x18countAllEnabledACMETasks\x12#.pb.CountAllEnabledACMETasksRequest\x1a\x14.pb.RPCCountResponse\x12Y\n" +
|
||
"\x14listEnabledACMETasks\x12\x1f.pb.ListEnabledACMETasksRequest\x1a .pb.ListEnabledACMETasksResponse\x12G\n" +
|
||
"\x0ecreateACMETask\x12\x19.pb.CreateACMETaskRequest\x1a\x1a.pb.CreateACMETaskResponse\x12;\n" +
|
||
"\x0eupdateACMETask\x12\x19.pb.UpdateACMETaskRequest\x1a\x0e.pb.RPCSuccess\x12;\n" +
|
||
"\x0edeleteACMETask\x12\x19.pb.DeleteACMETaskRequest\x1a\x0e.pb.RPCSuccess\x12>\n" +
|
||
"\vrunACMETask\x12\x16.pb.RunACMETaskRequest\x1a\x17.pb.RunACMETaskResponse\x12V\n" +
|
||
"\x13findEnabledACMETask\x12\x1e.pb.FindEnabledACMETaskRequest\x1a\x1f.pb.FindEnabledACMETaskResponse\x12M\n" +
|
||
"\x10findACMETaskUser\x12\x1b.pb.FindACMETaskUserRequest\x1a\x1c.pb.FindACMETaskUserResponseB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_acme_task_proto_rawDescOnce sync.Once
|
||
file_service_acme_task_proto_rawDescData []byte
|
||
)
|
||
|
||
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(unsafe.Slice(unsafe.StringData(file_service_acme_task_proto_rawDesc), len(file_service_acme_task_proto_rawDesc)))
|
||
})
|
||
return file_service_acme_task_proto_rawDescData
|
||
}
|
||
|
||
var file_service_acme_task_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||
var file_service_acme_task_proto_goTypes = []any{
|
||
(*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
|
||
(*FindACMETaskUserRequest)(nil), // 13: pb.FindACMETaskUserRequest
|
||
(*FindACMETaskUserResponse)(nil), // 14: pb.FindACMETaskUserResponse
|
||
(*ACMETask)(nil), // 15: pb.ACMETask
|
||
(*User)(nil), // 16: pb.User
|
||
(*RPCCountResponse)(nil), // 17: pb.RPCCountResponse
|
||
(*RPCSuccess)(nil), // 18: pb.RPCSuccess
|
||
}
|
||
var file_service_acme_task_proto_depIdxs = []int32{
|
||
15, // 0: pb.ListEnabledACMETasksResponse.acmeTasks:type_name -> pb.ACMETask
|
||
15, // 1: pb.FindEnabledACMETaskResponse.acmeTask:type_name -> pb.ACMETask
|
||
16, // 2: pb.FindACMETaskUserResponse.user:type_name -> pb.User
|
||
0, // 3: pb.ACMETaskService.countAllEnabledACMETasksWithACMEUserId:input_type -> pb.CountAllEnabledACMETasksWithACMEUserIdRequest
|
||
1, // 4: pb.ACMETaskService.countEnabledACMETasksWithDNSProviderId:input_type -> pb.CountEnabledACMETasksWithDNSProviderIdRequest
|
||
2, // 5: pb.ACMETaskService.countAllEnabledACMETasks:input_type -> pb.CountAllEnabledACMETasksRequest
|
||
3, // 6: pb.ACMETaskService.listEnabledACMETasks:input_type -> pb.ListEnabledACMETasksRequest
|
||
5, // 7: pb.ACMETaskService.createACMETask:input_type -> pb.CreateACMETaskRequest
|
||
7, // 8: pb.ACMETaskService.updateACMETask:input_type -> pb.UpdateACMETaskRequest
|
||
8, // 9: pb.ACMETaskService.deleteACMETask:input_type -> pb.DeleteACMETaskRequest
|
||
9, // 10: pb.ACMETaskService.runACMETask:input_type -> pb.RunACMETaskRequest
|
||
11, // 11: pb.ACMETaskService.findEnabledACMETask:input_type -> pb.FindEnabledACMETaskRequest
|
||
13, // 12: pb.ACMETaskService.findACMETaskUser:input_type -> pb.FindACMETaskUserRequest
|
||
17, // 13: pb.ACMETaskService.countAllEnabledACMETasksWithACMEUserId:output_type -> pb.RPCCountResponse
|
||
17, // 14: pb.ACMETaskService.countEnabledACMETasksWithDNSProviderId:output_type -> pb.RPCCountResponse
|
||
17, // 15: pb.ACMETaskService.countAllEnabledACMETasks:output_type -> pb.RPCCountResponse
|
||
4, // 16: pb.ACMETaskService.listEnabledACMETasks:output_type -> pb.ListEnabledACMETasksResponse
|
||
6, // 17: pb.ACMETaskService.createACMETask:output_type -> pb.CreateACMETaskResponse
|
||
18, // 18: pb.ACMETaskService.updateACMETask:output_type -> pb.RPCSuccess
|
||
18, // 19: pb.ACMETaskService.deleteACMETask:output_type -> pb.RPCSuccess
|
||
10, // 20: pb.ACMETaskService.runACMETask:output_type -> pb.RunACMETaskResponse
|
||
12, // 21: pb.ACMETaskService.findEnabledACMETask:output_type -> pb.FindEnabledACMETaskResponse
|
||
14, // 22: pb.ACMETaskService.findACMETaskUser:output_type -> pb.FindACMETaskUserResponse
|
||
13, // [13:23] is the sub-list for method output_type
|
||
3, // [3:13] 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_task_proto_init() }
|
||
func file_service_acme_task_proto_init() {
|
||
if File_service_acme_task_proto != nil {
|
||
return
|
||
}
|
||
file_models_rpc_messages_proto_init()
|
||
file_models_model_acme_task_proto_init()
|
||
file_models_model_user_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_acme_task_proto_rawDesc), len(file_service_acme_task_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 15,
|
||
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_goTypes = nil
|
||
file_service_acme_task_proto_depIdxs = nil
|
||
}
|