public static final class ReasoningEngineSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.Builder> implements ReasoningEngineSpecOrBuilder
ReasoningEngine configurationsProtobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpecaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.Builder>public ReasoningEngineSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.Builder>public ReasoningEngineSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReasoningEngineSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.Builder>public ReasoningEngineSpec.Builder mergeFrom(ReasoningEngineSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.Builder>public ReasoningEngineSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.Builder>IOExceptionpublic ReasoningEngineSpec.DeploymentSourceCase getDeploymentSourceCase()
getDeploymentSourceCase in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder clearDeploymentSource()
public boolean hasSourceCodeSpec()
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
hasSourceCodeSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec()
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
getSourceCodeSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setSourceCodeSpec(ReasoningEngineSpec.SourceCodeSpec value)
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
public ReasoningEngineSpec.Builder setSourceCodeSpec(ReasoningEngineSpec.SourceCodeSpec.Builder builderForValue)
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
public ReasoningEngineSpec.Builder mergeSourceCodeSpec(ReasoningEngineSpec.SourceCodeSpec value)
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
public ReasoningEngineSpec.Builder clearSourceCodeSpec()
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
public ReasoningEngineSpec.SourceCodeSpec.Builder getSourceCodeSpecBuilder()
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
public ReasoningEngineSpec.SourceCodeSpecOrBuilder getSourceCodeSpecOrBuilder()
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
getSourceCodeSpecOrBuilder in interface ReasoningEngineSpecOrBuilderpublic boolean hasServiceAccount()
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];hasServiceAccount in interface ReasoningEngineSpecOrBuilderpublic String getServiceAccount()
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];getServiceAccount in interface ReasoningEngineSpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];getServiceAccountBytes in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setServiceAccount(String value)
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];value - The serviceAccount to set.public ReasoningEngineSpec.Builder clearServiceAccount()
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.
optional string service_account = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for serviceAccount to set.public boolean hasPackageSpec()
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
hasPackageSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.PackageSpec getPackageSpec()
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getPackageSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setPackageSpec(ReasoningEngineSpec.PackageSpec value)
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder setPackageSpec(ReasoningEngineSpec.PackageSpec.Builder builderForValue)
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder mergePackageSpec(ReasoningEngineSpec.PackageSpec value)
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder clearPackageSpec()
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.PackageSpec.Builder getPackageSpecBuilder()
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.PackageSpecOrBuilder getPackageSpecOrBuilder()
Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec package_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getPackageSpecOrBuilder in interface ReasoningEngineSpecOrBuilderpublic boolean hasDeploymentSpec()
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
hasDeploymentSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.DeploymentSpec getDeploymentSpec()
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
getDeploymentSpec in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setDeploymentSpec(ReasoningEngineSpec.DeploymentSpec value)
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder setDeploymentSpec(ReasoningEngineSpec.DeploymentSpec.Builder builderForValue)
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder mergeDeploymentSpec(ReasoningEngineSpec.DeploymentSpec value)
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder clearDeploymentSpec()
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.DeploymentSpec.Builder getDeploymentSpecBuilder()
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.DeploymentSpecOrBuilder getDeploymentSpecOrBuilder()
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
getDeploymentSpecOrBuilder in interface ReasoningEngineSpecOrBuilderpublic List<com.google.protobuf.Struct> getClassMethodsList()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
getClassMethodsList in interface ReasoningEngineSpecOrBuilderpublic int getClassMethodsCount()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
getClassMethodsCount in interface ReasoningEngineSpecOrBuilderpublic com.google.protobuf.Struct getClassMethods(int index)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
getClassMethods in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setClassMethods(int index, com.google.protobuf.Struct value)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder setClassMethods(int index, com.google.protobuf.Struct.Builder builderForValue)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder addClassMethods(com.google.protobuf.Struct value)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder addClassMethods(int index, com.google.protobuf.Struct value)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder addClassMethods(com.google.protobuf.Struct.Builder builderForValue)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder addClassMethods(int index, com.google.protobuf.Struct.Builder builderForValue)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder addAllClassMethods(Iterable<? extends com.google.protobuf.Struct> values)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder clearClassMethods()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.Builder removeClassMethods(int index)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder getClassMethodsBuilder(int index)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.StructOrBuilder getClassMethodsOrBuilder(int index)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
getClassMethodsOrBuilder in interface ReasoningEngineSpecOrBuilderpublic List<? extends com.google.protobuf.StructOrBuilder> getClassMethodsOrBuilderList()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
getClassMethodsOrBuilderList in interface ReasoningEngineSpecOrBuilderpublic com.google.protobuf.Struct.Builder addClassMethodsBuilder()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder addClassMethodsBuilder(int index)
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public List<com.google.protobuf.Struct.Builder> getClassMethodsBuilderList()
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getAgentFramework()
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
string agent_framework = 5 [(.google.api.field_behavior) = OPTIONAL];getAgentFramework in interface ReasoningEngineSpecOrBuilderpublic com.google.protobuf.ByteString getAgentFrameworkBytes()
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
string agent_framework = 5 [(.google.api.field_behavior) = OPTIONAL];getAgentFrameworkBytes in interface ReasoningEngineSpecOrBuilderpublic ReasoningEngineSpec.Builder setAgentFramework(String value)
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
string agent_framework = 5 [(.google.api.field_behavior) = OPTIONAL];value - The agentFramework to set.public ReasoningEngineSpec.Builder clearAgentFramework()
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
string agent_framework = 5 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.Builder setAgentFrameworkBytes(com.google.protobuf.ByteString value)
Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom".
string agent_framework = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for agentFramework to set.Copyright © 2026 Google LLC. All rights reserved.