Class Reply (0.20.0)

public final class Reply extends GeneratedMessageV3 implements ReplyOrBuilder

Defines a reply message to user.

Protobuf type google.cloud.discoveryengine.v1beta.Reply

Implements

ReplyOrBuilder

Static Fields

REFERENCES_FIELD_NUMBER

public static final int REFERENCES_FIELD_NUMBER
Field Value
TypeDescription
int

REPLY_FIELD_NUMBER

public static final int REPLY_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARY_FIELD_NUMBER

public static final int SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Reply getDefaultInstance()
Returns
TypeDescription
Reply

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Reply.Builder newBuilder()
Returns
TypeDescription
Reply.Builder

newBuilder(Reply prototype)

public static Reply.Builder newBuilder(Reply prototype)
Parameter
NameDescription
prototypeReply
Returns
TypeDescription
Reply.Builder

parseDelimitedFrom(InputStream input)

public static Reply parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Reply parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Reply parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Reply parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Reply parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Reply parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Reply parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Reply parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Reply parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Reply> parser()
Returns
TypeDescription
Parser<Reply>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Reply getDefaultInstanceForType()
Returns
TypeDescription
Reply

getParserForType()

public Parser<Reply> getParserForType()
Returns
TypeDescription
Parser<Reply>
Overrides

getReferences(int index)

public Reply.Reference getReferences(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
Reply.Reference

getReferencesCount()

public int getReferencesCount()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
TypeDescription
int

getReferencesList()

public List<Reply.Reference> getReferencesList()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
TypeDescription
List<Reference>

getReferencesOrBuilder(int index)

public Reply.ReferenceOrBuilder getReferencesOrBuilder(int index)

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
Reply.ReferenceOrBuilder

getReferencesOrBuilderList()

public List<? extends Reply.ReferenceOrBuilder> getReferencesOrBuilderList()

References in the reply.

repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.Reply.ReferenceOrBuilder>

getReply() (deprecated)

public String getReply()

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=95

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Returns
TypeDescription
String

The reply.

getReplyBytes() (deprecated)

public ByteString getReplyBytes()

Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See google/cloud/discoveryengine/v1beta/conversation.proto;l=95

DEPRECATED: use summary instead. Text reply.

string reply = 1 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for reply.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummary()

public SearchResponse.Summary getSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
TypeDescription
SearchResponse.Summary

The summary.

getSummaryOrBuilder()

public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
TypeDescription
SearchResponse.SummaryOrBuilder

hasSummary()

public boolean hasSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;

Returns
TypeDescription
boolean

Whether the summary field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Reply.Builder newBuilderForType()
Returns
TypeDescription
Reply.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Reply.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Reply.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Reply.Builder toBuilder()
Returns
TypeDescription
Reply.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException