OLD | NEW |
---|---|
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 syntax = "proto3"; | 5 syntax = "proto3"; |
6 | 6 |
7 import "google/protobuf/duration.proto"; | 7 import "google/protobuf/duration.proto"; |
8 import "google/protobuf/timestamp.proto"; | 8 import "google/protobuf/timestamp.proto"; |
9 | 9 |
10 import "graph_data.proto"; | 10 import "graph_data.proto"; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 bool attempt_result = 4; | 103 bool attempt_result = 4; |
104 | 104 |
105 // ExpiredAttempts allows you to view attempts which have expired results, | 105 // ExpiredAttempts allows you to view attempts which have expired results, |
106 // which are normally excluded from the graph. | 106 // which are normally excluded from the graph. |
107 bool expired_attempts = 5; | 107 bool expired_attempts = 5; |
108 | 108 |
109 // Executions is the number of Executions to include per Attempt. If this | 109 // Executions is the number of Executions to include per Attempt. If this |
110 // is 0, then the execution data will be omitted completely. | 110 // is 0, then the execution data will be omitted completely. |
111 uint32 num_executions = 6; | 111 uint32 num_executions = 6; |
112 | 112 |
113 // ExecutionInfoUrl fills in the Execution.DistributorInfo.Url value. This | |
114 // has some minor overhead, but is useful if you need to present clickable | |
115 // links for humans. | |
116 bool execution_info_url = 7; | |
117 | |
113 // FwdDeps instructs WalkGraph to include forward dependency information | 118 // FwdDeps instructs WalkGraph to include forward dependency information |
114 // from the result. This only changes the presence of information in the | 119 // from the result. This only changes the presence of information in the |
115 // result; if the query is walking forward attempt dependencies, that will | 120 // result; if the query is walking forward attempt dependencies, that will |
116 // still occur even if this is false. | 121 // still occur even if this is false. |
117 bool fwd_deps = 7; | 122 bool fwd_deps = 8; |
118 | 123 |
119 // BackDeps instructs WalkGraph to include the backwards dependency | 124 // BackDeps instructs WalkGraph to include the backwards dependency |
120 // information. This only changes the presence of information in the result; | 125 // information. This only changes the presence of information in the result; |
121 // if the query is walking backward attempt dependencies, that will still | 126 // if the query is walking backward attempt dependencies, that will still |
122 // occur even if this is false. | 127 // occur even if this is false. |
123 bool back_deps = 8; | 128 bool back_deps = 9; |
129 | |
130 // All is a shortcut that will cause all entries in this Include message to | |
131 // be set to true/max. | |
132 bool all = 128; | |
dnj (Google)
2016/06/09 18:00:57
(I don't like this. If you ever add new fields tha
iannucci
2016/06/15 00:46:02
Hm. Ok. I'll move it to a package level constant M
| |
124 } | 133 } |
125 // Include allows you to add additional information to the returned | 134 // Include allows you to add additional information to the returned |
126 // GraphData which is typically medium-to-large sized. | 135 // GraphData which is typically medium-to-large sized. |
127 Include include = 5; | 136 Include include = 5; |
128 } | 137 } |
OLD | NEW |