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.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Struct |
getSessionState()
Optional.
|
com.google.protobuf.StructOrBuilder |
getSessionStateOrBuilder()
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 |
hasSessionState()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Identifier. The resource name of the session.
Format:
'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER];
com.google.protobuf.ByteString getNameBytes()
Required. Identifier. The resource name of the session.
Format:
'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.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];
Copyright © 2025 Google LLC. All rights reserved.