Enum DataSchemaDetails.DataType (0.37.0)
0.44.0 (latest)
0.42.0
0.40.0
0.39.0
0.37.0
0.35.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.27.0
0.25.0
0.24.0
0.21.0
0.20.0
0.19.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
public enum DataSchemaDetails . DataType extends Enum<DataSchemaDetails . DataType > implements ProtocolMessageEnum
Data type of the annotation.
Protobuf enum google.cloud.visionai.v1.DataSchemaDetails.DataType
Static Fields
Name
Description
BOOLEAN
Boolean type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
BOOLEAN = 9;
BOOLEAN_VALUE
Boolean type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
BOOLEAN = 9;
CUSTOMIZED_STRUCT
Struct type.
SearchStrategy:
Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy.
Leaf-node elements allow setting search strategy based on element's
SearchStrategy restriction.
Nested layer restrictions:
Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of
CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10.
CUSTOMIZED_STRUCT = 6;
CUSTOMIZED_STRUCT_VALUE
Struct type.
SearchStrategy:
Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy.
Leaf-node elements allow setting search strategy based on element's
SearchStrategy restriction.
Nested layer restrictions:
Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of
CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10.
CUSTOMIZED_STRUCT = 6;
DATA_TYPE_UNSPECIFIED
Unspecified type.
DATA_TYPE_UNSPECIFIED = 0;
DATA_TYPE_UNSPECIFIED_VALUE
Unspecified type.
DATA_TYPE_UNSPECIFIED = 0;
DATETIME
Supported formats:
%Y-%m-%dT%H:%M:%ES%E z (absl::RFC3339_full)
%Y-%m-%dT%H:%M:%ES
%Y-%m-%dT%H:%M%E z
%Y-%m-%dT%H:%M
%Y-%m-%dT%H%Ez
%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.
DATETIME = 5;
DATETIME_VALUE
Supported formats:
%Y-%m-%dT%H:%M:%ES%E z (absl::RFC3339_full)
%Y-%m-%dT%H:%M:%ES
%Y-%m-%dT%H:%M%E z
%Y-%m-%dT%H:%M
%Y-%m-%dT%H%Ez
%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.
DATETIME = 5;
FLOAT
Float type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by FloatRangeArray.
FLOAT = 2;
FLOAT_VALUE
Float type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by FloatRangeArray.
FLOAT = 2;
GEO_COORDINATE
Geo coordinate type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by GeoLocationArray.
GEO_COORDINATE = 7;
GEO_COORDINATE_VALUE
Geo coordinate type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by GeoLocationArray.
GEO_COORDINATE = 7;
INTEGER
Integer type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by IntRangeArray.
INTEGER = 1;
INTEGER_VALUE
Integer type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH.
Supports query by IntRangeArray.
INTEGER = 1;
LIST
List type.
Each element in the list must be of the exact same data schema;
otherwise, they are invalid arguments.
List level cannot set search strategy. Leaf node level can do.
Elements cannot be another list (no list of list).
Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10.
LIST = 10;
LIST_VALUE
List type.
Each element in the list must be of the exact same data schema;
otherwise, they are invalid arguments.
List level cannot set search strategy. Leaf node level can do.
Elements cannot be another list (no list of list).
Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10.
LIST = 10;
PROTO_ANY
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.
PROTO_ANY = 8;
PROTO_ANY_VALUE
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.
PROTO_ANY = 8;
STRING
String type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH,
DataSchema.SearchStrategy.SMART_SEARCH.
STRING = 3;
STRING_VALUE
String type.
Allowed search strategies:
DataSchema.SearchStrategy.NO_SEARCH,
DataSchema.SearchStrategy.EXACT_SEARCH,
DataSchema.SearchStrategy.SMART_SEARCH.
STRING = 3;
UNRECOGNIZED
Static Methods
Name
Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)
Deprecated. Use #forNumber(int) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
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 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]