| OLD | NEW |
| (Empty) | |
| 1 // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 // source: github.com/luci/luci-go/milo/api/proto/console_git_info.proto |
| 3 |
| 4 package milo |
| 5 |
| 6 import proto "github.com/golang/protobuf/proto" |
| 7 import fmt "fmt" |
| 8 import math "math" |
| 9 import google_protobuf "github.com/golang/protobuf/ptypes/timestamp" |
| 10 |
| 11 // Reference imports to suppress errors if they are not otherwise used. |
| 12 var _ = proto.Marshal |
| 13 var _ = fmt.Errorf |
| 14 var _ = math.Inf |
| 15 |
| 16 // ConsoleGitInfo stores memcache-able data that the console view will use when |
| 17 // displaying git commits. A compressed ConsoleGitInfo should always be < 1MB, |
| 18 // so don't put anything too big in here. |
| 19 type ConsoleGitInfo struct { |
| 20 Commits []*ConsoleGitInfo_Commit `protobuf:"bytes,1,rep,name=commits" js
on:"commits,omitempty"` |
| 21 } |
| 22 |
| 23 func (m *ConsoleGitInfo) Reset() { *m = ConsoleGitInfo{} } |
| 24 func (m *ConsoleGitInfo) String() string { return proto.CompactTextSt
ring(m) } |
| 25 func (*ConsoleGitInfo) ProtoMessage() {} |
| 26 func (*ConsoleGitInfo) Descriptor() ([]byte, []int) { return fileDescriptor2, []
int{0} } |
| 27 |
| 28 func (m *ConsoleGitInfo) GetCommits() []*ConsoleGitInfo_Commit { |
| 29 if m != nil { |
| 30 return m.Commits |
| 31 } |
| 32 return nil |
| 33 } |
| 34 |
| 35 type ConsoleGitInfo_Commit struct { |
| 36 // The raw commit ID. |
| 37 Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 38 // The author name (e.g. "Rey Cool") |
| 39 AuthorName string `protobuf:"bytes,2,opt,name=author_name,json=authorNam
e" json:"author_name,omitempty"` |
| 40 // The author email (e.g. "rey_cool@example.com") |
| 41 AuthorEmail string `protobuf:"bytes,3,opt,name=author_email,json=authorE
mail" json:"author_email,omitempty"` |
| 42 // The commit timestamp (~= when the commit landed... not always true!). |
| 43 CommitTime *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=commit
_time,json=commitTime" json:"commit_time,omitempty"` |
| 44 // The raw commit message as text. |
| 45 Msg string `protobuf:"bytes,5,opt,name=msg" json:"msg,omitempty"` |
| 46 } |
| 47 |
| 48 func (m *ConsoleGitInfo_Commit) Reset() { *m = ConsoleGitInfo
_Commit{} } |
| 49 func (m *ConsoleGitInfo_Commit) String() string { return proto.Compac
tTextString(m) } |
| 50 func (*ConsoleGitInfo_Commit) ProtoMessage() {} |
| 51 func (*ConsoleGitInfo_Commit) Descriptor() ([]byte, []int) { return fileDescript
or2, []int{0, 0} } |
| 52 |
| 53 func (m *ConsoleGitInfo_Commit) GetId() []byte { |
| 54 if m != nil { |
| 55 return m.Id |
| 56 } |
| 57 return nil |
| 58 } |
| 59 |
| 60 func (m *ConsoleGitInfo_Commit) GetAuthorName() string { |
| 61 if m != nil { |
| 62 return m.AuthorName |
| 63 } |
| 64 return "" |
| 65 } |
| 66 |
| 67 func (m *ConsoleGitInfo_Commit) GetAuthorEmail() string { |
| 68 if m != nil { |
| 69 return m.AuthorEmail |
| 70 } |
| 71 return "" |
| 72 } |
| 73 |
| 74 func (m *ConsoleGitInfo_Commit) GetCommitTime() *google_protobuf.Timestamp { |
| 75 if m != nil { |
| 76 return m.CommitTime |
| 77 } |
| 78 return nil |
| 79 } |
| 80 |
| 81 func (m *ConsoleGitInfo_Commit) GetMsg() string { |
| 82 if m != nil { |
| 83 return m.Msg |
| 84 } |
| 85 return "" |
| 86 } |
| 87 |
| 88 func init() { |
| 89 proto.RegisterType((*ConsoleGitInfo)(nil), "milo.ConsoleGitInfo") |
| 90 proto.RegisterType((*ConsoleGitInfo_Commit)(nil), "milo.ConsoleGitInfo.C
ommit") |
| 91 } |
| 92 |
| 93 func init() { |
| 94 proto.RegisterFile("github.com/luci/luci-go/milo/api/proto/console_git_i
nfo.proto", fileDescriptor2) |
| 95 } |
| 96 |
| 97 var fileDescriptor2 = []byte{ |
| 98 // 262 bytes of a gzipped FileDescriptorProto |
| 99 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f,
0xb1, 0x6a, 0xc3, 0x30, |
| 100 0x14, 0x45, 0x91, 0x9d, 0xa6, 0x54, 0x0e, 0xa1, 0x68, 0x12, 0xee, 0x10,
0xb7, 0x93, 0x97, 0x4a, |
| 101 0x90, 0xd2, 0xa9, 0x74, 0x0a, 0xa5, 0x74, 0xe9, 0x60, 0xba, 0x1b, 0xd9,
0x91, 0x95, 0x07, 0x96, |
| 102 0x9f, 0x89, 0xe5, 0xaf, 0xea, 0xf7, 0x75, 0x2f, 0x92, 0xe2, 0x21, 0x8b,
0x10, 0x87, 0x73, 0xef, |
| 103 0xe3, 0xd2, 0x77, 0x03, 0xee, 0x34, 0x37, 0xa2, 0x45, 0x2b, 0xfb, 0xb9,
0x85, 0xf0, 0x3c, 0x1b, |
| 104 0x94, 0x16, 0x7a, 0x94, 0x6a, 0x04, 0x39, 0x9e, 0xd1, 0xa1, 0x6c, 0x71,
0x98, 0xb0, 0xd7, 0xb5, |
| 105 0x01, 0x57, 0xc3, 0xd0, 0xa1, 0x08, 0x98, 0xad, 0xbc, 0x96, 0xef, 0x0c,
0xa2, 0xe9, 0x75, 0x54, |
| 106 0x9b, 0xb9, 0x93, 0x0e, 0xac, 0x9e, 0x9c, 0xb2, 0x63, 0xd4, 0x9e, 0xfe,
0x08, 0xdd, 0x1e, 0x62, |
| 107 0xc3, 0x27, 0xb8, 0xaf, 0xa1, 0x43, 0xf6, 0x4a, 0x6f, 0x5b, 0xb4, 0x16,
0xdc, 0xc4, 0x49, 0x91, |
| 108 0x96, 0xd9, 0xfe, 0x41, 0xf8, 0x2e, 0x71, 0xad, 0x89, 0x43, 0x70, 0xaa,
0xc5, 0xcd, 0x7f, 0x09, |
| 109 0x5d, 0x47, 0xc6, 0xb6, 0x34, 0x81, 0x23, 0x27, 0x05, 0x29, 0x37, 0x55,
0x02, 0x47, 0xb6, 0xa3, |
| 110 0x99, 0x9a, 0xdd, 0x09, 0xcf, 0xf5, 0xa0, 0xac, 0xe6, 0x49, 0x41, 0xca,
0xbb, 0x8a, 0x46, 0xf4, |
| 111 0xad, 0xac, 0x66, 0x8f, 0x74, 0x73, 0x11, 0xb4, 0x55, 0xd0, 0xf3, 0x34,
0x18, 0x97, 0xd0, 0x87, |
| 112 0x47, 0xec, 0x8d, 0x66, 0xf1, 0x52, 0xed, 0x27, 0xf0, 0x55, 0x41, 0xca,
0x6c, 0x9f, 0x8b, 0xb8, |
| 113 0x4f, 0x2c, 0xfb, 0xc4, 0xcf, 0xb2, 0xaf, 0xa2, 0x51, 0xf7, 0x80, 0xdd,
0xd3, 0xd4, 0x4e, 0x86, |
| 114 0xdf, 0x84, 0x5a, 0xff, 0x6d, 0xd6, 0x21, 0xf1, 0xf2, 0x1f, 0x00, 0x00,
0xff, 0xff, 0xde, 0x4f, |
| 115 0x2f, 0x0f, 0x66, 0x01, 0x00, 0x00, |
| 116 } |
| OLD | NEW |