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

namespace Google\Cloud\Dataplex\V1\ScannedData;

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

/**
 * A data range denoted by a pair of start/end values of a field.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.ScannedData.IncrementalField</code>
 */
class IncrementalField extends \Google\Protobuf\Internal\Message
{
    /**
     * The field that contains values which monotonically increases over time
     * (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1;</code>
     */
    protected $field = '';
    /**
     * Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2;</code>
     */
    protected $start = '';
    /**
     * Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3;</code>
     */
    protected $end = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $field
     *           The field that contains values which monotonically increases over time
     *           (e.g. a timestamp column).
     *     @type string $start
     *           Value that marks the start of the range.
     *     @type string $end
     *           Value that marks the end of the range.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\Processing::initOnce();
        parent::__construct($data);
    }

    /**
     * The field that contains values which monotonically increases over time
     * (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1;</code>
     * @return string
     */
    public function getField()
    {
        return $this->field;
    }

    /**
     * The field that contains values which monotonically increases over time
     * (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setField($var)
    {
        GPBUtil::checkString($var, True);
        $this->field = $var;

        return $this;
    }

    /**
     * Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2;</code>
     * @return string
     */
    public function getStart()
    {
        return $this->start;
    }

    /**
     * Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setStart($var)
    {
        GPBUtil::checkString($var, True);
        $this->start = $var;

        return $this;
    }

    /**
     * Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3;</code>
     * @return string
     */
    public function getEnd()
    {
        return $this->end;
    }

    /**
     * Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setEnd($var)
    {
        GPBUtil::checkString($var, True);
        $this->end = $var;

        return $this;
    }

}


