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

Response message for SearchIndexEndpoint.

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

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ search_result_items` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.SearchResultItem>` Returned search results. |
| `↳ next_page_token` | `string` The next-page continuation token. If this field is omitted, there are no subsequent pages. |

### getSearchResultItems

Returned search results.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.SearchResultItem>` |   |

### setSearchResultItems

Returned search results.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.SearchResultItem>` |

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

### getNextPageToken

The next-page continuation token.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

The next-page continuation token.

If this field is omitted, there are no subsequent pages.

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

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