package google.devtools.build.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service PublishBuildEvent

publish_build_event.proto:48

A service for publishing BuildEvents. BuildEvents are generated by Build Systems to record actions taken during a Build. Events occur in streams, are identified by a StreamId, and ordered by sequence number in a stream. A Build may contain several streams of BuildEvents, depending on the systems that are involved in the Build. Some BuildEvents are used to declare the beginning and end of major portions of a Build; these are called LifecycleEvents, and are used (for example) to indicate the beginning or end of a Build, and the beginning or end of an Invocation attempt (there can be more than 1 Invocation in a Build if, for example, a failure occurs somewhere and it needs to be retried). Other, build-tool events represent actions taken by the Build tool, such as target objects produced via compilation, tests run, et cetera. There could be more than one build tool stream for an invocation attempt of a build.

message BuildEvent

build_events.proto:32

An event representing some state change that occurred in the build. This message does not include field for uniquely identifying an event.

Used in: OrderedBuildEvent

message BuildEvent.BuildComponentStreamFinished

build_events.proto:87

Notification of the end of a build event stream published by a build component other than CONTROLLER (See StreamId.BuildComponents).

Used in: BuildEvent

enum BuildEvent.BuildComponentStreamFinished.FinishType

build_events.proto:89

How did the event stream finish.

Used in: BuildComponentStreamFinished

message BuildEvent.BuildEnqueued

build_events.proto:54

Notification that the build request is enqueued.

Used in: BuildEvent

message BuildEvent.BuildFinished

build_events.proto:62

Notification that the build request has finished, and no further invocations will occur. Note that this applies to the entire Build. Individual invocations trigger InvocationFinished when they finish.

Used in: BuildEvent

message BuildEvent.ConsoleOutput

build_events.proto:71

Textual output written to standard output or standard error.

Used in: BuildEvent

message BuildEvent.InvocationAttemptFinished

build_events.proto:45

Notification that an invocation attempt has finished.

Used in: BuildEvent

message BuildEvent.InvocationAttemptStarted

build_events.proto:34

Notification that the build system has attempted to run the build tool.

Used in: BuildEvent

message BuildStatus

build_status.proto:30

Status used for both invocation attempt and overall build completion.

Used in: BuildEvent.BuildFinished, BuildEvent.InvocationAttemptFinished

enum BuildStatus.Result

build_status.proto:32

The end result of the Build.

Used in: BuildStatus

enum ConsoleOutputStream

build_events.proto:178

The type of console output stream.

Used in: BuildEvent.ConsoleOutput

message OrderedBuildEvent

publish_build_event.proto:151

Build event with contextual information about the stream it belongs to and its position in that stream.

Used in: PublishBuildToolEventStreamRequest, PublishLifecycleEventRequest

message PublishBuildToolEventStreamRequest

publish_build_event.proto:165

Streaming request message for PublishBuildToolEventStream.

Used as request type in: PublishBuildEvent.PublishBuildToolEventStream

Used as field type in: com.github.trace_machina.nativelink.events.BepEvent

message PublishLifecycleEventRequest

publish_build_event.proto:92

Publishes 'lifecycle events' that update the high-level state of a build: - BuildEnqueued: When a build is scheduled. - InvocationAttemptStarted: When work for a build starts; there can be multiple invocations for a build (e.g. retries). - InvocationAttemptCompleted: When work for a build finishes. - BuildFinished: When a build is finished.

Used as request type in: PublishBuildEvent.PublishLifecycleEvent

Used as field type in: com.github.trace_machina.nativelink.events.BepEvent

enum PublishLifecycleEventRequest.ServiceLevel

publish_build_event.proto:96

The service level of the build request. Backends only uses this value when the BuildEnqueued event is published to determine what level of service this build should receive.

Used in: PublishLifecycleEventRequest

message StreamId

build_events.proto:149

Unique identifier for a build event stream.

Used in: OrderedBuildEvent, PublishBuildToolEventStreamResponse

enum StreamId.BuildComponent

build_events.proto:152

Which build component generates this event stream. Each build component may generate one event stream.

Used in: StreamId