123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: operation_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_c759f6398179ec0e, []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_c759f6398179ec0e, []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_c759f6398179ec0e, []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_c759f6398179ec0e, []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_c759f6398179ec0e, []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("operation_log.proto", fileDescriptor_c759f6398179ec0e)
- }
- var fileDescriptor_c759f6398179ec0e = []byte{
- // 431 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0xcd, 0x6e, 0xd3, 0x40,
- 0x10, 0x96, 0x63, 0x3b, 0x89, 0x27, 0x6d, 0x55, 0x2d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