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

347 lines
12 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_access_log.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 CreateHTTPDNSAccessLogsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Logs []*HTTPDNSAccessLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateHTTPDNSAccessLogsRequest) Reset() {
*x = CreateHTTPDNSAccessLogsRequest{}
mi := &file_service_httpdns_access_log_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateHTTPDNSAccessLogsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPDNSAccessLogsRequest) ProtoMessage() {}
func (x *CreateHTTPDNSAccessLogsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_access_log_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 CreateHTTPDNSAccessLogsRequest.ProtoReflect.Descriptor instead.
func (*CreateHTTPDNSAccessLogsRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_access_log_proto_rawDescGZIP(), []int{0}
}
func (x *CreateHTTPDNSAccessLogsRequest) GetLogs() []*HTTPDNSAccessLog {
if x != nil {
return x.Logs
}
return nil
}
type CreateHTTPDNSAccessLogsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateHTTPDNSAccessLogsResponse) Reset() {
*x = CreateHTTPDNSAccessLogsResponse{}
mi := &file_service_httpdns_access_log_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateHTTPDNSAccessLogsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHTTPDNSAccessLogsResponse) ProtoMessage() {}
func (x *CreateHTTPDNSAccessLogsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_access_log_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 CreateHTTPDNSAccessLogsResponse.ProtoReflect.Descriptor instead.
func (*CreateHTTPDNSAccessLogsResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_access_log_proto_rawDescGZIP(), []int{1}
}
type ListHTTPDNSAccessLogsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Day string `protobuf:"bytes,1,opt,name=day,proto3" json:"day,omitempty"`
ClusterId int64 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"`
Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
Keyword string `protobuf:"bytes,7,opt,name=keyword,proto3" json:"keyword,omitempty"`
Offset int64 `protobuf:"varint,8,opt,name=offset,proto3" json:"offset,omitempty"`
Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListHTTPDNSAccessLogsRequest) Reset() {
*x = ListHTTPDNSAccessLogsRequest{}
mi := &file_service_httpdns_access_log_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSAccessLogsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSAccessLogsRequest) ProtoMessage() {}
func (x *ListHTTPDNSAccessLogsRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_access_log_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 ListHTTPDNSAccessLogsRequest.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSAccessLogsRequest) Descriptor() ([]byte, []int) {
return file_service_httpdns_access_log_proto_rawDescGZIP(), []int{2}
}
func (x *ListHTTPDNSAccessLogsRequest) GetDay() string {
if x != nil {
return x.Day
}
return ""
}
func (x *ListHTTPDNSAccessLogsRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
func (x *ListHTTPDNSAccessLogsRequest) GetNodeId() int64 {
if x != nil {
return x.NodeId
}
return 0
}
func (x *ListHTTPDNSAccessLogsRequest) GetAppId() string {
if x != nil {
return x.AppId
}
return ""
}
func (x *ListHTTPDNSAccessLogsRequest) GetDomain() string {
if x != nil {
return x.Domain
}
return ""
}
func (x *ListHTTPDNSAccessLogsRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *ListHTTPDNSAccessLogsRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
func (x *ListHTTPDNSAccessLogsRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListHTTPDNSAccessLogsRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
type ListHTTPDNSAccessLogsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Logs []*HTTPDNSAccessLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListHTTPDNSAccessLogsResponse) Reset() {
*x = ListHTTPDNSAccessLogsResponse{}
mi := &file_service_httpdns_access_log_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListHTTPDNSAccessLogsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHTTPDNSAccessLogsResponse) ProtoMessage() {}
func (x *ListHTTPDNSAccessLogsResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_httpdns_access_log_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 ListHTTPDNSAccessLogsResponse.ProtoReflect.Descriptor instead.
func (*ListHTTPDNSAccessLogsResponse) Descriptor() ([]byte, []int) {
return file_service_httpdns_access_log_proto_rawDescGZIP(), []int{3}
}
func (x *ListHTTPDNSAccessLogsResponse) GetLogs() []*HTTPDNSAccessLog {
if x != nil {
return x.Logs
}
return nil
}
func (x *ListHTTPDNSAccessLogsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
var File_service_httpdns_access_log_proto protoreflect.FileDescriptor
const file_service_httpdns_access_log_proto_rawDesc = "" +
"\n" +
" service_httpdns_access_log.proto\x12\x02pb\x1a%models/model_httpdns_access_log.proto\"J\n" +
"\x1eCreateHTTPDNSAccessLogsRequest\x12(\n" +
"\x04logs\x18\x01 \x03(\v2\x14.pb.HTTPDNSAccessLogR\x04logs\"!\n" +
"\x1fCreateHTTPDNSAccessLogsResponse\"\xf2\x01\n" +
"\x1cListHTTPDNSAccessLogsRequest\x12\x10\n" +
"\x03day\x18\x01 \x01(\tR\x03day\x12\x1c\n" +
"\tclusterId\x18\x02 \x01(\x03R\tclusterId\x12\x16\n" +
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\x12\x14\n" +
"\x05appId\x18\x04 \x01(\tR\x05appId\x12\x16\n" +
"\x06domain\x18\x05 \x01(\tR\x06domain\x12\x16\n" +
"\x06status\x18\x06 \x01(\tR\x06status\x12\x18\n" +
"\akeyword\x18\a \x01(\tR\akeyword\x12\x16\n" +
"\x06offset\x18\b \x01(\x03R\x06offset\x12\x12\n" +
"\x04size\x18\t \x01(\x03R\x04size\"_\n" +
"\x1dListHTTPDNSAccessLogsResponse\x12(\n" +
"\x04logs\x18\x01 \x03(\v2\x14.pb.HTTPDNSAccessLogR\x04logs\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total2\xdb\x01\n" +
"\x17HTTPDNSAccessLogService\x12b\n" +
"\x17createHTTPDNSAccessLogs\x12\".pb.CreateHTTPDNSAccessLogsRequest\x1a#.pb.CreateHTTPDNSAccessLogsResponse\x12\\\n" +
"\x15listHTTPDNSAccessLogs\x12 .pb.ListHTTPDNSAccessLogsRequest\x1a!.pb.ListHTTPDNSAccessLogsResponseB\x06Z\x04./pbb\x06proto3"
var (
file_service_httpdns_access_log_proto_rawDescOnce sync.Once
file_service_httpdns_access_log_proto_rawDescData []byte
)
func file_service_httpdns_access_log_proto_rawDescGZIP() []byte {
file_service_httpdns_access_log_proto_rawDescOnce.Do(func() {
file_service_httpdns_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_access_log_proto_rawDesc), len(file_service_httpdns_access_log_proto_rawDesc)))
})
return file_service_httpdns_access_log_proto_rawDescData
}
var file_service_httpdns_access_log_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_service_httpdns_access_log_proto_goTypes = []any{
(*CreateHTTPDNSAccessLogsRequest)(nil), // 0: pb.CreateHTTPDNSAccessLogsRequest
(*CreateHTTPDNSAccessLogsResponse)(nil), // 1: pb.CreateHTTPDNSAccessLogsResponse
(*ListHTTPDNSAccessLogsRequest)(nil), // 2: pb.ListHTTPDNSAccessLogsRequest
(*ListHTTPDNSAccessLogsResponse)(nil), // 3: pb.ListHTTPDNSAccessLogsResponse
(*HTTPDNSAccessLog)(nil), // 4: pb.HTTPDNSAccessLog
}
var file_service_httpdns_access_log_proto_depIdxs = []int32{
4, // 0: pb.CreateHTTPDNSAccessLogsRequest.logs:type_name -> pb.HTTPDNSAccessLog
4, // 1: pb.ListHTTPDNSAccessLogsResponse.logs:type_name -> pb.HTTPDNSAccessLog
0, // 2: pb.HTTPDNSAccessLogService.createHTTPDNSAccessLogs:input_type -> pb.CreateHTTPDNSAccessLogsRequest
2, // 3: pb.HTTPDNSAccessLogService.listHTTPDNSAccessLogs:input_type -> pb.ListHTTPDNSAccessLogsRequest
1, // 4: pb.HTTPDNSAccessLogService.createHTTPDNSAccessLogs:output_type -> pb.CreateHTTPDNSAccessLogsResponse
3, // 5: pb.HTTPDNSAccessLogService.listHTTPDNSAccessLogs:output_type -> pb.ListHTTPDNSAccessLogsResponse
4, // [4:6] is the sub-list for method output_type
2, // [2:4] 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_httpdns_access_log_proto_init() }
func file_service_httpdns_access_log_proto_init() {
if File_service_httpdns_access_log_proto != nil {
return
}
file_models_model_httpdns_access_log_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_httpdns_access_log_proto_rawDesc), len(file_service_httpdns_access_log_proto_rawDesc)),
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_httpdns_access_log_proto_goTypes,
DependencyIndexes: file_service_httpdns_access_log_proto_depIdxs,
MessageInfos: file_service_httpdns_access_log_proto_msgTypes,
}.Build()
File_service_httpdns_access_log_proto = out.File
file_service_httpdns_access_log_proto_goTypes = nil
file_service_httpdns_access_log_proto_depIdxs = nil
}