Google Cloud Data Catalog V1 Client - Class FieldType (1.10.3)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class FieldType.

Generated from protobuf message google.cloud.datacatalog.v1.FieldType

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ primitive_type int

Primitive types, such as string, boolean, etc.

↳ enum_type Google\Cloud\DataCatalog\V1\FieldType\EnumType

An enum type.

getPrimitiveType

Primitive types, such as string, boolean, etc.

Returns
Type Description
int

hasPrimitiveType

setPrimitiveType

Primitive types, such as string, boolean, etc.

Parameter
Name Description
var int
Returns
Type Description
$this

getEnumType

An enum type.

Returns
Type Description
Google\Cloud\DataCatalog\V1\FieldType\EnumType|null

hasEnumType

setEnumType

An enum type.

Parameter
Name Description
var Google\Cloud\DataCatalog\V1\FieldType\EnumType
Returns
Type Description
$this

getTypeDecl

Returns
Type Description
string