<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/vision/v1/image_annotator.proto

namespace Google\Cloud\Vision\V1;

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

/**
 * Parameters for web detection request.
 *
 * Generated from protobuf message <code>google.cloud.vision.v1.WebDetectionParams</code>
 */
class WebDetectionParams extends \Google\Protobuf\Internal\Message
{
    /**
     * This field has no effect on results.
     *
     * Generated from protobuf field <code>bool include_geo_results = 2 [deprecated = true];</code>
     * @deprecated
     */
    protected $include_geo_results = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $include_geo_results
     *           This field has no effect on results.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Vision\V1\ImageAnnotator::initOnce();
        parent::__construct($data);
    }

    /**
     * This field has no effect on results.
     *
     * Generated from protobuf field <code>bool include_geo_results = 2 [deprecated = true];</code>
     * @return bool
     * @deprecated
     */
    public function getIncludeGeoResults()
    {
        if ($this->include_geo_results !== false) {
            @trigger_error('include_geo_results is deprecated.', E_USER_DEPRECATED);
        }
        return $this->include_geo_results;
    }

    /**
     * This field has no effect on results.
     *
     * Generated from protobuf field <code>bool include_geo_results = 2 [deprecated = true];</code>
     * @param bool $var
     * @return $this
     * @deprecated
     */
    public function setIncludeGeoResults($var)
    {
        @trigger_error('include_geo_results is deprecated.', E_USER_DEPRECATED);
        GPBUtil::checkBool($var);
        $this->include_geo_results = $var;

        return $this;
    }

}

