<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Capture.proto

namespace Rv\Data\API_v1_Capture_Response;

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

/**
 * Generated from protobuf message <code>rv.data.API_v1_Capture_Response.GetStatus</code>
 */
class GetStatus extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_CaptureStatus status = 1;</code>
     */
    protected $status = 0;
    /**
     * Generated from protobuf field <code>string capture_time = 2;</code>
     */
    protected $capture_time = '';
    /**
     * Generated from protobuf field <code>string status_text = 3;</code>
     */
    protected $status_text = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $status
     *     @type string $capture_time
     *     @type string $status_text
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Capture::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_CaptureStatus status = 1;</code>
     * @return int
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_CaptureStatus status = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setStatus($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\API_v1_CaptureStatus::class);
        $this->status = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string capture_time = 2;</code>
     * @return string
     */
    public function getCaptureTime()
    {
        return $this->capture_time;
    }

    /**
     * Generated from protobuf field <code>string capture_time = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setCaptureTime($var)
    {
        GPBUtil::checkString($var, True);
        $this->capture_time = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string status_text = 3;</code>
     * @return string
     */
    public function getStatusText()
    {
        return $this->status_text;
    }

    /**
     * Generated from protobuf field <code>string status_text = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setStatusText($var)
    {
        GPBUtil::checkString($var, True);
        $this->status_text = $var;

        return $this;
    }

}

