Vision AI v1 API - Class AnnotationValue (1.0.0-beta01)

public sealed class AnnotationValue : IMessage<AnnotationValue>, IEquatable<AnnotationValue>, IDeepCloneable<AnnotationValue>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class AnnotationValue.

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

Inheritance

object > AnnotationValue

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

AnnotationValue()

public AnnotationValue()

AnnotationValue(AnnotationValue)

public AnnotationValue(AnnotationValue other)
Parameter
Name Description
other AnnotationValue

Properties

BoolValue

public bool BoolValue { get; set; }

Value of boolean type annotation.

Property Value
Type Description
bool

CustomizedStructDataValue

public Struct CustomizedStructDataValue { get; set; }

Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.

Property Value
Type Description
Struct

CustomizedStructValue

public AnnotationCustomizedStruct CustomizedStructValue { get; set; }

Value of custom struct type annotation.

Property Value
Type Description
AnnotationCustomizedStruct

DatetimeValue

public string DatetimeValue { get; set; }

Value of date time type annotation.

Property Value
Type Description
string

FloatValue

public float FloatValue { get; set; }

Value of float type annotation.

Property Value
Type Description
float

GeoCoordinate

public GeoCoordinate GeoCoordinate { get; set; }

Value of geo coordinate type annotation.

Property Value
Type Description
GeoCoordinate

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
Type Description
bool

HasDatetimeValue

public bool HasDatetimeValue { get; }

Gets whether the "datetime_value" field is set

Property Value
Type Description
bool

HasFloatValue

public bool HasFloatValue { get; }

Gets whether the "float_value" field is set

Property Value
Type Description
bool

HasIntValue

public bool HasIntValue { get; }

Gets whether the "int_value" field is set

Property Value
Type Description
bool

HasStrValue

public bool HasStrValue { get; }

Gets whether the "str_value" field is set

Property Value
Type Description
bool

IntValue

public long IntValue { get; set; }

Value of int type annotation.

Property Value
Type Description
long

ListValue

public AnnotationList ListValue { get; set; }

Value of list type annotation.

Property Value
Type Description
AnnotationList

ProtoAnyValue

public Any ProtoAnyValue { get; set; }

Value of any proto value.

Property Value
Type Description
Any

StrValue

public string StrValue { get; set; }

Value of string type annotation.

Property Value
Type Description
string

ValueCase

public AnnotationValue.ValueOneofCase ValueCase { get; }
Property Value
Type Description
AnnotationValueValueOneofCase