Class GenerateOptimizedManifestRequest (0.1.0)
public final class GenerateOptimizedManifestRequest extends GeneratedMessageV3 implements GenerateOptimizedManifestRequestOrBuilder
Request message for
GkeInferenceQuickstart.GenerateOptimizedManifest.
Protobuf type google.cloud.gkerecommender.v1.GenerateOptimizedManifestRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCELERATOR_TYPE_FIELD_NUMBER
public static final int ACCELERATOR_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KUBERNETES_NAMESPACE_FIELD_NUMBER
public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MODEL_SERVER_INFO_FIELD_NUMBER
public static final int MODEL_SERVER_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STORAGE_CONFIG_FIELD_NUMBER
public static final int STORAGE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateOptimizedManifestRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateOptimizedManifestRequest.Builder newBuilder()
newBuilder(GenerateOptimizedManifestRequest prototype)
public static GenerateOptimizedManifestRequest.Builder newBuilder(GenerateOptimizedManifestRequest prototype)
public static GenerateOptimizedManifestRequest parseDelimitedFrom(InputStream input)
public static GenerateOptimizedManifestRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateOptimizedManifestRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateOptimizedManifestRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateOptimizedManifestRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateOptimizedManifestRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateOptimizedManifestRequest parseFrom(CodedInputStream input)
public static GenerateOptimizedManifestRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateOptimizedManifestRequest parseFrom(InputStream input)
public static GenerateOptimizedManifestRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateOptimizedManifestRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateOptimizedManifestRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateOptimizedManifestRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAcceleratorType()
public String getAcceleratorType()
Required. The accelerator type. Use
GkeInferenceQuickstart.FetchProfiles
to find valid accelerators for a given model_server_info.
string accelerator_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The acceleratorType.
|
getAcceleratorTypeBytes()
public ByteString getAcceleratorTypeBytes()
Required. The accelerator type. Use
GkeInferenceQuickstart.FetchProfiles
to find valid accelerators for a given model_server_info.
string accelerator_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for acceleratorType.
|
getDefaultInstanceForType()
public GenerateOptimizedManifestRequest getDefaultInstanceForType()
getKubernetesNamespace()
public String getKubernetesNamespace()
Optional. The kubernetes namespace to deploy the manifests in.
string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The kubernetesNamespace.
|
getKubernetesNamespaceBytes()
public ByteString getKubernetesNamespaceBytes()
Optional. The kubernetes namespace to deploy the manifests in.
string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for kubernetesNamespace.
|
getModelServerInfo()
public ModelServerInfo getModelServerInfo()
Required. The model server configuration to generate the manifest for. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
getModelServerInfoOrBuilder()
public ModelServerInfoOrBuilder getModelServerInfoOrBuilder()
Required. The model server configuration to generate the manifest for. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<GenerateOptimizedManifestRequest> getParserForType()
Overrides
public 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];
public 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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStorageConfig()
public 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];
getStorageConfigOrBuilder()
public 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];
hasModelServerInfo()
public boolean hasModelServerInfo()
Required. The model server configuration to generate the manifest 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.
|
public 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 |
| Type |
Description |
boolean |
Whether the performanceRequirements field is set.
|
hasStorageConfig()
public 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 |
| Type |
Description |
boolean |
Whether the storageConfig field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateOptimizedManifestRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateOptimizedManifestRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateOptimizedManifestRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]