Interface Environment.SessionSpecOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnableFastStartup()
      Optional.
      com.google.protobuf.Duration getMaxIdleDuration()
      Optional.
      com.google.protobuf.DurationOrBuilder getMaxIdleDurationOrBuilder()
      Optional.
      boolean hasMaxIdleDuration()
      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 Detail

      • 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.