Class Reply (0.36.0)

public final class Reply extends GeneratedMessageV3 implements ReplyOrBuilder

Defines a reply message to user.

Protobuf type google.cloud.discoveryengine.v1.Reply

Implements

ReplyOrBuilder

Static Fields

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummary()

public SearchResponse.Summary getSummary()

Summary based on search results.

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

Returns
TypeDescription
SearchResponse.Summary

The summary.

getSummaryOrBuilder()

public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()

Summary based on search results.

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

Returns
TypeDescription
SearchResponse.SummaryOrBuilder

hasSummary()

public boolean hasSummary()

Summary based on search results.

.google.cloud.discoveryengine.v1.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