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

com.google.cloud.retail.v2alpha.PredictResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.55.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/v2alpha/prediction_service.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2alpha;

public interface PredictResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2alpha.PredictResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * 
* * repeated .google.cloud.retail.v2alpha.PredictResponse.PredictionResult results = 1; * */ java.util.List getResultsList(); /** * * *
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * 
* * repeated .google.cloud.retail.v2alpha.PredictResponse.PredictionResult results = 1; * */ com.google.cloud.retail.v2alpha.PredictResponse.PredictionResult getResults(int index); /** * * *
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * 
* * repeated .google.cloud.retail.v2alpha.PredictResponse.PredictionResult results = 1; * */ int getResultsCount(); /** * * *
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * 
* * repeated .google.cloud.retail.v2alpha.PredictResponse.PredictionResult results = 1; * */ java.util.List< ? extends com.google.cloud.retail.v2alpha.PredictResponse.PredictionResultOrBuilder> getResultsOrBuilderList(); /** * * *
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * 
* * repeated .google.cloud.retail.v2alpha.PredictResponse.PredictionResult results = 1; * */ com.google.cloud.retail.v2alpha.PredictResponse.PredictionResultOrBuilder getResultsOrBuilder( int index); /** * * *
   * A unique attribution token. This should be included in the
   * [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this
   * recommendation, which enables accurate attribution of recommendation model
   * performance.
   * 
* * string attribution_token = 2; * * @return The attributionToken. */ java.lang.String getAttributionToken(); /** * * *
   * A unique attribution token. This should be included in the
   * [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this
   * recommendation, which enables accurate attribution of recommendation model
   * performance.
   * 
* * string attribution_token = 2; * * @return The bytes for attributionToken. */ com.google.protobuf.ByteString getAttributionTokenBytes(); /** * * *
   * IDs of products in the request that were missing from the inventory.
   * 
* * repeated string missing_ids = 3; * * @return A list containing the missingIds. */ java.util.List getMissingIdsList(); /** * * *
   * IDs of products in the request that were missing from the inventory.
   * 
* * repeated string missing_ids = 3; * * @return The count of missingIds. */ int getMissingIdsCount(); /** * * *
   * IDs of products in the request that were missing from the inventory.
   * 
* * repeated string missing_ids = 3; * * @param index The index of the element to return. * @return The missingIds at the given index. */ java.lang.String getMissingIds(int index); /** * * *
   * IDs of products in the request that were missing from the inventory.
   * 
* * repeated string missing_ids = 3; * * @param index The index of the value to return. * @return The bytes of the missingIds at the given index. */ com.google.protobuf.ByteString getMissingIdsBytes(int index); /** * * *
   * True if the validateOnly property was set in the request.
   * 
* * bool validate_only = 4; * * @return The validateOnly. */ boolean getValidateOnly(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy