| OLD | NEW |
| 1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
| 2 // source: github.com/luci/luci-go/milo/api/proto/buildbot.proto | 2 // source: github.com/luci/luci-go/milo/api/proto/buildbot.proto |
| 3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 Package milo is a generated protocol buffer package. | 6 Package milo is a generated protocol buffer package. |
| 7 | 7 |
| 8 It is generated from these files: | 8 It is generated from these files: |
| 9 github.com/luci/luci-go/milo/api/proto/buildbot.proto | 9 github.com/luci/luci-go/milo/api/proto/buildbot.proto |
| 10 github.com/luci/luci-go/milo/api/proto/buildinfo.proto | 10 github.com/luci/luci-go/milo/api/proto/buildinfo.proto |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 } | 149 } |
| 150 | 150 |
| 151 // The request for multiple build on a builder. | 151 // The request for multiple build on a builder. |
| 152 type BuildbotBuildsRequest struct { | 152 type BuildbotBuildsRequest struct { |
| 153 Master string `protobuf:"bytes,1,opt,name=master" json:"master,omitempt
y"` | 153 Master string `protobuf:"bytes,1,opt,name=master" json:"master,omitempt
y"` |
| 154 Builder string `protobuf:"bytes,2,opt,name=builder" json:"builder,omitem
pty"` | 154 Builder string `protobuf:"bytes,2,opt,name=builder" json:"builder,omitem
pty"` |
| 155 // Limit to the number of builds to return (default: 20). | 155 // Limit to the number of builds to return (default: 20). |
| 156 Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` | 156 Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` |
| 157 // Include ongoing builds (default: false). | 157 // Include ongoing builds (default: false). |
| 158 IncludeCurrent bool `protobuf:"varint,4,opt,name=include_current,json=in
cludeCurrent" json:"include_current,omitempty"` | 158 IncludeCurrent bool `protobuf:"varint,4,opt,name=include_current,json=in
cludeCurrent" json:"include_current,omitempty"` |
| 159 // Return builds starting from this cursor. |
| 160 Cursor string `protobuf:"bytes,5,opt,name=cursor" json:"cursor,omitempty
"` |
| 159 } | 161 } |
| 160 | 162 |
| 161 func (m *BuildbotBuildsRequest) Reset() { *m = BuildbotBuilds
Request{} } | 163 func (m *BuildbotBuildsRequest) Reset() { *m = BuildbotBuilds
Request{} } |
| 162 func (m *BuildbotBuildsRequest) String() string { return proto.Compac
tTextString(m) } | 164 func (m *BuildbotBuildsRequest) String() string { return proto.Compac
tTextString(m) } |
| 163 func (*BuildbotBuildsRequest) ProtoMessage() {} | 165 func (*BuildbotBuildsRequest) ProtoMessage() {} |
| 164 func (*BuildbotBuildsRequest) Descriptor() ([]byte, []int) { return fileDescript
or0, []int{4} } | 166 func (*BuildbotBuildsRequest) Descriptor() ([]byte, []int) { return fileDescript
or0, []int{4} } |
| 165 | 167 |
| 166 func (m *BuildbotBuildsRequest) GetMaster() string { | 168 func (m *BuildbotBuildsRequest) GetMaster() string { |
| 167 if m != nil { | 169 if m != nil { |
| 168 return m.Master | 170 return m.Master |
| (...skipping 15 matching lines...) Expand all Loading... |
| 184 return 0 | 186 return 0 |
| 185 } | 187 } |
| 186 | 188 |
| 187 func (m *BuildbotBuildsRequest) GetIncludeCurrent() bool { | 189 func (m *BuildbotBuildsRequest) GetIncludeCurrent() bool { |
| 188 if m != nil { | 190 if m != nil { |
| 189 return m.IncludeCurrent | 191 return m.IncludeCurrent |
| 190 } | 192 } |
| 191 return false | 193 return false |
| 192 } | 194 } |
| 193 | 195 |
| 196 func (m *BuildbotBuildsRequest) GetCursor() string { |
| 197 if m != nil { |
| 198 return m.Cursor |
| 199 } |
| 200 return "" |
| 201 } |
| 202 |
| 194 // The response message for multiple builds in a builder. | 203 // The response message for multiple builds in a builder. |
| 195 type BuildbotBuildsJSON struct { | 204 type BuildbotBuildsJSON struct { |
| 205 // builds is the list of builds resulting from the builds request. |
| 196 Builds []*BuildbotBuildJSON `protobuf:"bytes,1,rep,name=builds" json:"bu
ilds,omitempty"` | 206 Builds []*BuildbotBuildJSON `protobuf:"bytes,1,rep,name=builds" json:"bu
ilds,omitempty"` |
| 207 // The cursor to the next request from, if the exact same query was give
n. |
| 208 Cursor string `protobuf:"bytes,2,opt,name=cursor" json:"cursor,omitempty
"` |
| 197 } | 209 } |
| 198 | 210 |
| 199 func (m *BuildbotBuildsJSON) Reset() { *m = BuildbotBuildsJSO
N{} } | 211 func (m *BuildbotBuildsJSON) Reset() { *m = BuildbotBuildsJSO
N{} } |
| 200 func (m *BuildbotBuildsJSON) String() string { return proto.CompactTe
xtString(m) } | 212 func (m *BuildbotBuildsJSON) String() string { return proto.CompactTe
xtString(m) } |
| 201 func (*BuildbotBuildsJSON) ProtoMessage() {} | 213 func (*BuildbotBuildsJSON) ProtoMessage() {} |
| 202 func (*BuildbotBuildsJSON) Descriptor() ([]byte, []int) { return fileDescriptor0
, []int{5} } | 214 func (*BuildbotBuildsJSON) Descriptor() ([]byte, []int) { return fileDescriptor0
, []int{5} } |
| 203 | 215 |
| 204 func (m *BuildbotBuildsJSON) GetBuilds() []*BuildbotBuildJSON { | 216 func (m *BuildbotBuildsJSON) GetBuilds() []*BuildbotBuildJSON { |
| 205 if m != nil { | 217 if m != nil { |
| 206 return m.Builds | 218 return m.Builds |
| 207 } | 219 } |
| 208 return nil | 220 return nil |
| 209 } | 221 } |
| 210 | 222 |
| 223 func (m *BuildbotBuildsJSON) GetCursor() string { |
| 224 if m != nil { |
| 225 return m.Cursor |
| 226 } |
| 227 return "" |
| 228 } |
| 229 |
| 211 func init() { | 230 func init() { |
| 212 proto.RegisterType((*MasterRequest)(nil), "milo.MasterRequest") | 231 proto.RegisterType((*MasterRequest)(nil), "milo.MasterRequest") |
| 213 proto.RegisterType((*CompressedMasterJSON)(nil), "milo.CompressedMasterJ
SON") | 232 proto.RegisterType((*CompressedMasterJSON)(nil), "milo.CompressedMasterJ
SON") |
| 214 proto.RegisterType((*BuildbotBuildRequest)(nil), "milo.BuildbotBuildRequ
est") | 233 proto.RegisterType((*BuildbotBuildRequest)(nil), "milo.BuildbotBuildRequ
est") |
| 215 proto.RegisterType((*BuildbotBuildJSON)(nil), "milo.BuildbotBuildJSON") | 234 proto.RegisterType((*BuildbotBuildJSON)(nil), "milo.BuildbotBuildJSON") |
| 216 proto.RegisterType((*BuildbotBuildsRequest)(nil), "milo.BuildbotBuildsRe
quest") | 235 proto.RegisterType((*BuildbotBuildsRequest)(nil), "milo.BuildbotBuildsRe
quest") |
| 217 proto.RegisterType((*BuildbotBuildsJSON)(nil), "milo.BuildbotBuildsJSON"
) | 236 proto.RegisterType((*BuildbotBuildsJSON)(nil), "milo.BuildbotBuildsJSON"
) |
| 218 } | 237 } |
| 219 | 238 |
| 220 // Reference imports to suppress errors if they are not otherwise used. | 239 // Reference imports to suppress errors if they are not otherwise used. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 }, | 406 }, |
| 388 Streams: []grpc.StreamDesc{}, | 407 Streams: []grpc.StreamDesc{}, |
| 389 Metadata: "github.com/luci/luci-go/milo/api/proto/buildbot.proto", | 408 Metadata: "github.com/luci/luci-go/milo/api/proto/buildbot.proto", |
| 390 } | 409 } |
| 391 | 410 |
| 392 func init() { | 411 func init() { |
| 393 proto.RegisterFile("github.com/luci/luci-go/milo/api/proto/buildbot.prot
o", fileDescriptor0) | 412 proto.RegisterFile("github.com/luci/luci-go/milo/api/proto/buildbot.prot
o", fileDescriptor0) |
| 394 } | 413 } |
| 395 | 414 |
| 396 var fileDescriptor0 = []byte{ | 415 var fileDescriptor0 = []byte{ |
| 397 » // 420 bytes of a gzipped FileDescriptorProto | 416 » // 438 bytes of a gzipped FileDescriptorProto |
| 398 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92,
0xcd, 0x6e, 0xd4, 0x30, | 417 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92,
0x4b, 0x6f, 0xd4, 0x30, |
| 399 » 0x10, 0xc7, 0x6b, 0x76, 0xbb, 0x64, 0xa7, 0x7c, 0x08, 0xb3, 0xa5, 0x51,
0x7a, 0x60, 0x15, 0x0e, | 418 » 0x10, 0xc7, 0x9b, 0xee, 0x83, 0xec, 0x94, 0x87, 0x30, 0x5b, 0x1a, 0xa5,
0x07, 0x56, 0xe1, 0xd0, |
| 400 » 0xcd, 0x85, 0x44, 0x5a, 0x04, 0x0f, 0x40, 0x85, 0x2a, 0x21, 0x5a, 0x90,
0xe1, 0x5e, 0xe5, 0x63, | 419 » 0xbd, 0x90, 0x48, 0x8b, 0xe0, 0x03, 0xd0, 0x43, 0x25, 0x44, 0x0b, 0x32,
0x5c, 0x51, 0x95, 0xc7, |
| 401 » 0x1a, 0x2c, 0xc5, 0x71, 0x48, 0xec, 0x2b, 0x67, 0x5e, 0x99, 0x1b, 0xda,
0x71, 0x5c, 0x11, 0x1a, | 420 » 0x74, 0xb1, 0x14, 0xc7, 0x8b, 0x1f, 0x57, 0x3e, 0x0b, 0x5f, 0x93, 0x1b,
0xda, 0x71, 0x5c, 0xed, |
| 402 » 0x2e, 0xbd, 0x24, 0x9e, 0x99, 0xbf, 0x67, 0x7e, 0x33, 0x1e, 0x78, 0x5b,
0x4b, 0xf3, 0xdd, 0x16, | 421 » 0xb2, 0xe1, 0xd2, 0x4b, 0xe2, 0x19, 0xff, 0x3d, 0xff, 0xdf, 0xd8, 0x03,
0xef, 0xd6, 0xc2, 0xfe, |
| 403 » 0x69, 0xa9, 0x55, 0xd6, 0xd8, 0x52, 0xd2, 0xe7, 0x75, 0xad, 0x33, 0x25,
0x1b, 0x9d, 0xe5, 0x9d, | 422 » 0x70, 0x55, 0x5e, 0x2b, 0x59, 0xb4, 0xae, 0x16, 0xf4, 0x79, 0xb3, 0x56,
0x85, 0x14, 0xad, 0x2a, |
| 404 » 0xcc, 0xba, 0x5e, 0x1b, 0x9d, 0x15, 0x56, 0x36, 0x55, 0xa1, 0x4d, 0x4a,
0x26, 0x5f, 0xee, 0xc3, | 423 » 0xca, 0x8d, 0x28, 0x36, 0x5a, 0x59, 0x55, 0x54, 0x4e, 0xb4, 0x4d, 0xa5,
0x6c, 0x4e, 0x21, 0x1b, |
| 405 » 0xd1, 0xcb, 0x5a, 0xeb, 0xba, 0x41, 0x27, 0x29, 0xec, 0x4d, 0x66, 0xa4,
0xc2, 0xc1, 0xe4, 0xaa, | 424 » 0x6f, 0xb7, 0xd3, 0x57, 0x6b, 0xa5, 0xd6, 0x2d, 0x7a, 0x49, 0xe5, 0xee,
0x0a, 0x2b, 0x24, 0x1a, |
| 406 » 0x73, 0xb2, 0xf8, 0x15, 0x3c, 0xbe, 0xcc, 0x07, 0x83, 0xbd, 0xc0, 0x1f,
0x16, 0x07, 0xc3, 0x39, | 425 » 0x5b, 0xca, 0x8d, 0x97, 0x65, 0xaf, 0xe1, 0xc9, 0x75, 0x69, 0x2c, 0x6a,
0x8e, 0x3f, 0x1d, 0x1a, |
| 407 » 0x2c, 0xdb, 0x5c, 0x61, 0xc8, 0xb6, 0x2c, 0x59, 0x0b, 0x3a, 0xc7, 0x3f,
0x61, 0x73, 0xae, 0x55, | 426 » 0xcb, 0x18, 0x8c, 0xbb, 0x52, 0x62, 0x12, 0x2d, 0xa2, 0xe5, 0x8c, 0xd3,
0x3a, 0xfb, 0x05, 0xf3, |
| 408 » 0xd7, 0xe3, 0x30, 0x60, 0xe5, 0xe4, 0x1f, 0xbf, 0x7e, 0xbe, 0xe2, 0x11,
0x04, 0xb2, 0x35, 0xd8, | 427 » 0x4b, 0x25, 0x37, 0x1a, 0x8d, 0xc1, 0xc6, 0xcb, 0x3f, 0x7e, 0xfd, 0x7c,
0xc3, 0x52, 0x88, 0x45, |
| 409 » 0xb7, 0x79, 0x43, 0xfa, 0x40, 0xdc, 0xda, 0xfc, 0x1d, 0x04, 0x4a, 0x57,
0xf2, 0x46, 0x62, 0x15, | 428 » 0x67, 0x51, 0x77, 0x65, 0x4b, 0xfa, 0x98, 0xdf, 0xc7, 0xec, 0x3d, 0xc4,
0x52, 0x35, 0xe2, 0x4e, |
| 410 » 0x3e, 0xd8, 0xb2, 0xe4, 0x68, 0x17, 0xa5, 0x0e, 0x26, 0xf5, 0x30, 0xe9,
0x37, 0x0f, 0x23, 0x6e, | 429 » 0x60, 0x93, 0x1c, 0x2f, 0xa2, 0xe5, 0xc9, 0x2a, 0xcd, 0x3d, 0x4c, 0x1e,
0x60, 0xf2, 0x6f, 0x01, |
| 411 » 0xb5, 0xfb, 0xfa, 0x55, 0x6e, 0xf2, 0x70, 0xb1, 0x65, 0xc9, 0x23, 0x41,
0xe7, 0x18, 0x61, 0xf3, | 430 » 0x86, 0xdf, 0x6b, 0xb7, 0xfe, 0x4d, 0x69, 0xcb, 0x64, 0xb4, 0x88, 0x96,
0x8f, 0x39, 0xad, 0x33, |
| 412 » 0x7e, 0xec, 0x8e, 0xfe, 0x9e, 0xf5, 0x05, 0xac, 0x14, 0xd1, 0x8c, 0xb4,
0xa3, 0xc5, 0x43, 0x78, | 431 » 0x84, 0xf9, 0x87, 0xbe, 0x3b, 0xfa, 0x07, 0xd6, 0x97, 0x30, 0x95, 0x44,
0xd3, 0xd3, 0xf6, 0x11, |
| 413 » 0x48, 0xd3, 0xc0, 0x9e, 0x4a, 0xaf, 0x85, 0x37, 0xf9, 0x29, 0xac, 0xe9,
0x78, 0xdd, 0x5a, 0x45, | 432 » 0x4b, 0xe0, 0x11, 0xdd, 0x06, 0x6a, 0xb2, 0x9e, 0xf1, 0x10, 0xb2, 0x73,
0x98, 0xd1, 0xf2, 0xb6, |
| 414 » 0x25, 0x16, 0x22, 0x20, 0xc7, 0x95, 0x55, 0xf1, 0x19, 0x3c, 0x9b, 0x94,
0xa1, 0x1e, 0x3d, 0x0f, | 433 » 0x73, 0x92, 0x2c, 0x46, 0x3c, 0xa6, 0xc4, 0x8d, 0x93, 0xd9, 0x05, 0x3c,
0xdf, 0xb3, 0xa1, 0x1e, |
| 415 » 0xfb, 0x8b, 0xe7, 0x17, 0x83, 0xe3, 0x89, 0x72, 0xb8, 0x3f, 0xd1, 0x06,
0x0e, 0x1b, 0xa9, 0xa4, | 434 » 0x03, 0x4f, 0xb4, 0xc3, 0xf3, 0x3b, 0x82, 0xd3, 0x3d, 0xa5, 0x79, 0x38,
0xd1, 0x1c, 0x26, 0xad, |
| 416 » 0x21, 0x9a, 0x43, 0xe1, 0x0c, 0x7e, 0x06, 0x4f, 0x65, 0x5b, 0x36, 0xb6,
0xc2, 0xeb, 0xd2, 0xf6, | 435 » 0x90, 0xc2, 0x12, 0xcd, 0x84, 0xfb, 0x80, 0x5d, 0xc0, 0x33, 0xd1, 0xd5,
0xad, 0x6b, 0xf0, 0xb6, |
| 417 » 0x3d, 0xb6, 0x26, 0x5c, 0xd2, 0x80, 0x9f, 0x8c, 0xee, 0x73, 0xe7, 0x8d,
0x3f, 0x00, 0x9f, 0x92, | 436 » 0x76, 0x5a, 0x63, 0x67, 0x93, 0x31, 0x5d, 0xf0, 0xd3, 0x3e, 0x7d, 0xe9,
0xb3, 0x5b, 0xc3, 0xda, |
| 418 » 0x10, 0x74, 0x06, 0x2b, 0xca, 0x3f, 0x84, 0x6c, 0xbb, 0x48, 0x8e, 0x76,
0x27, 0xe9, 0x7e, 0x1b, | 437 » 0x69, 0xa3, 0x74, 0x32, 0xf1, 0x86, 0x3e, 0xca, 0xbe, 0x03, 0xdb, 0x27,
0xa4, 0x66, 0x0a, 0x98, |
| 419 » 0xd2, 0x3b, 0xdd, 0x89, 0x51, 0xb6, 0xfb, 0xcd, 0x20, 0xf0, 0x51, 0xfe,
0x09, 0x4e, 0x2e, 0xd0, | 438 » 0x92, 0xaf, 0x49, 0xa2, 0xc5, 0x68, 0x79, 0xb2, 0x3a, 0xcb, 0xb7, 0x53,
0x92, 0x1f, 0x74, 0xcd, |
| 420 » 0xcc, 0xbe, 0xf8, 0x73, 0x97, 0x68, 0xb2, 0x32, 0x51, 0xe4, 0x9c, 0x73,
0x17, 0xe2, 0x03, 0x7e, | 439 » 0x7b, 0xd9, 0x4e, 0xf9, 0xe3, 0xdd, 0xf2, 0xab, 0x3f, 0x11, 0xc4, 0xe1,
0x14, 0xfb, 0x04, 0x67, |
| 421 » 0x09, 0x9b, 0x0b, 0x34, 0x77, 0x07, 0x1b, 0xcd, 0x30, 0xf9, 0x8c, 0xff,
0xe3, 0x8d, 0x0f, 0xf8, | 440 » 0x57, 0x68, 0x07, 0x27, 0xe4, 0x85, 0x37, 0xd8, 0x1b, 0xb1, 0x34, 0xf5,
0xc9, 0xa1, 0x03, 0xd9, |
| 422 » 0x17, 0x38, 0xfe, 0x37, 0x9d, 0xeb, 0xf9, 0x74, 0xe6, 0x8e, 0x7f, 0x97,
0x28, 0x9c, 0x0b, 0xba, | 441 » 0x11, 0xbb, 0x86, 0xf9, 0x15, 0xda, 0xc3, 0x87, 0x48, 0x07, 0x58, 0x43,
0xc5, 0xff, 0xf5, 0x91, |
| 423 » 0x8c, 0xc5, 0x8a, 0xf6, 0xf1, 0xcd, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff,
0x82, 0x54, 0x26, 0xe6, | 442 » 0x1d, 0xb1, 0x2f, 0x70, 0xfa, 0x6f, 0x39, 0x7f, 0x17, 0xe7, 0x03, 0x67,
0xc2, 0x3b, 0xa6, 0xc9, |
| 424 » 0x69, 0x03, 0x00, 0x00, | 443 » 0xd0, 0xa6, 0xaf, 0x58, 0x4d, 0x69, 0x7e, 0xdf, 0xfe, 0x0d, 0x00, 0x00,
0xff, 0xff, 0x27, 0x2d, |
| 444 » 0x60, 0xea, 0x99, 0x03, 0x00, 0x00, |
| 425 } | 445 } |
| OLD | NEW |