0.14.0 (latest) 0.13.0 0.11.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface FetchBenchmarkingDataRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getInstanceType()

    public abstract String getInstanceType()

Optional. The instance type to filter benchmarking data. Instance types are
in the format `a2-highgpu-1g`. If not provided, all instance types for the
given profile's `model_server_info` will be returned. Use
GkeInferenceQuickstart.FetchProfiles
to find available instance types.

`string instance_type = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The instanceType. |

### getInstanceTypeBytes()

    public abstract ByteString getInstanceTypeBytes()

Optional. The instance type to filter benchmarking data. Instance types are
in the format `a2-highgpu-1g`. If not provided, all instance types for the
given profile's `model_server_info` will be returned. Use
GkeInferenceQuickstart.FetchProfiles
to find available instance types.

`string instance_type = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for instanceType. |

### getModelServerInfo()

    public abstract ModelServerInfo getModelServerInfo()

Required. The model server configuration to get benchmarking data for. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.

`
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/com.google.cloud.gkerecommender.v1.ModelServerInfo` | The modelServerInfo. |

### getModelServerInfoOrBuilder()

    public abstract ModelServerInfoOrBuilder getModelServerInfoOrBuilder()

Required. The model server configuration to get benchmarking data for. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.

`
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/com.google.cloud.gkerecommender.v1.ModelServerInfoOrBuilder` |   |

### getPricingModel()

    public abstract String getPricingModel()

Optional. The pricing model to use for the benchmarking data. Defaults to
`spot`.

`string pricing_model = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The pricingModel. |

### getPricingModelBytes()

    public abstract ByteString getPricingModelBytes()

Optional. The pricing model to use for the benchmarking data. Defaults to
`spot`.

`string pricing_model = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for pricingModel. |

### hasModelServerInfo()

    public abstract boolean hasModelServerInfo()

Required. The model server configuration to get benchmarking data for. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.

`
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the modelServerInfo field is set. |