Class AnnotationValue (0.1.5)

AnnotationValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value of annotation, including all types available in data schema.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
int_value int
Value of int type annotation. This field is a member of oneof_ value.
float_value float
Value of float type annotation. This field is a member of oneof_ value.
str_value str
Value of string type annotation. This field is a member of oneof_ value.
datetime_value str
Value of date time type annotation. This field is a member of oneof_ value.
geo_coordinate google.cloud.visionai_v1.types.GeoCoordinate
Value of geo coordinate type annotation. This field is a member of oneof_ value.
proto_any_value google.protobuf.any_pb2.Any
Value of any proto value. This field is a member of oneof_ value.
bool_value bool
Value of boolean type annotation. This field is a member of oneof_ value.
customized_struct_data_value google.protobuf.struct_pb2.Struct
Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation. This field is a member of oneof_ value.
list_value google.cloud.visionai_v1.types.AnnotationList
Value of list type annotation. This field is a member of oneof_ value.
customized_struct_value google.cloud.visionai_v1.types.AnnotationCustomizedStruct
Value of custom struct type annotation. This field is a member of oneof_ value.