@Generated
public interface SessionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
boolean |
getIsPinned()
Optional.
|
String |
getLabels(int index)
Optional.
|
com.google.protobuf.ByteString |
getLabelsBytes(int index)
Optional.
|
int |
getLabelsCount()
Optional.
|
List<String> |
getLabelsList()
Optional.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Session.State |
getState()
The state of the session.
|
int |
getStateValue()
The state of the session.
|
Session.Turn |
getTurns(int index)
Turns.
|
int |
getTurnsCount()
Turns.
|
List<Session.Turn> |
getTurnsList()
Turns.
|
Session.TurnOrBuilder |
getTurnsOrBuilder(int index)
Turns.
|
List<? extends Session.TurnOrBuilder> |
getTurnsOrBuilderList()
Turns.
|
String |
getUserPseudoId()
A unique identifier for tracking users.
|
com.google.protobuf.ByteString |
getUserPseudoIdBytes()
A unique identifier for tracking users.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasStartTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];String getDisplayName()
Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getDisplayNameBytes()
Optional. The display name of the session. This field is used to identify the session in the UI. By default, the display name is the first turn query text in the session.
string display_name = 7 [(.google.api.field_behavior) = OPTIONAL];int getStateValue()
The state of the session.
.google.cloud.discoveryengine.v1.Session.State state = 2;Session.State getState()
The state of the session.
.google.cloud.discoveryengine.v1.Session.State state = 2;String getUserPseudoId()
A unique identifier for tracking users.
string user_pseudo_id = 3;com.google.protobuf.ByteString getUserPseudoIdBytes()
A unique identifier for tracking users.
string user_pseudo_id = 3;List<Session.Turn> getTurnsList()
Turns.
repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;Session.Turn getTurns(int index)
Turns.
repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;int getTurnsCount()
Turns.
repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;List<? extends Session.TurnOrBuilder> getTurnsOrBuilderList()
Turns.
repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;Session.TurnOrBuilder getTurnsOrBuilder(int index)
Turns.
repeated .google.cloud.discoveryengine.v1.Session.Turn turns = 4;List<String> getLabelsList()
Optional. The labels for the session. Can be set as filter in ListSessionsRequest.
repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL];int getLabelsCount()
Optional. The labels for the session. Can be set as filter in ListSessionsRequest.
repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL];String getLabels(int index)
Optional. The labels for the session. Can be set as filter in ListSessionsRequest.
repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL];index - The index of the element to return.com.google.protobuf.ByteString getLabelsBytes(int index)
Optional. The labels for the session. Can be set as filter in ListSessionsRequest.
repeated string labels = 9 [(.google.api.field_behavior) = OPTIONAL];index - The index of the value to return.boolean hasStartTime()
Output only. The time the session started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getStartTime()
Output only. The time the session started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the session started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasEndTime()
Output only. The time the session finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getEndTime()
Output only. The time the session finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the session finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean getIsPinned()
Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.
bool is_pinned = 8 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.