Class RuntimeConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.RuntimeConfig
All Implemented Interfaces:
RuntimeConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RuntimeConfig extends com.google.protobuf.GeneratedMessage implements RuntimeConfigOrBuilder
 Runtime configuration to run the extension.
 
Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig
See Also:
  • Field Details

    • CODE_INTERPRETER_RUNTIME_CONFIG_FIELD_NUMBER

      public static final int CODE_INTERPRETER_RUNTIME_CONFIG_FIELD_NUMBER
      See Also:
    • VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER

      public static final int VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER
      See Also:
    • DEFAULT_PARAMS_FIELD_NUMBER

      public static final int DEFAULT_PARAMS_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
    • getGoogleFirstPartyExtensionConfigCase

      public RuntimeConfig.GoogleFirstPartyExtensionConfigCase getGoogleFirstPartyExtensionConfigCase()
      Specified by:
      getGoogleFirstPartyExtensionConfigCase in interface RuntimeConfigOrBuilder
    • hasCodeInterpreterRuntimeConfig

      public boolean hasCodeInterpreterRuntimeConfig()
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
      Specified by:
      hasCodeInterpreterRuntimeConfig in interface RuntimeConfigOrBuilder
      Returns:
      Whether the codeInterpreterRuntimeConfig field is set.
    • getCodeInterpreterRuntimeConfig

      public RuntimeConfig.CodeInterpreterRuntimeConfig getCodeInterpreterRuntimeConfig()
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
      Specified by:
      getCodeInterpreterRuntimeConfig in interface RuntimeConfigOrBuilder
      Returns:
      The codeInterpreterRuntimeConfig.
    • getCodeInterpreterRuntimeConfigOrBuilder

      public RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder getCodeInterpreterRuntimeConfigOrBuilder()
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
      Specified by:
      getCodeInterpreterRuntimeConfigOrBuilder in interface RuntimeConfigOrBuilder
    • hasVertexAiSearchRuntimeConfig

      public boolean hasVertexAiSearchRuntimeConfig()
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
      Specified by:
      hasVertexAiSearchRuntimeConfig in interface RuntimeConfigOrBuilder
      Returns:
      Whether the vertexAiSearchRuntimeConfig field is set.
    • getVertexAiSearchRuntimeConfig

      public RuntimeConfig.VertexAISearchRuntimeConfig getVertexAiSearchRuntimeConfig()
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
      Specified by:
      getVertexAiSearchRuntimeConfig in interface RuntimeConfigOrBuilder
      Returns:
      The vertexAiSearchRuntimeConfig.
    • getVertexAiSearchRuntimeConfigOrBuilder

      public RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder getVertexAiSearchRuntimeConfigOrBuilder()
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
      Specified by:
      getVertexAiSearchRuntimeConfigOrBuilder in interface RuntimeConfigOrBuilder
    • hasDefaultParams

      public boolean hasDefaultParams()
       Optional. Default parameters that will be set for all the execution of this
       extension. If specified, the parameter values can be overridden by values
       in [[ExecuteExtensionRequest.operation_params]] at request time.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDefaultParams in interface RuntimeConfigOrBuilder
      Returns:
      Whether the defaultParams field is set.
    • getDefaultParams

      public com.google.protobuf.Struct getDefaultParams()
       Optional. Default parameters that will be set for all the execution of this
       extension. If specified, the parameter values can be overridden by values
       in [[ExecuteExtensionRequest.operation_params]] at request time.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultParams in interface RuntimeConfigOrBuilder
      Returns:
      The defaultParams.
    • getDefaultParamsOrBuilder

      public com.google.protobuf.StructOrBuilder getDefaultParamsOrBuilder()
       Optional. Default parameters that will be set for all the execution of this
       extension. If specified, the parameter values can be overridden by values
       in [[ExecuteExtensionRequest.operation_params]] at request time.
      
       The struct should be in a form of map with param name as the key and actual
       param value as the value.
       E.g. If this operation requires a param "name" to be set to "abc". you can
       set this to something like {"name": "abc"}.
       
      .google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultParamsOrBuilder in interface RuntimeConfigOrBuilder
    • 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 RuntimeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static RuntimeConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static RuntimeConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RuntimeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static RuntimeConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static RuntimeConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RuntimeConfig> 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 RuntimeConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder