Class DataType (0.1.10)
Stay organized with collections
Save and categorize content based on your preferences.
Data type of the annotation.
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
IntRangeArray.
FLOAT (2):
Float type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
FloatRangeArray.
STRING (3):
String type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH,
- DataSchema.SearchStrategy.SMART_SEARCH.
DATETIME (5):
Supported formats: %Y-%m-%dT%H:%M:%E\ *S%E*\ z
(absl::RFC3339_full) %Y-%m-%dT%H:%M:%E\ *S
%Y-%m-%dT%H:%M%E*\ z %Y-%m-%dT%H:%M %Y-%m-%dT%H%E\ *z
%Y-%m-%dT%H %Y-%m-%d%E*\ z %Y-%m-%d %Y-%m %Y Allowed search
strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
DateTimeRangeArray.
GEO_COORDINATE (7):
Geo coordinate type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by
GeoLocationArray.
PROTO_ANY (8):
Type to pass any proto as available in annotations.proto.
Only use internally. Available proto types and its
corresponding search behavior:
- ImageObjectDetectionPredictionResult, allows SMART_SEARCH
on display_names and NO_SEARCH.
- ClassificationPredictionResult, allows SMART_SEARCH on
display_names and NO_SEARCH.
- ImageSegmentationPredictionResult, allows NO_SEARCH.
- VideoActionRecognitionPredictionResult, allows
SMART_SEARCH on display_name and NO_SEARCH.
- VideoObjectTrackingPredictionResult, allows SMART_SEARCH
on display_name and NO_SEARCH.
- VideoClassificationPredictionResult, allows SMART_SEARCH
on display_name and NO_SEARCH.
- OccupancyCountingPredictionResult, allows EXACT_SEARCH on
stats.full_frame_count.count and NO_SEARCH.
- ObjectDetectionPredictionResult, allows SMART_SEARCH on
identified_boxes.entity.label_string and NO_SEARCH.
BOOLEAN (9):
Boolean type. Allowed search strategies:
- DataSchema.SearchStrategy.NO_SEARCH,
- DataSchema.SearchStrategy.EXACT_SEARCH.
Enums |
Name |
Description |
DATA_TYPE_UNSPECIFIED |
Unspecified type. |
INTEGER |
Integer type. Allowed search strategies: |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["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-04 UTC."],[],[],null,["# Class DataType (0.1.10)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.10 (latest)](/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.DataSchemaDetails.DataType)\n- [0.1.8](/python/docs/reference/google-cloud-visionai/0.1.8/google.cloud.visionai_v1alpha1.types.DataSchemaDetails.DataType) \n\n DataType(value)\n\nData type of the annotation. \n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n IntRangeArray.\n FLOAT (2):\n Float type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n FloatRangeArray.\n STRING (3):\n String type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH,\n - DataSchema.SearchStrategy.SMART_SEARCH.\n DATETIME (5):\n Supported formats: %Y-%m-%dT%H:%M:%E\\ *S%E*\\ z\n (absl::RFC3339_full) %Y-%m-%dT%H:%M:%E\\ *S\n %Y-%m-%dT%H:%M%E*\\ z %Y-%m-%dT%H:%M %Y-%m-%dT%H%E\\ *z\n %Y-%m-%dT%H %Y-%m-%d%E*\\ z %Y-%m-%d %Y-%m %Y Allowed search\n strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n DateTimeRangeArray.\n GEO_COORDINATE (7):\n Geo coordinate type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by\n GeoLocationArray.\n PROTO_ANY (8):\n Type to pass any proto as available in annotations.proto.\n Only use internally. Available proto types and its\n corresponding search behavior:\n\n - ImageObjectDetectionPredictionResult, allows SMART_SEARCH\n on display_names and NO_SEARCH.\n - ClassificationPredictionResult, allows SMART_SEARCH on\n display_names and NO_SEARCH.\n - ImageSegmentationPredictionResult, allows NO_SEARCH.\n - VideoActionRecognitionPredictionResult, allows\n SMART_SEARCH on display_name and NO_SEARCH.\n - VideoObjectTrackingPredictionResult, allows SMART_SEARCH\n on display_name and NO_SEARCH.\n - VideoClassificationPredictionResult, allows SMART_SEARCH\n on display_name and NO_SEARCH.\n - OccupancyCountingPredictionResult, allows EXACT_SEARCH on\n stats.full_frame_count.count and NO_SEARCH.\n - ObjectDetectionPredictionResult, allows SMART_SEARCH on\n identified_boxes.entity.label_string and NO_SEARCH.\n BOOLEAN (9):\n Boolean type. Allowed search strategies:\n\n - DataSchema.SearchStrategy.NO_SEARCH,\n - DataSchema.SearchStrategy.EXACT_SEARCH."]]