# Interface AnnotationValueOrBuilder (0.50.0)

0.50.0 (latest) 0.48.0 0.45.0 0.44.0 0.42.0 0.40.0 0.39.0 0.37.0 0.35.0 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.27.0 0.25.0 0.24.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface AnnotationValueOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBoolValue()

    public abstract boolean getBoolValue()

Value of boolean type annotation.

`bool bool_value = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The boolValue. |

### getCustomizedStructDataValue()

    public abstract Struct getCustomizedStructDataValue()

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

`.google.protobuf.Struct customized_struct_data_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Struct.html` | The customizedStructDataValue. |

### getCustomizedStructDataValueOrBuilder()

    public abstract StructOrBuilder getCustomizedStructDataValueOrBuilder()

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

`.google.protobuf.Struct customized_struct_data_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.StructOrBuilder.html` |   |

### getCustomizedStructValue()

    public abstract AnnotationCustomizedStruct getCustomizedStructValue()

Value of custom struct type annotation.

`.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnnotationCustomizedStruct` | The customizedStructValue. |

### getCustomizedStructValueOrBuilder()

    public abstract AnnotationCustomizedStructOrBuilder getCustomizedStructValueOrBuilder()

Value of custom struct type annotation.

`.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnnotationCustomizedStructOrBuilder` |   |

### getDatetimeValue()

    public abstract String getDatetimeValue()

Value of date time type annotation.

`string datetime_value = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The datetimeValue. |

### getDatetimeValueBytes()

    public abstract ByteString getDatetimeValueBytes()

Value of date time type annotation.

`string datetime_value = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for datetimeValue. |

### getFloatValue()

    public abstract float getFloatValue()

Value of float type annotation.

`float float_value = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The floatValue. |

### getGeoCoordinate()

    public abstract GeoCoordinate getGeoCoordinate()

Value of geo coordinate type annotation.

`.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.GeoCoordinate` | The geoCoordinate. |

### getGeoCoordinateOrBuilder()

    public abstract GeoCoordinateOrBuilder getGeoCoordinateOrBuilder()

Value of geo coordinate type annotation.

`.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.GeoCoordinateOrBuilder` |   |

### getIntValue()

    public abstract long getIntValue()

Value of int type annotation.

`int64 int_value = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The intValue. |

### getListValue()

    public abstract AnnotationList getListValue()

Value of list type annotation.

`.google.cloud.visionai.v1.AnnotationList list_value = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnnotationList` | The listValue. |

### getListValueOrBuilder()

    public abstract AnnotationListOrBuilder getListValueOrBuilder()

Value of list type annotation.

`.google.cloud.visionai.v1.AnnotationList list_value = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnnotationListOrBuilder` |   |

### getProtoAnyValue()

    public abstract Any getProtoAnyValue()

Value of any proto value.

`.google.protobuf.Any proto_any_value = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Any.html` | The protoAnyValue. |

### getProtoAnyValueOrBuilder()

    public abstract AnyOrBuilder getProtoAnyValueOrBuilder()

Value of any proto value.

`.google.protobuf.Any proto_any_value = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AnyOrBuilder.html` |   |

### getStrValue()

    public abstract String getStrValue()

Value of string type annotation.

`string str_value = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The strValue. |

### getStrValueBytes()

    public abstract ByteString getStrValueBytes()

Value of string type annotation.

`string str_value = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for strValue. |

### getValueCase()

    public abstract AnnotationValue.ValueCase getValueCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-visionai/latest/com.google.cloud.visionai.v1.AnnotationValue.ValueCase` |   |

### hasBoolValue()

    public abstract boolean hasBoolValue()

Value of boolean type annotation.

`bool bool_value = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the boolValue field is set. |

### hasCustomizedStructDataValue()

    public abstract boolean hasCustomizedStructDataValue()

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

`.google.protobuf.Struct customized_struct_data_value = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the customizedStructDataValue field is set. |

### hasCustomizedStructValue()

    public abstract boolean hasCustomizedStructValue()

Value of custom struct type annotation.

`.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the customizedStructValue field is set. |

### hasDatetimeValue()

    public abstract boolean hasDatetimeValue()

Value of date time type annotation.

`string datetime_value = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the datetimeValue field is set. |

### hasFloatValue()

    public abstract boolean hasFloatValue()

Value of float type annotation.

`float float_value = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the floatValue field is set. |

### hasGeoCoordinate()

    public abstract boolean hasGeoCoordinate()

Value of geo coordinate type annotation.

`.google.cloud.visionai.v1.GeoCoordinate geo_coordinate = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the geoCoordinate field is set. |

### hasIntValue()

    public abstract boolean hasIntValue()

Value of int type annotation.

`int64 int_value = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the intValue field is set. |

### hasListValue()

    public abstract boolean hasListValue()

Value of list type annotation.

`.google.cloud.visionai.v1.AnnotationList list_value = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the listValue field is set. |

### hasProtoAnyValue()

    public abstract boolean hasProtoAnyValue()

Value of any proto value.

`.google.protobuf.Any proto_any_value = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the protoAnyValue field is set. |

### hasStrValue()

    public abstract boolean hasStrValue()

Value of string type annotation.

`string str_value = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the strValue field is set. |