Enum DataSchemaDetails.DataType (0.11.0)

public enum DataSchemaDetails.DataType extends Enum<DataSchemaDetails.DataType> implements ProtocolMessageEnum

Data type of the annotation.

Protobuf enum google.cloud.visionai.v1.DataSchemaDetails.DataType

Implements

ProtocolMessageEnum

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%Ez (absl::RFC3339_full) %Y-%m-%dT%H:%M:%ES %Y-%m-%dT%H:%M%Ez %Y-%m-%dT%H:%M %Y-%m-%dT%H%Ez %Y-%m-%dT%H %Y-%m-%d%Ez %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%Ez (absl::RFC3339_full) %Y-%m-%dT%H:%M:%ES %Y-%m-%dT%H:%M%Ez %Y-%m-%dT%H:%M %Y-%m-%dT%H%Ez %Y-%m-%dT%H %Y-%m-%d%Ez %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()