Send feedback
  
   
 
  
    
      Class NotebookIdleShutdownConfig.Builder (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  NotebookIdleShutdownConfig . Builder   extends   GeneratedMessageV3 . Builder<NotebookIdleShutdownConfig . Builder >  implements   NotebookIdleShutdownConfigOrBuilder  
   The idle shutdown configuration of NotebookRuntimeTemplate, which contains
 the idle_timeout as required field.
 Protobuf type google.cloud.aiplatform.v1.NotebookIdleShutdownConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   NotebookIdleShutdownConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig   build ()  
  
  
    
public   NotebookIdleShutdownConfig   buildPartial ()  
  
  
    
public   NotebookIdleShutdownConfig . Builder   clear ()  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   clearIdleShutdownDisabled ()  
   Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
 bool idle_shutdown_disabled = 2;
    
public   NotebookIdleShutdownConfig . Builder   clearIdleTimeout ()  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
public   NotebookIdleShutdownConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   clone ()  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   boolean   getIdleShutdownDisabled ()  
   Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
 bool idle_shutdown_disabled = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean The idleShutdownDisabled.
 
     
  
  
    
public   Duration   getIdleTimeout ()  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        Duration The idleTimeout.
 
     
  
  
    
public   Duration . Builder   getIdleTimeoutBuilder ()  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
public   DurationOrBuilder   getIdleTimeoutOrBuilder ()  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
public   boolean   hasIdleTimeout ()  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the idleTimeout field is set.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   mergeFrom ( NotebookIdleShutdownConfig   other )  
  
  
  
    
public   NotebookIdleShutdownConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   NotebookIdleShutdownConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   mergeIdleTimeout ( Duration   value )  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueDuration  
     
  
  
  
    
public   final   NotebookIdleShutdownConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   NotebookIdleShutdownConfig . Builder   setIdleShutdownDisabled ( boolean   value )  
   Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
 bool idle_shutdown_disabled = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The idleShutdownDisabled to set.
 
     
  
  
  
    
public   NotebookIdleShutdownConfig . Builder   setIdleTimeout ( Duration   value )  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        valueDuration  
     
  
  
  
    
public   NotebookIdleShutdownConfig . Builder   setIdleTimeout ( Duration . Builder   builderForValue )  
   Required. Duration is accurate to the second. In Notebook, Idle Timeout is
 accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440
 .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Parameter  
      
        Name Description  
      
        builderForValueBuilder  
     
  
  
  
    
public   NotebookIdleShutdownConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   NotebookIdleShutdownConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]