Class ReasoningEngineSpec.DeploymentSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
com.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec.Builder
All Implemented Interfaces:
ReasoningEngineSpec.DeploymentSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReasoningEngineSpec.DeploymentSpec

public static final class ReasoningEngineSpec.DeploymentSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder> implements ReasoningEngineSpec.DeploymentSpecOrBuilder
 The specification of a Reasoning Engine deployment.
 
Protobuf type google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • getDefaultInstanceForType

      public ReasoningEngineSpec.DeploymentSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReasoningEngineSpec.DeploymentSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
    • mergeFrom

      public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
      Throws:
      IOException
    • getEnvList

      public 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];
      Specified by:
      getEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getEnvCount

      public 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];
      Specified by:
      getEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getEnv

      public 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];
      Specified by:
      getEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • setEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder setEnv(int index, EnvVar value)
       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];
    • setEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder setEnv(int index, EnvVar.Builder builderForValue)
       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];
    • addEnv

       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];
    • addEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(int index, EnvVar value)
       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];
    • addEnv

       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];
    • addEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(int index, EnvVar.Builder builderForValue)
       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];
    • addAllEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addAllEnv(Iterable<? extends EnvVar> values)
       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];
    • clearEnv

       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];
    • removeEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder removeEnv(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];
    • getEnvBuilder

      public EnvVar.Builder getEnvBuilder(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];
    • getEnvOrBuilder

      public 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];
      Specified by:
      getEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getEnvOrBuilderList

      public 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];
      Specified by:
      getEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • addEnvBuilder

      public EnvVar.Builder addEnvBuilder()
       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];
    • addEnvBuilder

      public EnvVar.Builder addEnvBuilder(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];
    • getEnvBuilderList

      public List<EnvVar.Builder> getEnvBuilderList()
       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

      public 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];
      Specified by:
      getSecretEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getSecretEnvCount

      public 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];
      Specified by:
      getSecretEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getSecretEnv

      public 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];
      Specified by:
      getSecretEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • setSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder setSecretEnv(int index, SecretEnvVar value)
       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];
    • setSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder setSecretEnv(int index, SecretEnvVar.Builder builderForValue)
       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];
    • addSecretEnv

       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];
    • addSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(int index, SecretEnvVar value)
       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];
    • addSecretEnv

       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];
    • addSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(int index, SecretEnvVar.Builder builderForValue)
       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];
    • addAllSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder addAllSecretEnv(Iterable<? extends SecretEnvVar> values)
       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];
    • clearSecretEnv

       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];
    • removeSecretEnv

      public ReasoningEngineSpec.DeploymentSpec.Builder removeSecretEnv(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];
    • getSecretEnvBuilder

      public SecretEnvVar.Builder getSecretEnvBuilder(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];
    • getSecretEnvOrBuilder

      public 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];
      Specified by:
      getSecretEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getSecretEnvOrBuilderList

      public 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];
      Specified by:
      getSecretEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • addSecretEnvBuilder

      public SecretEnvVar.Builder addSecretEnvBuilder()
       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];
    • addSecretEnvBuilder

      public SecretEnvVar.Builder addSecretEnvBuilder(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];
    • getSecretEnvBuilderList

      public List<SecretEnvVar.Builder> getSecretEnvBuilderList()
       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

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

      public PscInterfaceConfig getPscInterfaceConfig()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInterfaceConfig in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      The pscInterfaceConfig.
    • setPscInterfaceConfig

      public ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig value)
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setPscInterfaceConfig

      public ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergePscInterfaceConfig

      public ReasoningEngineSpec.DeploymentSpec.Builder mergePscInterfaceConfig(PscInterfaceConfig value)
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearPscInterfaceConfig

      public ReasoningEngineSpec.DeploymentSpec.Builder clearPscInterfaceConfig()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getPscInterfaceConfigBuilder

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

      public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
       Optional. Configuration for PSC-I.
       
      .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPscInterfaceConfigOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • hasMinInstances

      public 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];
      Specified by:
      hasMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      Whether the minInstances field is set.
    • getMinInstances

      public 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];
      Specified by:
      getMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      The minInstances.
    • setMinInstances

      public ReasoningEngineSpec.DeploymentSpec.Builder setMinInstances(int value)
       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];
      Parameters:
      value - The minInstances to set.
      Returns:
      This builder for chaining.
    • clearMinInstances

      public ReasoningEngineSpec.DeploymentSpec.Builder clearMinInstances()
       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:
      This builder for chaining.
    • hasMaxInstances

      public 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];
      Specified by:
      hasMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      Whether the maxInstances field is set.
    • getMaxInstances

      public 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];
      Specified by:
      getMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      The maxInstances.
    • setMaxInstances

      public ReasoningEngineSpec.DeploymentSpec.Builder setMaxInstances(int value)
       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];
      Parameters:
      value - The maxInstances to set.
      Returns:
      This builder for chaining.
    • clearMaxInstances

      public ReasoningEngineSpec.DeploymentSpec.Builder clearMaxInstances()
       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:
      This builder for chaining.
    • getResourceLimitsCount

      public int getResourceLimitsCount()
      Description copied from interface: ReasoningEngineSpec.DeploymentSpecOrBuilder
       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];
      Specified by:
      getResourceLimitsCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • containsResourceLimits

      public 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];
      Specified by:
      containsResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getResourceLimits

      @Deprecated public Map<String,String> getResourceLimits()
      Deprecated.
      Specified by:
      getResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getResourceLimitsMap

      public 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];
      Specified by:
      getResourceLimitsMap in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getResourceLimitsOrDefault

      public 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];
      Specified by:
      getResourceLimitsOrDefault in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • getResourceLimitsOrThrow

      public 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];
      Specified by:
      getResourceLimitsOrThrow in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
    • clearResourceLimits

      public ReasoningEngineSpec.DeploymentSpec.Builder clearResourceLimits()
    • removeResourceLimits

      public ReasoningEngineSpec.DeploymentSpec.Builder removeResourceLimits(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];
    • getMutableResourceLimits

      @Deprecated public Map<String,String> getMutableResourceLimits()
      Deprecated.
      Use alternate mutation accessors instead.
    • putResourceLimits

      public ReasoningEngineSpec.DeploymentSpec.Builder putResourceLimits(String key, String value)
       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];
    • putAllResourceLimits

      public ReasoningEngineSpec.DeploymentSpec.Builder putAllResourceLimits(Map<String,String> values)
       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

      public 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];
      Specified by:
      hasContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      Whether the containerConcurrency field is set.
    • getContainerConcurrency

      public 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];
      Specified by:
      getContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilder
      Returns:
      The containerConcurrency.
    • setContainerConcurrency

      public ReasoningEngineSpec.DeploymentSpec.Builder setContainerConcurrency(int value)
       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];
      Parameters:
      value - The containerConcurrency to set.
      Returns:
      This builder for chaining.
    • clearContainerConcurrency

      public ReasoningEngineSpec.DeploymentSpec.Builder clearContainerConcurrency()
       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:
      This builder for chaining.