Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionOptional.addAllSecretEnv(Iterable<? extends SecretEnvVar> values) Optional.Optional.addEnv(int index, EnvVar.Builder builderForValue) Optional.Optional.addEnv(EnvVar.Builder builderForValue) Optional.Optional.addEnvBuilder(int index) Optional.addSecretEnv(int index, SecretEnvVar value) Optional.addSecretEnv(int index, SecretEnvVar.Builder builderForValue) Optional.addSecretEnv(SecretEnvVar value) Optional.addSecretEnv(SecretEnvVar.Builder builderForValue) Optional.Optional.addSecretEnvBuilder(int index) Optional.build()clear()Optional.clearEnv()Optional.Optional.Optional.Optional.Optional.booleanOptional.intOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnv(int index) Optional.getEnvBuilder(int index) Optional.Optional.intOptional.Optional.getEnvOrBuilder(int index) Optional.List<? extends EnvVarOrBuilder>Optional.intOptional.intOptional.Deprecated.Optional.Optional.Optional.Deprecated.intOptional.Optional.getResourceLimitsOrDefault(String key, String defaultValue) Optional.Optional.getSecretEnv(int index) Optional.getSecretEnvBuilder(int index) Optional.Optional.intOptional.Optional.getSecretEnvOrBuilder(int index) Optional.List<? extends SecretEnvVarOrBuilder>Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.putAllResourceLimits(Map<String, String> values) Optional.putResourceLimits(String key, String value) Optional.removeEnv(int index) Optional.Optional.removeSecretEnv(int index) Optional.setContainerConcurrency(int value) Optional.Optional.setEnv(int index, EnvVar.Builder builderForValue) Optional.setMaxInstances(int value) Optional.setMinInstances(int value) Optional.Optional.setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue) Optional.setSecretEnv(int index, SecretEnvVar value) Optional.setSecretEnv(int index, SecretEnvVar.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>
-
mergeFrom
public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(ReasoningEngineSpec.DeploymentSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>- Throws:
IOException
-
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:
getEnvListin interfaceReasoningEngineSpec.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:
getEnvCountin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
getEnv
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:
getEnvin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
setEnv
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
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
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
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
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
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
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
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:
getEnvOrBuilderin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
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:
getEnvOrBuilderListin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
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
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
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
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:
getSecretEnvListin interfaceReasoningEngineSpec.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:
getSecretEnvCountin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
getSecretEnv
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:
getSecretEnvin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
setSecretEnv
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
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(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
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
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
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
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:
getSecretEnvOrBuilderin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
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:
getSecretEnvOrBuilderListin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
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
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
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:
hasPscInterfaceConfigin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder- Returns:
- Whether the pscInterfaceConfig field is set.
-
getPscInterfaceConfig
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder- Returns:
- The pscInterfaceConfig.
-
setPscInterfaceConfig
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
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearPscInterfaceConfig
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPscInterfaceConfigBuilder
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getPscInterfaceConfigOrBuilder
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPscInterfaceConfigOrBuilderin interfaceReasoningEngineSpec.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:
hasMinInstancesin interfaceReasoningEngineSpec.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:
getMinInstancesin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder- Returns:
- The minInstances.
-
setMinInstances
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
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:
hasMaxInstancesin interfaceReasoningEngineSpec.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:
getMaxInstancesin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder- Returns:
- The maxInstances.
-
setMaxInstances
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
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.DeploymentSpecOrBuilderOptional. 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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceLimitsCountin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
containsResourceLimits
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsResourceLimitsin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
getResourceLimits
Deprecated.UsegetResourceLimitsMap()instead.- Specified by:
getResourceLimitsin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceLimitsMapin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
getResourceLimitsOrDefault
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceLimitsOrDefaultin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
getResourceLimitsOrThrow
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResourceLimitsOrThrowin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder
-
clearResourceLimits
-
removeResourceLimits
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableResourceLimits
Deprecated.Use alternate mutation accessors instead. -
putResourceLimits
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-limitsmap<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL]; -
putAllResourceLimits
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-limitsmap<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:
hasContainerConcurrencyin interfaceReasoningEngineSpec.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:
getContainerConcurrencyin interfaceReasoningEngineSpec.DeploymentSpecOrBuilder- Returns:
- The containerConcurrency.
-
setContainerConcurrency
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
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.
-