Class GenerateOptimizedManifestRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkerecommender.v1.GenerateOptimizedManifestRequest
All Implemented Interfaces:
GenerateOptimizedManifestRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GenerateOptimizedManifestRequest extends com.google.protobuf.GeneratedMessage implements GenerateOptimizedManifestRequestOrBuilder
 Request message for
 [GkeInferenceQuickstart.GenerateOptimizedManifest][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.GenerateOptimizedManifest].
 
Protobuf type google.cloud.gkerecommender.v1.GenerateOptimizedManifestRequest
See Also:
  • Field Details

    • MODEL_SERVER_INFO_FIELD_NUMBER

      public static final int MODEL_SERVER_INFO_FIELD_NUMBER
      See Also:
    • ACCELERATOR_TYPE_FIELD_NUMBER

      public static final int ACCELERATOR_TYPE_FIELD_NUMBER
      See Also:
    • KUBERNETES_NAMESPACE_FIELD_NUMBER

      public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER
      See Also:
    • PERFORMANCE_REQUIREMENTS_FIELD_NUMBER

      public static final int PERFORMANCE_REQUIREMENTS_FIELD_NUMBER
      See Also:
    • STORAGE_CONFIG_FIELD_NUMBER

      public static final int STORAGE_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasModelServerInfo

      public 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];
      Specified by:
      hasModelServerInfo in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      Whether the modelServerInfo field is set.
    • getModelServerInfo

      public 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];
      Specified by:
      getModelServerInfo in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The modelServerInfo.
    • getModelServerInfoOrBuilder

      public 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];
      Specified by:
      getModelServerInfoOrBuilder in interface GenerateOptimizedManifestRequestOrBuilder
    • getAcceleratorType

      public 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];
      Specified by:
      getAcceleratorType in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The acceleratorType.
    • getAcceleratorTypeBytes

      public 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];
      Specified by:
      getAcceleratorTypeBytes in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The bytes for acceleratorType.
    • getKubernetesNamespace

      public String getKubernetesNamespace()
       Optional. The kubernetes namespace to deploy the manifests in.
       
      string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKubernetesNamespace in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The kubernetesNamespace.
    • getKubernetesNamespaceBytes

      public com.google.protobuf.ByteString getKubernetesNamespaceBytes()
       Optional. The kubernetes namespace to deploy the manifests in.
       
      string kubernetes_namespace = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKubernetesNamespaceBytes in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The bytes for kubernetesNamespace.
    • hasPerformanceRequirements

      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];
      Specified by:
      hasPerformanceRequirements in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      Whether the performanceRequirements field is set.
    • getPerformanceRequirements

      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];
      Specified by:
      getPerformanceRequirements in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The performanceRequirements.
    • getPerformanceRequirementsOrBuilder

      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];
      Specified by:
      getPerformanceRequirementsOrBuilder in interface GenerateOptimizedManifestRequestOrBuilder
    • 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];
      Specified by:
      hasStorageConfig in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      Whether the storageConfig field is set.
    • 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];
      Specified by:
      getStorageConfig in interface GenerateOptimizedManifestRequestOrBuilder
      Returns:
      The storageConfig.
    • 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];
      Specified by:
      getStorageConfigOrBuilder in interface GenerateOptimizedManifestRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateOptimizedManifestRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateOptimizedManifestRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateOptimizedManifestRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GenerateOptimizedManifestRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GenerateOptimizedManifestRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenerateOptimizedManifestRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GenerateOptimizedManifestRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GenerateOptimizedManifestRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GenerateOptimizedManifestRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GenerateOptimizedManifestRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder