Interface ReasoningEngineSpec.DeploymentSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReasoningEngineSpec.DeploymentSpec, ReasoningEngineSpec.DeploymentSpec.Builder
Enclosing class:
ReasoningEngineSpec

public static interface ReasoningEngineSpec.DeploymentSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEnvList

      List<EnvVar> getEnvList()
       Optional. Environment variables to be set with the Reasoning Engine
       deployment. The environment variables can be updated through the
       UpdateReasoningEngine API.
       
      repeated .google.cloud.aiplatform.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getEnv

      EnvVar getEnv(int index)
       Optional. Environment variables to be set with the Reasoning Engine
       deployment. The environment variables can be updated through the
       UpdateReasoningEngine API.
       
      repeated .google.cloud.aiplatform.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvCount

      int getEnvCount()
       Optional. Environment variables to be set with the Reasoning Engine
       deployment. The environment variables can be updated through the
       UpdateReasoningEngine API.
       
      repeated .google.cloud.aiplatform.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvOrBuilderList

      List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
       Optional. Environment variables to be set with the Reasoning Engine
       deployment. The environment variables can be updated through the
       UpdateReasoningEngine API.
       
      repeated .google.cloud.aiplatform.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getEnvOrBuilder

      EnvVarOrBuilder getEnvOrBuilder(int index)
       Optional. Environment variables to be set with the Reasoning Engine
       deployment. The environment variables can be updated through the
       UpdateReasoningEngine API.
       
      repeated .google.cloud.aiplatform.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSecretEnvList

      List<SecretEnvVar> getSecretEnvList()
       Optional. Environment variables where the value is a secret in Cloud
       Secret Manager.
       To use this feature, add 'Secret Manager Secret Accessor' role
       (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
       Service Agent.
       
      repeated .google.cloud.aiplatform.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSecretEnv

      SecretEnvVar getSecretEnv(int index)
       Optional. Environment variables where the value is a secret in Cloud
       Secret Manager.
       To use this feature, add 'Secret Manager Secret Accessor' role
       (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
       Service Agent.
       
      repeated .google.cloud.aiplatform.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSecretEnvCount

      int getSecretEnvCount()
       Optional. Environment variables where the value is a secret in Cloud
       Secret Manager.
       To use this feature, add 'Secret Manager Secret Accessor' role
       (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
       Service Agent.
       
      repeated .google.cloud.aiplatform.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSecretEnvOrBuilderList

      List<? extends SecretEnvVarOrBuilder> getSecretEnvOrBuilderList()
       Optional. Environment variables where the value is a secret in Cloud
       Secret Manager.
       To use this feature, add 'Secret Manager Secret Accessor' role
       (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
       Service Agent.
       
      repeated .google.cloud.aiplatform.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getSecretEnvOrBuilder

      SecretEnvVarOrBuilder getSecretEnvOrBuilder(int index)
       Optional. Environment variables where the value is a secret in Cloud
       Secret Manager.
       To use this feature, add 'Secret Manager Secret Accessor' role
       (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
       Service Agent.
       
      repeated .google.cloud.aiplatform.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
    • hasPscInterfaceConfig

      boolean hasPscInterfaceConfig()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the pscInterfaceConfig field is set.
    • getPscInterfaceConfig

      PscInterfaceConfig getPscInterfaceConfig()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The pscInterfaceConfig.
    • getPscInterfaceConfigOrBuilder

      PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasMinInstances

      boolean hasMinInstances()
       Optional. The minimum number of application instances that will be kept
       running at all times. Defaults to 1. Range: [0, 10].
       
      optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the minInstances field is set.
    • getMinInstances

      int getMinInstances()
       Optional. The minimum number of application instances that will be kept
       running at all times. Defaults to 1. Range: [0, 10].
       
      optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The minInstances.
    • hasMaxInstances

      boolean hasMaxInstances()
       Optional. The maximum number of application instances that can be
       launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
      
       If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
       
      optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the maxInstances field is set.
    • getMaxInstances

      int getMaxInstances()
       Optional. The maximum number of application instances that can be
       launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
      
       If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
       
      optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The maxInstances.
    • getResourceLimitsCount

      int getResourceLimitsCount()
       Optional. Resource limits for each container. Only 'cpu' and 'memory'
       keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
      
       * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
       more information, go to
       https://cloud.google.com/run/docs/configuring/cpu.
       * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
       * For required cpu on different memory values, go to
       https://cloud.google.com/run/docs/configuring/memory-limits
       
      map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
    • containsResourceLimits

      boolean containsResourceLimits(String key)
       Optional. Resource limits for each container. Only 'cpu' and 'memory'
       keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
      
       * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
       more information, go to
       https://cloud.google.com/run/docs/configuring/cpu.
       * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
       * For required cpu on different memory values, go to
       https://cloud.google.com/run/docs/configuring/memory-limits
       
      map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceLimits

      @Deprecated Map<String,String> getResourceLimits()
      Deprecated.
    • getResourceLimitsMap

      Map<String,String> getResourceLimitsMap()
       Optional. Resource limits for each container. Only 'cpu' and 'memory'
       keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
      
       * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
       more information, go to
       https://cloud.google.com/run/docs/configuring/cpu.
       * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
       * For required cpu on different memory values, go to
       https://cloud.google.com/run/docs/configuring/memory-limits
       
      map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceLimitsOrDefault

      String getResourceLimitsOrDefault(String key, String defaultValue)
       Optional. Resource limits for each container. Only 'cpu' and 'memory'
       keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
      
       * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
       more information, go to
       https://cloud.google.com/run/docs/configuring/cpu.
       * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
       * For required cpu on different memory values, go to
       https://cloud.google.com/run/docs/configuring/memory-limits
       
      map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceLimitsOrThrow

      String getResourceLimitsOrThrow(String key)
       Optional. Resource limits for each container. Only 'cpu' and 'memory'
       keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
      
       * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
       more information, go to
       https://cloud.google.com/run/docs/configuring/cpu.
       * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
       * For required cpu on different memory values, go to
       https://cloud.google.com/run/docs/configuring/memory-limits
       
      map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
    • hasContainerConcurrency

      boolean hasContainerConcurrency()
       Optional. Concurrency for each container and agent server. Recommended
       value: 2 * cpu + 1. Defaults to 9.
       
      optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the containerConcurrency field is set.
    • getContainerConcurrency

      int getContainerConcurrency()
       Optional. Concurrency for each container and agent server. Recommended
       value: 2 * cpu + 1. Defaults to 9.
       
      optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The containerConcurrency.