Send feedback
Class ConverseConversationResponse (0.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.51.0 keyboard_arrow_down
public final class ConverseConversationResponse extends GeneratedMessageV3 implements ConverseConversationResponseOrBuilder
Response message for
ConversationalSearchService.ConverseConversation
method.
Protobuf type google.cloud.discoveryengine.v1beta.ConverseConversationResponse
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
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RELATED_QUESTIONS_FIELD_NUMBER
Field Value
Type
Description
int
REPLY_FIELD_NUMBER
public static final int REPLY_FIELD_NUMBER
Field Value
Type
Description
int
SEARCH_RESULTS_FIELD_NUMBER
public static final int SEARCH_RESULTS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ConverseConversationResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ConverseConversationResponse . Builder newBuilder ()
newBuilder(ConverseConversationResponse prototype)
public static ConverseConversationResponse . Builder newBuilder ( ConverseConversationResponse prototype )
public static ConverseConversationResponse parseDelimitedFrom ( InputStream input )
public static ConverseConversationResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ConverseConversationResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConverseConversationResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ConverseConversationResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConverseConversationResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ConverseConversationResponse parseFrom ( CodedInputStream input )
public static ConverseConversationResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ConverseConversationResponse parseFrom ( InputStream input )
public static ConverseConversationResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ConverseConversationResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConverseConversationResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ConverseConversationResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getConversation()
public Conversation getConversation ()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
getConversationOrBuilder()
public ConversationOrBuilder getConversationOrBuilder ()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
getDefaultInstanceForType()
public ConverseConversationResponse getDefaultInstanceForType ()
getParserForType()
public Parser<ConverseConversationResponse> getParserForType ()
Overrides
public String getRelatedQuestions ( int index )
Suggested related questions.
repeated string related_questions = 6;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The relatedQuestions at the given index.
public ByteString getRelatedQuestionsBytes ( int index )
Suggested related questions.
repeated string related_questions = 6;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the relatedQuestions at the given index.
public int getRelatedQuestionsCount ()
Suggested related questions.
repeated string related_questions = 6;
Returns
Type
Description
int
The count of relatedQuestions.
public ProtocolStringList getRelatedQuestionsList ()
Suggested related questions.
repeated string related_questions = 6;
getReply()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
Returns
Type
Description
Reply
The reply.
getReplyOrBuilder()
public ReplyOrBuilder getReplyOrBuilder ()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
getSearchResults(int index)
public SearchResponse . SearchResult getSearchResults ( int index )
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
Parameter
Name
Description
index
int
getSearchResultsCount()
public int getSearchResultsCount ()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
Returns
Type
Description
int
getSearchResultsList()
public List<SearchResponse . SearchResult > getSearchResultsList ()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
getSearchResultsOrBuilder(int index)
public SearchResponse . SearchResultOrBuilder getSearchResultsOrBuilder ( int index )
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
Parameter
Name
Description
index
int
getSearchResultsOrBuilderList()
public List <? extends SearchResponse . SearchResultOrBuilder > getSearchResultsOrBuilderList ()
Search Results.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.SearchResultOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasConversation()
public boolean hasConversation ()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
Returns
Type
Description
boolean
Whether the conversation field is set.
hasReply()
public boolean hasReply ()
Answer to the current query.
.google.cloud.discoveryengine.v1beta.Reply reply = 1;
Returns
Type
Description
boolean
Whether the reply field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ConverseConversationResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConverseConversationResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ConverseConversationResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]