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
Returns
- (::Boolean) — Value of boolean type annotation.
#bool_value=
def bool_value=(value) -> ::Boolean
Parameter
- value (::Boolean) — Value of boolean type annotation.
Returns
- (::Boolean) — Value of boolean type annotation.
#customized_struct_data_value
def customized_struct_data_value() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.
#customized_struct_data_value=
def customized_struct_data_value=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.
Returns
- (::Google::Protobuf::Struct) — Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.
#customized_struct_value
def customized_struct_value() -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
#customized_struct_value=
def customized_struct_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct
Parameter
- value (::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationCustomizedStruct) — Value of custom struct type annotation.
#datetime_value
def datetime_value() -> ::String
Returns
- (::String) — Value of date time type annotation.
#datetime_value=
def datetime_value=(value) -> ::String
Parameter
- value (::String) — Value of date time type annotation.
Returns
- (::String) — Value of date time type annotation.
#float_value
def float_value() -> ::Float
Returns
- (::Float) — Value of float type annotation.
#float_value=
def float_value=(value) -> ::Float
Parameter
- value (::Float) — Value of float type annotation.
Returns
- (::Float) — Value of float type annotation.
#geo_coordinate
def geo_coordinate() -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
Returns
- (::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
#geo_coordinate=
def geo_coordinate=(value) -> ::Google::Cloud::VisionAI::V1::GeoCoordinate
Parameter
- value (::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
Returns
- (::Google::Cloud::VisionAI::V1::GeoCoordinate) — Value of geo coordinate type annotation.
#int_value
def int_value() -> ::Integer
Returns
- (::Integer) — Value of int type annotation.
#int_value=
def int_value=(value) -> ::Integer
Parameter
- value (::Integer) — Value of int type annotation.
Returns
- (::Integer) — Value of int type annotation.
#list_value
def list_value() -> ::Google::Cloud::VisionAI::V1::AnnotationList
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
#list_value=
def list_value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationList
Parameter
- value (::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationList) — Value of list type annotation.
#proto_any_value
def proto_any_value() -> ::Google::Protobuf::Any
Returns
- (::Google::Protobuf::Any) — Value of any proto value.
#proto_any_value=
def proto_any_value=(value) -> ::Google::Protobuf::Any
Parameter
- value (::Google::Protobuf::Any) — Value of any proto value.
Returns
- (::Google::Protobuf::Any) — Value of any proto value.
#str_value
def str_value() -> ::String
Returns
- (::String) — Value of string type annotation.
#str_value=
def str_value=(value) -> ::String
Parameter
- value (::String) — Value of string type annotation.
Returns
- (::String) — Value of string type annotation.