aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/googleapis
diff options
context:
space:
mode:
authorGravatar Ola Rozenfeld <olaola@google.com>2017-08-23 11:51:22 -0400
committerGravatar Jakob Buchgraber <buchgr@google.com>2017-08-30 18:45:16 +0200
commit4a84bcc629c83c588e3d50b176f71357fd74b73f (patch)
tree62313e6e2247160ffb26113f281896845d1b5b2f /third_party/googleapis
parentd08a4fc39f15debede23eebf83686e141524e1bf (diff)
Syncing the proto with googleapis GitHub version.
Change-Id: I6b4c5de8acfb5cacd91f00bc439cd93c05d3a08e
Diffstat (limited to 'third_party/googleapis')
-rw-r--r--third_party/googleapis/google/devtools/remoteexecution/v1test/remote_execution.proto34
1 files changed, 34 insertions, 0 deletions
diff --git a/third_party/googleapis/google/devtools/remoteexecution/v1test/remote_execution.proto b/third_party/googleapis/google/devtools/remoteexecution/v1test/remote_execution.proto
index bf0ca24a13..0f79422dc1 100644
--- a/third_party/googleapis/google/devtools/remoteexecution/v1test/remote_execution.proto
+++ b/third_party/googleapis/google/devtools/remoteexecution/v1test/remote_execution.proto
@@ -862,3 +862,37 @@ message GetTreeResponse {
// If empty, signifies that this is the last page of results.
string next_page_token = 2;
}
+
+// Details for the tool used to call the API.
+message ToolDetails {
+ // Name of the tool, e.g. bazel.
+ string tool_name = 1;
+
+ // Version of the tool used for the request, e.g. 5.0.3.
+ string tool_version = 2;
+}
+
+// An optional Metadata to attach to a RPC request to tell the server about an
+// external context of the request.
+// If used, the header name should be remote-request-metadata-bin and the
+// contents the base64 encoded binary RequestMetadata message.
+message RequestMetadata {
+ // The details for the tool invoking the requests.
+ ToolDetails tool_details = 1;
+
+ // An identifier that ties multiple requests to the same action.
+ // For example, multiple requests to the CAS, Action Cache, and Execution
+ // API are used in order to compile foo.cc.
+ string action_id = 2;
+
+ // An identifier that ties multiple actions together to a final result.
+ // For example, multiple actions are required to build and run foo_test.
+ string tool_invocation_id = 3;
+
+ // An identifier to tie multiple tool invocations together. For
+ // example,
+ // runs of foo_test, bar_test and baz_test on a post-submit of a given
+ // patch.
+ string correlated_invocations_id = 4;
+}
+