Interface Answer.Reference.UnstructuredDocumentInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Answer.Reference.UnstructuredDocumentInfo,Answer.Reference.UnstructuredDocumentInfo.Builder
- Enclosing class:
- Answer.Reference
public static interface Answer.Reference.UnstructuredDocumentInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChunkContents(int index) List of cited chunk contents derived from document content.intList of cited chunk contents derived from document content.List of cited chunk contents derived from document content.getChunkContentsOrBuilder(int index) List of cited chunk contents derived from document content.List of cited chunk contents derived from document content.Document resource name.com.google.protobuf.ByteStringDocument resource name.com.google.protobuf.StructThe structured JSON metadata for the document.com.google.protobuf.StructOrBuilderThe structured JSON metadata for the document.getTitle()Title.com.google.protobuf.ByteStringTitle.getUri()URI for the document.com.google.protobuf.ByteStringURI for the document.booleanThe structured JSON metadata for the document.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 [(.google.api.resource_reference) = { ... }- Returns:
- The document.
-
getDocumentBytes
com.google.protobuf.ByteString getDocumentBytes()Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }- 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.
-
getChunkContentsList
List<Answer.Reference.UnstructuredDocumentInfo.ChunkContent> getChunkContentsList()List of cited chunk contents derived from document content.
repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; -
getChunkContents
List of cited chunk contents derived from document content.
repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; -
getChunkContentsCount
int getChunkContentsCount()List of cited chunk contents derived from document content.
repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; -
getChunkContentsOrBuilderList
List<? extends Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilder> getChunkContentsOrBuilderList()List of cited chunk contents derived from document content.
repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; -
getChunkContentsOrBuilder
Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilder getChunkContentsOrBuilder(int index) List of cited chunk contents derived from document content.
repeated .google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo.ChunkContent chunk_contents = 4; -
hasStructData
boolean hasStructData()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;- Returns:
- Whether the structData field is set.
-
getStructData
com.google.protobuf.Struct getStructData()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;- Returns:
- The structData.
-
getStructDataOrBuilder
com.google.protobuf.StructOrBuilder getStructDataOrBuilder()The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
.google.protobuf.Struct struct_data = 5;
-