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 \ ExecuteDashboardQueryResponseMethods
__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. Does not handle |
↳ date_val |
Google\Type\Date
Date values. |
↳ proto_val |
Google\Protobuf\Any
For any proto values that are not any of the above. |
↳ metadata |
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 |
Google\Protobuf\Timestamp|null |
|
hasTimestampVal
setTimestampVal
Timestamp values. Does not handle interval.
| 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 |
|
getMetadata
Generated from protobuf field .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata metadata = 11;
| Returns | |
|---|---|
| Type | Description |
ColumnValue\ValueMetadata|null |
|
hasMetadata
clearMetadata
setMetadata
Generated from protobuf field .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnValue.ValueMetadata metadata = 11;
| Parameter | |
|---|---|
| Name | Description |
var |
ColumnValue\ValueMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
| Returns | |
|---|---|
| Type | Description |
string |
|