aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/googleapis/google/devtools/build/v1/publish_build_event.proto')
-rw-r--r--third_party/googleapis/google/devtools/build/v1/publish_build_event.proto28
1 files changed, 26 insertions, 2 deletions
diff --git a/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto b/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto
index 7589602ad9..7d7b1cd24c 100644
--- a/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto
+++ b/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto
@@ -17,9 +17,7 @@ syntax = "proto3";
package google.devtools.build.v1;
import "google/api/annotations.proto";
-import "google/api/auth.proto";
import "google/devtools/build/v1/build_events.proto";
-import "google/protobuf/any.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
@@ -134,3 +132,29 @@ message OrderedBuildEvent {
// The actual event.
BuildEvent event = 3;
}
+
+message PublishBuildToolEventStreamRequest {
+ // The fist 3 fields are identical to OrderedBuildEvent so we can have wire-
+ // compatibility when migrating BES publishers.
+
+ // Which build event stream this event belongs to.
+ google.devtools.build.v1.StreamId stream_id = 1 [deprecated = true];
+
+ // The position of this event in the stream. The sequence numbers for a build
+ // event stream should be a sequence of consecutive natural numbers starting
+ // from one. (1, 2, 3, ...)
+ int64 sequence_number = 2 [deprecated = true];
+
+ // The actual event.
+ google.devtools.build.v1.BuildEvent event = 3 [deprecated = true];
+
+ // The build event with position info.
+ // New publishing clients should use this field rather than the 3 above.
+ OrderedBuildEvent ordered_build_event = 4;
+
+ // The keywords to be attached to the notification which notifies the start
+ // of a new build event stream. BES only reads this field when sequence_number
+ // or ordered_build_event.sequence_number is 1 in this message. If this field
+ // is empty, BES will not publish notification messages for this stream.
+ repeated string notification_keywords = 5;
+}