Interface Environment.SessionSpecOrBuilder (1.1.1)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the maxIdleDuration field is set.