public static final class AssistAnswer.Reply.Builder extends com.google.protobuf.GeneratedMessage.Builder<AssistAnswer.Reply.Builder> implements AssistAnswer.ReplyOrBuilder
One part of the multi-part response of the assist call.Protobuf type
google.cloud.discoveryengine.v1.AssistAnswer.Reply| Modifier and Type | Method and Description |
|---|---|
AssistAnswer.Reply |
build() |
AssistAnswer.Reply |
buildPartial() |
AssistAnswer.Reply.Builder |
clear() |
AssistAnswer.Reply.Builder |
clearGroundedContent()
Possibly grounded response text or media from the assistant.
|
AssistAnswer.Reply.Builder |
clearReply() |
AssistAnswer.Reply |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AssistantGroundedContent |
getGroundedContent()
Possibly grounded response text or media from the assistant.
|
AssistantGroundedContent.Builder |
getGroundedContentBuilder()
Possibly grounded response text or media from the assistant.
|
AssistantGroundedContentOrBuilder |
getGroundedContentOrBuilder()
Possibly grounded response text or media from the assistant.
|
AssistAnswer.Reply.ReplyCase |
getReplyCase() |
boolean |
hasGroundedContent()
Possibly grounded response text or media from the assistant.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AssistAnswer.Reply.Builder |
mergeFrom(AssistAnswer.Reply other) |
AssistAnswer.Reply.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AssistAnswer.Reply.Builder |
mergeFrom(com.google.protobuf.Message other) |
AssistAnswer.Reply.Builder |
mergeGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
|
AssistAnswer.Reply.Builder |
setGroundedContent(AssistantGroundedContent.Builder builderForValue)
Possibly grounded response text or media from the assistant.
|
AssistAnswer.Reply.Builder |
setGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
|
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, 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<AssistAnswer.Reply.Builder>public AssistAnswer.Reply.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AssistAnswer.Reply.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<AssistAnswer.Reply.Builder>public AssistAnswer.Reply getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AssistAnswer.Reply build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AssistAnswer.Reply buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AssistAnswer.Reply.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssistAnswer.Reply.Builder>public AssistAnswer.Reply.Builder mergeFrom(AssistAnswer.Reply other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AssistAnswer.Reply.Builder>public AssistAnswer.Reply.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<AssistAnswer.Reply.Builder>IOExceptionpublic AssistAnswer.Reply.ReplyCase getReplyCase()
getReplyCase in interface AssistAnswer.ReplyOrBuilderpublic AssistAnswer.Reply.Builder clearReply()
public boolean hasGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
hasGroundedContent in interface AssistAnswer.ReplyOrBuilderpublic AssistantGroundedContent getGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
getGroundedContent in interface AssistAnswer.ReplyOrBuilderpublic AssistAnswer.Reply.Builder setGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
public AssistAnswer.Reply.Builder setGroundedContent(AssistantGroundedContent.Builder builderForValue)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
public AssistAnswer.Reply.Builder mergeGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
public AssistAnswer.Reply.Builder clearGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
public AssistantGroundedContent.Builder getGroundedContentBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
public AssistantGroundedContentOrBuilder getGroundedContentOrBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
getGroundedContentOrBuilder in interface AssistAnswer.ReplyOrBuilderCopyright © 2026 Google LLC. All rights reserved.