# Google Cloud Data Catalog V1 Client - Class PrimitiveType (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class PrimitiveType.

Protobuf type `google.cloud.datacatalog.v1.FieldType.PrimitiveType`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1 \\ FieldType

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### PRIMITIVE_TYPE_UNSPECIFIED

    Value: 0

The default invalid value for a type.

Generated from protobuf enum `PRIMITIVE_TYPE_UNSPECIFIED = 0;`

### DOUBLE

    Value: 1

A double precision number.

Generated from protobuf enum `DOUBLE = 1;`

### STRING

    Value: 2

An UTF-8 string.

Generated from protobuf enum `STRING = 2;`

### BOOL

    Value: 3

A boolean value.

Generated from protobuf enum `BOOL = 3;`

### TIMESTAMP

    Value: 4

A timestamp.

Generated from protobuf enum `TIMESTAMP = 4;`

### RICHTEXT

    Value: 5

A Richtext description.

Generated from protobuf enum `RICHTEXT = 5;`