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

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

Request message for sending packets.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ packet Packet

Packets sent over the streaming rpc.

↳ metadata RequestMetadata

The first message of the streaming rpc including the request metadata.

getPacket

Packets sent over the streaming rpc.

Returns
Type Description
Packet|null

hasPacket

setPacket

Packets sent over the streaming rpc.

Parameter
Name Description
var Packet
Returns
Type Description
$this

getMetadata

The first message of the streaming rpc including the request metadata.

Returns
Type Description
RequestMetadata|null

hasMetadata

setMetadata

The first message of the streaming rpc including the request metadata.

Parameter
Name Description
var RequestMetadata
Returns
Type Description
$this

getRequest

Returns
Type Description
string