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
NameDescription
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
TypeDescription
Google\Cloud\Build\V1\StreamId|null

hasStreamId

clearStreamId

setStreamId

The stream that contains this event.

Parameter
NameDescription
var Google\Cloud\Build\V1\StreamId
Returns
TypeDescription
$this

getSequenceNumber

The sequence number of this event that has been committed.

Returns
TypeDescription
int|string

setSequenceNumber

The sequence number of this event that has been committed.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this