NAME
Google::Devtools::Build::V1::BuildEvents - Compiled Protocol Buffers messages for google/devtools/build/v1/build_events.proto
SYNOPSIS
use Google::Devtools::Build::V1::BuildEvents;
my $msg = Google::Devtools::Build::V1::BuildEvents::BuildEvent->new({
event_time => $event_time,
invocation_attempt_started => $invocation_attempt_started,
invocation_attempt_finished => $invocation_attempt_finished,
build_enqueued => $build_enqueued,
});
# Read or update a field
my $val = $msg->event_time();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Build::V1::BuildEvents::BuildEvent->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/build/v1/build_events.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devtools::Build::V1::BuildEvents::BuildEvent
An event representing some state change that occurred in the build. This message does not include field for uniquely identifying an event.
Inherits from Protobuf::Message.
Accessors
$msg->event_time()/$msg->event_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)This should be precisely the time when this event happened, and not when the event proto was created or sent.
$msg->invocation_attempt_started()/$msg->invocation_attempt_started($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::InvocationAttemptStarted)An invocation attempt has started.
$msg->invocation_attempt_finished()/$msg->invocation_attempt_finished($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::InvocationAttemptFinished)An invocation attempt has finished.
$msg->build_enqueued()/$msg->build_enqueued($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::BuildEnqueued)The build is enqueued.
$msg->build_finished()/$msg->build_finished($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::BuildFinished)The build has finished. Set when the build is terminated.
$msg->console_output()/$msg->console_output($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::ConsoleOutput)An event containing printed text.
$msg->component_stream_finished()/$msg->component_stream_finished($value)Type:
Message(Google::Devtools::Build::V1::BuildEvents::BuildEvent::BuildComponentStreamFinished)Indicates the end of a build event stream (with the same StreamId) from a build component executing the requested build task. * This field does not indicate the WatchBuild RPC is finished. *
$msg->bazel_event()/$msg->bazel_event($value)Type:
Message(Google::Protobuf::Any::Any)Structured build event generated by Bazel about its execution progress.
$msg->build_execution_event()/$msg->build_execution_event($value)Type:
Message(Google::Protobuf::Any::Any)An event that contains supplemental tool-specific information about build execution.
$msg->source_fetch_event()/$msg->source_fetch_event($value)Type:
Message(Google::Protobuf::Any::Any)An event that contains supplemental tool-specific information about source fetching.
Google::Devtools::Build::V1::BuildEvents::StreamId
Unique identifier for a build event stream.
Inherits from Protobuf::Message.
Accessors
$msg->build_id()/$msg->build_id($value)Type:
StringThe id of a Build message.
$msg->invocation_id()/$msg->invocation_id($value)Type:
StringThe unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.
$msg->component()/$msg->component($value)Type:
Enum(Google::Devtools::Build::V1::StreamId::BuildComponent)The component that emitted this event.
Enum: StreamId::BuildComponent
UNKNOWN_COMPONENT=>0CONTROLLER=>1WORKER=>2TOOL=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Build::V1::BuildEvents::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.