Interface NotebookIdleShutdownConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NotebookIdleShutdownConfig, NotebookIdleShutdownConfig.Builder

@Generated public interface NotebookIdleShutdownConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasIdleTimeout

      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
       * 60.
       
      .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the idleTimeout field is set.
    • getIdleTimeout

      com.google.protobuf.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
       * 60.
       
      .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The idleTimeout.
    • getIdleTimeoutOrBuilder

      com.google.protobuf.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
       * 60.
       
      .google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
    • getIdleShutdownDisabled

      boolean getIdleShutdownDisabled()
       Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
       
      bool idle_shutdown_disabled = 2;
      Returns:
      The idleShutdownDisabled.