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

namespace Rv\Data\API_v1_Link_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_Link_Response.Status</code>
 */
class Status extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.API_v1_GroupDefinition group_definition = 1;</code>
     */
    protected $group_definition = null;
    /**
     * Generated from protobuf field <code>string member_name = 2;</code>
     */
    protected $member_name = '';

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

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

        return $this;
    }

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

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

        return $this;
    }

}

