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

namespace Rv\Data\ProLink\TowerMessage;

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

/**
 * Generated from protobuf message <code>rv.data.ProLink.TowerMessage.TowerHeartbeatResponse</code>
 */
class TowerHeartbeatResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
     */
    protected $group_definition = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\ProLink\GroupDefinition $group_definition
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
     * @return \Rv\Data\ProLink\GroupDefinition|null
     */
    public function getGroupDefinition()
    {
        return $this->group_definition;
    }

    public function hasGroupDefinition()
    {
        return isset($this->group_definition);
    }

    public function clearGroupDefinition()
    {
        unset($this->group_definition);
    }

    /**
     * Generated from protobuf field <code>.rv.data.ProLink.GroupDefinition group_definition = 1;</code>
     * @param \Rv\Data\ProLink\GroupDefinition $var
     * @return $this
     */
    public function setGroupDefinition($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\ProLink\GroupDefinition::class);
        $this->group_definition = $var;

        return $this;
    }

}

