Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AnnotationValue.
Value of annotation, including all types available in data schema.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bool_value
def bool_value() -> ::Boolean
-
(::Boolean) — Value of boolean type annotation.
Note: The following fields are mutually exclusive:
bool_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bool_value=
def bool_value=(value) -> ::Boolean
-
value (::Boolean) — Value of boolean type annotation.
Note: The following fields are mutually exclusive:
bool_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — Value of boolean type annotation.
Note: The following fields are mutually exclusive:
bool_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#customized_struct_data_value
def customized_struct_data_value() -> ::Google::Protobuf::Struct
-
(::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
Note: The following fields are mutually exclusive:
customized_struct_data_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#customized_struct_data_value=
def customized_struct_data_value=(value) -> ::Google::Protobuf::Struct
-
value (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
Note: The following fields are mutually exclusive:
customized_struct_data_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
Note: The following fields are mutually exclusive:
customized_struct_data_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#customized_struct_value
def customized_struct_value() -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
-
(::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
Note: The following fields are mutually exclusive:
customized_struct_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#customized_struct_value=
def customized_struct_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
-
value (::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
Note: The following fields are mutually exclusive:
customized_struct_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
Note: The following fields are mutually exclusive:
customized_struct_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#datetime_value
def datetime_value() -> ::String
-
(::String) — Value of date time type annotation.
Note: The following fields are mutually exclusive:
datetime_value
,int_value
,float_value
,str_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#datetime_value=
def datetime_value=(value) -> ::String
-
value (::String) — Value of date time type annotation.
Note: The following fields are mutually exclusive:
datetime_value
,int_value
,float_value
,str_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Value of date time type annotation.
Note: The following fields are mutually exclusive:
datetime_value
,int_value
,float_value
,str_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#float_value
def float_value() -> ::Float
-
(::Float) — Value of float type annotation.
Note: The following fields are mutually exclusive:
float_value
,int_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#float_value=
def float_value=(value) -> ::Float
-
value (::Float) — Value of float type annotation.
Note: The following fields are mutually exclusive:
float_value
,int_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Value of float type annotation.
Note: The following fields are mutually exclusive:
float_value
,int_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geo_coordinate
def geo_coordinate() -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
-
(::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
Note: The following fields are mutually exclusive:
geo_coordinate
,int_value
,float_value
,str_value
,datetime_value
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#geo_coordinate=
def geo_coordinate=(value) -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
-
value (::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
Note: The following fields are mutually exclusive:
geo_coordinate
,int_value
,float_value
,str_value
,datetime_value
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
Note: The following fields are mutually exclusive:
geo_coordinate
,int_value
,float_value
,str_value
,datetime_value
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_value
def int_value() -> ::Integer
-
(::Integer) — Value of int type annotation.
Note: The following fields are mutually exclusive:
int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_value=
def int_value=(value) -> ::Integer
-
value (::Integer) — Value of int type annotation.
Note: The following fields are mutually exclusive:
int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Value of int type annotation.
Note: The following fields are mutually exclusive:
int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#list_value
def list_value() -> ::Google::Cloud::VisionAI::V1::AnnotationList
-
(::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
Note: The following fields are mutually exclusive:
list_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#list_value=
def list_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationList
-
value (::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
Note: The following fields are mutually exclusive:
list_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
Note: The following fields are mutually exclusive:
list_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#proto_any_value
def proto_any_value() -> ::Google::Protobuf::Any
-
(::Google::Protobuf::Any) — Value of any proto value.
Note: The following fields are mutually exclusive:
proto_any_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#proto_any_value=
def proto_any_value=(value) -> ::Google::Protobuf::Any
-
value (::Google::Protobuf::Any) — Value of any proto value.
Note: The following fields are mutually exclusive:
proto_any_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Any) — Value of any proto value.
Note: The following fields are mutually exclusive:
proto_any_value
,int_value
,float_value
,str_value
,datetime_value
,geo_coordinate
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#str_value
def str_value() -> ::String
-
(::String) — Value of string type annotation.
Note: The following fields are mutually exclusive:
str_value
,int_value
,float_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#str_value=
def str_value=(value) -> ::String
-
value (::String) — Value of string type annotation.
Note: The following fields are mutually exclusive:
str_value
,int_value
,float_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Value of string type annotation.
Note: The following fields are mutually exclusive:
str_value
,int_value
,float_value
,datetime_value
,geo_coordinate
,proto_any_value
,bool_value
,customized_struct_data_value
,list_value
,customized_struct_value
. If a field in that set is populated, all other fields in the set will automatically be cleared.