# Google Cloud Vision Ai V1 Client - Class OperatorQuery (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 OperatorQuery.

OperatorQuery represents one query to a Operator.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operator` | `string` Required. The canonical Name of the operator. e.g. OccupancyCounting. |
| `↳ tag` | `string` Optional. Tag of the operator. |
| `↳ registry` | `int` Optional. Registry of the operator. |

### getOperator

Required. The canonical Name of the operator. e.g. OccupancyCounting.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOperator

Required. The canonical Name of the operator. e.g. OccupancyCounting.

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

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

### getTag

Optional. Tag of the operator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTag

Optional. Tag of the operator.

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

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

### getRegistry

Optional. Registry of the operator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Registry](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.Registry). |

### setRegistry

Optional. Registry of the operator.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Registry](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.Registry). |

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