public static final class AssistAnswer.Reply.Builder extends GeneratedMessage.Builder<AssistAnswer.Reply.Builder> implements AssistAnswer.ReplyOrBuilder
One part of the multi-part response of the assist call.
Protobuf type google.cloud.discoveryengine.v1beta.AssistAnswer.Reply
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public AssistAnswer.Reply build()
buildPartial()
public AssistAnswer.Reply buildPartial()
clear()
public AssistAnswer.Reply.Builder clear()
Overrides
clearCreateTime()
public AssistAnswer.Reply.Builder clearCreateTime()
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
clearGroundedContent()
public AssistAnswer.Reply.Builder clearGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent grounded_content = 1;
clearReply()
public AssistAnswer.Reply.Builder clearReply()
getCreateTime()
public Timestamp getCreateTime()
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
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.v1beta.AssistantGroundedContent grounded_content = 1;
getGroundedContentBuilder()
public AssistantGroundedContent.Builder getGroundedContentBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent grounded_content = 1;
getGroundedContentOrBuilder()
public AssistantGroundedContentOrBuilder getGroundedContentOrBuilder()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent grounded_content = 1;
getReplyCase()
public AssistAnswer.Reply.ReplyCase getReplyCase()
hasCreateTime()
public boolean hasCreateTime()
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasGroundedContent()
public boolean hasGroundedContent()
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1beta.AssistantGroundedContent grounded_content = 1;
| Returns |
| Type |
Description |
boolean |
Whether the groundedContent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public AssistAnswer.Reply.Builder mergeCreateTime(Timestamp value)
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
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.v1beta.AssistantGroundedContent grounded_content = 1;
setCreateTime(Timestamp value)
public AssistAnswer.Reply.Builder setCreateTime(Timestamp value)
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
setCreateTime(Timestamp.Builder builderForValue)
public AssistAnswer.Reply.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the reply was created.
.google.protobuf.Timestamp create_time = 14;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setGroundedContent(AssistantGroundedContent value)
public AssistAnswer.Reply.Builder setGroundedContent(AssistantGroundedContent value)
Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1beta.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.v1beta.AssistantGroundedContent grounded_content = 1;