An example image.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.Image image = 1;</code>
@param \Google\Cloud\AutoMl\V1beta1\Image $var
@return $this
779269
public function setImage($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\Image::class);
        $this->writeOneof(1, $var);

        return $this;
    }
1060666
public function setInstance($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance::class);
        $this->instance = $var;

        return $this;
    }
1257138
public function setGcsSource($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\GcsSource::class);
        $this->gcs_source = $var;

        return $this;
    }
344071
public function setMedical($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\Likelihood::class);
        $this->medical = $var;

        return $this;
    }
463447
public function setLink($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Trace\V2\Span\Link::class);
        $this->link = $arr;

        return $this;
    }
1272578
public function setDominantColors($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\DominantColorsAnnotation::class);
        $this->dominant_colors = $var;

        return $this;
    }
380038
public function setTemplate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\WorkflowTemplate::class);
        $this->template = $var;

        return $this;
    }
510863
public function setParameters($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->parameters = $arr;

        return $this;
    }
886995
public function setCloudRepo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudRepoSourceContext::class);
        $this->writeOneof(1, $var);

        return $this;
    }
96178
public function setType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\Type::class);
        $this->type = $var;

        return $this;
    }
1087048
public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Value::class);
        $this->value = $var;

        return $this;
    }
59759
public function setImageRatio($v)
    {
        if ($v !== null) {
            $v = (double) $v;
        }

        if ($this->image_ratio !== $v) {
            $this->image_ratio = $v;
            $this->modifiedColumns[FeatureTypeTableMap::IMAGE_RATIO] = true;
        }


        return $this;
    }
33877
public function setKeyValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\Key::class);
        $this->writeOneof(5, $var);

        return $this;
    }
305412
public function setBlocks($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Block::class);
        $this->blocks = $arr;

        return $this;
    }
771306
public function setApplication($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Application::class);
        $this->application = $var;

        return $this;
    }
988554
public function setSnapshots($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PubSub\V1\Snapshot::class);
        $this->snapshots = $arr;

        return $this;
    }
138308
public function setTenant($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Tenant::class);
        $this->tenant = $var;

        return $this;
    }