Class PacketType (0.1.6)

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

The message that represents the data type of a packet.

Attributes

Name Description
type_class str
The type class of the packet. Its possible values are: "gst", "protobuf", and "string".
type_descriptor google.cloud.visionai_v1.types.PacketType.TypeDescriptor
The type descriptor.

Classes

TypeDescriptor

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