Class NotebookRuntimeTemplate.Builder

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

public static final class NotebookRuntimeTemplate.Builder extends com.google.protobuf.GeneratedMessage.Builder<NotebookRuntimeTemplate.Builder> implements NotebookRuntimeTemplateOrBuilder
 A template that specifies runtime configurations such as machine type,
 runtime version, network configurations, etc.
 Multiple runtimes can be created from a runtime template.
 
Protobuf type google.cloud.aiplatform.v1.NotebookRuntimeTemplate
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NotebookRuntimeTemplate.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NotebookRuntimeTemplate.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NotebookRuntimeTemplate.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<NotebookRuntimeTemplate.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<NotebookRuntimeTemplate.Builder>
    • getDefaultInstanceForType

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

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

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

      public NotebookRuntimeTemplate.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<NotebookRuntimeTemplate.Builder>
    • mergeFrom

    • isInitialized

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

      public NotebookRuntimeTemplate.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<NotebookRuntimeTemplate.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The resource name of the NotebookRuntimeTemplate.
       
      string name = 1;
      Specified by:
      getName in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the NotebookRuntimeTemplate.
       
      string name = 1;
      Specified by:
      getNameBytes in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The bytes for name.
    • setName

      public NotebookRuntimeTemplate.Builder setName(String value)
       The resource name of the NotebookRuntimeTemplate.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public NotebookRuntimeTemplate.Builder clearName()
       The resource name of the NotebookRuntimeTemplate.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public NotebookRuntimeTemplate.Builder setNameBytes(com.google.protobuf.ByteString value)
       The resource name of the NotebookRuntimeTemplate.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the NotebookRuntimeTemplate.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the NotebookRuntimeTemplate.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public NotebookRuntimeTemplate.Builder setDisplayName(String value)
       Required. The display name of the NotebookRuntimeTemplate.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public NotebookRuntimeTemplate.Builder clearDisplayName()
       Required. The display name of the NotebookRuntimeTemplate.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public NotebookRuntimeTemplate.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the NotebookRuntimeTemplate.
       The name can be up to 128 characters long and can consist of any UTF-8
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       The description of the NotebookRuntimeTemplate.
       
      string description = 3;
      Specified by:
      getDescription in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the NotebookRuntimeTemplate.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public NotebookRuntimeTemplate.Builder setDescription(String value)
       The description of the NotebookRuntimeTemplate.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public NotebookRuntimeTemplate.Builder clearDescription()
       The description of the NotebookRuntimeTemplate.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public NotebookRuntimeTemplate.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The description of the NotebookRuntimeTemplate.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getIsDefault

      @Deprecated public boolean getIsDefault()
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.is_default is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=74
       Output only. Deprecated: This field has no behavior. Use
       notebook_runtime_type = 'ONE_CLICK' instead.
      
       The default template to use if not specified.
       
      bool is_default = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsDefault in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The isDefault.
    • setIsDefault

      @Deprecated public NotebookRuntimeTemplate.Builder setIsDefault(boolean value)
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.is_default is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=74
       Output only. Deprecated: This field has no behavior. Use
       notebook_runtime_type = 'ONE_CLICK' instead.
      
       The default template to use if not specified.
       
      bool is_default = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isDefault to set.
      Returns:
      This builder for chaining.
    • clearIsDefault

      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.is_default is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=74
       Output only. Deprecated: This field has no behavior. Use
       notebook_runtime_type = 'ONE_CLICK' instead.
      
       The default template to use if not specified.
       
      bool is_default = 4 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasMachineSpec

      public boolean hasMachineSpec()
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasMachineSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the machineSpec field is set.
    • getMachineSpec

      public MachineSpec getMachineSpec()
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getMachineSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The machineSpec.
    • setMachineSpec

      public NotebookRuntimeTemplate.Builder setMachineSpec(MachineSpec value)
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • setMachineSpec

      public NotebookRuntimeTemplate.Builder setMachineSpec(MachineSpec.Builder builderForValue)
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • mergeMachineSpec

      public NotebookRuntimeTemplate.Builder mergeMachineSpec(MachineSpec value)
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • clearMachineSpec

      public NotebookRuntimeTemplate.Builder clearMachineSpec()
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getMachineSpecBuilder

      public MachineSpec.Builder getMachineSpecBuilder()
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getMachineSpecOrBuilder

      public MachineSpecOrBuilder getMachineSpecOrBuilder()
       Optional. Immutable. The specification of a single machine for the
       template.
       
      .google.cloud.aiplatform.v1.MachineSpec machine_spec = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getMachineSpecOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasDataPersistentDiskSpec

      public boolean hasDataPersistentDiskSpec()
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDataPersistentDiskSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the dataPersistentDiskSpec field is set.
    • getDataPersistentDiskSpec

      public PersistentDiskSpec getDataPersistentDiskSpec()
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataPersistentDiskSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The dataPersistentDiskSpec.
    • setDataPersistentDiskSpec

      public NotebookRuntimeTemplate.Builder setDataPersistentDiskSpec(PersistentDiskSpec value)
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setDataPersistentDiskSpec

      public NotebookRuntimeTemplate.Builder setDataPersistentDiskSpec(PersistentDiskSpec.Builder builderForValue)
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDataPersistentDiskSpec

      public NotebookRuntimeTemplate.Builder mergeDataPersistentDiskSpec(PersistentDiskSpec value)
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearDataPersistentDiskSpec

      public NotebookRuntimeTemplate.Builder clearDataPersistentDiskSpec()
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getDataPersistentDiskSpecBuilder

      public PersistentDiskSpec.Builder getDataPersistentDiskSpecBuilder()
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getDataPersistentDiskSpecOrBuilder

      public PersistentDiskSpecOrBuilder getDataPersistentDiskSpecOrBuilder()
       Optional. The specification of [persistent
       disk][https://cloud.google.com/compute/docs/disks/persistent-disks]
       attached to the runtime as data disk storage.
       
      .google.cloud.aiplatform.v1.PersistentDiskSpec data_persistent_disk_spec = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDataPersistentDiskSpecOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasNetworkSpec

      public boolean hasNetworkSpec()
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasNetworkSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the networkSpec field is set.
    • getNetworkSpec

      public NetworkSpec getNetworkSpec()
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The networkSpec.
    • setNetworkSpec

      public NotebookRuntimeTemplate.Builder setNetworkSpec(NetworkSpec value)
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setNetworkSpec

      public NotebookRuntimeTemplate.Builder setNetworkSpec(NetworkSpec.Builder builderForValue)
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeNetworkSpec

      public NotebookRuntimeTemplate.Builder mergeNetworkSpec(NetworkSpec value)
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearNetworkSpec

      public NotebookRuntimeTemplate.Builder clearNetworkSpec()
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getNetworkSpecBuilder

      public NetworkSpec.Builder getNetworkSpecBuilder()
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getNetworkSpecOrBuilder

      public NetworkSpecOrBuilder getNetworkSpecOrBuilder()
       Optional. Network spec.
       
      .google.cloud.aiplatform.v1.NetworkSpec network_spec = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkSpecOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • getServiceAccount

      @Deprecated public String getServiceAccount()
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.service_account is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=109
       Deprecated: This field is ignored and the "Vertex AI Notebook Service
       Account"
       (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
       used for the runtime workload identity.
       See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
       for more details.
       For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
      
       The service account that the runtime workload runs as.
       You can use any service account within the same project, but you
       must have the service account user permission to use the instance.
      
       If not specified, the [Compute Engine default service
       account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
       is used.
       
      string service_account = 13 [deprecated = true];
      Specified by:
      getServiceAccount in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      @Deprecated public com.google.protobuf.ByteString getServiceAccountBytes()
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.service_account is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=109
       Deprecated: This field is ignored and the "Vertex AI Notebook Service
       Account"
       (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
       used for the runtime workload identity.
       See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
       for more details.
       For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
      
       The service account that the runtime workload runs as.
       You can use any service account within the same project, but you
       must have the service account user permission to use the instance.
      
       If not specified, the [Compute Engine default service
       account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
       is used.
       
      string service_account = 13 [deprecated = true];
      Specified by:
      getServiceAccountBytes in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      @Deprecated public NotebookRuntimeTemplate.Builder setServiceAccount(String value)
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.service_account is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=109
       Deprecated: This field is ignored and the "Vertex AI Notebook Service
       Account"
       (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
       used for the runtime workload identity.
       See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
       for more details.
       For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
      
       The service account that the runtime workload runs as.
       You can use any service account within the same project, but you
       must have the service account user permission to use the instance.
      
       If not specified, the [Compute Engine default service
       account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
       is used.
       
      string service_account = 13 [deprecated = true];
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      @Deprecated public NotebookRuntimeTemplate.Builder clearServiceAccount()
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.service_account is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=109
       Deprecated: This field is ignored and the "Vertex AI Notebook Service
       Account"
       (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
       used for the runtime workload identity.
       See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
       for more details.
       For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
      
       The service account that the runtime workload runs as.
       You can use any service account within the same project, but you
       must have the service account user permission to use the instance.
      
       If not specified, the [Compute Engine default service
       account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
       is used.
       
      string service_account = 13 [deprecated = true];
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      @Deprecated public NotebookRuntimeTemplate.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.aiplatform.v1.NotebookRuntimeTemplate.service_account is deprecated. See google/cloud/aiplatform/v1/notebook_runtime.proto;l=109
       Deprecated: This field is ignored and the "Vertex AI Notebook Service
       Account"
       (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is
       used for the runtime workload identity.
       See
       https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
       for more details.
       For NotebookExecutionJob, use NotebookExecutionJob.service_account instead.
      
       The service account that the runtime workload runs as.
       You can use any service account within the same project, but you
       must have the service account user permission to use the instance.
      
       If not specified, the [Compute Engine default service
       account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account)
       is used.
       
      string service_account = 13 [deprecated = true];
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 14;
      Specified by:
      getEtag in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 14;
      Specified by:
      getEtagBytes in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public NotebookRuntimeTemplate.Builder setEtag(String value)
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 14;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public NotebookRuntimeTemplate.Builder clearEtag()
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 14;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public NotebookRuntimeTemplate.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Used to perform consistent read-modify-write updates. If not set, a blind
       "overwrite" update happens.
       
      string etag = 14;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: NotebookRuntimeTemplateOrBuilder
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
      Specified by:
      getLabelsCount in interface NotebookRuntimeTemplateOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
      Specified by:
      containsLabels in interface NotebookRuntimeTemplateOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface NotebookRuntimeTemplateOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
      Specified by:
      getLabelsMap in interface NotebookRuntimeTemplateOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
      Specified by:
      getLabelsOrDefault in interface NotebookRuntimeTemplateOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
      Specified by:
      getLabelsOrThrow in interface NotebookRuntimeTemplateOrBuilder
    • clearLabels

      public NotebookRuntimeTemplate.Builder clearLabels()
    • removeLabels

      public NotebookRuntimeTemplate.Builder removeLabels(String key)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public NotebookRuntimeTemplate.Builder putLabels(String key, String value)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
    • putAllLabels

      public NotebookRuntimeTemplate.Builder putAllLabels(Map<String,String> values)
       The labels with user-defined metadata to organize the
       NotebookRuntimeTemplates.
      
       Label keys and values can be no longer than 64 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
      
       See https://goo.gl/xmQnxf for more information and examples of labels.
       
      map<string, string> labels = 15;
    • hasIdleShutdownConfig

      public boolean hasIdleShutdownConfig()
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
      Specified by:
      hasIdleShutdownConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the idleShutdownConfig field is set.
    • getIdleShutdownConfig

      public NotebookIdleShutdownConfig getIdleShutdownConfig()
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
      Specified by:
      getIdleShutdownConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The idleShutdownConfig.
    • setIdleShutdownConfig

      public NotebookRuntimeTemplate.Builder setIdleShutdownConfig(NotebookIdleShutdownConfig value)
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
    • setIdleShutdownConfig

      public NotebookRuntimeTemplate.Builder setIdleShutdownConfig(NotebookIdleShutdownConfig.Builder builderForValue)
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
    • mergeIdleShutdownConfig

      public NotebookRuntimeTemplate.Builder mergeIdleShutdownConfig(NotebookIdleShutdownConfig value)
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
    • clearIdleShutdownConfig

      public NotebookRuntimeTemplate.Builder clearIdleShutdownConfig()
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
    • getIdleShutdownConfigBuilder

      public NotebookIdleShutdownConfig.Builder getIdleShutdownConfigBuilder()
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
    • getIdleShutdownConfigOrBuilder

      public NotebookIdleShutdownConfigOrBuilder getIdleShutdownConfigOrBuilder()
       The idle shutdown configuration of NotebookRuntimeTemplate. This config
       will only be set when idle shutdown is enabled.
       
      .google.cloud.aiplatform.v1.NotebookIdleShutdownConfig idle_shutdown_config = 17;
      Specified by:
      getIdleShutdownConfigOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasEucConfig

      public boolean hasEucConfig()
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
      Specified by:
      hasEucConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the eucConfig field is set.
    • getEucConfig

      public NotebookEucConfig getEucConfig()
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
      Specified by:
      getEucConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The eucConfig.
    • setEucConfig

       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
    • setEucConfig

      public NotebookRuntimeTemplate.Builder setEucConfig(NotebookEucConfig.Builder builderForValue)
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
    • mergeEucConfig

      public NotebookRuntimeTemplate.Builder mergeEucConfig(NotebookEucConfig value)
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
    • clearEucConfig

      public NotebookRuntimeTemplate.Builder clearEucConfig()
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
    • getEucConfigBuilder

      public NotebookEucConfig.Builder getEucConfigBuilder()
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
    • getEucConfigOrBuilder

      public NotebookEucConfigOrBuilder getEucConfigOrBuilder()
       EUC configuration of the NotebookRuntimeTemplate.
       
      .google.cloud.aiplatform.v1.NotebookEucConfig euc_config = 18;
      Specified by:
      getEucConfigOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public NotebookRuntimeTemplate.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public NotebookRuntimeTemplate.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public NotebookRuntimeTemplate.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public NotebookRuntimeTemplate.Builder clearCreateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this NotebookRuntimeTemplate was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public NotebookRuntimeTemplate.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public NotebookRuntimeTemplate.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public NotebookRuntimeTemplate.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public NotebookRuntimeTemplate.Builder clearUpdateTime()
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this NotebookRuntimeTemplate was most recently
       updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • getNotebookRuntimeTypeValue

      public int getNotebookRuntimeTypeValue()
       Optional. Immutable. The type of the notebook runtime template.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeType notebook_runtime_type = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNotebookRuntimeTypeValue in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The enum numeric value on the wire for notebookRuntimeType.
    • setNotebookRuntimeTypeValue

      public NotebookRuntimeTemplate.Builder setNotebookRuntimeTypeValue(int value)
       Optional. Immutable. The type of the notebook runtime template.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeType notebook_runtime_type = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for notebookRuntimeType to set.
      Returns:
      This builder for chaining.
    • getNotebookRuntimeType

      public NotebookRuntimeType getNotebookRuntimeType()
       Optional. Immutable. The type of the notebook runtime template.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeType notebook_runtime_type = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNotebookRuntimeType in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The notebookRuntimeType.
    • setNotebookRuntimeType

      public NotebookRuntimeTemplate.Builder setNotebookRuntimeType(NotebookRuntimeType value)
       Optional. Immutable. The type of the notebook runtime template.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeType notebook_runtime_type = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The notebookRuntimeType to set.
      Returns:
      This builder for chaining.
    • clearNotebookRuntimeType

      public NotebookRuntimeTemplate.Builder clearNotebookRuntimeType()
       Optional. Immutable. The type of the notebook runtime template.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeType notebook_runtime_type = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • hasShieldedVmConfig

      public boolean hasShieldedVmConfig()
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasShieldedVmConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the shieldedVmConfig field is set.
    • getShieldedVmConfig

      public ShieldedVmConfig getShieldedVmConfig()
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getShieldedVmConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The shieldedVmConfig.
    • setShieldedVmConfig

      public NotebookRuntimeTemplate.Builder setShieldedVmConfig(ShieldedVmConfig value)
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • setShieldedVmConfig

      public NotebookRuntimeTemplate.Builder setShieldedVmConfig(ShieldedVmConfig.Builder builderForValue)
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • mergeShieldedVmConfig

      public NotebookRuntimeTemplate.Builder mergeShieldedVmConfig(ShieldedVmConfig value)
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • clearShieldedVmConfig

      public NotebookRuntimeTemplate.Builder clearShieldedVmConfig()
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getShieldedVmConfigBuilder

      public ShieldedVmConfig.Builder getShieldedVmConfigBuilder()
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • getShieldedVmConfigOrBuilder

      public ShieldedVmConfigOrBuilder getShieldedVmConfigOrBuilder()
       Optional. Immutable. Runtime Shielded VM spec.
       
      .google.cloud.aiplatform.v1.ShieldedVmConfig shielded_vm_config = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getShieldedVmConfigOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • getNetworkTagsList

      public com.google.protobuf.ProtocolStringList getNetworkTagsList()
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkTagsList in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      A list containing the networkTags.
    • getNetworkTagsCount

      public int getNetworkTagsCount()
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkTagsCount in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The count of networkTags.
    • getNetworkTags

      public String getNetworkTags(int index)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkTags in interface NotebookRuntimeTemplateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The networkTags at the given index.
    • getNetworkTagsBytes

      public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNetworkTagsBytes in interface NotebookRuntimeTemplateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the networkTags at the given index.
    • setNetworkTags

      public NotebookRuntimeTemplate.Builder setNetworkTags(int index, String value)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The networkTags to set.
      Returns:
      This builder for chaining.
    • addNetworkTags

      public NotebookRuntimeTemplate.Builder addNetworkTags(String value)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The networkTags to add.
      Returns:
      This builder for chaining.
    • addAllNetworkTags

      public NotebookRuntimeTemplate.Builder addAllNetworkTags(Iterable<String> values)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The networkTags to add.
      Returns:
      This builder for chaining.
    • clearNetworkTags

      public NotebookRuntimeTemplate.Builder clearNetworkTags()
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addNetworkTagsBytes

      public NotebookRuntimeTemplate.Builder addNetworkTagsBytes(com.google.protobuf.ByteString value)
       Optional. The Compute Engine tags to add to runtime (see [Tagging
       instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)).
       
      repeated string network_tags = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the networkTags to add.
      Returns:
      This builder for chaining.
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
      Specified by:
      hasEncryptionSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
      Specified by:
      getEncryptionSpec in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public NotebookRuntimeTemplate.Builder setEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
    • setEncryptionSpec

      public NotebookRuntimeTemplate.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
    • mergeEncryptionSpec

      public NotebookRuntimeTemplate.Builder mergeEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
    • clearEncryptionSpec

      public NotebookRuntimeTemplate.Builder clearEncryptionSpec()
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Customer-managed encryption key spec for the notebook runtime.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 23;
      Specified by:
      getEncryptionSpecOrBuilder in interface NotebookRuntimeTemplateOrBuilder
    • hasSoftwareConfig

      public boolean hasSoftwareConfig()
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSoftwareConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      Whether the softwareConfig field is set.
    • getSoftwareConfig

      public NotebookSoftwareConfig getSoftwareConfig()
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSoftwareConfig in interface NotebookRuntimeTemplateOrBuilder
      Returns:
      The softwareConfig.
    • setSoftwareConfig

      public NotebookRuntimeTemplate.Builder setSoftwareConfig(NotebookSoftwareConfig value)
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • setSoftwareConfig

      public NotebookRuntimeTemplate.Builder setSoftwareConfig(NotebookSoftwareConfig.Builder builderForValue)
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSoftwareConfig

      public NotebookRuntimeTemplate.Builder mergeSoftwareConfig(NotebookSoftwareConfig value)
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • clearSoftwareConfig

      public NotebookRuntimeTemplate.Builder clearSoftwareConfig()
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getSoftwareConfigBuilder

      public NotebookSoftwareConfig.Builder getSoftwareConfigBuilder()
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
    • getSoftwareConfigOrBuilder

      public NotebookSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
       Optional. The notebook software configuration of the notebook runtime.
       
      .google.cloud.aiplatform.v1.NotebookSoftwareConfig software_config = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSoftwareConfigOrBuilder in interface NotebookRuntimeTemplateOrBuilder