public static final class ConverseConversationResponse.Builder extends GeneratedMessageV3.Builder<ConverseConversationResponse.Builder> implements ConverseConversationResponseOrBuilder
Response message for
ConversationalSearchService.ConverseConversation
method.
Protobuf type google.cloud.discoveryengine.v1.ConverseConversationResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSearchResults(Iterable<? extends SearchResponse.SearchResult> values)
public ConverseConversationResponse.Builder addAllSearchResults(Iterable<? extends SearchResponse.SearchResult> values)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.discoveryengine.v1.SearchResponse.SearchResult>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConverseConversationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSearchResults(SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder addSearchResults(SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
addSearchResults(SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder addSearchResults(SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
addSearchResults(int index, SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder addSearchResults(int index, SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
addSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder addSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
addSearchResultsBuilder()
public SearchResponse.SearchResult.Builder addSearchResultsBuilder()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
addSearchResultsBuilder(int index)
public SearchResponse.SearchResult.Builder addSearchResultsBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
index | int
|
build()
public ConverseConversationResponse build()
buildPartial()
public ConverseConversationResponse buildPartial()
clear()
public ConverseConversationResponse.Builder clear()
Overrides
clearConversation()
public ConverseConversationResponse.Builder clearConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
clearField(Descriptors.FieldDescriptor field)
public ConverseConversationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConverseConversationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReply()
public ConverseConversationResponse.Builder clearReply()
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
clearSearchResults()
public ConverseConversationResponse.Builder clearSearchResults()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
clone()
public ConverseConversationResponse.Builder clone()
Overrides
getConversation()
public Conversation getConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
getConversationBuilder()
public Conversation.Builder getConversationBuilder()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
getConversationOrBuilder()
public ConversationOrBuilder getConversationOrBuilder()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
getDefaultInstanceForType()
public ConverseConversationResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReply()
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
Returns |
---|
Type | Description |
Reply | The reply.
|
getReplyBuilder()
public Reply.Builder getReplyBuilder()
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
getReplyOrBuilder()
public ReplyOrBuilder getReplyOrBuilder()
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
getSearchResults(int index)
public SearchResponse.SearchResult getSearchResults(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
index | int
|
getSearchResultsBuilder(int index)
public SearchResponse.SearchResult.Builder getSearchResultsBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
index | int
|
getSearchResultsBuilderList()
public List<SearchResponse.SearchResult.Builder> getSearchResultsBuilderList()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
getSearchResultsCount()
public int getSearchResultsCount()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Returns |
---|
Type | Description |
int | |
getSearchResultsList()
public List<SearchResponse.SearchResult> getSearchResultsList()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
getSearchResultsOrBuilder(int index)
public SearchResponse.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
index | int
|
getSearchResultsOrBuilderList()
public List<? extends SearchResponse.SearchResultOrBuilder> getSearchResultsOrBuilderList()
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.SearchResponse.SearchResultOrBuilder> | |
hasConversation()
public boolean hasConversation()
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.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.v1.Reply reply = 1;
Returns |
---|
Type | Description |
boolean | Whether the reply field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConversation(Conversation value)
public ConverseConversationResponse.Builder mergeConversation(Conversation value)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
mergeFrom(ConverseConversationResponse other)
public ConverseConversationResponse.Builder mergeFrom(ConverseConversationResponse other)
public ConverseConversationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConverseConversationResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeReply(Reply value)
public ConverseConversationResponse.Builder mergeReply(Reply value)
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
Parameter |
---|
Name | Description |
value | Reply
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConverseConversationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSearchResults(int index)
public ConverseConversationResponse.Builder removeSearchResults(int index)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
Parameter |
---|
Name | Description |
index | int
|
setConversation(Conversation value)
public ConverseConversationResponse.Builder setConversation(Conversation value)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
setConversation(Conversation.Builder builderForValue)
public ConverseConversationResponse.Builder setConversation(Conversation.Builder builderForValue)
Updated conversation including the answer.
.google.cloud.discoveryengine.v1.Conversation conversation = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public ConverseConversationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConverseConversationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReply(Reply value)
public ConverseConversationResponse.Builder setReply(Reply value)
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
Parameter |
---|
Name | Description |
value | Reply
|
setReply(Reply.Builder builderForValue)
public ConverseConversationResponse.Builder setReply(Reply.Builder builderForValue)
Answer to the current query.
.google.cloud.discoveryengine.v1.Reply reply = 1;
setSearchResults(int index, SearchResponse.SearchResult value)
public ConverseConversationResponse.Builder setSearchResults(int index, SearchResponse.SearchResult value)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
setSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
public ConverseConversationResponse.Builder setSearchResults(int index, SearchResponse.SearchResult.Builder builderForValue)
Search Results.
repeated .google.cloud.discoveryengine.v1.SearchResponse.SearchResult search_results = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final ConverseConversationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides