Reference documentation and code samples for the Google Cloud Build V1 Client class BuildEvent.
An event representing some state change that occurred in the build. This message does not include field for uniquely identifying an event.
Generated from protobuf message google.devtools.build.v1.BuildEvent
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ event_time
↳ invocation_attempt_started
↳ invocation_attempt_finished
↳ build_enqueued
↳ build_finished
Google\Cloud\Build\V1\BuildEvent\BuildFinished
The build has finished. Set when the build is terminated.
↳ console_output
↳ component_stream_finished
Google\Cloud\Build\V1\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. ***
↳ bazel_event
↳ build_execution_event
Google\Protobuf\Any
An event that contains supplemental tool-specific information about build execution.
↳ source_fetch_event
Google\Protobuf\Any
An event that contains supplemental tool-specific information about source fetching.
getEventTime
The timestamp of this event.
hasEventTime
clearEventTime
setEventTime
The timestamp of this event.
$this
getInvocationAttemptStarted
An invocation attempt has started.
hasInvocationAttemptStarted
setInvocationAttemptStarted
An invocation attempt has started.
$this
getInvocationAttemptFinished
An invocation attempt has finished.
hasInvocationAttemptFinished
setInvocationAttemptFinished
An invocation attempt has finished.
$this
getBuildEnqueued
The build is enqueued.
hasBuildEnqueued
setBuildEnqueued
The build is enqueued.
$this
getBuildFinished
The build has finished. Set when the build is terminated.
hasBuildFinished
setBuildFinished
The build has finished. Set when the build is terminated.
$this
getConsoleOutput
An event containing printed text.
hasConsoleOutput
setConsoleOutput
An event containing printed text.
$this
getComponentStreamFinished
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. ***
hasComponentStreamFinished
setComponentStreamFinished
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. ***
$this
getBazelEvent
Structured build event generated by Bazel about its execution progress.
hasBazelEvent
setBazelEvent
Structured build event generated by Bazel about its execution progress.
$this
getBuildExecutionEvent
An event that contains supplemental tool-specific information about build execution.
hasBuildExecutionEvent
setBuildExecutionEvent
An event that contains supplemental tool-specific information about build execution.
$this
getSourceFetchEvent
An event that contains supplemental tool-specific information about source fetching.
hasSourceFetchEvent
setSourceFetchEvent
An event that contains supplemental tool-specific information about source fetching.
$this
getEvent
string