public interface SessionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
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];int getStateValue()
The state of the session.
.google.cloud.discoveryengine.v1alpha.Session.State state = 2;Session.State getState()
The state of the session.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.Session.Turn turns = 4;Session.Turn getTurns(int index)
Turns.
repeated .google.cloud.discoveryengine.v1alpha.Session.Turn turns = 4;int getTurnsCount()
Turns.
repeated .google.cloud.discoveryengine.v1alpha.Session.Turn turns = 4;List<? extends Session.TurnOrBuilder> getTurnsOrBuilderList()
Turns.
repeated .google.cloud.discoveryengine.v1alpha.Session.Turn turns = 4;Session.TurnOrBuilder getTurnsOrBuilder(int index)
Turns.
repeated .google.cloud.discoveryengine.v1alpha.Session.Turn turns = 4;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];
Copyright © 2024 Google LLC. All rights reserved.