public static interface SearchResponse.SessionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Name of the session.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the session.
|
String |
getQueryId()
Query ID that corresponds to this search API call.
|
com.google.protobuf.ByteString |
getQueryIdBytes()
Query ID that corresponds to this search API call.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Name of the session. If the auto-session mode is used (when [SearchRequest.session][google.cloud.discoveryengine.v1alpha.SearchRequest.session] ends with "-"), this field holds the newly generated session name.
string name = 1;com.google.protobuf.ByteString getNameBytes()
Name of the session. If the auto-session mode is used (when [SearchRequest.session][google.cloud.discoveryengine.v1alpha.SearchRequest.session] ends with "-"), this field holds the newly generated session name.
string name = 1;String getQueryId()
Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.
string query_id = 2;com.google.protobuf.ByteString getQueryIdBytes()
Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.
string query_id = 2;Copyright © 2024 Google LLC. All rights reserved.