public interface FetchBenchmarkingDataRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 |
String |
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 |
ByteString |
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 |
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 |
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 |
String |
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 |
ByteString |
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 |
boolean |
Whether the modelServerInfo field is set. |