Send feedback
Enum DataSchemaDetails.DataType (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.3.0 keyboard_arrow_down
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()
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["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-01-28 UTC."],[],[]]