// Code generated by protoc-gen-go. DO NOT EDIT. // source: log.proto package log import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type LogType int32 const ( LogType_Other LogType = 0 LogType_Login LogType = 1 LogType_Operate LogType = 2 LogType_Exception LogType = 3 ) var LogType_name = map[int32]string{ 0: "Other", 1: "Login", 2: "Operate", 3: "Exception", } var LogType_value = map[string]int32{ "Other": 0, "Login": 1, "Operate": 2, "Exception": 3, } func (x LogType) String() string { return proto.EnumName(LogType_name, int32(x)) } func (LogType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_a153da538f858886, []int{0} } type Log struct { Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` SubType int32 `protobuf:"varint,2,opt,name=subType,proto3" json:"subType,omitempty"` UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` TrueName string `protobuf:"bytes,5,opt,name=trueName,proto3" json:"trueName,omitempty"` Module string `protobuf:"bytes,6,opt,name=module,proto3" json:"module,omitempty"` Time string `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"` Msg string `protobuf:"bytes,8,opt,name=msg,proto3" json:"msg,omitempty"` IsSuccess bool `protobuf:"varint,9,opt,name=isSuccess,proto3" json:"isSuccess,omitempty"` Ip string `protobuf:"bytes,10,opt,name=ip,proto3" json:"ip,omitempty"` Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Log) Reset() { *m = Log{} } func (m *Log) String() string { return proto.CompactTextString(m) } func (*Log) ProtoMessage() {} func (*Log) Descriptor() ([]byte, []int) { return fileDescriptor_a153da538f858886, []int{0} } func (m *Log) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Log.Unmarshal(m, b) } func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Log.Marshal(b, m, deterministic) } func (m *Log) XXX_Merge(src proto.Message) { xxx_messageInfo_Log.Merge(m, src) } func (m *Log) XXX_Size() int { return xxx_messageInfo_Log.Size(m) } func (m *Log) XXX_DiscardUnknown() { xxx_messageInfo_Log.DiscardUnknown(m) } var xxx_messageInfo_Log proto.InternalMessageInfo func (m *Log) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *Log) GetSubType() int32 { if m != nil { return m.SubType } return 0 } func (m *Log) GetUserId() string { if m != nil { return m.UserId } return "" } func (m *Log) GetUsername() string { if m != nil { return m.Username } return "" } func (m *Log) GetTrueName() string { if m != nil { return m.TrueName } return "" } func (m *Log) GetModule() string { if m != nil { return m.Module } return "" } func (m *Log) GetTime() string { if m != nil { return m.Time } return "" } func (m *Log) GetMsg() string { if m != nil { return m.Msg } return "" } func (m *Log) GetIsSuccess() bool { if m != nil { return m.IsSuccess } return false } func (m *Log) GetIp() string { if m != nil { return m.Ip } return "" } func (m *Log) GetId() string { if m != nil { return m.Id } return "" } type FindLogListReq struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int32 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Module string `protobuf:"bytes,5,opt,name=module,proto3" json:"module,omitempty"` StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime,omitempty"` InputText string `protobuf:"bytes,8,opt,name=inputText,proto3" json:"inputText,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindLogListReq) Reset() { *m = FindLogListReq{} } func (m *FindLogListReq) String() string { return proto.CompactTextString(m) } func (*FindLogListReq) ProtoMessage() {} func (*FindLogListReq) Descriptor() ([]byte, []int) { return fileDescriptor_a153da538f858886, []int{1} } func (m *FindLogListReq) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLogListReq.Unmarshal(m, b) } func (m *FindLogListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindLogListReq.Marshal(b, m, deterministic) } func (m *FindLogListReq) XXX_Merge(src proto.Message) { xxx_messageInfo_FindLogListReq.Merge(m, src) } func (m *FindLogListReq) XXX_Size() int { return xxx_messageInfo_FindLogListReq.Size(m) } func (m *FindLogListReq) XXX_DiscardUnknown() { xxx_messageInfo_FindLogListReq.DiscardUnknown(m) } var xxx_messageInfo_FindLogListReq proto.InternalMessageInfo func (m *FindLogListReq) GetUserId() string { if m != nil { return m.UserId } return "" } func (m *FindLogListReq) GetType() int32 { if m != nil { return m.Type } return 0 } func (m *FindLogListReq) GetPage() int32 { if m != nil { return m.Page } return 0 } func (m *FindLogListReq) GetSize() int32 { if m != nil { return m.Size } return 0 } func (m *FindLogListReq) GetModule() string { if m != nil { return m.Module } return "" } func (m *FindLogListReq) GetStartTime() string { if m != nil { return m.StartTime } return "" } func (m *FindLogListReq) GetEndTime() string { if m != nil { return m.EndTime } return "" } func (m *FindLogListReq) GetInputText() string { if m != nil { return m.InputText } return "" } type FindLogListReply struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` DataList []*Log `protobuf:"bytes,2,rep,name=dataList,proto3" json:"dataList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FindLogListReply) Reset() { *m = FindLogListReply{} } func (m *FindLogListReply) String() string { return proto.CompactTextString(m) } func (*FindLogListReply) ProtoMessage() {} func (*FindLogListReply) Descriptor() ([]byte, []int) { return fileDescriptor_a153da538f858886, []int{2} } func (m *FindLogListReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FindLogListReply.Unmarshal(m, b) } func (m *FindLogListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FindLogListReply.Marshal(b, m, deterministic) } func (m *FindLogListReply) XXX_Merge(src proto.Message) { xxx_messageInfo_FindLogListReply.Merge(m, src) } func (m *FindLogListReply) XXX_Size() int { return xxx_messageInfo_FindLogListReply.Size(m) } func (m *FindLogListReply) XXX_DiscardUnknown() { xxx_messageInfo_FindLogListReply.DiscardUnknown(m) } var xxx_messageInfo_FindLogListReply proto.InternalMessageInfo func (m *FindLogListReply) GetTotal() int32 { if m != nil { return m.Total } return 0 } func (m *FindLogListReply) GetDataList() []*Log { if m != nil { return m.DataList } return nil } func init() { proto.RegisterEnum("log.LogType", LogType_name, LogType_value) proto.RegisterType((*Log)(nil), "log.Log") proto.RegisterType((*FindLogListReq)(nil), "log.FindLogListReq") proto.RegisterType((*FindLogListReply)(nil), "log.FindLogListReply") } func init() { proto.RegisterFile("log.proto", fileDescriptor_a153da538f858886) } var fileDescriptor_a153da538f858886 = []byte{ // 407 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcd, 0x6a, 0xdc, 0x30, 0x10, 0x8e, 0xec, 0xf5, 0xae, 0x3d, 0x4b, 0x83, 0x99, 0xfe, 0x20, 0x42, 0x0e, 0xcb, 0xd2, 0xc3, 0xd2, 0x43, 0x0e, 0xe9, 0x31, 0xe7, 0x16, 0x02, 0x26, 0x01, 0x67, 0x5f, 0xc0, 0x59, 0x0f, 0xaa, 0xc0, 0x6b, 0xa9, 0x96, 0x5c, 0xb2, 0x7d, 0xcc, 0xbe, 0x50, 0x8b, 0xc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