Class DataType (0.2.0)

DataType(value)

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: