Google BigQuery Storage V1 Client - Class FieldElementType (2.0.0-RC1)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class FieldElementType.

Represents the type of a field element.

Generated from protobuf message google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementType

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ TableFieldSchema

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of a field element.

getType

Required. The type of a field element.

Returns
Type Description
int

setType

Required. The type of a field element.

Parameter
Name Description
var int
Returns
Type Description
$this