public final class Reply extends GeneratedMessageV3 implements ReplyOrBuilder
Defines a reply message to user.
Protobuf type google.cloud.discoveryengine.v1beta.Reply
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLY_FIELD_NUMBER
public static final int REPLY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Reply getDefaultInstance()
Returns |
Type |
Description |
Reply |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Reply.Builder newBuilder()
newBuilder(Reply prototype)
public static Reply.Builder newBuilder(Reply prototype)
Parameter |
Name |
Description |
prototype |
Reply
|
public static Reply parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Reply |
|
public static Reply parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
parseFrom(byte[] data)
public static Reply parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Reply |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Reply parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
parseFrom(ByteString data)
public static Reply parseFrom(ByteString data)
Returns |
Type |
Description |
Reply |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reply parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
public static Reply parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Reply |
|
public static Reply parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
public static Reply parseFrom(InputStream input)
Returns |
Type |
Description |
Reply |
|
public static Reply parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
parseFrom(ByteBuffer data)
public static Reply parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Reply |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Reply parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Reply |
|
parser()
public static Parser<Reply> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Reply getDefaultInstanceForType()
Returns |
Type |
Description |
Reply |
|
getParserForType()
public Parser<Reply> getParserForType()
Overrides
getReferences(int index) (deprecated)
public Reply.Reference getReferences(int index)
References in the reply.
repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
getReferencesCount() (deprecated)
public int getReferencesCount()
References in the reply.
repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];
Returns |
Type |
Description |
int |
|
getReferencesList() (deprecated)
public List<Reply.Reference> getReferencesList()
References in the reply.
repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];
getReferencesOrBuilder(int index) (deprecated)
public Reply.ReferenceOrBuilder getReferencesOrBuilder(int index)
References in the reply.
repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];
Parameter |
Name |
Description |
index |
int
|
getReferencesOrBuilderList() (deprecated)
public List<? extends Reply.ReferenceOrBuilder> getReferencesOrBuilderList()
References in the reply.
repeated .google.cloud.discoveryengine.v1beta.Reply.Reference references = 2 [deprecated = true];
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.Reply.ReferenceOrBuilder> |
|
getReply() (deprecated)
Deprecated. google.cloud.discoveryengine.v1beta.Reply.reply is deprecated. See
google/cloud/discoveryengine/v1beta/conversation.proto;l=98
DEPRECATED: use summary
instead.
Text reply.
string reply = 1 [deprecated = true];
Returns |
Type |
Description |
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=98
DEPRECATED: use summary
instead.
Text reply.
string reply = 1 [deprecated = true];
Returns |
Type |
Description |
ByteString |
The bytes for reply.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSummary()
public SearchResponse.Summary getSummary()
Summary based on search results.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;
getSummaryOrBuilder()
public SearchResponse.SummaryOrBuilder getSummaryOrBuilder()
Summary based on search results.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;
hasSummary()
public boolean hasSummary()
Summary based on search results.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 3;
Returns |
Type |
Description |
boolean |
Whether the summary field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Reply.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Reply.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Reply.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides