Interface SessionConfigOrBuilder (0.99.0)

public interface SessionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSessionManagementPolicy()

public abstract SessionConfig.SessionManagementPolicy getSessionManagementPolicy()

Optional. Session management policy that defines who will manage the session.

.google.cloud.discoveryengine.v1.SessionConfig.SessionManagementPolicy session_management_policy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SessionConfig.SessionManagementPolicy

The sessionManagementPolicy.

getSessionManagementPolicyValue()

public abstract int getSessionManagementPolicyValue()

Optional. Session management policy that defines who will manage the session.

.google.cloud.discoveryengine.v1.SessionConfig.SessionManagementPolicy session_management_policy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sessionManagementPolicy.

getSessionTtl()

public abstract SessionConfig.SessionTtl getSessionTtl()

Optional. The TTL for the session. If unset, the default value is 60 days.

.google.cloud.discoveryengine.v1.SessionConfig.SessionTtl session_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SessionConfig.SessionTtl

The sessionTtl.

getSessionTtlOrBuilder()

public abstract SessionConfig.SessionTtlOrBuilder getSessionTtlOrBuilder()

Optional. The TTL for the session. If unset, the default value is 60 days.

.google.cloud.discoveryengine.v1.SessionConfig.SessionTtl session_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SessionConfig.SessionTtlOrBuilder

hasSessionTtl()

public abstract boolean hasSessionTtl()

Optional. The TTL for the session. If unset, the default value is 60 days.

.google.cloud.discoveryengine.v1.SessionConfig.SessionTtl session_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sessionTtl field is set.