Package com.google.cloud.aiplatform.v1
Class ReasoningEngineSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.ReasoningEngineSpec
- All Implemented Interfaces:
ReasoningEngineSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ReasoningEngineSpec
extends com.google.protobuf.GeneratedMessage
implements ReasoningEngineSpecOrBuilder
ReasoningEngine configurationsProtobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classReasoningEngine configurationsstatic final classSpecification for deploying from a container image.static interfacestatic enumstatic final classThe specification of a Reasoning Engine deployment.static interfacestatic final classUser-provided package specification, containing pickled object and package requirements.static interfacestatic final classSpecification for deploying from source code.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.StructgetClassMethods(int index) Optional.intOptional.List<com.google.protobuf.Struct>Optional.com.google.protobuf.StructOrBuildergetClassMethodsOrBuilder(int index) Optional.List<? extends com.google.protobuf.StructOrBuilder>Optional.Deploy from a container image with a defined entrypoint and commands.Deploy from a container image with a defined entrypoint and commands.static ReasoningEngineSpecOptional.Optional.static final com.google.protobuf.Descriptors.DescriptorOptional.Optional.com.google.protobuf.Parser<ReasoningEngineSpec>intOptional.com.google.protobuf.ByteStringOptional.Deploy from source code files with a defined entrypoint.Deploy from source code files with a defined entrypoint.booleanDeploy from a container image with a defined entrypoint and commands.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanDeploy from source code files with a defined entrypoint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ReasoningEngineSpec.Builderstatic ReasoningEngineSpec.BuildernewBuilder(ReasoningEngineSpec prototype) protected ReasoningEngineSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ReasoningEngineSpecparseDelimitedFrom(InputStream input) static ReasoningEngineSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReasoningEngineSpecparseFrom(byte[] data) static ReasoningEngineSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReasoningEngineSpecparseFrom(com.google.protobuf.ByteString data) static ReasoningEngineSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReasoningEngineSpecparseFrom(com.google.protobuf.CodedInputStream input) static ReasoningEngineSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReasoningEngineSpecparseFrom(InputStream input) static ReasoningEngineSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReasoningEngineSpecparseFrom(ByteBuffer data) static ReasoningEngineSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReasoningEngineSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SOURCE_CODE_SPEC_FIELD_NUMBER
public static final int SOURCE_CODE_SPEC_FIELD_NUMBER- See Also:
-
CONTAINER_SPEC_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
PACKAGE_SPEC_FIELD_NUMBER
public static final int PACKAGE_SPEC_FIELD_NUMBER- See Also:
-
DEPLOYMENT_SPEC_FIELD_NUMBER
public static final int DEPLOYMENT_SPEC_FIELD_NUMBER- See Also:
-
CLASS_METHODS_FIELD_NUMBER
public static final int CLASS_METHODS_FIELD_NUMBER- See Also:
-
AGENT_FRAMEWORK_FIELD_NUMBER
public static final int AGENT_FRAMEWORK_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDeploymentSourceCase
- Specified by:
getDeploymentSourceCasein interfaceReasoningEngineSpecOrBuilder
-
hasSourceCodeSpec
public boolean hasSourceCodeSpec()Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;- Specified by:
hasSourceCodeSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- Whether the sourceCodeSpec field is set.
-
getSourceCodeSpec
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;- Specified by:
getSourceCodeSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- The sourceCodeSpec.
-
getSourceCodeSpecOrBuilder
Deploy from source code files with a defined entrypoint.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;- Specified by:
getSourceCodeSpecOrBuilderin interfaceReasoningEngineSpecOrBuilder
-
hasContainerSpec
public boolean hasContainerSpec()Deploy from a container image with a defined entrypoint and commands.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec container_spec = 15;- Specified by:
hasContainerSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- Whether the containerSpec field is set.
-
getContainerSpec
Deploy from a container image with a defined entrypoint and commands.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec container_spec = 15;- Specified by:
getContainerSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- The containerSpec.
-
getContainerSpecOrBuilder
Deploy from a container image with a defined entrypoint and commands.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec container_spec = 15;- Specified by:
getContainerSpecOrBuilderin interfaceReasoningEngineSpecOrBuilder
-
hasServiceAccount
public 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];- Specified by:
hasServiceAccountin interfaceReasoningEngineSpecOrBuilder- Returns:
- Whether the serviceAccount field is set.
-
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];- Specified by:
getServiceAccountin interfaceReasoningEngineSpecOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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];- Specified by:
getServiceAccountBytesin interfaceReasoningEngineSpecOrBuilder- Returns:
- The bytes for serviceAccount.
-
hasPackageSpec
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];- Specified by:
hasPackageSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- Whether the packageSpec field is set.
-
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];- Specified by:
getPackageSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- The packageSpec.
-
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];- Specified by:
getPackageSpecOrBuilderin interfaceReasoningEngineSpecOrBuilder
-
hasDeploymentSpec
public boolean hasDeploymentSpec()Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDeploymentSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- Whether the deploymentSpec field is set.
-
getDeploymentSpec
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeploymentSpecin interfaceReasoningEngineSpecOrBuilder- Returns:
- The deploymentSpec.
-
getDeploymentSpecOrBuilder
Optional. The specification of a Reasoning Engine deployment.
.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec deployment_spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeploymentSpecOrBuilderin interfaceReasoningEngineSpecOrBuilder
-
getClassMethodsList
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClassMethodsListin interfaceReasoningEngineSpecOrBuilder
-
getClassMethodsOrBuilderList
Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClassMethodsOrBuilderListin interfaceReasoningEngineSpecOrBuilder
-
getClassMethodsCount
public int getClassMethodsCount()Optional. Declarations for object class methods in OpenAPI specification format.
repeated .google.protobuf.Struct class_methods = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClassMethodsCountin interfaceReasoningEngineSpecOrBuilder
-
getClassMethods
public 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];- Specified by:
getClassMethodsin interfaceReasoningEngineSpecOrBuilder
-
getClassMethodsOrBuilder
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];- Specified by:
getClassMethodsOrBuilderin interfaceReasoningEngineSpecOrBuilder
-
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];- Specified by:
getAgentFrameworkin interfaceReasoningEngineSpecOrBuilder- Returns:
- The agentFramework.
-
getAgentFrameworkBytes
public 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];- Specified by:
getAgentFrameworkBytesin interfaceReasoningEngineSpecOrBuilder- Returns:
- The bytes for agentFramework.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReasoningEngineSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReasoningEngineSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReasoningEngineSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReasoningEngineSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReasoningEngineSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReasoningEngineSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReasoningEngineSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReasoningEngineSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReasoningEngineSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReasoningEngineSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReasoningEngineSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-