Interface Environment.SessionSpecOrBuilder (1.50.0)

public static interface Environment.SessionSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableFastStartup()

public abstract 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
Type Description
boolean

The enableFastStartup.

getMaxIdleDuration()

public abstract 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
Type Description
Duration

The maxIdleDuration.

getMaxIdleDurationOrBuilder()

public abstract 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];

Returns
Type Description
DurationOrBuilder

hasMaxIdleDuration()

public abstract 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
Type Description
boolean

Whether the maxIdleDuration field is set.