[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PacketType (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-PacketType)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-PacketType)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-PacketType)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-PacketType)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-PacketType)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-PacketType)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-PacketType) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PacketType.\n\nThe message that represents the data type of a packet. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #type_class\n\n def type_class() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The type class of the packet. Its possible values are: \"gst\", \"protobuf\", and \"string\".\n\n### #type_class=\n\n def type_class=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The type class of the packet. Its possible values are: \"gst\", \"protobuf\", and \"string\". \n**Returns**\n\n- (::String) --- The type class of the packet. Its possible values are: \"gst\", \"protobuf\", and \"string\".\n\n### #type_descriptor\n\n def type_descriptor() -\u003e ::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor](./Google-Cloud-VisionAI-V1-PacketType-TypeDescriptor)) --- The type descriptor.\n\n### #type_descriptor=\n\n def type_descriptor=(value) -\u003e ::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor](./Google-Cloud-VisionAI-V1-PacketType-TypeDescriptor)) --- The type descriptor. \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::PacketType::TypeDescriptor](./Google-Cloud-VisionAI-V1-PacketType-TypeDescriptor)) --- The type descriptor."]]