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

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

The message that fully specifies the type of the packet.

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

Namespace

Google \ Cloud \ VisionAI \ V1 \ PacketType

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ gstreamer_buffer_descriptor
Google\Cloud\VisionAI\V1\GstreamerBufferDescriptor

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

↳ raw_image_descriptor
Google\Cloud\VisionAI\V1\RawImageDescriptor

RawImageDescriptor is the descriptor for the raw image type.

↳ type
string

The type of the packet. Its possible values is codec dependent. The fully qualified type name is always the concatenation of the value in type_class together with the value in type , separated by a '/'. Note that specific codecs can define their own type hierarchy, and so the type string here can in fact be separated by multiple '/'s of its own. Please see the open source SDK for specific codec documentation.

getGstreamerBufferDescriptor

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

hasGstreamerBufferDescriptor

setGstreamerBufferDescriptor

GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

Returns
Type
Description
$this

getRawImageDescriptor

RawImageDescriptor is the descriptor for the raw image type.

Returns
Type
Description

hasRawImageDescriptor

setRawImageDescriptor

RawImageDescriptor is the descriptor for the raw image type.

Parameter
Name
Description
Returns
Type
Description
$this

getType

The type of the packet. Its possible values is codec dependent.

The fully qualified type name is always the concatenation of the value in type_class together with the value in type , separated by a '/'. Note that specific codecs can define their own type hierarchy, and so the type string here can in fact be separated by multiple '/'s of its own. Please see the open source SDK for specific codec documentation.

Returns
Type
Description
string

setType

The type of the packet. Its possible values is codec dependent.

The fully qualified type name is always the concatenation of the value in type_class together with the value in type , separated by a '/'. Note that specific codecs can define their own type hierarchy, and so the type string here can in fact be separated by multiple '/'s of its own. Please see the open source SDK for specific codec documentation.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTypeDetails

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: