public static interface Answer.Step.Action.Observation.SearchResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Answer.Step.Action.Observation.SearchResult.ChunkInfo |
getChunkInfo(int index)
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
|
int |
getChunkInfoCount()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
|
List<Answer.Step.Action.Observation.SearchResult.ChunkInfo> |
getChunkInfoList()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
|
Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder |
getChunkInfoOrBuilder(int index)
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
|
List<? extends Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder> |
getChunkInfoOrBuilderList()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
|
String |
getDocument()
Document resource name.
|
com.google.protobuf.ByteString |
getDocumentBytes()
Document resource name.
|
Answer.Step.Action.Observation.SearchResult.SnippetInfo |
getSnippetInfo(int index)
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
|
int |
getSnippetInfoCount()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
|
List<Answer.Step.Action.Observation.SearchResult.SnippetInfo> |
getSnippetInfoList()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
|
Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder |
getSnippetInfoOrBuilder(int index)
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
|
List<? extends Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder> |
getSnippetInfoOrBuilderList()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
|
com.google.protobuf.Struct |
getStructData()
Data representation.
|
com.google.protobuf.StructOrBuilder |
getStructDataOrBuilder()
Data representation.
|
String |
getTitle()
Title.
|
com.google.protobuf.ByteString |
getTitleBytes()
Title.
|
String |
getUri()
URI for the document.
|
com.google.protobuf.ByteString |
getUriBytes()
URI for the document.
|
boolean |
hasStructData()
Data representation.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getDocument()
Document resource name.
string document = 1;com.google.protobuf.ByteString getDocumentBytes()
Document resource name.
string document = 1;String getUri()
URI for the document.
string uri = 2;com.google.protobuf.ByteString getUriBytes()
URI for the document.
string uri = 2;String getTitle()
Title.
string title = 3;com.google.protobuf.ByteString getTitleBytes()
Title.
string title = 3;List<Answer.Step.Action.Observation.SearchResult.SnippetInfo> getSnippetInfoList()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Answer.Step.Action.Observation.SearchResult.SnippetInfo getSnippetInfo(int index)
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
int getSnippetInfoCount()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
List<? extends Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder> getSnippetInfoOrBuilderList()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder getSnippetInfoOrBuilder(int index)
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
List<Answer.Step.Action.Observation.SearchResult.ChunkInfo> getChunkInfoList()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Answer.Step.Action.Observation.SearchResult.ChunkInfo getChunkInfo(int index)
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
int getChunkInfoCount()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
List<? extends Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder> getChunkInfoOrBuilderList()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder getChunkInfoOrBuilder(int index)
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
boolean hasStructData()
Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;com.google.protobuf.Struct getStructData()
Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;com.google.protobuf.StructOrBuilder getStructDataOrBuilder()
Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;Copyright © 2025 Google LLC. All rights reserved.