Interface GenerateOptimizedManifestRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateOptimizedManifestRequest,GenerateOptimizedManifestRequest.Builder
@Generated
public interface GenerateOptimizedManifestRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.Optional.Optional.Optional.Optional.booleanRequired.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasModelServerInfo
boolean hasModelServerInfo()Required. The model server configuration to generate the manifest 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 generate the manifest 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 generate the manifest 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]; -
getAcceleratorType
String getAcceleratorType()Required. The accelerator type. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid accelerators for a given `model_server_info`.
string accelerator_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The acceleratorType.
-
getAcceleratorTypeBytes
com.google.protobuf.ByteString getAcceleratorTypeBytes()Required. The accelerator type. Use [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles] to find valid accelerators for a given `model_server_info`.
string accelerator_type = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for acceleratorType.
-
getKubernetesNamespace
String getKubernetesNamespace()Optional. The kubernetes namespace to deploy the manifests in.
string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The kubernetesNamespace.
-
getKubernetesNamespaceBytes
com.google.protobuf.ByteString getKubernetesNamespaceBytes()Optional. The kubernetes namespace to deploy the manifests in.
string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for kubernetesNamespace.
-
hasPerformanceRequirements
boolean hasPerformanceRequirements()Optional. The performance requirements to use for generating Horizontal Pod Autoscaler (HPA) resources. If provided, the manifest includes HPA resources to adjust the model server replica count to maintain the specified targets (e.g., NTPOT, TTFT) at a P50 latency. Cost targets are not currently supported for HPA generation. If the specified targets are not achievable, the HPA manifest will not be generated.
.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the performanceRequirements field is set.
-
getPerformanceRequirements
PerformanceRequirements getPerformanceRequirements()Optional. The performance requirements to use for generating Horizontal Pod Autoscaler (HPA) resources. If provided, the manifest includes HPA resources to adjust the model server replica count to maintain the specified targets (e.g., NTPOT, TTFT) at a P50 latency. Cost targets are not currently supported for HPA generation. If the specified targets are not achievable, the HPA manifest will not be generated.
.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The performanceRequirements.
-
getPerformanceRequirementsOrBuilder
PerformanceRequirementsOrBuilder getPerformanceRequirementsOrBuilder()Optional. The performance requirements to use for generating Horizontal Pod Autoscaler (HPA) resources. If provided, the manifest includes HPA resources to adjust the model server replica count to maintain the specified targets (e.g., NTPOT, TTFT) at a P50 latency. Cost targets are not currently supported for HPA generation. If the specified targets are not achievable, the HPA manifest will not be generated.
.google.cloud.gkerecommender.v1.PerformanceRequirements performance_requirements = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasStorageConfig
boolean hasStorageConfig()Optional. The storage configuration for the model. If not provided, the model is loaded from Huggingface.
.google.cloud.gkerecommender.v1.StorageConfig storage_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the storageConfig field is set.
-
getStorageConfig
StorageConfig getStorageConfig()Optional. The storage configuration for the model. If not provided, the model is loaded from Huggingface.
.google.cloud.gkerecommender.v1.StorageConfig storage_config = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The storageConfig.
-
getStorageConfigOrBuilder
StorageConfigOrBuilder getStorageConfigOrBuilder()Optional. The storage configuration for the model. If not provided, the model is loaded from Huggingface.
.google.cloud.gkerecommender.v1.StorageConfig storage_config = 5 [(.google.api.field_behavior) = OPTIONAL];
-