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

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header PacketHeader

The packet header.

↳ payload string

The payload of the packet.

getHeader

The packet header.

Returns
Type Description
PacketHeader|null

hasHeader

clearHeader

setHeader

The packet header.

Parameter
Name Description
var PacketHeader
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