412 lines
14 KiB
Go
412 lines
14 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.19.6
|
|
// source: service_httpdns_domain.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 CreateHTTPDNSDomainRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
|
IsOn bool `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) Reset() {
|
|
*x = CreateHTTPDNSDomainRequest{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSDomainRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 CreateHTTPDNSDomainRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSDomainRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) GetDomain() string {
|
|
if x != nil {
|
|
return x.Domain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CreateHTTPDNSDomainResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DomainId int64 `protobuf:"varint,1,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainResponse) Reset() {
|
|
*x = CreateHTTPDNSDomainResponse{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSDomainResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSDomainResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 CreateHTTPDNSDomainResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSDomainResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateHTTPDNSDomainResponse) GetDomainId() int64 {
|
|
if x != nil {
|
|
return x.DomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteHTTPDNSDomainRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DomainId int64 `protobuf:"varint,1,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSDomainRequest) Reset() {
|
|
*x = DeleteHTTPDNSDomainRequest{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSDomainRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteHTTPDNSDomainRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteHTTPDNSDomainRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 DeleteHTTPDNSDomainRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteHTTPDNSDomainRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DeleteHTTPDNSDomainRequest) GetDomainId() int64 {
|
|
if x != nil {
|
|
return x.DomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UpdateHTTPDNSDomainStatusRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
DomainId int64 `protobuf:"varint,1,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
|
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSDomainStatusRequest) Reset() {
|
|
*x = UpdateHTTPDNSDomainStatusRequest{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSDomainStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateHTTPDNSDomainStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateHTTPDNSDomainStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 UpdateHTTPDNSDomainStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateHTTPDNSDomainStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSDomainStatusRequest) GetDomainId() int64 {
|
|
if x != nil {
|
|
return x.DomainId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateHTTPDNSDomainStatusRequest) GetIsOn() bool {
|
|
if x != nil {
|
|
return x.IsOn
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListHTTPDNSDomainsWithAppIdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AppDbId int64 `protobuf:"varint,1,opt,name=appDbId,proto3" json:"appDbId,omitempty"`
|
|
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdRequest) Reset() {
|
|
*x = ListHTTPDNSDomainsWithAppIdRequest{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSDomainsWithAppIdRequest) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 ListHTTPDNSDomainsWithAppIdRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSDomainsWithAppIdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdRequest) GetAppDbId() int64 {
|
|
if x != nil {
|
|
return x.AppDbId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListHTTPDNSDomainsWithAppIdResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Domains []*HTTPDNSDomain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdResponse) Reset() {
|
|
*x = ListHTTPDNSDomainsWithAppIdResponse{}
|
|
mi := &file_service_httpdns_domain_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSDomainsWithAppIdResponse) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_domain_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 ListHTTPDNSDomainsWithAppIdResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSDomainsWithAppIdResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_domain_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ListHTTPDNSDomainsWithAppIdResponse) GetDomains() []*HTTPDNSDomain {
|
|
if x != nil {
|
|
return x.Domains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_service_httpdns_domain_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_httpdns_domain_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1cservice_httpdns_domain.proto\x12\x02pb\x1a!models/model_httpdns_domain.proto\x1a\x19models/rpc_messages.proto\"b\n" +
|
|
"\x1aCreateHTTPDNSDomainRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\x12\x16\n" +
|
|
"\x06domain\x18\x02 \x01(\tR\x06domain\x12\x12\n" +
|
|
"\x04isOn\x18\x03 \x01(\bR\x04isOn\"9\n" +
|
|
"\x1bCreateHTTPDNSDomainResponse\x12\x1a\n" +
|
|
"\bdomainId\x18\x01 \x01(\x03R\bdomainId\"8\n" +
|
|
"\x1aDeleteHTTPDNSDomainRequest\x12\x1a\n" +
|
|
"\bdomainId\x18\x01 \x01(\x03R\bdomainId\"R\n" +
|
|
" UpdateHTTPDNSDomainStatusRequest\x12\x1a\n" +
|
|
"\bdomainId\x18\x01 \x01(\x03R\bdomainId\x12\x12\n" +
|
|
"\x04isOn\x18\x02 \x01(\bR\x04isOn\"X\n" +
|
|
"\"ListHTTPDNSDomainsWithAppIdRequest\x12\x18\n" +
|
|
"\aappDbId\x18\x01 \x01(\x03R\aappDbId\x12\x18\n" +
|
|
"\akeyword\x18\x02 \x01(\tR\akeyword\"R\n" +
|
|
"#ListHTTPDNSDomainsWithAppIdResponse\x12+\n" +
|
|
"\adomains\x18\x01 \x03(\v2\x11.pb.HTTPDNSDomainR\adomains2\xf8\x02\n" +
|
|
"\x14HTTPDNSDomainService\x12V\n" +
|
|
"\x13createHTTPDNSDomain\x12\x1e.pb.CreateHTTPDNSDomainRequest\x1a\x1f.pb.CreateHTTPDNSDomainResponse\x12E\n" +
|
|
"\x13deleteHTTPDNSDomain\x12\x1e.pb.DeleteHTTPDNSDomainRequest\x1a\x0e.pb.RPCSuccess\x12Q\n" +
|
|
"\x19updateHTTPDNSDomainStatus\x12$.pb.UpdateHTTPDNSDomainStatusRequest\x1a\x0e.pb.RPCSuccess\x12n\n" +
|
|
"\x1blistHTTPDNSDomainsWithAppId\x12&.pb.ListHTTPDNSDomainsWithAppIdRequest\x1a'.pb.ListHTTPDNSDomainsWithAppIdResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_httpdns_domain_proto_rawDescOnce sync.Once
|
|
file_service_httpdns_domain_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_httpdns_domain_proto_rawDescGZIP() []byte {
|
|
file_service_httpdns_domain_proto_rawDescOnce.Do(func() {
|
|
file_service_httpdns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_domain_proto_rawDesc), len(file_service_httpdns_domain_proto_rawDesc)))
|
|
})
|
|
return file_service_httpdns_domain_proto_rawDescData
|
|
}
|
|
|
|
var file_service_httpdns_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_service_httpdns_domain_proto_goTypes = []any{
|
|
(*CreateHTTPDNSDomainRequest)(nil), // 0: pb.CreateHTTPDNSDomainRequest
|
|
(*CreateHTTPDNSDomainResponse)(nil), // 1: pb.CreateHTTPDNSDomainResponse
|
|
(*DeleteHTTPDNSDomainRequest)(nil), // 2: pb.DeleteHTTPDNSDomainRequest
|
|
(*UpdateHTTPDNSDomainStatusRequest)(nil), // 3: pb.UpdateHTTPDNSDomainStatusRequest
|
|
(*ListHTTPDNSDomainsWithAppIdRequest)(nil), // 4: pb.ListHTTPDNSDomainsWithAppIdRequest
|
|
(*ListHTTPDNSDomainsWithAppIdResponse)(nil), // 5: pb.ListHTTPDNSDomainsWithAppIdResponse
|
|
(*HTTPDNSDomain)(nil), // 6: pb.HTTPDNSDomain
|
|
(*RPCSuccess)(nil), // 7: pb.RPCSuccess
|
|
}
|
|
var file_service_httpdns_domain_proto_depIdxs = []int32{
|
|
6, // 0: pb.ListHTTPDNSDomainsWithAppIdResponse.domains:type_name -> pb.HTTPDNSDomain
|
|
0, // 1: pb.HTTPDNSDomainService.createHTTPDNSDomain:input_type -> pb.CreateHTTPDNSDomainRequest
|
|
2, // 2: pb.HTTPDNSDomainService.deleteHTTPDNSDomain:input_type -> pb.DeleteHTTPDNSDomainRequest
|
|
3, // 3: pb.HTTPDNSDomainService.updateHTTPDNSDomainStatus:input_type -> pb.UpdateHTTPDNSDomainStatusRequest
|
|
4, // 4: pb.HTTPDNSDomainService.listHTTPDNSDomainsWithAppId:input_type -> pb.ListHTTPDNSDomainsWithAppIdRequest
|
|
1, // 5: pb.HTTPDNSDomainService.createHTTPDNSDomain:output_type -> pb.CreateHTTPDNSDomainResponse
|
|
7, // 6: pb.HTTPDNSDomainService.deleteHTTPDNSDomain:output_type -> pb.RPCSuccess
|
|
7, // 7: pb.HTTPDNSDomainService.updateHTTPDNSDomainStatus:output_type -> pb.RPCSuccess
|
|
5, // 8: pb.HTTPDNSDomainService.listHTTPDNSDomainsWithAppId:output_type -> pb.ListHTTPDNSDomainsWithAppIdResponse
|
|
5, // [5:9] is the sub-list for method output_type
|
|
1, // [1:5] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_httpdns_domain_proto_init() }
|
|
func file_service_httpdns_domain_proto_init() {
|
|
if File_service_httpdns_domain_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_httpdns_domain_proto_init()
|
|
file_models_rpc_messages_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_httpdns_domain_proto_rawDesc), len(file_service_httpdns_domain_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_httpdns_domain_proto_goTypes,
|
|
DependencyIndexes: file_service_httpdns_domain_proto_depIdxs,
|
|
MessageInfos: file_service_httpdns_domain_proto_msgTypes,
|
|
}.Build()
|
|
File_service_httpdns_domain_proto = out.File
|
|
file_service_httpdns_domain_proto_goTypes = nil
|
|
file_service_httpdns_domain_proto_depIdxs = nil
|
|
}
|