Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Packet.
The quanta of datum that the series accepts.
Generated from protobuf message google.cloud.visionai.v1.Packet
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ header
↳ payload
string
The payload of the packet.
getHeader
The packet header.
hasHeader
clearHeader
setHeader
The packet header.
Returns
Type
Description
$this
getPayload
The payload of the packet.
Returns
Type
Description
string
setPayload
The payload of the packet.
Parameter
Name
Description
var
string
Returns
Type
Description
$this

