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

Unified Diff: common/api/dm/service/v1/walk_graph.pb.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: fix imports and make dummy.go a real file Created 4 years, 6 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 | « common/api/dm/service/v1/walk_graph.proto ('k') | common/api/dm/service/v1/walk_graph_normalize.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/api/dm/service/v1/walk_graph.pb.go
diff --git a/common/api/dm/service/v1/walk_graph.pb.go b/common/api/dm/service/v1/walk_graph.pb.go
index d2cc5a9821af65552eed7d794fd1f07d497cc898..adf2360021ffe190acbe0d7cf930dba783070023 100644
--- a/common/api/dm/service/v1/walk_graph.pb.go
+++ b/common/api/dm/service/v1/walk_graph.pb.go
@@ -7,7 +7,7 @@ package dm
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
-import google_protobuf2 "github.com/luci/luci-go/common/proto/google"
+import google_protobuf1 "github.com/luci/luci-go/common/proto/google"
import _ "github.com/luci/luci-go/common/proto/google"
// Reference imports to suppress errors if they are not otherwise used.
@@ -40,7 +40,7 @@ func (x WalkGraphReq_Mode_Direction) String() string {
return proto.EnumName(WalkGraphReq_Mode_Direction_name, int32(x))
}
func (WalkGraphReq_Mode_Direction) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor8, []int{0, 0, 0}
+ return fileDescriptor7, []int{0, 0, 0}
}
// WalkGraphReq allows you to walk from one or more Quests through their
@@ -70,7 +70,7 @@ type WalkGraphReq struct {
func (m *WalkGraphReq) Reset() { *m = WalkGraphReq{} }
func (m *WalkGraphReq) String() string { return proto.CompactTextString(m) }
func (*WalkGraphReq) ProtoMessage() {}
-func (*WalkGraphReq) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
+func (*WalkGraphReq) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *WalkGraphReq) GetAuth() *Execution_Auth {
if m != nil {
@@ -119,7 +119,7 @@ type WalkGraphReq_Mode struct {
func (m *WalkGraphReq_Mode) Reset() { *m = WalkGraphReq_Mode{} }
func (m *WalkGraphReq_Mode) String() string { return proto.CompactTextString(m) }
func (*WalkGraphReq_Mode) ProtoMessage() {}
-func (*WalkGraphReq_Mode) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0, 0} }
+func (*WalkGraphReq_Mode) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0, 0} }
type WalkGraphReq_Limit struct {
// MaxDepth sets the number of attempts to traverse; 0 means 'immediate'
@@ -133,7 +133,7 @@ type WalkGraphReq_Limit struct {
//
// This is different than the grpc timeout header, which will set a hard
// deadline for the request.
- MaxTime *google_protobuf2.Duration `protobuf:"bytes,2,opt,name=max_time,json=maxTime" json:"max_time,omitempty"`
+ MaxTime *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=max_time,json=maxTime" json:"max_time,omitempty"`
// MaxDataSize sets the maximum amount of 'Data' (in bytes) that can be
// returned, if include.quest_data, include.attempt_data, and/or
// include.attempt_result are set. If this limit is hit, then the
@@ -148,9 +148,9 @@ type WalkGraphReq_Limit struct {
func (m *WalkGraphReq_Limit) Reset() { *m = WalkGraphReq_Limit{} }
func (m *WalkGraphReq_Limit) String() string { return proto.CompactTextString(m) }
func (*WalkGraphReq_Limit) ProtoMessage() {}
-func (*WalkGraphReq_Limit) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0, 1} }
+func (*WalkGraphReq_Limit) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0, 1} }
-func (m *WalkGraphReq_Limit) GetMaxTime() *google_protobuf2.Duration {
+func (m *WalkGraphReq_Limit) GetMaxTime() *google_protobuf1.Duration {
if m != nil {
return m.MaxTime
}
@@ -184,22 +184,26 @@ type WalkGraphReq_Include struct {
// Executions is the number of Executions to include per Attempt. If this
// is 0, then the execution data will be omitted completely.
NumExecutions uint32 `protobuf:"varint,6,opt,name=num_executions,json=numExecutions" json:"num_executions,omitempty"`
+ // ExecutionInfoUrl fills in the Execution.DistributorInfo.Url value. This
+ // has some minor overhead, but is useful if you need to present clickable
+ // links for humans.
+ ExecutionInfoUrl bool `protobuf:"varint,7,opt,name=execution_info_url,json=executionInfoUrl" json:"execution_info_url,omitempty"`
// FwdDeps instructs WalkGraph to include forward dependency information
// from the result. This only changes the presence of information in the
// result; if the query is walking forward attempt dependencies, that will
// still occur even if this is false.
- FwdDeps bool `protobuf:"varint,7,opt,name=fwd_deps,json=fwdDeps" json:"fwd_deps,omitempty"`
+ FwdDeps bool `protobuf:"varint,8,opt,name=fwd_deps,json=fwdDeps" json:"fwd_deps,omitempty"`
// BackDeps instructs WalkGraph to include the backwards dependency
// information. This only changes the presence of information in the result;
// if the query is walking backward attempt dependencies, that will still
// occur even if this is false.
- BackDeps bool `protobuf:"varint,8,opt,name=back_deps,json=backDeps" json:"back_deps,omitempty"`
+ BackDeps bool `protobuf:"varint,9,opt,name=back_deps,json=backDeps" json:"back_deps,omitempty"`
}
func (m *WalkGraphReq_Include) Reset() { *m = WalkGraphReq_Include{} }
func (m *WalkGraphReq_Include) String() string { return proto.CompactTextString(m) }
func (*WalkGraphReq_Include) ProtoMessage() {}
-func (*WalkGraphReq_Include) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0, 2} }
+func (*WalkGraphReq_Include) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0, 2} }
func init() {
proto.RegisterType((*WalkGraphReq)(nil), "dm.WalkGraphReq")
@@ -209,40 +213,41 @@ func init() {
proto.RegisterEnum("dm.WalkGraphReq_Mode_Direction", WalkGraphReq_Mode_Direction_name, WalkGraphReq_Mode_Direction_value)
}
-var fileDescriptor8 = []byte{
- // 536 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ileDescriptor7 = []byte{
+ // 556 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x92, 0xcb, 0x6e, 0xd3, 0x40,
+ 0x14, 0x86, 0xc9, 0xdd, 0x3e, 0xb9, 0x60, 0x46, 0x02, 0xb9, 0x46, 0x50, 0x88, 0x00, 0x81, 0x84,
+ 0x5c, 0x29, 0xb0, 0x65, 0x91, 0x12, 0x2e, 0x11, 0xa0, 0x8a, 0x69, 0x51, 0x97, 0x96, 0x93, 0x99,
+ 0xa4, 0xa6, 0x76, 0xec, 0x7a, 0xc6, 0x6a, 0xca, 0x82, 0x17, 0xe0, 0xb1, 0x58, 0xf1, 0x56, 0xcc,
+ 0x9c, 0x19, 0x07, 0x44, 0xd9, 0x65, 0xfe, 0xff, 0xcb, 0xef, 0x73, 0x03, 0xef, 0x32, 0x4e, 0xcf,
+ 0xa3, 0x75, 0x19, 0x17, 0x67, 0x61, 0x51, 0xe6, 0x32, 0x27, 0x4d, 0x96, 0x05, 0xf7, 0xd7, 0x79,
+ 0xbe, 0x4e, 0xf9, 0x01, 0x2a, 0x8b, 0x6a, 0x75, 0xc0, 0xaa, 0x32, 0x96, 0x49, 0xbe, 0x31, 0x4c,
+ 0xb0, 0xff, 0xaf, 0x2f, 0x93, 0x8c, 0x0b, 0x19, 0x67, 0x85, 0x05, 0x3c, 0x4c, 0x8c, 0x58, 0x2c,
+ 0x63, 0xab, 0xdc, 0x32, 0xca, 0x45, 0xc5, 0xcb, 0x2b, 0x2b, 0xf5, 0xe5, 0x55, 0xc1, 0x85, 0x79,
+ 0x8c, 0x7f, 0x76, 0x61, 0x70, 0xaa, 0x6a, 0x79, 0xa7, 0x31, 0xca, 0x2f, 0xc8, 0x13, 0x68, 0xc7,
+ 0x95, 0x3c, 0xf3, 0x1b, 0x0f, 0x1a, 0x4f, 0xfb, 0x13, 0x12, 0xb2, 0x2c, 0x7c, 0xb3,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0xb9, 0xe8, 0x39, 0x5a, 0xd0, 0xe6, 0xa2, 0x8b, 0xbb, 0x78, 0xf1, 0x3b,
+ 0x00, 0x00, 0xff, 0xff, 0x3c, 0x97, 0x90, 0x19, 0xd7, 0x03, 0x00, 0x00,
}
« no previous file with comments | « common/api/dm/service/v1/walk_graph.proto ('k') | common/api/dm/service/v1/walk_graph_normalize.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698