model.messages.gradido.StateCreateGroup */ class StateCreateGroup extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ private $name = ''; /** * Generated from protobuf field .model.messages.gradido.Key groupPublicKey = 2; */ private $groupPublicKey = null; /** * Generated from protobuf field .model.messages.gradido.Key parentGroupPublicKey = 3; */ private $parentGroupPublicKey = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type \Model\Messages\Gradido\Key $groupPublicKey * @type \Model\Messages\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 .model.messages.gradido.Key groupPublicKey = 2; * @return \Model\Messages\Gradido\Key */ public function getGroupPublicKey() { return $this->groupPublicKey; } /** * Generated from protobuf field .model.messages.gradido.Key groupPublicKey = 2; * @param \Model\Messages\Gradido\Key $var * @return $this */ public function setGroupPublicKey($var) { GPBUtil::checkMessage($var, \Model\Messages\Gradido\Key::class); $this->groupPublicKey = $var; return $this; } /** * Generated from protobuf field .model.messages.gradido.Key parentGroupPublicKey = 3; * @return \Model\Messages\Gradido\Key */ public function getParentGroupPublicKey() { return $this->parentGroupPublicKey; } /** * Generated from protobuf field .model.messages.gradido.Key parentGroupPublicKey = 3; * @param \Model\Messages\Gradido\Key $var * @return $this */ public function setParentGroupPublicKey($var) { GPBUtil::checkMessage($var, \Model\Messages\Gradido\Key::class); $this->parentGroupPublicKey = $var; return $this; } }