Google Cloud Vision Ai V1 Client - Class Packet (0.3.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
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: