# Interface TypedValueOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface TypedValueOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDoubleValue()

    public abstract double getDoubleValue()

The value of the metric as double.

`double double_value = 1;`

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

### getInt64Value()

    public abstract long getInt64Value()

The value of the metric as int.

`int64 int64_value = 2;`

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

### getValueCase()

    public abstract TypedValue.ValueCase getValueCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.TypedValue.ValueCase` |   |

### hasDoubleValue()

    public abstract boolean hasDoubleValue()

The value of the metric as double.

`double double_value = 1;`

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

### hasInt64Value()

    public abstract boolean hasInt64Value()

The value of the metric as int.

`int64 int64_value = 2;`

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