public static final class ReasoningEngineSpec.DeploymentSpec extends com.google.protobuf.GeneratedMessage implements ReasoningEngineSpec.DeploymentSpecOrBuilder
The specification of a Reasoning Engine deployment.Protobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ReasoningEngineSpec.DeploymentSpec.Builder
The specification of a Reasoning Engine deployment.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_CONCURRENCY_FIELD_NUMBER |
static int |
ENV_FIELD_NUMBER |
static int |
MAX_INSTANCES_FIELD_NUMBER |
static int |
MIN_INSTANCES_FIELD_NUMBER |
static int |
PSC_INTERFACE_CONFIG_FIELD_NUMBER |
static int |
RESOURCE_LIMITS_FIELD_NUMBER |
static int |
SECRET_ENV_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENV_FIELD_NUMBER
public static final int SECRET_ENV_FIELD_NUMBER
public static final int PSC_INTERFACE_CONFIG_FIELD_NUMBER
public static final int MIN_INSTANCES_FIELD_NUMBER
public static final int MAX_INSTANCES_FIELD_NUMBER
public static final int RESOURCE_LIMITS_FIELD_NUMBER
public static final int CONTAINER_CONCURRENCY_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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];
getEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getSecretEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getSecretEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getSecretEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getSecretEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getSecretEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic boolean hasPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPscInterfaceConfig in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic PscInterfaceConfig getPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfig in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];hasMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];getMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];hasMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];getMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic int getResourceLimitsCount()
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];
getResourceLimitsCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
containsResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilder@Deprecated public Map<String,String> getResourceLimits()
getResourceLimitsMap() instead.getResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getResourceLimitsMap in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getResourceLimitsOrDefault in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getResourceLimitsOrThrow in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
hasContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReasoningEngineSpec.DeploymentSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReasoningEngineSpec.DeploymentSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReasoningEngineSpec.DeploymentSpec.Builder newBuilder()
public static ReasoningEngineSpec.DeploymentSpec.Builder newBuilder(ReasoningEngineSpec.DeploymentSpec prototype)
public ReasoningEngineSpec.DeploymentSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReasoningEngineSpec.DeploymentSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static ReasoningEngineSpec.DeploymentSpec getDefaultInstance()
public static com.google.protobuf.Parser<ReasoningEngineSpec.DeploymentSpec> parser()
public com.google.protobuf.Parser<ReasoningEngineSpec.DeploymentSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic ReasoningEngineSpec.DeploymentSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.