Class RuntimeConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RuntimeConfig.Builder>
com.google.cloud.aiplatform.v1beta1.RuntimeConfig.Builder
All Implemented Interfaces:
RuntimeConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RuntimeConfig

public static final class RuntimeConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilder
 Runtime configuration to run the extension.
 
Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig
  • 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.Builder<RuntimeConfig.Builder>
    • clear

      public RuntimeConfig.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RuntimeConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RuntimeConfig.Builder>
    • getDefaultInstanceForType

      public RuntimeConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public RuntimeConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeConfig.Builder>
    • mergeFrom

      public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RuntimeConfig.Builder>
    • mergeFrom

      public RuntimeConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeConfig.Builder>
      Throws:
      IOException
    • getGoogleFirstPartyExtensionConfigCase

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

      public RuntimeConfig.Builder clearGoogleFirstPartyExtensionConfig()
    • 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.
    • setCodeInterpreterRuntimeConfig

      public RuntimeConfig.Builder setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
    • setCodeInterpreterRuntimeConfig

      public RuntimeConfig.Builder setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig.Builder builderForValue)
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
    • mergeCodeInterpreterRuntimeConfig

      public RuntimeConfig.Builder mergeCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
    • clearCodeInterpreterRuntimeConfig

      public RuntimeConfig.Builder clearCodeInterpreterRuntimeConfig()
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
    • getCodeInterpreterRuntimeConfigBuilder

      public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder getCodeInterpreterRuntimeConfigBuilder()
       Code execution runtime configurations for code interpreter extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
    • 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.
    • setVertexAiSearchRuntimeConfig

      public RuntimeConfig.Builder setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
    • setVertexAiSearchRuntimeConfig

      public RuntimeConfig.Builder setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig.Builder builderForValue)
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
    • mergeVertexAiSearchRuntimeConfig

      public RuntimeConfig.Builder mergeVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
    • clearVertexAiSearchRuntimeConfig

      public RuntimeConfig.Builder clearVertexAiSearchRuntimeConfig()
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
    • getVertexAiSearchRuntimeConfigBuilder

      public RuntimeConfig.VertexAISearchRuntimeConfig.Builder getVertexAiSearchRuntimeConfigBuilder()
       Runtime configuration for Vertex AI Search extension.
       
      .google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
    • 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.
    • setDefaultParams

      public RuntimeConfig.Builder setDefaultParams(com.google.protobuf.Struct value)
       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];
    • setDefaultParams

      public RuntimeConfig.Builder setDefaultParams(com.google.protobuf.Struct.Builder builderForValue)
       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];
    • mergeDefaultParams

      public RuntimeConfig.Builder mergeDefaultParams(com.google.protobuf.Struct value)
       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];
    • clearDefaultParams

      public RuntimeConfig.Builder clearDefaultParams()
       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];
    • getDefaultParamsBuilder

      public com.google.protobuf.Struct.Builder getDefaultParamsBuilder()
       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];
    • 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