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 \ PacketTypeMethods
__construct
Constructor.
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.
$this
getRawImageDescriptor
RawImageDescriptor is the descriptor for the raw image type.
hasRawImageDescriptor
setRawImageDescriptor
RawImageDescriptor is the descriptor for the raw image type.
$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.
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.
var
string
$this
getTypeDetails
string

