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.
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ event_time |
Google\Protobuf\Timestamp
The timestamp of this event. |
↳ invocation_attempt_started |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptStarted
An invocation attempt has started. |
↳ invocation_attempt_finished |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptFinished
An invocation attempt has finished. |
↳ build_enqueued |
Google\Cloud\Build\V1\BuildEvent\BuildEnqueued
The build is enqueued. |
↳ build_finished |
Google\Cloud\Build\V1\BuildEvent\BuildFinished
The build has finished. Set when the build is terminated. |
↳ console_output |
Google\Cloud\Build\V1\BuildEvent\ConsoleOutput
An event containing printed text. |
↳ 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 |
Google\Protobuf\Any
Structured build event generated by Bazel about its execution progress. |
↳ 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.
Type | Description |
Google\Protobuf\Timestamp|null |
hasEventTime
clearEventTime
setEventTime
The timestamp of this event.
Name | Description |
var |
Google\Protobuf\Timestamp
|
Type | Description |
$this |
getInvocationAttemptStarted
An invocation attempt has started.
Type | Description |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptStarted|null |
hasInvocationAttemptStarted
setInvocationAttemptStarted
An invocation attempt has started.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptStarted
|
Type | Description |
$this |
getInvocationAttemptFinished
An invocation attempt has finished.
Type | Description |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptFinished|null |
hasInvocationAttemptFinished
setInvocationAttemptFinished
An invocation attempt has finished.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\InvocationAttemptFinished
|
Type | Description |
$this |
getBuildEnqueued
The build is enqueued.
Type | Description |
Google\Cloud\Build\V1\BuildEvent\BuildEnqueued|null |
hasBuildEnqueued
setBuildEnqueued
The build is enqueued.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\BuildEnqueued
|
Type | Description |
$this |
getBuildFinished
The build has finished. Set when the build is terminated.
Type | Description |
Google\Cloud\Build\V1\BuildEvent\BuildFinished|null |
hasBuildFinished
setBuildFinished
The build has finished. Set when the build is terminated.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\BuildFinished
|
Type | Description |
$this |
getConsoleOutput
An event containing printed text.
Type | Description |
Google\Cloud\Build\V1\BuildEvent\ConsoleOutput|null |
hasConsoleOutput
setConsoleOutput
An event containing printed text.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\ConsoleOutput
|
Type | Description |
$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. ***
Type | Description |
Google\Cloud\Build\V1\BuildEvent\BuildComponentStreamFinished|null |
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. ***
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent\BuildComponentStreamFinished
|
Type | Description |
$this |
getBazelEvent
Structured build event generated by Bazel about its execution progress.
Type | Description |
Google\Protobuf\Any|null |
hasBazelEvent
setBazelEvent
Structured build event generated by Bazel about its execution progress.
Name | Description |
var |
Google\Protobuf\Any
|
Type | Description |
$this |
getBuildExecutionEvent
An event that contains supplemental tool-specific information about build execution.
Type | Description |
Google\Protobuf\Any|null |
hasBuildExecutionEvent
setBuildExecutionEvent
An event that contains supplemental tool-specific information about build execution.
Name | Description |
var |
Google\Protobuf\Any
|
Type | Description |
$this |
getSourceFetchEvent
An event that contains supplemental tool-specific information about source fetching.
Type | Description |
Google\Protobuf\Any|null |
hasSourceFetchEvent
setSourceFetchEvent
An event that contains supplemental tool-specific information about source fetching.
Name | Description |
var |
Google\Protobuf\Any
|
Type | Description |
$this |
getEvent
ReturnsType | Description |
string |