<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v25/common/synthetic_content_info.proto

namespace Google\Ads\GoogleAds\V25\Common;

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

/**
 * Represents an attestation about synthetic content from a single source.
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.common.SyntheticContentAttestation</code>
 */
class SyntheticContentAttestation extends \Google\Protobuf\Internal\Message
{
    /**
     * Indicates whether the content is considered synthetic by this source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;</code>
     */
    protected $status = 0;
    /**
     * The source of the synthetic content attestation.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;</code>
     */
    protected $source = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $status
     *           Indicates whether the content is considered synthetic by this source.
     *     @type int $source
     *           The source of the synthetic content attestation.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Common\SyntheticContentInfo::initOnce();
        parent::__construct($data);
    }

    /**
     * Indicates whether the content is considered synthetic by this source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;</code>
     * @return int
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Indicates whether the content is considered synthetic by this source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setStatus($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V25\Enums\SyntheticContentAttestationStatusEnum\SyntheticContentAttestationStatus::class);
        $this->status = $var;

        return $this;
    }

    /**
     * The source of the synthetic content attestation.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;</code>
     * @return int
     */
    public function getSource()
    {
        return $this->source;
    }

    /**
     * The source of the synthetic content attestation.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v25.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setSource($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V25\Enums\SyntheticContentSourceEnum\SyntheticContentSource::class);
        $this->source = $var;

        return $this;
    }

}

