google.protobuf.Mixin */ class Mixin extends \Google\Protobuf\Internal\Message { /** * The fully qualified name of the interface which is included. * * Generated from protobuf field string name = 1; */ private $name = ''; /** * If non-empty specifies a path under which inherited HTTP paths * are rooted. * * Generated from protobuf field string root = 2; */ private $root = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * The fully qualified name of the interface which is included. * @type string $root * If non-empty specifies a path under which inherited HTTP paths * are rooted. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Protobuf\Api::initOnce(); parent::__construct($data); } /** * The fully qualified name of the interface which is included. * * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * The fully qualified name of the interface which is included. * * 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; } /** * If non-empty specifies a path under which inherited HTTP paths * are rooted. * * Generated from protobuf field string root = 2; * @return string */ public function getRoot() { return $this->root; } /** * If non-empty specifies a path under which inherited HTTP paths * are rooted. * * Generated from protobuf field string root = 2; * @param string $var * @return $this */ public function setRoot($var) { GPBUtil::checkString($var, True); $this->root = $var; return $this; } }