public static final class AssistAnswer.Reply extends GeneratedMessage implements AssistAnswer.ReplyOrBuilderOne part of the multi-part response of the assist call.
Protobuf type google.cloud.discoveryengine.v1.AssistAnswer.Reply
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AssistAnswer.ReplyImplements
AssistAnswer.ReplyOrBuilderStatic Fields
GROUNDED_CONTENT_FIELD_NUMBER
public static final int GROUNDED_CONTENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AssistAnswer.Reply getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AssistAnswer.Reply.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.Builder |
|
newBuilder(AssistAnswer.Reply prototype)
public static AssistAnswer.Reply.Builder newBuilder(AssistAnswer.Reply prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AssistAnswer.Reply |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.Builder |
|
parseDelimitedFrom(InputStream input)
public static AssistAnswer.Reply parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AssistAnswer.Reply parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AssistAnswer.Reply parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AssistAnswer.Reply parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AssistAnswer.Reply parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AssistAnswer.Reply parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AssistAnswer.Reply parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AssistAnswer.Reply> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Reply> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AssistAnswer.Reply getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply |
|
getGroundedContent()
public AssistantGroundedContent getGroundedContent()Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent |
The groundedContent. |
getGroundedContentOrBuilder()
public AssistantGroundedContentOrBuilder getGroundedContentOrBuilder()Possibly grounded response text or media from the assistant.
.google.cloud.discoveryengine.v1.AssistantGroundedContent grounded_content = 1;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContentOrBuilder |
|
getParserForType()
public Parser<AssistAnswer.Reply> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Reply> |
|
getReplyCase()
public AssistAnswer.Reply.ReplyCase getReplyCase()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.ReplyCase |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AssistAnswer.Reply.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AssistAnswer.Reply.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.Builder |
|
toBuilder()
public AssistAnswer.Reply.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Reply.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|