123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- syntax = "proto3";
- package google.devtools.build.v1;
- import "google/devtools/build/v1/build_status.proto";
- import "google/protobuf/any.proto";
- import "google/protobuf/timestamp.proto";
- option cc_enable_arenas = true;
- option go_package = "google.golang.org/genproto/googleapis/devtools/build/v1;build";
- option java_multiple_files = true;
- option java_outer_classname = "BuildEventProto";
- option java_package = "com.google.devtools.build.v1";
- option php_namespace = "Google\\Cloud\\Build\\V1";
- message BuildEvent {
-
- message InvocationAttemptStarted {
-
-
-
- int64 attempt_number = 1;
-
- google.protobuf.Any details = 2;
- }
-
- message InvocationAttemptFinished {
-
- BuildStatus invocation_status = 3;
-
- google.protobuf.Any details = 4;
- }
-
- message BuildEnqueued {
-
- google.protobuf.Any details = 1;
- }
-
-
-
- message BuildFinished {
-
- BuildStatus status = 1;
-
- google.protobuf.Any details = 2;
- }
-
- message ConsoleOutput {
-
- ConsoleOutputStream type = 1;
-
- oneof output {
-
- string text_output = 2;
-
- bytes binary_output = 3;
- }
- }
-
-
- message BuildComponentStreamFinished {
-
- enum FinishType {
-
- FINISH_TYPE_UNSPECIFIED = 0;
-
-
- FINISHED = 1;
-
-
-
- EXPIRED = 2;
- }
-
- FinishType type = 1;
- }
-
- google.protobuf.Timestamp event_time = 1;
-
-
-
- oneof event {
-
- InvocationAttemptStarted invocation_attempt_started = 51;
-
- InvocationAttemptFinished invocation_attempt_finished = 52;
-
- BuildEnqueued build_enqueued = 53;
-
- BuildFinished build_finished = 55;
-
- ConsoleOutput console_output = 56;
-
-
-
- BuildComponentStreamFinished component_stream_finished = 59;
-
- google.protobuf.Any bazel_event = 60;
-
-
- google.protobuf.Any build_execution_event = 61;
-
-
- google.protobuf.Any source_fetch_event = 62;
- }
- }
- message StreamId {
-
-
- enum BuildComponent {
-
- UNKNOWN_COMPONENT = 0;
-
- CONTROLLER = 1;
-
- WORKER = 2;
-
- TOOL = 3;
- }
-
- string build_id = 1;
-
-
- string invocation_id = 6;
-
- BuildComponent component = 3;
- }
- enum ConsoleOutputStream {
-
- UNKNOWN = 0;
-
- STDOUT = 1;
-
- STDERR = 2;
- }
|