Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PacketType.
The message that represents the data type of a packet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#type_class
def type_class() -> ::String
Returns
- (::String) — The type class of the packet. Its possible values are: "gst", "protobuf", and "string".
#type_class=
def type_class=(value) -> ::String
Parameter
- value (::String) — The type class of the packet. Its possible values are: "gst", "protobuf", and "string".
Returns
- (::String) — The type class of the packet. Its possible values are: "gst", "protobuf", and "string".
#type_descriptor
def type_descriptor() -> ::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor
Returns
- (::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor) — The type descriptor.
#type_descriptor=
def type_descriptor=(value) -> ::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor
Parameter
- value (::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor) — The type descriptor.
Returns
- (::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor) — The type descriptor.