# Google Cloud Chronicle V1 Client - Class ColumnValue (0.4.0)

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

LINT.IfChange(stats_data)
Value of the column based on data type.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1 \\ ExecuteDashboardQueryResponse

## 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` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Timestamp values. Does not handle `interval`. |
| `↳ date_val` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` Date values. |
| `↳ proto_val` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` For any proto values that are not any of the above. |
| `↳ metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata` |

### 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. Does not handle `interval`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasTimestampVal

### setTimestampVal

Timestamp values. Does not handle `interval`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getDateVal

Date values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasDateVal

### setDateVal

Date values.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

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

### getProtoVal

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any|null` |   |

### hasProtoVal

### setProtoVal

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Any` |

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

### getMetadata

Generated from protobuf field `.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata metadata = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata|null` |   |

### hasMetadata

### clearMetadata

### setMetadata

Generated from protobuf field `.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata metadata = 11;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata` |

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

### getValue

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