<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v23/resources/conversion_value_rule.proto

namespace Google\Ads\GoogleAds\V23\Resources\ConversionValueRule;

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

/**
 * The days of the week on which an itinerary's travel can start.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.resources.ConversionValueRule.ValueRuleItineraryTravelStartDay</code>
 */
class ValueRuleItineraryTravelStartDay extends \Google\Protobuf\Internal\Message
{
    /**
     * The travel can start on Monday.
     *
     * Generated from protobuf field <code>bool monday = 1;</code>
     */
    protected $monday = false;
    /**
     * The travel can start on Tuesday.
     *
     * Generated from protobuf field <code>bool tuesday = 2;</code>
     */
    protected $tuesday = false;
    /**
     * The travel can start on Wednesday.
     *
     * Generated from protobuf field <code>bool wednesday = 3;</code>
     */
    protected $wednesday = false;
    /**
     * The travel can start on Thursday.
     *
     * Generated from protobuf field <code>bool thursday = 4;</code>
     */
    protected $thursday = false;
    /**
     * The travel can start on Friday.
     *
     * Generated from protobuf field <code>bool friday = 5;</code>
     */
    protected $friday = false;
    /**
     * The travel can start on Saturday.
     *
     * Generated from protobuf field <code>bool saturday = 6;</code>
     */
    protected $saturday = false;
    /**
     * The travel can start on Sunday.
     *
     * Generated from protobuf field <code>bool sunday = 7;</code>
     */
    protected $sunday = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $monday
     *           The travel can start on Monday.
     *     @type bool $tuesday
     *           The travel can start on Tuesday.
     *     @type bool $wednesday
     *           The travel can start on Wednesday.
     *     @type bool $thursday
     *           The travel can start on Thursday.
     *     @type bool $friday
     *           The travel can start on Friday.
     *     @type bool $saturday
     *           The travel can start on Saturday.
     *     @type bool $sunday
     *           The travel can start on Sunday.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Resources\ConversionValueRule::initOnce();
        parent::__construct($data);
    }

    /**
     * The travel can start on Monday.
     *
     * Generated from protobuf field <code>bool monday = 1;</code>
     * @return bool
     */
    public function getMonday()
    {
        return $this->monday;
    }

    /**
     * The travel can start on Monday.
     *
     * Generated from protobuf field <code>bool monday = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setMonday($var)
    {
        GPBUtil::checkBool($var);
        $this->monday = $var;

        return $this;
    }

    /**
     * The travel can start on Tuesday.
     *
     * Generated from protobuf field <code>bool tuesday = 2;</code>
     * @return bool
     */
    public function getTuesday()
    {
        return $this->tuesday;
    }

    /**
     * The travel can start on Tuesday.
     *
     * Generated from protobuf field <code>bool tuesday = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setTuesday($var)
    {
        GPBUtil::checkBool($var);
        $this->tuesday = $var;

        return $this;
    }

    /**
     * The travel can start on Wednesday.
     *
     * Generated from protobuf field <code>bool wednesday = 3;</code>
     * @return bool
     */
    public function getWednesday()
    {
        return $this->wednesday;
    }

    /**
     * The travel can start on Wednesday.
     *
     * Generated from protobuf field <code>bool wednesday = 3;</code>
     * @param bool $var
     * @return $this
     */
    public function setWednesday($var)
    {
        GPBUtil::checkBool($var);
        $this->wednesday = $var;

        return $this;
    }

    /**
     * The travel can start on Thursday.
     *
     * Generated from protobuf field <code>bool thursday = 4;</code>
     * @return bool
     */
    public function getThursday()
    {
        return $this->thursday;
    }

    /**
     * The travel can start on Thursday.
     *
     * Generated from protobuf field <code>bool thursday = 4;</code>
     * @param bool $var
     * @return $this
     */
    public function setThursday($var)
    {
        GPBUtil::checkBool($var);
        $this->thursday = $var;

        return $this;
    }

    /**
     * The travel can start on Friday.
     *
     * Generated from protobuf field <code>bool friday = 5;</code>
     * @return bool
     */
    public function getFriday()
    {
        return $this->friday;
    }

    /**
     * The travel can start on Friday.
     *
     * Generated from protobuf field <code>bool friday = 5;</code>
     * @param bool $var
     * @return $this
     */
    public function setFriday($var)
    {
        GPBUtil::checkBool($var);
        $this->friday = $var;

        return $this;
    }

    /**
     * The travel can start on Saturday.
     *
     * Generated from protobuf field <code>bool saturday = 6;</code>
     * @return bool
     */
    public function getSaturday()
    {
        return $this->saturday;
    }

    /**
     * The travel can start on Saturday.
     *
     * Generated from protobuf field <code>bool saturday = 6;</code>
     * @param bool $var
     * @return $this
     */
    public function setSaturday($var)
    {
        GPBUtil::checkBool($var);
        $this->saturday = $var;

        return $this;
    }

    /**
     * The travel can start on Sunday.
     *
     * Generated from protobuf field <code>bool sunday = 7;</code>
     * @return bool
     */
    public function getSunday()
    {
        return $this->sunday;
    }

    /**
     * The travel can start on Sunday.
     *
     * Generated from protobuf field <code>bool sunday = 7;</code>
     * @param bool $var
     * @return $this
     */
    public function setSunday($var)
    {
        GPBUtil::checkBool($var);
        $this->sunday = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ValueRuleItineraryTravelStartDay::class, \Google\Ads\GoogleAds\V23\Resources\ConversionValueRule_ValueRuleItineraryTravelStartDay::class);

