Interface Environment.SessionSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Environment.SessionSpec, Environment.SessionSpec.Builder
Enclosing class:
Environment

public static interface Environment.SessionSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    com.google.protobuf.Duration
    Optional.
    com.google.protobuf.DurationOrBuilder
    Optional.
    boolean
    Optional.

    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

    • hasMaxIdleDuration

      boolean hasMaxIdleDuration()
       Optional. The idle time configuration of the session. The session will be
       auto-terminated at the end of this period.
       
      .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the maxIdleDuration field is set.
    • getMaxIdleDuration

      com.google.protobuf.Duration getMaxIdleDuration()
       Optional. The idle time configuration of the session. The session will be
       auto-terminated at the end of this period.
       
      .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The maxIdleDuration.
    • getMaxIdleDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder()
       Optional. The idle time configuration of the session. The session will be
       auto-terminated at the end of this period.
       
      .google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getEnableFastStartup

      boolean getEnableFastStartup()
       Optional. If True, this causes sessions to be pre-created and available
       for faster startup to enable interactive exploration use-cases. This
       defaults to False to avoid additional billed charges. These can only be
       set to True for the environment with name set to "default", and with
       default configuration.
       
      bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableFastStartup.