# Interface ValueOrBuilder (3.19.4)

    public interface ValueOrBuilder extends MessageLiteOrBuilder

## Implements

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

## Methods

### getBoolValue()

    public abstract boolean getBoolValue()

Represents a boolean value.

`bool bool_value = 4;`

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

### getKindCase()

    public abstract Value.KindCase getKindCase()

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

### getListValue()

    public abstract ListValue getListValue()

Represents a repeated `Value`.

`.google.protobuf.ListValue list_value = 6;`

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

### getNullValue()

    public abstract NullValue getNullValue()

Represents a null value.

`.google.protobuf.NullValue null_value = 1;`

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

### getNullValueValue()

    public abstract int getNullValueValue()

Represents a null value.

`.google.protobuf.NullValue null_value = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for nullValue. |

### getNumberValue()

    public abstract double getNumberValue()

Represents a double value.

`double number_value = 2;`

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

### getStringValue()

    public abstract String getStringValue()

Represents a string value.

`string string_value = 3;`

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

### getStringValueBytes()

    public abstract ByteString getStringValueBytes()

Represents a string value.

`string string_value = 3;`

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

### getStructValue()

    public abstract Struct getStructValue()

Represents a structured value.

`.google.protobuf.Struct struct_value = 5;`

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

### hasBoolValue()

    public abstract boolean hasBoolValue()

Represents a boolean value.

`bool bool_value = 4;`

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

### hasListValue()

    public abstract boolean hasListValue()

Represents a repeated `Value`.

`.google.protobuf.ListValue list_value = 6;`

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

### hasNullValue()

    public abstract boolean hasNullValue()

Represents a null value.

`.google.protobuf.NullValue null_value = 1;`

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

### hasNumberValue()

    public abstract boolean hasNumberValue()

Represents a double value.

`double number_value = 2;`

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

### hasStringValue()

    public abstract boolean hasStringValue()

Represents a string value.

`string string_value = 3;`

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

### hasStructValue()

    public abstract boolean hasStructValue()

Represents a structured value.

`.google.protobuf.Struct struct_value = 5;`

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