Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor (v0.4.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor.

The message that fully specifies the type of the packet.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gstreamer_buffer_descriptor

def gstreamer_buffer_descriptor() -> ::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor
Returns
  • (::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor) — GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

    Note: The following fields are mutually exclusive: gstreamer_buffer_descriptor, raw_image_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gstreamer_buffer_descriptor=

def gstreamer_buffer_descriptor=(value) -> ::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor
Parameter
  • value (::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor) — GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

    Note: The following fields are mutually exclusive: gstreamer_buffer_descriptor, raw_image_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor) — GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.

    Note: The following fields are mutually exclusive: gstreamer_buffer_descriptor, raw_image_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#raw_image_descriptor

def raw_image_descriptor() -> ::Google::Cloud::VisionAI::V1::RawImageDescriptor
Returns
  • (::Google::Cloud::VisionAI::V1::RawImageDescriptor) — RawImageDescriptor is the descriptor for the raw image type.

    Note: The following fields are mutually exclusive: raw_image_descriptor, gstreamer_buffer_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#raw_image_descriptor=

def raw_image_descriptor=(value) -> ::Google::Cloud::VisionAI::V1::RawImageDescriptor
Parameter
  • value (::Google::Cloud::VisionAI::V1::RawImageDescriptor) — RawImageDescriptor is the descriptor for the raw image type.

    Note: The following fields are mutually exclusive: raw_image_descriptor, gstreamer_buffer_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::RawImageDescriptor) — RawImageDescriptor is the descriptor for the raw image type.

    Note: The following fields are mutually exclusive: raw_image_descriptor, gstreamer_buffer_descriptor. If a field in that set is populated, all other fields in the set will automatically be cleared.

#type

def type() -> ::String
Returns
  • (::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.

#type=

def type=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.