- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ConverseConversationResponse.Builder extends GeneratedMessageV3.Builder<ConverseConversationResponse.Builder> implements ConverseConversationResponseOrBuilder
Response message for ConversationalSearchService.ConverseConversation method.
Protobuf type google.cloud.discoveryengine.v1alpha.ConverseConversationResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConverseConversationResponse.BuilderImplements
ConverseConversationResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRelatedQuestions(Iterable<String> values)
public ConverseConversationResponse.Builder addAllRelatedQuestions(Iterable<String> values)
Suggested related questions.
repeated string related_questions = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The relatedQuestions to add. |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
This builder for chaining. |
addAllSearchResults(Iterable<? extends SearchResponse.SearchResult> values)
public ConverseConversationResponse.Builder addAllSearchResults(Iterable<? extends SearchResponse.SearchResult> values)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult> |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addRelatedQuestions(String value)
public ConverseConversationResponse.Builder addRelatedQuestions(String value)
Suggested related questions.
repeated string related_questions = 6;
Parameter | |
---|---|
Name | Description |
value |
String The relatedQuestions to add. |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
This builder for chaining. |
addRelatedQuestionsBytes(ByteString value)
public ConverseConversationResponse.Builder addRelatedQuestionsBytes(ByteString value)
Suggested related questions.
repeated string related_questions = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the relatedQuestions to add. |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConverseConversationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addSearchResults(SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder addSearchResults(SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
value |
SearchResponse.SearchResult |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addSearchResults(SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder addSearchResults(SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
SearchResponse.SearchResult.Builder |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addSearchResults(int index, SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder addSearchResults(int index, SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SearchResponse.SearchResult |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder addSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SearchResponse.SearchResult.Builder |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
addSearchResultsBuilder()
public SearchResponse.SearchResult.Builder addSearchResultsBuilder()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
SearchResponse.SearchResult.Builder |
addSearchResultsBuilder(int index)
public SearchResponse.SearchResult.Builder addSearchResultsBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResponse.SearchResult.Builder |
build()
public ConverseConversationResponse build()
Returns | |
---|---|
Type | Description |
ConverseConversationResponse |
buildPartial()
public ConverseConversationResponse buildPartial()
Returns | |
---|---|
Type | Description |
ConverseConversationResponse |
clear()
public ConverseConversationResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clearConversation()
public ConverseConversationResponse.Builder clearConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConverseConversationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConverseConversationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clearRelatedQuestions()
public ConverseConversationResponse.Builder clearRelatedQuestions()
Suggested related questions.
repeated string related_questions = 6;
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
This builder for chaining. |
clearReply()
public ConverseConversationResponse.Builder clearReply()
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clearSearchResults()
public ConverseConversationResponse.Builder clearSearchResults()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
clone()
public ConverseConversationResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
getConversation()
public Conversation getConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Returns | |
---|---|
Type | Description |
Conversation |
The conversation. |
getConversationBuilder()
public Conversation.Builder getConversationBuilder()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Returns | |
---|---|
Type | Description |
Conversation.Builder |
getConversationOrBuilder()
public ConversationOrBuilder getConversationOrBuilder()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Returns | |
---|---|
Type | Description |
ConversationOrBuilder |
getDefaultInstanceForType()
public ConverseConversationResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConverseConversationResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRelatedQuestions(int index)
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. |
getRelatedQuestionsBytes(int 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. |
getRelatedQuestionsCount()
public int getRelatedQuestionsCount()
Suggested related questions.
repeated string related_questions = 6;
Returns | |
---|---|
Type | Description |
int |
The count of relatedQuestions. |
getRelatedQuestionsList()
public ProtocolStringList getRelatedQuestionsList()
Suggested related questions.
repeated string related_questions = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the relatedQuestions. |
getReply()
public Reply getReply()
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Returns | |
---|---|
Type | Description |
Reply |
The reply. |
getReplyBuilder()
public Reply.Builder getReplyBuilder()
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Returns | |
---|---|
Type | Description |
Reply.Builder |
getReplyOrBuilder()
public ReplyOrBuilder getReplyOrBuilder()
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Returns | |
---|---|
Type | Description |
ReplyOrBuilder |
getSearchResults(int index)
public SearchResponse.SearchResult getSearchResults(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResponse.SearchResult |
getSearchResultsBuilder(int index)
public SearchResponse.SearchResult.Builder getSearchResultsBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResponse.SearchResult.Builder |
getSearchResultsBuilderList()
public List<SearchResponse.SearchResult.Builder> getSearchResultsBuilderList()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSearchResultsCount()
public int getSearchResultsCount()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
int |
getSearchResultsList()
public List<SearchResponse.SearchResult> getSearchResultsList()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
List<SearchResult> |
getSearchResultsOrBuilder(int index)
public SearchResponse.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SearchResponse.SearchResultOrBuilder |
getSearchResultsOrBuilderList()
public List<? extends SearchResponse.SearchResultOrBuilder> getSearchResultsOrBuilderList()
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResultOrBuilder> |
hasConversation()
public boolean hasConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.Reply reply = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the reply field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConversation(Conversation value)
public ConverseConversationResponse.Builder mergeConversation(Conversation value)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Parameter | |
---|---|
Name | Description |
value |
Conversation |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
mergeFrom(ConverseConversationResponse other)
public ConverseConversationResponse.Builder mergeFrom(ConverseConversationResponse other)
Parameter | |
---|---|
Name | Description |
other |
ConverseConversationResponse |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConverseConversationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConverseConversationResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
mergeReply(Reply value)
public ConverseConversationResponse.Builder mergeReply(Reply value)
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Parameter | |
---|---|
Name | Description |
value |
Reply |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConverseConversationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
removeSearchResults(int index)
public ConverseConversationResponse.Builder removeSearchResults(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setConversation(Conversation value)
public ConverseConversationResponse.Builder setConversation(Conversation value)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Parameter | |
---|---|
Name | Description |
value |
Conversation |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setConversation(Conversation.Builder builderForValue)
public ConverseConversationResponse.Builder setConversation(Conversation.Builder builderForValue)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1alpha.Conversation conversation = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Conversation.Builder |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConverseConversationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setRelatedQuestions(int index, String value)
public ConverseConversationResponse.Builder setRelatedQuestions(int index, String value)
Suggested related questions.
repeated string related_questions = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The relatedQuestions to set. |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConverseConversationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setReply(Reply value)
public ConverseConversationResponse.Builder setReply(Reply value)
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Parameter | |
---|---|
Name | Description |
value |
Reply |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setReply(Reply.Builder builderForValue)
public ConverseConversationResponse.Builder setReply(Reply.Builder builderForValue)
Answer to the current query.
.google.cloud.discoveryengine.v1alpha.Reply reply = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Reply.Builder |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setSearchResults(int index, SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder setSearchResults(int index, SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SearchResponse.SearchResult |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder setSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.SearchResult search_results = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SearchResponse.SearchResult.Builder |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConverseConversationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse.Builder |