329 lines
11 KiB
Go
329 lines
11 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_runtime_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 CreateHTTPDNSRuntimeLogsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Logs []*HTTPDNSRuntimeLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsRequest) Reset() {
|
|
*x = CreateHTTPDNSRuntimeLogsRequest{}
|
|
mi := &file_service_httpdns_runtime_log_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSRuntimeLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_runtime_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 CreateHTTPDNSRuntimeLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSRuntimeLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_runtime_log_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsRequest) GetLogs() []*HTTPDNSRuntimeLog {
|
|
if x != nil {
|
|
return x.Logs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateHTTPDNSRuntimeLogsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsResponse) Reset() {
|
|
*x = CreateHTTPDNSRuntimeLogsResponse{}
|
|
mi := &file_service_httpdns_runtime_log_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateHTTPDNSRuntimeLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateHTTPDNSRuntimeLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_runtime_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 CreateHTTPDNSRuntimeLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateHTTPDNSRuntimeLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_runtime_log_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ListHTTPDNSRuntimeLogsRequest 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"`
|
|
Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
|
|
Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
|
Offset int64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
Size int64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) Reset() {
|
|
*x = ListHTTPDNSRuntimeLogsRequest{}
|
|
mi := &file_service_httpdns_runtime_log_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSRuntimeLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_runtime_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 ListHTTPDNSRuntimeLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSRuntimeLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_runtime_log_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetDay() string {
|
|
if x != nil {
|
|
return x.Day
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetClusterId() int64 {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetNodeId() int64 {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetLevel() string {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetKeyword() string {
|
|
if x != nil {
|
|
return x.Keyword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListHTTPDNSRuntimeLogsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Logs []*HTTPDNSRuntimeLog `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 *ListHTTPDNSRuntimeLogsResponse) Reset() {
|
|
*x = ListHTTPDNSRuntimeLogsResponse{}
|
|
mi := &file_service_httpdns_runtime_log_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListHTTPDNSRuntimeLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_httpdns_runtime_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 ListHTTPDNSRuntimeLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListHTTPDNSRuntimeLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_service_httpdns_runtime_log_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsResponse) GetLogs() []*HTTPDNSRuntimeLog {
|
|
if x != nil {
|
|
return x.Logs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListHTTPDNSRuntimeLogsResponse) GetTotal() int64 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_service_httpdns_runtime_log_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_httpdns_runtime_log_proto_rawDesc = "" +
|
|
"\n" +
|
|
"!service_httpdns_runtime_log.proto\x12\x02pb\x1a&models/model_httpdns_runtime_log.proto\"L\n" +
|
|
"\x1fCreateHTTPDNSRuntimeLogsRequest\x12)\n" +
|
|
"\x04logs\x18\x01 \x03(\v2\x15.pb.HTTPDNSRuntimeLogR\x04logs\"\"\n" +
|
|
" CreateHTTPDNSRuntimeLogsResponse\"\xc3\x01\n" +
|
|
"\x1dListHTTPDNSRuntimeLogsRequest\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" +
|
|
"\x05level\x18\x04 \x01(\tR\x05level\x12\x18\n" +
|
|
"\akeyword\x18\x05 \x01(\tR\akeyword\x12\x16\n" +
|
|
"\x06offset\x18\x06 \x01(\x03R\x06offset\x12\x12\n" +
|
|
"\x04size\x18\a \x01(\x03R\x04size\"a\n" +
|
|
"\x1eListHTTPDNSRuntimeLogsResponse\x12)\n" +
|
|
"\x04logs\x18\x01 \x03(\v2\x15.pb.HTTPDNSRuntimeLogR\x04logs\x12\x14\n" +
|
|
"\x05total\x18\x02 \x01(\x03R\x05total2\xe2\x01\n" +
|
|
"\x18HTTPDNSRuntimeLogService\x12e\n" +
|
|
"\x18createHTTPDNSRuntimeLogs\x12#.pb.CreateHTTPDNSRuntimeLogsRequest\x1a$.pb.CreateHTTPDNSRuntimeLogsResponse\x12_\n" +
|
|
"\x16listHTTPDNSRuntimeLogs\x12!.pb.ListHTTPDNSRuntimeLogsRequest\x1a\".pb.ListHTTPDNSRuntimeLogsResponseB\x06Z\x04./pbb\x06proto3"
|
|
|
|
var (
|
|
file_service_httpdns_runtime_log_proto_rawDescOnce sync.Once
|
|
file_service_httpdns_runtime_log_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_httpdns_runtime_log_proto_rawDescGZIP() []byte {
|
|
file_service_httpdns_runtime_log_proto_rawDescOnce.Do(func() {
|
|
file_service_httpdns_runtime_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_httpdns_runtime_log_proto_rawDesc), len(file_service_httpdns_runtime_log_proto_rawDesc)))
|
|
})
|
|
return file_service_httpdns_runtime_log_proto_rawDescData
|
|
}
|
|
|
|
var file_service_httpdns_runtime_log_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_service_httpdns_runtime_log_proto_goTypes = []any{
|
|
(*CreateHTTPDNSRuntimeLogsRequest)(nil), // 0: pb.CreateHTTPDNSRuntimeLogsRequest
|
|
(*CreateHTTPDNSRuntimeLogsResponse)(nil), // 1: pb.CreateHTTPDNSRuntimeLogsResponse
|
|
(*ListHTTPDNSRuntimeLogsRequest)(nil), // 2: pb.ListHTTPDNSRuntimeLogsRequest
|
|
(*ListHTTPDNSRuntimeLogsResponse)(nil), // 3: pb.ListHTTPDNSRuntimeLogsResponse
|
|
(*HTTPDNSRuntimeLog)(nil), // 4: pb.HTTPDNSRuntimeLog
|
|
}
|
|
var file_service_httpdns_runtime_log_proto_depIdxs = []int32{
|
|
4, // 0: pb.CreateHTTPDNSRuntimeLogsRequest.logs:type_name -> pb.HTTPDNSRuntimeLog
|
|
4, // 1: pb.ListHTTPDNSRuntimeLogsResponse.logs:type_name -> pb.HTTPDNSRuntimeLog
|
|
0, // 2: pb.HTTPDNSRuntimeLogService.createHTTPDNSRuntimeLogs:input_type -> pb.CreateHTTPDNSRuntimeLogsRequest
|
|
2, // 3: pb.HTTPDNSRuntimeLogService.listHTTPDNSRuntimeLogs:input_type -> pb.ListHTTPDNSRuntimeLogsRequest
|
|
1, // 4: pb.HTTPDNSRuntimeLogService.createHTTPDNSRuntimeLogs:output_type -> pb.CreateHTTPDNSRuntimeLogsResponse
|
|
3, // 5: pb.HTTPDNSRuntimeLogService.listHTTPDNSRuntimeLogs:output_type -> pb.ListHTTPDNSRuntimeLogsResponse
|
|
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_runtime_log_proto_init() }
|
|
func file_service_httpdns_runtime_log_proto_init() {
|
|
if File_service_httpdns_runtime_log_proto != nil {
|
|
return
|
|
}
|
|
file_models_model_httpdns_runtime_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_runtime_log_proto_rawDesc), len(file_service_httpdns_runtime_log_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_httpdns_runtime_log_proto_goTypes,
|
|
DependencyIndexes: file_service_httpdns_runtime_log_proto_depIdxs,
|
|
MessageInfos: file_service_httpdns_runtime_log_proto_msgTypes,
|
|
}.Build()
|
|
File_service_httpdns_runtime_log_proto = out.File
|
|
file_service_httpdns_runtime_log_proto_goTypes = nil
|
|
file_service_httpdns_runtime_log_proto_depIdxs = nil
|
|
}
|