public static final class AssistantGroundedContent.Builder extends com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.Builder> implements AssistantGroundedContentOrBuilder
A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding.Protobuf type
google.cloud.discoveryengine.v1.AssistantGroundedContentaddRepeatedField, 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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.Builder>public AssistantGroundedContent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.Builder>public AssistantGroundedContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AssistantGroundedContent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AssistantGroundedContent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AssistantGroundedContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssistantGroundedContent.Builder>public AssistantGroundedContent.Builder mergeFrom(AssistantGroundedContent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.Builder>public AssistantGroundedContent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssistantGroundedContent.Builder>IOExceptionpublic AssistantGroundedContent.MetadataCase getMetadataCase()
getMetadataCase in interface AssistantGroundedContentOrBuilderpublic AssistantGroundedContent.Builder clearMetadata()
public boolean hasTextGroundingMetadata()
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
hasTextGroundingMetadata in interface AssistantGroundedContentOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata getTextGroundingMetadata()
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
getTextGroundingMetadata in interface AssistantGroundedContentOrBuilderpublic AssistantGroundedContent.Builder setTextGroundingMetadata(AssistantGroundedContent.TextGroundingMetadata value)
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
public AssistantGroundedContent.Builder setTextGroundingMetadata(AssistantGroundedContent.TextGroundingMetadata.Builder builderForValue)
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
public AssistantGroundedContent.Builder mergeTextGroundingMetadata(AssistantGroundedContent.TextGroundingMetadata value)
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
public AssistantGroundedContent.Builder clearTextGroundingMetadata()
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
public AssistantGroundedContent.TextGroundingMetadata.Builder getTextGroundingMetadataBuilder()
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
public AssistantGroundedContent.TextGroundingMetadataOrBuilder getTextGroundingMetadataOrBuilder()
Metadata for grounding based on text sources.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata text_grounding_metadata = 3;
getTextGroundingMetadataOrBuilder in interface AssistantGroundedContentOrBuilderpublic boolean hasContent()
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;hasContent in interface AssistantGroundedContentOrBuilderpublic AssistantContent getContent()
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;getContent in interface AssistantGroundedContentOrBuilderpublic AssistantGroundedContent.Builder setContent(AssistantContent value)
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;public AssistantGroundedContent.Builder setContent(AssistantContent.Builder builderForValue)
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;public AssistantGroundedContent.Builder mergeContent(AssistantContent value)
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;public AssistantGroundedContent.Builder clearContent()
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;public AssistantContent.Builder getContentBuilder()
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;public AssistantContentOrBuilder getContentOrBuilder()
The content.
.google.cloud.discoveryengine.v1.AssistantContent content = 1;getContentOrBuilder in interface AssistantGroundedContentOrBuilderCopyright © 2026 Google LLC. All rights reserved.