# Class TypeDescriptor (0.5.1)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.10

    TypeDescriptor(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The message that fully specifies the type of the packet.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `gstreamer_buffer_descriptor` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.GstreamerBufferDescriptor` GstreamerBufferDescriptor is the descriptor for gstreamer buffer type. This field is a member of `oneof`_ `type_details`. |
| `raw_image_descriptor` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.RawImageDescriptor` RawImageDescriptor is the descriptor for the raw image type. This field is a member of `oneof`_ `type_details`. |
| `type_` | `str` 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. |