Reference documentation and code samples for the Google Cloud Build V1 Client class BuildStatus.
Status used for both invocation attempt and overall build completion.
Generated from protobuf message google.devtools.build.v1.BuildStatus
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ result
int
The end result.
↳ final_invocation_id
string
Final invocation ID of the build, if there was one. This field is only set on a status in BuildFinished event.
↳ build_tool_exit_code
Google\Protobuf\Int32Value
Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
↳ details
getResult
The end result.
int
setResult
The end result.
var
int
$this
getFinalInvocationId
Final invocation ID of the build, if there was one.
This field is only set on a status in BuildFinished event.
string
setFinalInvocationId
Final invocation ID of the build, if there was one.
This field is only set on a status in BuildFinished event.
var
string
$this
getBuildToolExitCode
Build tool exit code. Integer value returned by the executed build tool.
Might not be available in some cases, e.g., a build timeout.
hasBuildToolExitCode
clearBuildToolExitCode
getBuildToolExitCodeValue
Returns the unboxed value from getBuildToolExitCode()
Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
int|null
setBuildToolExitCode
Build tool exit code. Integer value returned by the executed build tool.
Might not be available in some cases, e.g., a build timeout.
$this
setBuildToolExitCodeValue
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
Build tool exit code. Integer value returned by the executed build tool. Might not be available in some cases, e.g., a build timeout.
var
int|null
$this
getDetails
Fine-grained diagnostic information to complement the status.
hasDetails
clearDetails
setDetails
Fine-grained diagnostic information to complement the status.
$this