Reference documentation and code samples for the Google Cloud Build V1 Client class OrderedBuildEvent.
Build event with contextual information about the stream it belongs to and its position in that stream.
Generated from protobuf message google.devtools.build.v1.OrderedBuildEvent
Methods
__construct
Constructor.
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ stream_id |
Google\Cloud\Build\V1\StreamId
Which build event stream this event belongs to. |
↳ sequence_number |
int|string
The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...) |
↳ event |
Google\Cloud\Build\V1\BuildEvent
The actual event. |
getStreamId
Which build event stream this event belongs to.
Type | Description |
Google\Cloud\Build\V1\StreamId|null |
hasStreamId
clearStreamId
setStreamId
Which build event stream this event belongs to.
Name | Description |
var |
Google\Cloud\Build\V1\StreamId
|
Type | Description |
$this |
getSequenceNumber
The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...)
Type | Description |
int|string |
setSequenceNumber
The position of this event in the stream. The sequence numbers for a build event stream should be a sequence of consecutive natural numbers starting from one. (1, 2, 3, ...)
Name | Description |
var |
int|string
|
Type | Description |
$this |
getEvent
The actual event.
Type | Description |
Google\Cloud\Build\V1\BuildEvent|null |
hasEvent
clearEvent
setEvent
The actual event.
Name | Description |
var |
Google\Cloud\Build\V1\BuildEvent
|
Type | Description |
$this |