public final class AdvancedCompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 implements AdvancedCompleteQueryResponseOrBuilder
Response message for [CompletionService.AdvancedCompleteQuery][google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery] method.Protobuf type
google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse| Modifier and Type | Class and Description |
|---|---|
static class |
AdvancedCompleteQueryResponse.Builder
Response message for
[CompletionService.AdvancedCompleteQuery][google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery]
method.
|
static class |
AdvancedCompleteQueryResponse.ContentSuggestion
Suggestions as content.
|
static interface |
AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder |
static class |
AdvancedCompleteQueryResponse.PersonSuggestion
Suggestions as people.
|
static interface |
AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder |
static class |
AdvancedCompleteQueryResponse.QuerySuggestion
Suggestions as search queries.
|
static interface |
AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder |
static class |
AdvancedCompleteQueryResponse.RecentSearchSuggestion
Suggestions from recent search history.
|
static interface |
AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_SUGGESTIONS_FIELD_NUMBER |
static int |
PEOPLE_SUGGESTIONS_FIELD_NUMBER |
static int |
QUERY_SUGGESTIONS_FIELD_NUMBER |
static int |
RECENT_SEARCH_SUGGESTIONS_FIELD_NUMBER |
static int |
TAIL_MATCH_TRIGGERED_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int QUERY_SUGGESTIONS_FIELD_NUMBER
public static final int TAIL_MATCH_TRIGGERED_FIELD_NUMBER
public static final int PEOPLE_SUGGESTIONS_FIELD_NUMBER
public static final int CONTENT_SUGGESTIONS_FIELD_NUMBER
public static final int RECENT_SEARCH_SUGGESTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<AdvancedCompleteQueryResponse.QuerySuggestion> getQuerySuggestionsList()
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
getQuerySuggestionsList in interface AdvancedCompleteQueryResponseOrBuilderpublic List<? extends AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder> getQuerySuggestionsOrBuilderList()
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
getQuerySuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilderpublic int getQuerySuggestionsCount()
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
getQuerySuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.QuerySuggestion getQuerySuggestions(int index)
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
getQuerySuggestions in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.QuerySuggestionOrBuilder getQuerySuggestionsOrBuilder(int index)
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.QuerySuggestion query_suggestions = 1;
getQuerySuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilderpublic boolean getTailMatchTriggered()
True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.
bool tail_match_triggered = 2;getTailMatchTriggered in interface AdvancedCompleteQueryResponseOrBuilderpublic List<AdvancedCompleteQueryResponse.PersonSuggestion> getPeopleSuggestionsList()
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
getPeopleSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilderpublic List<? extends AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder> getPeopleSuggestionsOrBuilderList()
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
getPeopleSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilderpublic int getPeopleSuggestionsCount()
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
getPeopleSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.PersonSuggestion getPeopleSuggestions(int index)
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
getPeopleSuggestions in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.PersonSuggestionOrBuilder getPeopleSuggestionsOrBuilder(int index)
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.PersonSuggestion people_suggestions = 3;
getPeopleSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilderpublic List<AdvancedCompleteQueryResponse.ContentSuggestion> getContentSuggestionsList()
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
getContentSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilderpublic List<? extends AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder> getContentSuggestionsOrBuilderList()
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
getContentSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilderpublic int getContentSuggestionsCount()
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
getContentSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.ContentSuggestion getContentSuggestions(int index)
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
getContentSuggestions in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.ContentSuggestionOrBuilder getContentSuggestionsOrBuilder(int index)
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.ContentSuggestion content_suggestions = 4;
getContentSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilderpublic List<AdvancedCompleteQueryResponse.RecentSearchSuggestion> getRecentSearchSuggestionsList()
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
getRecentSearchSuggestionsList in interface AdvancedCompleteQueryResponseOrBuilderpublic List<? extends AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder> getRecentSearchSuggestionsOrBuilderList()
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
getRecentSearchSuggestionsOrBuilderList in interface AdvancedCompleteQueryResponseOrBuilderpublic int getRecentSearchSuggestionsCount()
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
getRecentSearchSuggestionsCount in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.RecentSearchSuggestion getRecentSearchSuggestions(int index)
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
getRecentSearchSuggestions in interface AdvancedCompleteQueryResponseOrBuilderpublic AdvancedCompleteQueryResponse.RecentSearchSuggestionOrBuilder getRecentSearchSuggestionsOrBuilder(int index)
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.
repeated .google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.RecentSearchSuggestion recent_search_suggestions = 5;
getRecentSearchSuggestionsOrBuilder in interface AdvancedCompleteQueryResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AdvancedCompleteQueryResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedCompleteQueryResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedCompleteQueryResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedCompleteQueryResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedCompleteQueryResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedCompleteQueryResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdvancedCompleteQueryResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdvancedCompleteQueryResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdvancedCompleteQueryResponse.Builder newBuilder()
public static AdvancedCompleteQueryResponse.Builder newBuilder(AdvancedCompleteQueryResponse prototype)
public AdvancedCompleteQueryResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdvancedCompleteQueryResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AdvancedCompleteQueryResponse getDefaultInstance()
public static com.google.protobuf.Parser<AdvancedCompleteQueryResponse> parser()
public com.google.protobuf.Parser<AdvancedCompleteQueryResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AdvancedCompleteQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.