Google Cloud Vision Ai V1 Client - Class PacketType (0.3.0)

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

The message that represents the data type of a packet.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type_class
string

The type class of the packet. Its possible values are: "gst", "protobuf", and "string".

↳ type_descriptor
PacketType\TypeDescriptor

The type descriptor.

getTypeClass

The type class of the packet. Its possible values are: "gst", "protobuf", and "string".

Returns
Type
Description
string

setTypeClass

The type class of the packet. Its possible values are: "gst", "protobuf", and "string".

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTypeDescriptor

The type descriptor.

Returns
Type
Description

hasTypeDescriptor

clearTypeDescriptor

setTypeDescriptor

The type descriptor.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: