Class GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
com.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder
- All Implemented Interfaces:
GenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateGroundedContentResponse.Candidate.GroundingMetadata
public static final class GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
implements GenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
Citation for the generated content.Protobuf type
google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllGroundingSupport(Iterable<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport> values) GroundingSupport across all claims in the answer candidate.addAllRetrievalMetadata(Iterable<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata> values) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addAllSupportChunks(Iterable<? extends FactChunk> values) List of chunks to be attributed across all claims in the candidate.addAllWebSearchQueries(Iterable<String> values) Web search queries for the following-up web search.addGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate.addGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate.addGroundingSupport(GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate.addGroundingSupport(GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate.GroundingSupport across all claims in the answer candidate.addGroundingSupportBuilder(int index) GroundingSupport across all claims in the answer candidate.addRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addRetrievalMetadataBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.addSupportChunks(int index, FactChunk value) List of chunks to be attributed across all claims in the candidate.addSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.addSupportChunks(FactChunk value) List of chunks to be attributed across all claims in the candidate.addSupportChunks(FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.List of chunks to be attributed across all claims in the candidate.addSupportChunksBuilder(int index) List of chunks to be attributed across all claims in the candidate.addWebSearchQueries(String value) Web search queries for the following-up web search.addWebSearchQueriesBytes(com.google.protobuf.ByteString value) Web search queries for the following-up web search.build()clear()GroundingSupport across all claims in the answer candidate.Retrieval metadata to provide an understanding in the retrieval steps performed by the model.Google search entry for the following-up web searches.List of chunks to be attributed across all claims in the candidate.Web search queries for the following-up web search.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGroundingSupport(int index) GroundingSupport across all claims in the answer candidate.getGroundingSupportBuilder(int index) GroundingSupport across all claims in the answer candidate.GroundingSupport across all claims in the answer candidate.intGroundingSupport across all claims in the answer candidate.GroundingSupport across all claims in the answer candidate.getGroundingSupportOrBuilder(int index) GroundingSupport across all claims in the answer candidate.List<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupportOrBuilder>GroundingSupport across all claims in the answer candidate.getRetrievalMetadata(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.getRetrievalMetadataBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.Retrieval metadata to provide an understanding in the retrieval steps performed by the model.intRetrieval metadata to provide an understanding in the retrieval steps performed by the model.Retrieval metadata to provide an understanding in the retrieval steps performed by the model.getRetrievalMetadataOrBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.List<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder>Retrieval metadata to provide an understanding in the retrieval steps performed by the model.Google search entry for the following-up web searches.Google search entry for the following-up web searches.Google search entry for the following-up web searches.getSupportChunks(int index) List of chunks to be attributed across all claims in the candidate.getSupportChunksBuilder(int index) List of chunks to be attributed across all claims in the candidate.List of chunks to be attributed across all claims in the candidate.intList of chunks to be attributed across all claims in the candidate.List of chunks to be attributed across all claims in the candidate.getSupportChunksOrBuilder(int index) List of chunks to be attributed across all claims in the candidate.List<? extends FactChunkOrBuilder>List of chunks to be attributed across all claims in the candidate.getWebSearchQueries(int index) Web search queries for the following-up web search.com.google.protobuf.ByteStringgetWebSearchQueriesBytes(int index) Web search queries for the following-up web search.intWeb search queries for the following-up web search.com.google.protobuf.ProtocolStringListWeb search queries for the following-up web search.booleanGoogle search entry for the following-up web searches.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint value) Google search entry for the following-up web searches.removeGroundingSupport(int index) GroundingSupport across all claims in the answer candidate.removeRetrievalMetadata(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.removeSupportChunks(int index) List of chunks to be attributed across all claims in the candidate.setGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate.setGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate.setRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.setRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model.setSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint value) Google search entry for the following-up web searches.setSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder builderForValue) Google search entry for the following-up web searches.setSupportChunks(int index, FactChunk value) List of chunks to be attributed across all claims in the candidate.setSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate.setWebSearchQueries(int index, String value) Web search queries for the following-up web search.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>
-
mergeFrom
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder>- Throws:
IOException
-
getRetrievalMetadataList
public List<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata> getRetrievalMetadataList()Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5;- Specified by:
getRetrievalMetadataListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getRetrievalMetadataCount
public int getRetrievalMetadataCount()Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5;- Specified by:
getRetrievalMetadataCountin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata getRetrievalMetadata(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5;- Specified by:
getRetrievalMetadatain interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
setRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
setRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata value) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addRetrievalMetadata(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addRetrievalMetadata(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder builderForValue) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addAllRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addAllRetrievalMetadata(Iterable<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata> values) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
clearRetrievalMetadata
Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
removeRetrievalMetadata
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder removeRetrievalMetadata(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
getRetrievalMetadataBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder getRetrievalMetadataBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
getRetrievalMetadataOrBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder getRetrievalMetadataOrBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5;- Specified by:
getRetrievalMetadataOrBuilderin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getRetrievalMetadataOrBuilderList
public List<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder> getRetrievalMetadataOrBuilderList()Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5;- Specified by:
getRetrievalMetadataOrBuilderListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
addRetrievalMetadataBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder addRetrievalMetadataBuilder()Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
addRetrievalMetadataBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder addRetrievalMetadataBuilder(int index) Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
getRetrievalMetadataBuilderList
public List<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder> getRetrievalMetadataBuilderList()Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata retrieval_metadata = 5; -
getSupportChunksList
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1;- Specified by:
getSupportChunksListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getSupportChunksCount
public int getSupportChunksCount()List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1;- Specified by:
getSupportChunksCountin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getSupportChunks
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1;- Specified by:
getSupportChunksin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
setSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setSupportChunks(int index, FactChunk value) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
setSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addSupportChunks(FactChunk value) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addSupportChunks(int index, FactChunk value) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addSupportChunks(FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addSupportChunks(int index, FactChunk.Builder builderForValue) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addAllSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addAllSupportChunks(Iterable<? extends FactChunk> values) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
clearSupportChunks
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
removeSupportChunks
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder removeSupportChunks(int index) List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
getSupportChunksBuilder
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
getSupportChunksOrBuilder
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1;- Specified by:
getSupportChunksOrBuilderin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getSupportChunksOrBuilderList
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1;- Specified by:
getSupportChunksOrBuilderListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
addSupportChunksBuilder
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
addSupportChunksBuilder
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
getSupportChunksBuilderList
List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk support_chunks = 1; -
getWebSearchQueriesList
public com.google.protobuf.ProtocolStringList getWebSearchQueriesList()Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Specified by:
getWebSearchQueriesListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Returns:
- A list containing the webSearchQueries.
-
getWebSearchQueriesCount
public int getWebSearchQueriesCount()Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Specified by:
getWebSearchQueriesCountin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Returns:
- The count of webSearchQueries.
-
getWebSearchQueries
Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Specified by:
getWebSearchQueriesin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The webSearchQueries at the given index.
-
getWebSearchQueriesBytes
public com.google.protobuf.ByteString getWebSearchQueriesBytes(int index) Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Specified by:
getWebSearchQueriesBytesin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webSearchQueries at the given index.
-
setWebSearchQueries
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setWebSearchQueries(int index, String value) Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Parameters:
index- The index to set the value at.value- The webSearchQueries to set.- Returns:
- This builder for chaining.
-
addWebSearchQueries
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addWebSearchQueries(String value) Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Parameters:
value- The webSearchQueries to add.- Returns:
- This builder for chaining.
-
addAllWebSearchQueries
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addAllWebSearchQueries(Iterable<String> values) Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Parameters:
values- The webSearchQueries to add.- Returns:
- This builder for chaining.
-
clearWebSearchQueries
Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Returns:
- This builder for chaining.
-
addWebSearchQueriesBytes
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addWebSearchQueriesBytes(com.google.protobuf.ByteString value) Web search queries for the following-up web search.
repeated string web_search_queries = 3;- Parameters:
value- The bytes of the webSearchQueries to add.- Returns:
- This builder for chaining.
-
hasSearchEntryPoint
public boolean hasSearchEntryPoint()Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4;- Specified by:
hasSearchEntryPointin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Returns:
- Whether the searchEntryPoint field is set.
-
getSearchEntryPoint
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint getSearchEntryPoint()Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4;- Specified by:
getSearchEntryPointin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder- Returns:
- The searchEntryPoint.
-
setSearchEntryPoint
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint value) Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4; -
setSearchEntryPoint
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder builderForValue) Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4; -
mergeSearchEntryPoint
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder mergeSearchEntryPoint(GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint value) Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4; -
clearSearchEntryPoint
Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4; -
getSearchEntryPointBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint.Builder getSearchEntryPointBuilder()Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4; -
getSearchEntryPointOrBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPointOrBuilder getSearchEntryPointOrBuilder()Google search entry for the following-up web searches.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.SearchEntryPoint search_entry_point = 4;- Specified by:
getSearchEntryPointOrBuilderin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getGroundingSupportList
public List<GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport> getGroundingSupportList()GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;- Specified by:
getGroundingSupportListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getGroundingSupportCount
public int getGroundingSupportCount()GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;- Specified by:
getGroundingSupportCountin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport getGroundingSupport(int index) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;- Specified by:
getGroundingSupportin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
setGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
setGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder setGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addGroundingSupport(GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport value) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addGroundingSupport(GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addGroundingSupport(int index, GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder builderForValue) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addAllGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder addAllGroundingSupport(Iterable<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport> values) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
clearGroundingSupport
GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
removeGroundingSupport
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.Builder removeGroundingSupport(int index) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
getGroundingSupportBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder getGroundingSupportBuilder(int index) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
getGroundingSupportOrBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupportOrBuilder getGroundingSupportOrBuilder(int index) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;- Specified by:
getGroundingSupportOrBuilderin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
getGroundingSupportOrBuilderList
public List<? extends GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupportOrBuilder> getGroundingSupportOrBuilderList()GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;- Specified by:
getGroundingSupportOrBuilderListin interfaceGenerateGroundedContentResponse.Candidate.GroundingMetadataOrBuilder
-
addGroundingSupportBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder addGroundingSupportBuilder()GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
addGroundingSupportBuilder
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder addGroundingSupportBuilder(int index) GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2; -
getGroundingSupportBuilderList
public List<GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport.Builder> getGroundingSupportBuilderList()GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact.
repeated .google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupport grounding_support = 2;
-