Interface Answer.Step.Action.Observation.SearchResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Answer.Step.Action.Observation.SearchResult,Answer.Step.Action.Observation.SearchResult.Builder
- Enclosing class:
- Answer.Step.Action.Observation
public static interface Answer.Step.Action.Observation.SearchResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChunkInfo(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.intIf citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.getChunkInfoOrBuilder(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.Document resource name.com.google.protobuf.ByteStringDocument resource name.getSnippetInfo(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.intIf citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.getSnippetInfoOrBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.com.google.protobuf.StructData representation.com.google.protobuf.StructOrBuilderData representation.getTitle()Title.com.google.protobuf.ByteStringTitle.getUri()URI for the document.com.google.protobuf.ByteStringURI for the document.booleanData representation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDocument
String getDocument()Document resource name.
string document = 1;- Returns:
- The document.
-
getDocumentBytes
com.google.protobuf.ByteString getDocumentBytes()Document resource name.
string document = 1;- Returns:
- The bytes for document.
-
getUri
String getUri()URI for the document.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI for the document.
string uri = 2;- Returns:
- The bytes for uri.
-
getTitle
String getTitle()Title.
string title = 3;- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()Title.
string title = 3;- Returns:
- The bytes for title.
-
getSnippetInfoList
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; -
getSnippetInfo
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; -
getSnippetInfoCount
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; -
getSnippetInfoOrBuilderList
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; -
getSnippetInfoOrBuilder
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; -
getChunkInfoList
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; -
getChunkInfo
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; -
getChunkInfoCount
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; -
getChunkInfoOrBuilderList
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; -
getChunkInfoOrBuilder
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; -
hasStructData
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;- Returns:
- Whether the structData field is set.
-
getStructData
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;- Returns:
- The structData.
-
getStructDataOrBuilder
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;
-