@Generated
public interface SessionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
Session.ExpirationCase |
getExpirationCase() |
com.google.protobuf.Timestamp |
getExpireTime()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Optional.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Struct |
getSessionState()
Optional.
|
com.google.protobuf.StructOrBuilder |
getSessionStateOrBuilder()
Optional.
|
com.google.protobuf.Duration |
getTtl()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getTtlOrBuilder()
Optional.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUserId()
Required.
|
com.google.protobuf.ByteString |
getUserIdBytes()
Required.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasExpireTime()
Optional.
|
boolean |
hasSessionState()
Optional.
|
boolean |
hasTtl()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasExpireTime()
Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Timestamp getExpireTime()
Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
boolean hasTtl()
Optional. Input only. The TTL for this session.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
com.google.protobuf.Duration getTtl()
Optional. Input only. The TTL for this session.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
Optional. Input only. The TTL for this session.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
String getName()
Identifier. The resource name of the session.
Format:
'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. The resource name of the session.
Format:
'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];boolean hasCreateTime()
Output only. Timestamp when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. Timestamp when the session was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when the session was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when the session was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getDisplayName()
Optional. The display name of the session.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDisplayNameBytes()
Optional. The display name of the session.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];boolean hasSessionState()
Optional. Session specific memory which stores key conversation points.
.google.protobuf.Struct session_state = 10 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Struct getSessionState()
Optional. Session specific memory which stores key conversation points.
.google.protobuf.Struct session_state = 10 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.StructOrBuilder getSessionStateOrBuilder()
Optional. Session specific memory which stores key conversation points.
.google.protobuf.Struct session_state = 10 [(.google.api.field_behavior) = OPTIONAL];
String getUserId()
Required. Immutable. String id provided by the user
string user_id = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
com.google.protobuf.ByteString getUserIdBytes()
Required. Immutable. String id provided by the user
string user_id = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
Session.ExpirationCase getExpirationCase()
Copyright © 2026 Google LLC. All rights reserved.