Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Side by Side Diff: milo/api/proto/console_git_info.pb.go

Issue 2979153002: [milo] initial call to get git history (Closed)
Patch Set: fix nits Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « milo/api/proto/console_git_info.proto ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 hash.
37 Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempt y"`
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) GetHash() []byte {
54 if m != nil {
55 return m.Hash
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 // 263 bytes of a gzipped FileDescriptorProto
99 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x31, 0x4b, 0xfc, 0x30,
100 0x18, 0xc6, 0xc9, 0xbf, 0xfd, 0x9f, 0xf8, 0xf6, 0x10, 0xc9, 0x14, 0xea, 0x70, 0xd5, 0xa9, 0x8b,
101 0x09, 0x9c, 0x38, 0x89, 0xd3, 0x21, 0xe2, 0xe2, 0x50, 0xdc, 0x4b, 0x5a, 0xd2, 0x34, 0xd0, 0xf4,
102 0x2d, 0x97, 0xf4, 0x73, 0xf9, 0xf9, 0xdc, 0x24, 0xc9, 0x75, 0x70, 0x09, 0x2f, 0x3f, 0x7e, 0xcf,
103 0x13, 0x1e, 0x78, 0xd5, 0xc6, 0x8f, 0x6b, 0xc7, 0x7b, 0xb4, 0x62, 0x5a, 0x7b, 0x13, 0x9f, 0x47,
104 0x8d, 0xc2, 0x9a, 0x09, 0x85, 0x5c, 0x8c, 0x58, 0xce, 0xe8, 0x51, 0xf4, 0x38, 0x3b, 0x9c, 0x54,
105 0xab, 0x8d, 0x6f, 0xcd, 0x3c, 0x20, 0x8f, 0x98, 0xe6, 0x41, 0x2b, 0x0f, 0x1a, 0x51, 0x4f, 0x2a,
106 0xa9, 0xdd, 0x3a, 0x08, 0x6f, 0xac, 0x72, 0x5e, 0xda, 0x25, 0x69, 0x0f, 0x3f, 0x04, 0x6e, 0x4e,
107 0xa9, 0xe1, 0xdd, 0xf8, 0x8f, 0x79, 0x40, 0xfa, 0x0c, 0x57, 0x3d, 0x5a, 0x6b, 0xbc, 0x63, 0xa4,
108 0xca, 0xea, 0xe2, 0x78, 0xc7, 0x43, 0x17, 0xff, 0xab, 0xf1, 0x53, 0x74, 0x9a, 0xcd, 0x2d, 0xbf,
109 0x09, 0xec, 0x12, 0xa3, 0x14, 0xf2, 0x51, 0xba, 0x91, 0x91, 0x8a, 0xd4, 0xfb, 0x26, 0xde, 0xf4,
110 0x00, 0x85, 0x5c, 0xfd, 0x88, 0xe7, 0x76, 0x96, 0x56, 0xb1, 0x7f, 0x15, 0xa9, 0xaf, 0x1b, 0x48,
111 0xe8, 0x53, 0x5a, 0x45, 0xef, 0x61, 0x7f, 0x11, 0x94, 0x95, 0x66, 0x62, 0x59, 0x34, 0x2e, 0xa1,
112 0xb7, 0x80, 0xe8, 0x0b, 0x14, 0xe9, 0xb7, 0x36, 0xcc, 0x60, 0x79, 0x45, 0xea, 0xe2, 0x58, 0xf2,
113 0xb4, 0x91, 0x6f, 0x1b, 0xf9, 0xd7, 0xb6, 0xb1, 0x81, 0xa4, 0x07, 0x40, 0x6f, 0x21, 0xb3, 0x4e,
114 0xb3, 0xff, 0xb1, 0x36, 0x9c, 0xdd, 0x2e, 0x26, 0x9e, 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3b,
115 0xc6, 0x07, 0x0c, 0x6a, 0x01, 0x00, 0x00,
116 }
OLDNEW
« no previous file with comments | « milo/api/proto/console_git_info.proto ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698