Class AssistAnswer.Reply.Builder (0.72.0)
public static final class AssistAnswer.Reply.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssistAnswer.Reply.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AssistAnswer.Reply build()
buildPartial()
public AssistAnswer.Reply buildPartial()
clear()
public AssistAnswer.Reply.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AssistAnswer.Reply.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGroundedContent()
public AssistAnswer.Reply.Builder clearGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public AssistAnswer.Reply.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReply()
public AssistAnswer.Reply.Builder clearReply()
clone()
public AssistAnswer.Reply.Builder clone()
Overrides
getDefaultInstanceForType()
public AssistAnswer.Reply getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGroundedContent()
public AssistantGroundedContent getGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
getGroundedContentBuilder()
public AssistantGroundedContent.Builder getGroundedContentBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
getGroundedContentOrBuilder()
public AssistantGroundedContentOrBuilder getGroundedContentOrBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
getReplyCase()
public AssistAnswer.Reply.ReplyCase getReplyCase()
hasGroundedContent()
public boolean hasGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
Returns |
Type |
Description |
boolean |
Whether the groundedContent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AssistAnswer.Reply other)
public AssistAnswer.Reply.Builder mergeFrom(AssistAnswer.Reply other)
public AssistAnswer.Reply.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AssistAnswer.Reply.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGroundedContent(AssistantGroundedContent value)
public AssistAnswer.Reply.Builder mergeGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssistAnswer.Reply.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AssistAnswer.Reply.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGroundedContent(AssistantGroundedContent value)
public AssistAnswer.Reply.Builder setGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
setGroundedContent(AssistantGroundedContent.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssistAnswer.Reply.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AssistAnswer.Reply.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]