Google Cloud Build V1 Client - Class PublishBuildToolEventStreamResponse (0.3.8)

Reference documentation and code samples for the Google Cloud Build V1 Client class PublishBuildToolEventStreamResponse.

States which event has been committed. Any failure to commit will cause RPC errors, hence not recorded by this proto.

Generated from protobuf message google.devtools.build.v1.PublishBuildToolEventStreamResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ stream_id Google\Cloud\Build\V1\StreamId

The stream that contains this event.

↳ sequence_number int|string

The sequence number of this event that has been committed.

getStreamId

The stream that contains this event.

Returns
Type Description
Google\Cloud\Build\V1\StreamId|null

hasStreamId

clearStreamId

setStreamId

The stream that contains this event.

Parameter
Name Description
var Google\Cloud\Build\V1\StreamId
Returns
Type Description
$this

getSequenceNumber

The sequence number of this event that has been committed.

Returns
Type Description
int|string

setSequenceNumber

The sequence number of this event that has been committed.

Parameter
Name Description
var int|string
Returns
Type Description
$this