Google Cloud Vision Ai V1 Client - Class ReceivePacketsRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ReceivePacketsRequest.

Request message for receiving packets.

Generated from protobuf message google.cloud.visionai.v1.ReceivePacketsRequest

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ setup_request ReceivePacketsRequest\SetupRequest

The request to setup the initial state of session. The client must send and only send this as the first message.

↳ commit_request CommitRequest

This request checkpoints the consumer's read progress.

getSetupRequest

The request to setup the initial state of session.

The client must send and only send this as the first message.

Returns
Type Description
ReceivePacketsRequest\SetupRequest|null

hasSetupRequest

setSetupRequest

The request to setup the initial state of session.

The client must send and only send this as the first message.

Parameter
Name Description
var ReceivePacketsRequest\SetupRequest
Returns
Type Description
$this

getCommitRequest

This request checkpoints the consumer's read progress.

Returns
Type Description
CommitRequest|null

hasCommitRequest

setCommitRequest

This request checkpoints the consumer's read progress.

Parameter
Name Description
var CommitRequest
Returns
Type Description
$this

getRequest

Returns
Type Description
string