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 configurations
 
Protobuf type google.cloud.aiplatform.v1.ReasoningEngineSpec
See Also:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDeploymentSourceCase

      public ReasoningEngineSpec.DeploymentSourceCase getDeploymentSourceCase()
      Specified by:
      getDeploymentSourceCase in interface ReasoningEngineSpecOrBuilder
    • 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:
      hasSourceCodeSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      Whether the sourceCodeSpec field is set.
    • getSourceCodeSpec

      public ReasoningEngineSpec.SourceCodeSpec getSourceCodeSpec()
       Deploy from source code files with a defined entrypoint.
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
      Specified by:
      getSourceCodeSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      The sourceCodeSpec.
    • getSourceCodeSpecOrBuilder

      public ReasoningEngineSpec.SourceCodeSpecOrBuilder getSourceCodeSpecOrBuilder()
       Deploy from source code files with a defined entrypoint.
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec source_code_spec = 11;
      Specified by:
      getSourceCodeSpecOrBuilder in interface ReasoningEngineSpecOrBuilder
    • 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:
      hasContainerSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      Whether the containerSpec field is set.
    • getContainerSpec

      public ReasoningEngineSpec.ContainerSpec getContainerSpec()
       Deploy from a container image with a defined entrypoint and commands.
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec container_spec = 15;
      Specified by:
      getContainerSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      The containerSpec.
    • getContainerSpecOrBuilder

      public ReasoningEngineSpec.ContainerSpecOrBuilder getContainerSpecOrBuilder()
       Deploy from a container image with a defined entrypoint and commands.
       
      .google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec container_spec = 15;
      Specified by:
      getContainerSpecOrBuilder in interface ReasoningEngineSpecOrBuilder
    • 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:
      hasServiceAccount in interface ReasoningEngineSpecOrBuilder
      Returns:
      Whether the serviceAccount field is set.
    • getServiceAccount

      public 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];
      Specified by:
      getServiceAccount in interface ReasoningEngineSpecOrBuilder
      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:
      getServiceAccountBytes in interface ReasoningEngineSpecOrBuilder
      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:
      hasPackageSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      Whether the packageSpec field is set.
    • getPackageSpec

      public 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];
      Specified by:
      getPackageSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      The packageSpec.
    • getPackageSpecOrBuilder

      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];
      Specified by:
      getPackageSpecOrBuilder in interface ReasoningEngineSpecOrBuilder
    • 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:
      hasDeploymentSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      Whether the deploymentSpec field is set.
    • getDeploymentSpec

      public 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];
      Specified by:
      getDeploymentSpec in interface ReasoningEngineSpecOrBuilder
      Returns:
      The deploymentSpec.
    • getDeploymentSpecOrBuilder

      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];
      Specified by:
      getDeploymentSpecOrBuilder in interface ReasoningEngineSpecOrBuilder
    • getClassMethodsList

      public 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];
      Specified by:
      getClassMethodsList in interface ReasoningEngineSpecOrBuilder
    • getClassMethodsOrBuilderList

      public 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];
      Specified by:
      getClassMethodsOrBuilderList in interface ReasoningEngineSpecOrBuilder
    • 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:
      getClassMethodsCount in interface ReasoningEngineSpecOrBuilder
    • 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:
      getClassMethods in interface ReasoningEngineSpecOrBuilder
    • 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:
      getClassMethodsOrBuilder in interface ReasoningEngineSpecOrBuilder
    • getAgentFramework

      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];
      Specified by:
      getAgentFramework in interface ReasoningEngineSpecOrBuilder
      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:
      getAgentFrameworkBytes in interface ReasoningEngineSpecOrBuilder
      Returns:
      The bytes for agentFramework.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ReasoningEngineSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ReasoningEngineSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ReasoningEngineSpec parseDelimitedFrom(InputStream input) throws IOException
      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

      public ReasoningEngineSpec.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ReasoningEngineSpec.Builder newBuilder()
    • newBuilder

      public static ReasoningEngineSpec.Builder newBuilder(ReasoningEngineSpec prototype)
    • toBuilder

      public ReasoningEngineSpec.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ReasoningEngineSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ReasoningEngineSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ReasoningEngineSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<ReasoningEngineSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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