1.0.0 (latest) 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](https://learn.microsoft.com/dotnet/api/system.object) \> AnnotationValue

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AnnotationValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnnotationValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AnnotationValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValue), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### AnnotationValue()

    public AnnotationValue()

### AnnotationValue(AnnotationValue)

    public AnnotationValue(AnnotationValue other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValue` |

## Properties

### BoolValue

    public bool BoolValue { get; set; }

Value of boolean type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### 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** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |

### CustomizedStructValue

    public AnnotationCustomizedStruct CustomizedStructValue { get; set; }

Value of custom struct type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationCustomizedStruct` |   |

### DatetimeValue

    public string DatetimeValue { get; set; }

Value of date time type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FloatValue

    public float FloatValue { get; set; }

Value of float type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.single` |   |

### GeoCoordinate

    public GeoCoordinate GeoCoordinate { get; set; }

Value of geo coordinate type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.GeoCoordinate` |   |

### HasBoolValue

    public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasDatetimeValue

    public bool HasDatetimeValue { get; }

Gets whether the "datetime_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasFloatValue

    public bool HasFloatValue { get; }

Gets whether the "float_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasIntValue

    public bool HasIntValue { get; }

Gets whether the "int_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasStrValue

    public bool HasStrValue { get; }

Gets whether the "str_value" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IntValue

    public long IntValue { get; set; }

Value of int type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### ListValue

    public AnnotationList ListValue { get; set; }

Value of list type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationList` |   |

### ProtoAnyValue

    public Any ProtoAnyValue { get; set; }

Value of any proto value.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Any.html` |   |

### StrValue

    public string StrValue { get; set; }

Value of string type annotation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ValueCase

    public AnnotationValue.ValueOneofCase ValueCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValuehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.AnnotationValue.ValueOneofCase` |   |