Reference documentation and code samples for the Cloud Bigtable V2 Client class Field.
A struct field and its type.
Generated from protobuf message google.bigtable.admin.v2.Type.Struct.Field
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2 \ Type \ StructMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ field_name |
string
The field name (optional). Fields without a |
↳ type |
Google\Cloud\Bigtable\Admin\V2\Type
The type of values in this field. |
getFieldName
The field name (optional). Fields without a field_name are considered
anonymous and cannot be referenced by name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFieldName
The field name (optional). Fields without a field_name are considered
anonymous and cannot be referenced by name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
The type of values in this field.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Bigtable\Admin\V2\Type|null |
|
hasType
clearType
setType
The type of values in this field.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Bigtable\Admin\V2\Type
|
| Returns | |
|---|---|
| Type | Description |
$this |
|