# Google Cloud Vision Ai V1 Client - Class DataSchemaDetails (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class DataSchemaDetails.

Data schema details indicates the data type and the data struct corresponding
to the key of user specified annotation.

Generated from protobuf message `google.cloud.visionai.v1.DataSchemaDetails`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Type of the annotation. |
| `↳ proto_any_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ProtoAnyConfig` Config for protobuf any type. |
| `↳ list_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ListConfig` Config for List data type. |
| `↳ customized_struct_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.CustomizedStructConfig` Config for CustomizedStruct data type. |
| `↳ granularity` | `int` The granularity associated with this DataSchema. |
| `↳ search_strategy` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.SearchStrategy` The search strategy to be applied on the `key` above. |

### getType

Type of the annotation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasType

### clearType

### setType

Type of the annotation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProtoAnyConfig

Config for protobuf any type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ProtoAnyConfig|null` |   |

### hasProtoAnyConfig

### clearProtoAnyConfig

### setProtoAnyConfig

Config for protobuf any type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ProtoAnyConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getListConfig

Config for List data type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ListConfig|null` |   |

### hasListConfig

### clearListConfig

### setListConfig

Config for List data type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.ListConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomizedStructConfig

Config for CustomizedStruct data type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.CustomizedStructConfig|null` |   |

### hasCustomizedStructConfig

### clearCustomizedStructConfig

### setCustomizedStructConfig

Config for CustomizedStruct data type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.CustomizedStructConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGranularity

The granularity associated with this DataSchema.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasGranularity

### clearGranularity

### setGranularity

The granularity associated with this DataSchema.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSearchStrategy

The search strategy to be applied on the `key` above.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.SearchStrategy|null` |   |

### hasSearchStrategy

### clearSearchStrategy

### setSearchStrategy

The search strategy to be applied on the `key` above.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.DataSchemaDetails.SearchStrategy` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |