Uses of Class
com.google.cloud.discoveryengine.v1beta.FactChunk.Builder
-
Uses of FactChunk.Builder in com.google.cloud.discoveryengine.v1beta
Methods in com.google.cloud.discoveryengine.v1beta that return FactChunk.BuilderModifier and TypeMethodDescriptionCheckGroundingResponse.Builder.addCitedChunksBuilder()List of facts cited across all claims in the answer candidate.CheckGroundingResponse.Builder.addCitedChunksBuilder(int index) List of facts cited across all claims in the answer candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.addSupportChunksBuilder()List of chunks to be attributed across all claims in the candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.addSupportChunksBuilder(int index) List of chunks to be attributed across all claims in the candidate.FactChunk.Builder.clear()FactChunk.Builder.clearChunkText()Text content of the fact chunk.FactChunk.Builder.clearIndex()The index of this chunk.FactChunk.Builder.clearSource()Source from which this fact chunk was retrieved.FactChunk.Builder.clearSourceMetadata()CheckGroundingResponse.Builder.getCitedChunksBuilder(int index) List of facts cited across all claims in the answer candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.getSupportChunksBuilder(int index) List of chunks to be attributed across all claims in the candidate.FactChunk.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) FactChunk.Builder.mergeFrom(com.google.protobuf.Message other) static FactChunk.BuilderFactChunk.newBuilder()static FactChunk.BuilderFactChunk.newBuilder(FactChunk prototype) FactChunk.newBuilderForType()protected FactChunk.BuilderFactChunk.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) FactChunk.Builder.putAllSourceMetadata(Map<String, String> values) More fine-grained information for the source reference.FactChunk.Builder.putSourceMetadata(String key, String value) More fine-grained information for the source reference.FactChunk.Builder.removeSourceMetadata(String key) More fine-grained information for the source reference.FactChunk.Builder.setChunkText(String value) Text content of the fact chunk.FactChunk.Builder.setChunkTextBytes(com.google.protobuf.ByteString value) Text content of the fact chunk.FactChunk.Builder.setIndex(int value) The index of this chunk.Source from which this fact chunk was retrieved.FactChunk.Builder.setSourceBytes(com.google.protobuf.ByteString value) Source from which this fact chunk was retrieved.FactChunk.toBuilder()Methods in com.google.cloud.discoveryengine.v1beta that return types with arguments of type FactChunk.BuilderModifier and TypeMethodDescriptionCheckGroundingResponse.Builder.getCitedChunksBuilderList()List of facts cited across all claims in the answer candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.getSupportChunksBuilderList()List of chunks to be attributed across all claims in the candidate.Methods in com.google.cloud.discoveryengine.v1beta with parameters of type FactChunk.BuilderModifier and TypeMethodDescriptionCheckGroundingResponse.Builder.addCitedChunks(int index, FactChunk.Builder builderForValue) List of facts cited across all claims in the answer candidate.CheckGroundingResponse.Builder.addCitedChunks(FactChunk.Builder builderForValue) List of facts cited across all claims in the answer candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.addSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.addSupportChunks(FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.CheckGroundingResponse.Builder.setCitedChunks(int index, FactChunk.Builder builderForValue) List of facts cited across all claims in the answer candidate.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder.setSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.