gradido.StateCreateGroup
*/
final class StateCreateGroup extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string name = 1;
*/
private $name = '';
/**
* Generated from protobuf field .gradido.Key groupPublicKey = 2;
*/
private $groupPublicKey = null;
/**
* Generated from protobuf field .gradido.Key parentGroupPublicKey = 3;
*/
private $parentGroupPublicKey = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $name
* @type \Gradido\Key $groupPublicKey
* @type \Gradido\Key $parentGroupPublicKey
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\StateCreateGroup::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string name = 1;
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field string name = 1;
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field .gradido.Key groupPublicKey = 2;
* @return \Gradido\Key
*/
public function getGroupPublicKey()
{
return $this->groupPublicKey;
}
/**
* Generated from protobuf field .gradido.Key groupPublicKey = 2;
* @param \Gradido\Key $var
* @return $this
*/
public function setGroupPublicKey($var)
{
GPBUtil::checkMessage($var, \Gradido\Key::class);
$this->groupPublicKey = $var;
return $this;
}
/**
* Generated from protobuf field .gradido.Key parentGroupPublicKey = 3;
* @return \Gradido\Key
*/
public function getParentGroupPublicKey()
{
return $this->parentGroupPublicKey;
}
/**
* Generated from protobuf field .gradido.Key parentGroupPublicKey = 3;
* @param \Gradido\Key $var
* @return $this
*/
public function setParentGroupPublicKey($var)
{
GPBUtil::checkMessage($var, \Gradido\Key::class);
$this->parentGroupPublicKey = $var;
return $this;
}
}