123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: log.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- 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 LogAddRequest struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation"`
- Result int32 `protobuf:"varint,3,opt,name=result,proto3" json:"result"`
- Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"`
- Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type"`
- Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username"`
- ProjectId int64 `protobuf:"varint,7,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LogAddRequest) Reset() { *m = LogAddRequest{} }
- func (m *LogAddRequest) String() string { return proto.CompactTextString(m) }
- func (*LogAddRequest) ProtoMessage() {}
- func (*LogAddRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_a153da538f858886, []int{0}
- }
- func (m *LogAddRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogAddRequest.Unmarshal(m, b)
- }
- func (m *LogAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogAddRequest.Marshal(b, m, deterministic)
- }
- func (m *LogAddRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogAddRequest.Merge(m, src)
- }
- func (m *LogAddRequest) XXX_Size() int {
- return xxx_messageInfo_LogAddRequest.Size(m)
- }
- func (m *LogAddRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LogAddRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_LogAddRequest proto.InternalMessageInfo
- func (m *LogAddRequest) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *LogAddRequest) GetOperation() string {
- if m != nil {
- return m.Operation
- }
- return ""
- }
- func (m *LogAddRequest) GetResult() int32 {
- if m != nil {
- return m.Result
- }
- return 0
- }
- func (m *LogAddRequest) GetDetail() string {
- if m != nil {
- return m.Detail
- }
- return ""
- }
- func (m *LogAddRequest) GetType() int32 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- func (m *LogAddRequest) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
- }
- func (m *LogAddRequest) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- type LogAddReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LogAddReply) Reset() { *m = LogAddReply{} }
- func (m *LogAddReply) String() string { return proto.CompactTextString(m) }
- func (*LogAddReply) ProtoMessage() {}
- func (*LogAddReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_a153da538f858886, []int{1}
- }
- func (m *LogAddReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogAddReply.Unmarshal(m, b)
- }
- func (m *LogAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogAddReply.Marshal(b, m, deterministic)
- }
- func (m *LogAddReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogAddReply.Merge(m, src)
- }
- func (m *LogAddReply) XXX_Size() int {
- return xxx_messageInfo_LogAddReply.Size(m)
- }
- func (m *LogAddReply) XXX_DiscardUnknown() {
- xxx_messageInfo_LogAddReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_LogAddReply proto.InternalMessageInfo
- type LogInfo struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
- Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation"`
- Result string `protobuf:"bytes,3,opt,name=result,proto3" json:"result"`
- Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail"`
- Uid int64 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid"`
- Time string `protobuf:"bytes,6,opt,name=time,proto3" json:"time"`
- ProjectName string `protobuf:"bytes,7,opt,name=project_name,json=projectName,proto3" json:"project_name"`
- ProjectId int64 `protobuf:"varint,8,opt,name=project_id,json=projectId,proto3" json:"project_id"`
- ProjectNo string `protobuf:"bytes,9,opt,name=project_no,json=projectNo,proto3" json:"project_no"`
- SafetyRecordNo string `protobuf:"bytes,10,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LogInfo) Reset() { *m = LogInfo{} }
- func (m *LogInfo) String() string { return proto.CompactTextString(m) }
- func (*LogInfo) ProtoMessage() {}
- func (*LogInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_a153da538f858886, []int{2}
- }
- func (m *LogInfo) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogInfo.Unmarshal(m, b)
- }
- func (m *LogInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogInfo.Marshal(b, m, deterministic)
- }
- func (m *LogInfo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogInfo.Merge(m, src)
- }
- func (m *LogInfo) XXX_Size() int {
- return xxx_messageInfo_LogInfo.Size(m)
- }
- func (m *LogInfo) XXX_DiscardUnknown() {
- xxx_messageInfo_LogInfo.DiscardUnknown(m)
- }
- var xxx_messageInfo_LogInfo proto.InternalMessageInfo
- func (m *LogInfo) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *LogInfo) GetOperation() string {
- if m != nil {
- return m.Operation
- }
- return ""
- }
- func (m *LogInfo) GetResult() string {
- if m != nil {
- return m.Result
- }
- return ""
- }
- func (m *LogInfo) GetDetail() string {
- if m != nil {
- return m.Detail
- }
- return ""
- }
- func (m *LogInfo) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- func (m *LogInfo) GetTime() string {
- if m != nil {
- return m.Time
- }
- return ""
- }
- func (m *LogInfo) GetProjectName() string {
- if m != nil {
- return m.ProjectName
- }
- return ""
- }
- func (m *LogInfo) GetProjectId() int64 {
- if m != nil {
- return m.ProjectId
- }
- return 0
- }
- func (m *LogInfo) GetProjectNo() string {
- if m != nil {
- return m.ProjectNo
- }
- return ""
- }
- func (m *LogInfo) GetSafetyRecordNo() string {
- if m != nil {
- return m.SafetyRecordNo
- }
- return ""
- }
- type LogListRequest struct {
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start"`
- End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"`
- Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LogListRequest) Reset() { *m = LogListRequest{} }
- func (m *LogListRequest) String() string { return proto.CompactTextString(m) }
- func (*LogListRequest) ProtoMessage() {}
- func (*LogListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_a153da538f858886, []int{3}
- }
- func (m *LogListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogListRequest.Unmarshal(m, b)
- }
- func (m *LogListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogListRequest.Marshal(b, m, deterministic)
- }
- func (m *LogListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogListRequest.Merge(m, src)
- }
- func (m *LogListRequest) XXX_Size() int {
- return xxx_messageInfo_LogListRequest.Size(m)
- }
- func (m *LogListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LogListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_LogListRequest proto.InternalMessageInfo
- func (m *LogListRequest) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *LogListRequest) GetStart() int64 {
- if m != nil {
- return m.Start
- }
- return 0
- }
- func (m *LogListRequest) GetEnd() int64 {
- if m != nil {
- return m.End
- }
- return 0
- }
- func (m *LogListRequest) GetType() int32 {
- if m != nil {
- return m.Type
- }
- return 0
- }
- type LogListReply struct {
- List []*LogInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
- Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
- PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *LogListReply) Reset() { *m = LogListReply{} }
- func (m *LogListReply) String() string { return proto.CompactTextString(m) }
- func (*LogListReply) ProtoMessage() {}
- func (*LogListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_a153da538f858886, []int{4}
- }
- func (m *LogListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogListReply.Unmarshal(m, b)
- }
- func (m *LogListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogListReply.Marshal(b, m, deterministic)
- }
- func (m *LogListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogListReply.Merge(m, src)
- }
- func (m *LogListReply) XXX_Size() int {
- return xxx_messageInfo_LogListReply.Size(m)
- }
- func (m *LogListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_LogListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_LogListReply proto.InternalMessageInfo
- func (m *LogListReply) GetList() []*LogInfo {
- if m != nil {
- return m.List
- }
- return nil
- }
- func (m *LogListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *LogListReply) GetPage() int32 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *LogListReply) GetPageSize() int32 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func init() {
- proto.RegisterType((*LogAddRequest)(nil), "v1.LogAddRequest")
- proto.RegisterType((*LogAddReply)(nil), "v1.LogAddReply")
- proto.RegisterType((*LogInfo)(nil), "v1.LogInfo")
- proto.RegisterType((*LogListRequest)(nil), "v1.LogListRequest")
- proto.RegisterType((*LogListReply)(nil), "v1.LogListReply")
- }
- func init() {
- proto.RegisterFile("log.proto", fileDescriptor_a153da538f858886)
- }
- var fileDescriptor_a153da538f858886 = []byte{
- // 413 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcb, 0x6e, 0xdb, 0x30,
- 0x10, 0x84, 0x2c, 0xc9, 0xb6, 0xd6, 0x49, 0x10, 0x10, 0x41, 0x40, 0xf4, 0x81, 0xba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