<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/talent/v4/common.proto

namespace Google\Cloud\Talent\V4;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Debug information.
 *
 * Generated from protobuf message <code>google.cloud.talent.v4.DebugInfo</code>
 */
class DebugInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string query_debug_info = 1;</code>
     */
    private $query_debug_info = '';
    /**
     * Generated from protobuf field <code>string moonshine_debug_info = 2;</code>
     */
    private $moonshine_debug_info = '';
    /**
     * Identifiers for the versions of the search algorithm used during
     * this API invocation if multiple algorithms are used.
     * The default value is empty.
     *
     * Generated from protobuf field <code>repeated int32 experiment_ids = 3;</code>
     */
    private $experiment_ids;
    /**
     * The model id for profiles recommendation.
     *
     * Generated from protobuf field <code>string recommend_model_id = 4;</code>
     */
    private $recommend_model_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $query_debug_info
     *     @type string $moonshine_debug_info
     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $experiment_ids
     *           Identifiers for the versions of the search algorithm used during
     *           this API invocation if multiple algorithms are used.
     *           The default value is empty.
     *     @type string $recommend_model_id
     *           The model id for profiles recommendation.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Talent\V4\Common::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string query_debug_info = 1;</code>
     * @return string
     */
    public function getQueryDebugInfo()
    {
        return $this->query_debug_info;
    }

    /**
     * Generated from protobuf field <code>string query_debug_info = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setQueryDebugInfo($var)
    {
        GPBUtil::checkString($var, True);
        $this->query_debug_info = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string moonshine_debug_info = 2;</code>
     * @return string
     */
    public function getMoonshineDebugInfo()
    {
        return $this->moonshine_debug_info;
    }

    /**
     * Generated from protobuf field <code>string moonshine_debug_info = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setMoonshineDebugInfo($var)
    {
        GPBUtil::checkString($var, True);
        $this->moonshine_debug_info = $var;

        return $this;
    }

    /**
     * Identifiers for the versions of the search algorithm used during
     * this API invocation if multiple algorithms are used.
     * The default value is empty.
     *
     * Generated from protobuf field <code>repeated int32 experiment_ids = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getExperimentIds()
    {
        return $this->experiment_ids;
    }

    /**
     * Identifiers for the versions of the search algorithm used during
     * this API invocation if multiple algorithms are used.
     * The default value is empty.
     *
     * Generated from protobuf field <code>repeated int32 experiment_ids = 3;</code>
     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setExperimentIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->experiment_ids = $arr;

        return $this;
    }

    /**
     * The model id for profiles recommendation.
     *
     * Generated from protobuf field <code>string recommend_model_id = 4;</code>
     * @return string
     */
    public function getRecommendModelId()
    {
        return $this->recommend_model_id;
    }

    /**
     * The model id for profiles recommendation.
     *
     * Generated from protobuf field <code>string recommend_model_id = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setRecommendModelId($var)
    {
        GPBUtil::checkString($var, True);
        $this->recommend_model_id = $var;

        return $this;
    }

}

