# Cloud Vision V1 Client - Class ImportProductSetsResponse (2.2.1)

2.2.1 (latest) 2.2.0 2.1.3 2.0.3 1.10.3 1.9.4 1.8.0 1.7.6 1.6.8 Reference documentation and code samples for the Cloud Vision V1 Client class ImportProductSetsResponse.

Response message for the `ImportProductSets` method.

This message is returned by the
google.longrunning.Operations.GetOperation
method in the returned
google.longrunning.Operation.response
field.

Generated from protobuf message `google.cloud.vision.v1.ImportProductSetsResponse`

## Namespace

Google \\ Cloud \\ Vision \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reference_images` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vision/latest/V1.ReferenceImage>` The list of reference_images that are imported successfully. |
| `↳ statuses` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses\[i\] stores the success or failure status of processing the i-th line of the csv, starting from line 0. |

### getReferenceImages

The list of reference_images that are imported successfully.

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

### setReferenceImages

The list of reference_images that are imported successfully.

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

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

### getStatuses

The rpc status for each ImportProductSet request, including both successes
and errors.

The number of statuses here matches the number of lines in the csv file,
and statuses\[i\] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |   |

### setStatuses

The rpc status for each ImportProductSet request, including both successes
and errors.

The number of statuses here matches the number of lines in the csv file,
and statuses\[i\] stores the success or failure status of processing the i-th
line of the csv, starting from line 0.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html>` |

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