public static final class FetchBenchmarkingDataRequest.Builder extends GeneratedMessage.Builder<FetchBenchmarkingDataRequest.Builder> implements FetchBenchmarkingDataRequestOrBuilderRequest message for GkeInferenceQuickstart.FetchBenchmarkingData.
Protobuf type google.cloud.gkerecommender.v1.FetchBenchmarkingDataRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchBenchmarkingDataRequest.BuilderImplements
FetchBenchmarkingDataRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchBenchmarkingDataRequest build()| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest |
|
buildPartial()
public FetchBenchmarkingDataRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest |
|
clear()
public FetchBenchmarkingDataRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
clearInstanceType()
public FetchBenchmarkingDataRequest.Builder clearInstanceType() 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 |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |
clearModelServerInfo()
public FetchBenchmarkingDataRequest.Builder clearModelServerInfo()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 |
FetchBenchmarkingDataRequest.Builder |
|
clearPricingModel()
public FetchBenchmarkingDataRequest.Builder clearPricingModel() 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 |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchBenchmarkingDataRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceType()
public 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 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 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. |
getModelServerInfoBuilder()
public ModelServerInfo.Builder getModelServerInfoBuilder()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.Builder |
|
getModelServerInfoOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchBenchmarkingDataRequest other)
public FetchBenchmarkingDataRequest.Builder mergeFrom(FetchBenchmarkingDataRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchBenchmarkingDataRequest |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchBenchmarkingDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchBenchmarkingDataRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
mergeModelServerInfo(ModelServerInfo value)
public FetchBenchmarkingDataRequest.Builder mergeModelServerInfo(ModelServerInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelServerInfo |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
setInstanceType(String value)
public FetchBenchmarkingDataRequest.Builder setInstanceType(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instanceType to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |
setInstanceTypeBytes(ByteString value)
public FetchBenchmarkingDataRequest.Builder setInstanceTypeBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instanceType to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |
setModelServerInfo(ModelServerInfo value)
public FetchBenchmarkingDataRequest.Builder setModelServerInfo(ModelServerInfo value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelServerInfo |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
setModelServerInfo(ModelServerInfo.Builder builderForValue)
public FetchBenchmarkingDataRequest.Builder setModelServerInfo(ModelServerInfo.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ModelServerInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
|
setPricingModel(String value)
public FetchBenchmarkingDataRequest.Builder setPricingModel(String value) Optional. The pricing model to use for the benchmarking data. Defaults to
spot.
string pricing_model = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pricingModel to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |
setPricingModelBytes(ByteString value)
public FetchBenchmarkingDataRequest.Builder setPricingModelBytes(ByteString value) Optional. The pricing model to use for the benchmarking data. Defaults to
spot.
string pricing_model = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pricingModel to set. |
| Returns | |
|---|---|
| Type | Description |
FetchBenchmarkingDataRequest.Builder |
This builder for chaining. |