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

Unified Diff: milo/api/proto/buildbot.pb.go

Issue 2810113002: Milo buildbot builder page: Add pagnation with cursors. (Closed)
Patch Set: train Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/api/proto/buildbot.proto ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/api/proto/buildbot.pb.go
diff --git a/milo/api/proto/buildbot.pb.go b/milo/api/proto/buildbot.pb.go
index 06bc1c9e8f5569a9d58add3d8445bcb729414118..b6fd9efc9c7011ae6e9b78223438b63ff52c9d02 100644
--- a/milo/api/proto/buildbot.pb.go
+++ b/milo/api/proto/buildbot.pb.go
@@ -156,6 +156,8 @@ type BuildbotBuildsRequest struct {
Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
// Include ongoing builds (default: false).
IncludeCurrent bool `protobuf:"varint,4,opt,name=include_current,json=includeCurrent" json:"include_current,omitempty"`
+ // Return builds starting from this cursor.
+ Cursor string `protobuf:"bytes,5,opt,name=cursor" json:"cursor,omitempty"`
}
func (m *BuildbotBuildsRequest) Reset() { *m = BuildbotBuildsRequest{} }
@@ -191,9 +193,19 @@ func (m *BuildbotBuildsRequest) GetIncludeCurrent() bool {
return false
}
+func (m *BuildbotBuildsRequest) GetCursor() string {
+ if m != nil {
+ return m.Cursor
+ }
+ return ""
+}
+
// The response message for multiple builds in a builder.
type BuildbotBuildsJSON struct {
+ // builds is the list of builds resulting from the builds request.
Builds []*BuildbotBuildJSON `protobuf:"bytes,1,rep,name=builds" json:"builds,omitempty"`
+ // The cursor to the next request from, if the exact same query was given.
+ Cursor string `protobuf:"bytes,2,opt,name=cursor" json:"cursor,omitempty"`
}
func (m *BuildbotBuildsJSON) Reset() { *m = BuildbotBuildsJSON{} }
@@ -208,6 +220,13 @@ func (m *BuildbotBuildsJSON) GetBuilds() []*BuildbotBuildJSON {
return nil
}
+func (m *BuildbotBuildsJSON) GetCursor() string {
+ if m != nil {
+ return m.Cursor
+ }
+ return ""
+}
+
func init() {
proto.RegisterType((*MasterRequest)(nil), "milo.MasterRequest")
proto.RegisterType((*CompressedMasterJSON)(nil), "milo.CompressedMasterJSON")
@@ -394,32 +413,33 @@ func init() {
}
var fileDescriptor0 = []byte{
- // 420 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcd, 0x6e, 0xd4, 0x30,
- 0x10, 0xc7, 0x6b, 0x76, 0xbb, 0x64, 0xa7, 0x7c, 0x08, 0xb3, 0xa5, 0x51, 0x7a, 0x60, 0x15, 0x0e,
- 0xcd, 0x85, 0x44, 0x5a, 0x04, 0x0f, 0x40, 0x85, 0x2a, 0x21, 0x5a, 0x90, 0xe1, 0x5e, 0xe5, 0x63,
- 0x1a, 0x2c, 0xc5, 0x71, 0x48, 0xec, 0x2b, 0x67, 0x5e, 0x99, 0x1b, 0xda, 0x71, 0x5c, 0x11, 0x1a,
- 0x2e, 0xbd, 0x24, 0x9e, 0x99, 0xbf, 0x67, 0x7e, 0x33, 0x1e, 0x78, 0x5b, 0x4b, 0xf3, 0xdd, 0x16,
- 0x69, 0xa9, 0x55, 0xd6, 0xd8, 0x52, 0xd2, 0xe7, 0x75, 0xad, 0x33, 0x25, 0x1b, 0x9d, 0xe5, 0x9d,
- 0xcc, 0xba, 0x5e, 0x1b, 0x9d, 0x15, 0x56, 0x36, 0x55, 0xa1, 0x4d, 0x4a, 0x26, 0x5f, 0xee, 0xc3,
- 0xd1, 0xcb, 0x5a, 0xeb, 0xba, 0x41, 0x27, 0x29, 0xec, 0x4d, 0x66, 0xa4, 0xc2, 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
- 0x3d, 0xb6, 0x26, 0x5c, 0xd2, 0x80, 0x9f, 0x8c, 0xee, 0x73, 0xe7, 0x8d, 0x3f, 0x00, 0x9f, 0x92,
- 0x10, 0x74, 0x06, 0x2b, 0xca, 0x3f, 0x84, 0x6c, 0xbb, 0x48, 0x8e, 0x76, 0x27, 0xe9, 0x7e, 0x1b,
- 0xd2, 0x3b, 0xdd, 0x89, 0x51, 0xb6, 0xfb, 0xcd, 0x20, 0xf0, 0x51, 0xfe, 0x09, 0x4e, 0x2e, 0xd0,
- 0xcc, 0xbe, 0xf8, 0x73, 0x97, 0x68, 0xb2, 0x32, 0x51, 0xe4, 0x9c, 0x73, 0x17, 0xe2, 0x03, 0x7e,
- 0x09, 0x9b, 0x0b, 0x34, 0x77, 0x07, 0x1b, 0xcd, 0x30, 0xf9, 0x8c, 0xff, 0xe3, 0x8d, 0x0f, 0xf8,
- 0x17, 0x38, 0xfe, 0x37, 0x9d, 0xeb, 0xf9, 0x74, 0xe6, 0x8e, 0x7f, 0x97, 0x28, 0x9c, 0x0b, 0xba,
- 0x8c, 0xc5, 0x8a, 0xf6, 0xf1, 0xcd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x82, 0x54, 0x26, 0xe6,
- 0x69, 0x03, 0x00, 0x00,
+ // 438 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4b, 0x6f, 0xd4, 0x30,
+ 0x10, 0xc7, 0x9b, 0xee, 0x83, 0xec, 0x94, 0x87, 0x30, 0x5b, 0x1a, 0xa5, 0x07, 0x56, 0xe1, 0xd0,
+ 0xbd, 0x90, 0x48, 0x8b, 0xe0, 0x03, 0xd0, 0x43, 0x25, 0x44, 0x0b, 0x32, 0x5c, 0x51, 0x95, 0xc7,
+ 0x74, 0xb1, 0x14, 0xc7, 0x8b, 0x1f, 0x57, 0x3e, 0x0b, 0x5f, 0x93, 0x1b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xa6, 0xc9,
+ 0xd0, 0xa6, 0xaf, 0x58, 0x4d, 0x69, 0x7e, 0xdf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x27, 0x2d,
+ 0x60, 0xea, 0x99, 0x03, 0x00, 0x00,
}
« no previous file with comments | « milo/api/proto/buildbot.proto ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698