0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ColumnValue.

Represents a single value in the set of values returned as the query
result.

Generated from protobuf message `google.cloud.chronicle.v1.ColumnType.ColumnValue`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1 \\ ColumnType

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ null_val` | `bool` True if the value is NULL. |
| `↳ bool_val` | `bool` Boolean value. |
| `↳ bytes_val` | `string` Bytes value. |
| `↳ double_val` | `float` Double value. |
| `↳ int64_val` | `int|string` Integer value (signed). |
| `↳ uint64_val` | `int|string` Un-signed integer value. |
| `↳ string_val` | `string` String value. Enum values are returned as strings. |
| `↳ timestamp_val` | `Google\Protobuf\Timestamp` Timestamp values. |
| `↳ date_val` | `Google\Type\Date` Date values. |
| `↳ proto_val` | `Google\Protobuf\Any` For any proto values that are not any of the above. |

### getNullVal

True if the value is NULL.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasNullVal

### setNullVal

True if the value is NULL.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBoolVal

Boolean value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasBoolVal

### setBoolVal

Boolean value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBytesVal

Bytes value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasBytesVal

### setBytesVal

Bytes value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDoubleVal

Double value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasDoubleVal

### setDoubleVal

Double value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInt64Val

Integer value (signed).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasInt64Val

### setInt64Val

Integer value (signed).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUint64Val

Un-signed integer value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasUint64Val

### setUint64Val

Un-signed integer value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStringVal

String value. Enum values are returned as strings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasStringVal

### setStringVal

String value. Enum values are returned as strings.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimestampVal

Timestamp values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasTimestampVal

### setTimestampVal

Timestamp values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDateVal

Date values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Type\Date|null` |   |

### hasDateVal

### setDateVal

Date values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Type\Date` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProtoVal

For any proto values that are not any of the above.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Any|null` |   |

### hasProtoVal

### setProtoVal

For any proto values that are not any of the above.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Any` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getValue

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |