All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.retail.v2beta.CompleteQueryResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.51.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/retail/v2beta/completion_service.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.retail.v2beta;

public interface CompleteQueryResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2beta.CompleteQueryResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Results of the matching suggestions. The result list is ordered and the
   * first result is top suggestion.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult completion_results = 1; * */ java.util.List getCompletionResultsList(); /** * * *
   * Results of the matching suggestions. The result list is ordered and the
   * first result is top suggestion.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult completion_results = 1; * */ com.google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult getCompletionResults( int index); /** * * *
   * Results of the matching suggestions. The result list is ordered and the
   * first result is top suggestion.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult completion_results = 1; * */ int getCompletionResultsCount(); /** * * *
   * Results of the matching suggestions. The result list is ordered and the
   * first result is top suggestion.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult completion_results = 1; * */ java.util.List< ? extends com.google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList(); /** * * *
   * Results of the matching suggestions. The result list is ordered and the
   * first result is top suggestion.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResult completion_results = 1; * */ com.google.cloud.retail.v2beta.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder(int index); /** * * *
   * A unique complete token. This should be included in the
   * [UserEvent.completion_detail][google.cloud.retail.v2beta.UserEvent.completion_detail]
   * for search events resulting from this completion, which enables accurate
   * attribution of complete model performance.
   * 
* * string attribution_token = 2; * * @return The attributionToken. */ java.lang.String getAttributionToken(); /** * * *
   * A unique complete token. This should be included in the
   * [UserEvent.completion_detail][google.cloud.retail.v2beta.UserEvent.completion_detail]
   * for search events resulting from this completion, which enables accurate
   * attribution of complete model performance.
   * 
* * string attribution_token = 2; * * @return The bytes for attributionToken. */ com.google.protobuf.ByteString getAttributionTokenBytes(); /** * * *
   * Deprecated. Matched recent searches of this user. The maximum number of
   * recent searches is 10. This field is a restricted feature. If you want to
   * enable it, contact Retail Search support.
   *
   * This feature is only available when
   * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2beta.CompleteQueryRequest.visitor_id]
   * field is set and [UserEvent][google.cloud.retail.v2beta.UserEvent] is
   * imported. The recent searches satisfy the follow rules:
   *
   *  * They are ordered from latest to oldest.
   *
   *  * They are matched with
   *  [CompleteQueryRequest.query][google.cloud.retail.v2beta.CompleteQueryRequest.query]
   *  case insensitively.
   *
   *  * They are transformed to lower case.
   *
   *  * They are UTF-8 safe.
   *
   * Recent searches are deduplicated. More recent searches will be reserved
   * when duplication happens.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult recent_search_results = 3 [deprecated = true]; * */ @java.lang.Deprecated java.util.List getRecentSearchResultsList(); /** * * *
   * Deprecated. Matched recent searches of this user. The maximum number of
   * recent searches is 10. This field is a restricted feature. If you want to
   * enable it, contact Retail Search support.
   *
   * This feature is only available when
   * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2beta.CompleteQueryRequest.visitor_id]
   * field is set and [UserEvent][google.cloud.retail.v2beta.UserEvent] is
   * imported. The recent searches satisfy the follow rules:
   *
   *  * They are ordered from latest to oldest.
   *
   *  * They are matched with
   *  [CompleteQueryRequest.query][google.cloud.retail.v2beta.CompleteQueryRequest.query]
   *  case insensitively.
   *
   *  * They are transformed to lower case.
   *
   *  * They are UTF-8 safe.
   *
   * Recent searches are deduplicated. More recent searches will be reserved
   * when duplication happens.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult recent_search_results = 3 [deprecated = true]; * */ @java.lang.Deprecated com.google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult getRecentSearchResults( int index); /** * * *
   * Deprecated. Matched recent searches of this user. The maximum number of
   * recent searches is 10. This field is a restricted feature. If you want to
   * enable it, contact Retail Search support.
   *
   * This feature is only available when
   * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2beta.CompleteQueryRequest.visitor_id]
   * field is set and [UserEvent][google.cloud.retail.v2beta.UserEvent] is
   * imported. The recent searches satisfy the follow rules:
   *
   *  * They are ordered from latest to oldest.
   *
   *  * They are matched with
   *  [CompleteQueryRequest.query][google.cloud.retail.v2beta.CompleteQueryRequest.query]
   *  case insensitively.
   *
   *  * They are transformed to lower case.
   *
   *  * They are UTF-8 safe.
   *
   * Recent searches are deduplicated. More recent searches will be reserved
   * when duplication happens.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult recent_search_results = 3 [deprecated = true]; * */ @java.lang.Deprecated int getRecentSearchResultsCount(); /** * * *
   * Deprecated. Matched recent searches of this user. The maximum number of
   * recent searches is 10. This field is a restricted feature. If you want to
   * enable it, contact Retail Search support.
   *
   * This feature is only available when
   * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2beta.CompleteQueryRequest.visitor_id]
   * field is set and [UserEvent][google.cloud.retail.v2beta.UserEvent] is
   * imported. The recent searches satisfy the follow rules:
   *
   *  * They are ordered from latest to oldest.
   *
   *  * They are matched with
   *  [CompleteQueryRequest.query][google.cloud.retail.v2beta.CompleteQueryRequest.query]
   *  case insensitively.
   *
   *  * They are transformed to lower case.
   *
   *  * They are UTF-8 safe.
   *
   * Recent searches are deduplicated. More recent searches will be reserved
   * when duplication happens.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult recent_search_results = 3 [deprecated = true]; * */ @java.lang.Deprecated java.util.List< ? extends com.google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResultOrBuilder> getRecentSearchResultsOrBuilderList(); /** * * *
   * Deprecated. Matched recent searches of this user. The maximum number of
   * recent searches is 10. This field is a restricted feature. If you want to
   * enable it, contact Retail Search support.
   *
   * This feature is only available when
   * [CompleteQueryRequest.visitor_id][google.cloud.retail.v2beta.CompleteQueryRequest.visitor_id]
   * field is set and [UserEvent][google.cloud.retail.v2beta.UserEvent] is
   * imported. The recent searches satisfy the follow rules:
   *
   *  * They are ordered from latest to oldest.
   *
   *  * They are matched with
   *  [CompleteQueryRequest.query][google.cloud.retail.v2beta.CompleteQueryRequest.query]
   *  case insensitively.
   *
   *  * They are transformed to lower case.
   *
   *  * They are UTF-8 safe.
   *
   * Recent searches are deduplicated. More recent searches will be reserved
   * when duplication happens.
   * 
* * * repeated .google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResult recent_search_results = 3 [deprecated = true]; * */ @java.lang.Deprecated com.google.cloud.retail.v2beta.CompleteQueryResponse.RecentSearchResultOrBuilder getRecentSearchResultsOrBuilder(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy