Reference documentation and code samples for the Google Cloud Build V1 Client class InvocationAttemptStarted.
Notification that the build system has attempted to run the build tool.
Generated from protobuf message google.devtools.build.v1.BuildEvent.InvocationAttemptStarted
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attempt_number |
int|string
The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing. |
↳ details |
Google\Protobuf\Any
Arbitrary details about the invocation attempt. |
getAttemptNumber
The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing.
Returns | |
---|---|
Type | Description |
int|string |
setAttemptNumber
The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDetails
Arbitrary details about the invocation attempt.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Any|null |
hasDetails
clearDetails
setDetails
Arbitrary details about the invocation attempt.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Any
|
Returns | |
---|---|
Type | Description |
$this |