/*
 * Copyright 2020 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/v2/prediction_service.proto

package com.google.cloud.retail.v2;

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

  /**
   *
   *
   * <pre>
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * </pre>
   *
   * <code>repeated .google.cloud.retail.v2.PredictResponse.PredictionResult results = 1;</code>
   */
  java.util.List<com.google.cloud.retail.v2.PredictResponse.PredictionResult> getResultsList();
  /**
   *
   *
   * <pre>
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * </pre>
   *
   * <code>repeated .google.cloud.retail.v2.PredictResponse.PredictionResult results = 1;</code>
   */
  com.google.cloud.retail.v2.PredictResponse.PredictionResult getResults(int index);
  /**
   *
   *
   * <pre>
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * </pre>
   *
   * <code>repeated .google.cloud.retail.v2.PredictResponse.PredictionResult results = 1;</code>
   */
  int getResultsCount();
  /**
   *
   *
   * <pre>
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * </pre>
   *
   * <code>repeated .google.cloud.retail.v2.PredictResponse.PredictionResult results = 1;</code>
   */
  java.util.List<? extends com.google.cloud.retail.v2.PredictResponse.PredictionResultOrBuilder>
      getResultsOrBuilderList();
  /**
   *
   *
   * <pre>
   * A list of recommended products. The order represents the ranking (from the
   * most relevant product to the least).
   * </pre>
   *
   * <code>repeated .google.cloud.retail.v2.PredictResponse.PredictionResult results = 1;</code>
   */
  com.google.cloud.retail.v2.PredictResponse.PredictionResultOrBuilder getResultsOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * A unique attribution token. This should be included in the
   * [UserEvent][google.cloud.retail.v2.UserEvent] logs resulting from this
   * recommendation, which enables accurate attribution of recommendation model
   * performance.
   * </pre>
   *
   * <code>string attribution_token = 2;</code>
   *
   * @return The attributionToken.
   */
  java.lang.String getAttributionToken();
  /**
   *
   *
   * <pre>
   * A unique attribution token. This should be included in the
   * [UserEvent][google.cloud.retail.v2.UserEvent] logs resulting from this
   * recommendation, which enables accurate attribution of recommendation model
   * performance.
   * </pre>
   *
   * <code>string attribution_token = 2;</code>
   *
   * @return The bytes for attributionToken.
   */
  com.google.protobuf.ByteString getAttributionTokenBytes();

  /**
   *
   *
   * <pre>
   * IDs of products in the request that were missing from the inventory.
   * </pre>
   *
   * <code>repeated string missing_ids = 3;</code>
   *
   * @return A list containing the missingIds.
   */
  java.util.List<java.lang.String> getMissingIdsList();
  /**
   *
   *
   * <pre>
   * IDs of products in the request that were missing from the inventory.
   * </pre>
   *
   * <code>repeated string missing_ids = 3;</code>
   *
   * @return The count of missingIds.
   */
  int getMissingIdsCount();
  /**
   *
   *
   * <pre>
   * IDs of products in the request that were missing from the inventory.
   * </pre>
   *
   * <code>repeated string missing_ids = 3;</code>
   *
   * @param index The index of the element to return.
   * @return The missingIds at the given index.
   */
  java.lang.String getMissingIds(int index);
  /**
   *
   *
   * <pre>
   * IDs of products in the request that were missing from the inventory.
   * </pre>
   *
   * <code>repeated string missing_ids = 3;</code>
   *
   * @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);

  /**
   *
   *
   * <pre>
   * True if the validateOnly property was set in the request.
   * </pre>
   *
   * <code>bool validate_only = 4;</code>
   *
   * @return The validateOnly.
   */
  boolean getValidateOnly();
}
