Files
waf-platform/EdgeCommon/pkg/rpc/pb/model_acme_task.pb.go
2026-03-22 17:37:40 +08:00

234 lines
7.4 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v3.19.6
// source: models/model_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)
)
type ACMETask struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
AutoRenew bool `protobuf:"varint,6,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"`
AuthType string `protobuf:"bytes,7,opt,name=authType,proto3" json:"authType,omitempty"`
AuthURL string `protobuf:"bytes,8,opt,name=authURL,proto3" json:"authURL,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"`
LatestACMETaskLog *ACMETaskLog `protobuf:"bytes,33,opt,name=latestACMETaskLog,proto3" json:"latestACMETaskLog,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ACMETask) Reset() {
*x = ACMETask{}
mi := &file_models_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_models_model_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 ACMETask.ProtoReflect.Descriptor instead.
func (*ACMETask) Descriptor() ([]byte, []int) {
return file_models_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) GetAutoRenew() bool {
if x != nil {
return x.AutoRenew
}
return false
}
func (x *ACMETask) GetAuthType() string {
if x != nil {
return x.AuthType
}
return ""
}
func (x *ACMETask) GetAuthURL() string {
if x != nil {
return x.AuthURL
}
return ""
}
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
}
func (x *ACMETask) GetLatestACMETaskLog() *ACMETaskLog {
if x != nil {
return x.LatestACMETaskLog
}
return nil
}
var File_models_model_acme_task_proto protoreflect.FileDescriptor
const file_models_model_acme_task_proto_rawDesc = "" +
"\n" +
"\x1cmodels/model_acme_task.proto\x12\x02pb\x1a\x1cmodels/model_acme_user.proto\x1a\x1fmodels/model_dns_provider.proto\x1a\x1bmodels/model_ssl_cert.proto\x1a models/model_acme_task_log.proto\"\x9b\x03\n" +
"\bACMETask\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1c\n" +
"\tdnsDomain\x18\x03 \x01(\tR\tdnsDomain\x12\x18\n" +
"\adomains\x18\x04 \x03(\tR\adomains\x12\x1c\n" +
"\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" +
"\tautoRenew\x18\x06 \x01(\bR\tautoRenew\x12\x1a\n" +
"\bauthType\x18\a \x01(\tR\bauthType\x12\x18\n" +
"\aauthURL\x18\b \x01(\tR\aauthURL\x12(\n" +
"\bacmeUser\x18\x1e \x01(\v2\f.pb.ACMEUserR\bacmeUser\x121\n" +
"\vdnsProvider\x18\x1f \x01(\v2\x0f.pb.DNSProviderR\vdnsProvider\x12%\n" +
"\asslCert\x18 \x01(\v2\v.pb.SSLCertR\asslCert\x12=\n" +
"\x11latestACMETaskLog\x18! \x01(\v2\x0f.pb.ACMETaskLogR\x11latestACMETaskLogB\x06Z\x04./pbb\x06proto3"
var (
file_models_model_acme_task_proto_rawDescOnce sync.Once
file_models_model_acme_task_proto_rawDescData []byte
)
func file_models_model_acme_task_proto_rawDescGZIP() []byte {
file_models_model_acme_task_proto_rawDescOnce.Do(func() {
file_models_model_acme_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_task_proto_rawDesc), len(file_models_model_acme_task_proto_rawDesc)))
})
return file_models_model_acme_task_proto_rawDescData
}
var file_models_model_acme_task_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_models_model_acme_task_proto_goTypes = []any{
(*ACMETask)(nil), // 0: pb.ACMETask
(*ACMEUser)(nil), // 1: pb.ACMEUser
(*DNSProvider)(nil), // 2: pb.DNSProvider
(*SSLCert)(nil), // 3: pb.SSLCert
(*ACMETaskLog)(nil), // 4: pb.ACMETaskLog
}
var file_models_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
4, // 3: pb.ACMETask.latestACMETaskLog:type_name -> pb.ACMETaskLog
4, // [4:4] is the sub-list for method output_type
4, // [4:4] 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
}
func init() { file_models_model_acme_task_proto_init() }
func file_models_model_acme_task_proto_init() {
if File_models_model_acme_task_proto != nil {
return
}
file_models_model_acme_user_proto_init()
file_models_model_dns_provider_proto_init()
file_models_model_ssl_cert_proto_init()
file_models_model_acme_task_log_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_task_proto_rawDesc), len(file_models_model_acme_task_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_models_model_acme_task_proto_goTypes,
DependencyIndexes: file_models_model_acme_task_proto_depIdxs,
MessageInfos: file_models_model_acme_task_proto_msgTypes,
}.Build()
File_models_model_acme_task_proto = out.File
file_models_model_acme_task_proto_goTypes = nil
file_models_model_acme_task_proto_depIdxs = nil
}