buildgrid.server.build_events.service module

PublishBuildEvent service

buildgrid.server.build_events.service.is_lifecycle_event(event: BuildEvent) bool
class buildgrid.server.build_events.service.PublishBuildEventService

Bases: PublishBuildEventServicer, InstancedServicer[BuildEventStreamStorage]

SERVICE_NAME = 'PublishBuildEvent'
REGISTER_METHOD(server)
FULL_NAME: ClassVar[str] = 'google.devtools.build.v1.PublishBuildEvent'

The full name of the servicer, used to match instances to the servicer and configure reflection. This value should be declared on the class of any Servicer implementations.

PublishLifecycleEvent(request: PublishLifecycleEventRequest, context: ServicerContext) Empty

Handler for PublishLifecycleEvent requests.

This method takes a request containing a build lifecycle event, and uses it to update the high-level state of a build (with a corresponding) event stream.

PublishBuildToolEventStream(request_iterator: Iterable[PublishBuildToolEventStreamRequest], context: ServicerContext) Iterator[PublishBuildToolEventStreamResponse]

Publish build tool events belonging to the same stream to a backend job using bidirectional streaming.

class buildgrid.server.build_events.service.QueryBuildEventsService

Bases: QueryBuildEventsServicer, InstancedServicer[BuildEventStreamStorage]

SERVICE_NAME = 'QueryBuildEvents'
REGISTER_METHOD(server)
FULL_NAME: ClassVar[str] = 'buildgrid.v2.QueryBuildEvents'

The full name of the servicer, used to match instances to the servicer and configure reflection. This value should be declared on the class of any Servicer implementations.

QueryEventStreams(request: QueryEventStreamsRequest, context: ServicerContext) QueryEventStreamsResponse

Missing associated documentation comment in .proto file.