Uses of Class
com.google.cloud.discoveryengine.v1beta.Chunk.Builder
-
Uses of Chunk.Builder in com.google.cloud.discoveryengine.v1beta
Methods in com.google.cloud.discoveryengine.v1beta that return Chunk.BuilderModifier and TypeMethodDescriptionChunk.ChunkMetadata.Builder.addNextChunksBuilder()The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.addNextChunksBuilder(int index) The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.addPreviousChunksBuilder()The previous chunks of the current chunk.Chunk.ChunkMetadata.Builder.addPreviousChunksBuilder(int index) The previous chunks of the current chunk.Chunk.Builder.clear()Chunk.Builder.clearChunkMetadata()Output only.Chunk.Builder.clearContent()Content is a string from a document (parsed content).Chunk.Builder.clearDerivedStructData()Output only.Chunk.Builder.clearDocumentMetadata()Metadata of the document from the current chunk.Chunk.Builder.clearId()Unique chunk ID of the current chunk.Chunk.Builder.clearName()The full resource name of the chunk.Chunk.Builder.clearPageSpan()Page span of the chunk.Chunk.Builder.clearRelevanceScore()Output only.SearchResponse.SearchResult.Builder.getChunkBuilder()The chunk data in the search response if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS].Chunk.ChunkMetadata.Builder.getNextChunksBuilder(int index) The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.getPreviousChunksBuilder(int index) The previous chunks of the current chunk.Chunk.Builder.mergeChunkMetadata(Chunk.ChunkMetadata value) Output only.Chunk.Builder.mergeDerivedStructData(com.google.protobuf.Struct value) Output only.Chunk.Builder.mergeDocumentMetadata(Chunk.DocumentMetadata value) Metadata of the document from the current chunk.Chunk.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Chunk.Builder.mergeFrom(com.google.protobuf.Message other) Chunk.Builder.mergePageSpan(Chunk.PageSpan value) Page span of the chunk.static Chunk.BuilderChunk.newBuilder()static Chunk.BuilderChunk.newBuilder(Chunk prototype) Chunk.newBuilderForType()protected Chunk.BuilderChunk.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Chunk.Builder.setChunkMetadata(Chunk.ChunkMetadata value) Output only.Chunk.Builder.setChunkMetadata(Chunk.ChunkMetadata.Builder builderForValue) Output only.Chunk.Builder.setContent(String value) Content is a string from a document (parsed content).Chunk.Builder.setContentBytes(com.google.protobuf.ByteString value) Content is a string from a document (parsed content).Chunk.Builder.setDerivedStructData(com.google.protobuf.Struct value) Output only.Chunk.Builder.setDerivedStructData(com.google.protobuf.Struct.Builder builderForValue) Output only.Chunk.Builder.setDocumentMetadata(Chunk.DocumentMetadata value) Metadata of the document from the current chunk.Chunk.Builder.setDocumentMetadata(Chunk.DocumentMetadata.Builder builderForValue) Metadata of the document from the current chunk.Unique chunk ID of the current chunk.Chunk.Builder.setIdBytes(com.google.protobuf.ByteString value) Unique chunk ID of the current chunk.The full resource name of the chunk.Chunk.Builder.setNameBytes(com.google.protobuf.ByteString value) The full resource name of the chunk.Chunk.Builder.setPageSpan(Chunk.PageSpan value) Page span of the chunk.Chunk.Builder.setPageSpan(Chunk.PageSpan.Builder builderForValue) Page span of the chunk.Chunk.Builder.setRelevanceScore(double value) Output only.Chunk.toBuilder()Methods in com.google.cloud.discoveryengine.v1beta that return types with arguments of type Chunk.BuilderModifier and TypeMethodDescriptionChunk.ChunkMetadata.Builder.getNextChunksBuilderList()The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.getPreviousChunksBuilderList()The previous chunks of the current chunk.Methods in com.google.cloud.discoveryengine.v1beta with parameters of type Chunk.BuilderModifier and TypeMethodDescriptionChunk.ChunkMetadata.Builder.addNextChunks(int index, Chunk.Builder builderForValue) The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.addNextChunks(Chunk.Builder builderForValue) The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.addPreviousChunks(int index, Chunk.Builder builderForValue) The previous chunks of the current chunk.Chunk.ChunkMetadata.Builder.addPreviousChunks(Chunk.Builder builderForValue) The previous chunks of the current chunk.SearchResponse.SearchResult.Builder.setChunk(Chunk.Builder builderForValue) The chunk data in the search response if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS].Chunk.ChunkMetadata.Builder.setNextChunks(int index, Chunk.Builder builderForValue) The next chunks of the current chunk.Chunk.ChunkMetadata.Builder.setPreviousChunks(int index, Chunk.Builder builderForValue) The previous chunks of the current chunk.