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

namespace Google\Cloud\AuditManager\V1;

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

/**
 * The regulatory family of the control.
 *
 * Generated from protobuf message <code>google.cloud.auditmanager.v1.ControlFamily</code>
 */
class ControlFamily extends \Google\Protobuf\Internal\Message
{
    /**
     * The ID of the regulatory control family.
     *
     * Generated from protobuf field <code>string family_id = 1;</code>
     */
    protected $family_id = '';
    /**
     * The display name of the regulatory control family.
     *
     * Generated from protobuf field <code>string display_name = 2;</code>
     */
    protected $display_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $family_id
     *           The ID of the regulatory control family.
     *     @type string $display_name
     *           The display name of the regulatory control family.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Auditmanager\V1\Auditmanager::initOnce();
        parent::__construct($data);
    }

    /**
     * The ID of the regulatory control family.
     *
     * Generated from protobuf field <code>string family_id = 1;</code>
     * @return string
     */
    public function getFamilyId()
    {
        return $this->family_id;
    }

    /**
     * The ID of the regulatory control family.
     *
     * Generated from protobuf field <code>string family_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setFamilyId($var)
    {
        GPBUtil::checkString($var, True);
        $this->family_id = $var;

        return $this;
    }

    /**
     * The display name of the regulatory control family.
     *
     * Generated from protobuf field <code>string display_name = 2;</code>
     * @return string
     */
    public function getDisplayName()
    {
        return $this->display_name;
    }

    /**
     * The display name of the regulatory control family.
     *
     * Generated from protobuf field <code>string display_name = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->display_name = $var;

        return $this;
    }

}

