Interface FetchBenchmarkingDataRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FetchBenchmarkingDataRequest, FetchBenchmarkingDataRequest.Builder

@Generated public interface FetchBenchmarkingDataRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasModelServerInfo

      boolean hasModelServerInfo()
       Required. The model server configuration to get benchmarking data for. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the modelServerInfo field is set.
    • getModelServerInfo

      ModelServerInfo getModelServerInfo()
       Required. The model server configuration to get benchmarking data for. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The modelServerInfo.
    • getModelServerInfoOrBuilder

      ModelServerInfoOrBuilder getModelServerInfoOrBuilder()
       Required. The model server configuration to get benchmarking data for. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
    • getInstanceType

      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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find available instance types.
       
      string instance_type = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The instanceType.
    • getInstanceTypeBytes

      com.google.protobuf.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][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find available instance types.
       
      string instance_type = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for instanceType.
    • getPricingModel

      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:
      The pricingModel.
    • getPricingModelBytes

      com.google.protobuf.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:
      The bytes for pricingModel.