# Google Cloud Gke Recommender V1 Client - Class FetchProfilesResponse (0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Gke Recommender V1 Client class FetchProfilesResponse.

Response message for
[GkeInferenceQuickstart.FetchProfiles](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchProfiles__).

Generated from protobuf message `google.cloud.gkerecommender.v1.FetchProfilesResponse`

## Namespace

Google \\ Cloud \\ GkeRecommender \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ profile` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Profile>` Output only. List of profiles that match the given model server info and performance requirements (if provided). |
| `↳ performance_range` | `https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.PerformanceRange` Output only. The combined range of performance values observed across all profiles in this response. |
| `↳ comments` | `string` Output only. Additional comments related to the response. |
| `↳ next_page_token` | `string` Output only. A token which may be sent as page_token in a subsequent `FetchProfilesResponse` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. |

### getProfile

Output only. List of profiles that match the given model server info and
performance requirements (if provided).

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

### setProfile

Output only. List of profiles that match the given model server info and
performance requirements (if provided).

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

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

### getPerformanceRange

Output only. The combined range of performance values observed across all
profiles in this response.

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

### hasPerformanceRange

### clearPerformanceRange

### setPerformanceRange

Output only. The combined range of performance values observed across all
profiles in this response.

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

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

### getComments

Output only. Additional comments related to the response.

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

### setComments

Output only. Additional comments related to the response.

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

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

### getNextPageToken

Output only. A token which may be sent as
page_token in a subsequent
`FetchProfilesResponse` call to retrieve the next page of results. If this
field is omitted or empty, then there are no more results to return.

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

### setNextPageToken

Output only. A token which may be sent as
page_token in a subsequent
`FetchProfilesResponse` call to retrieve the next page of results. If this
field is omitted or empty, then there are no more results to return.

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

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