palm.lily.v1.TexToRequest.File */ class File extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field bytes content = 2; */ protected $content = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type string $content * } */ public function __construct($data = NULL) { \GPBMetadata\Lily::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 bytes content = 2; * @return string */ public function getContent() { return $this->content; } /** * Generated from protobuf field bytes content = 2; * @param string $var * @return $this */ public function setContent($var) { GPBUtil::checkString($var, False); $this->content = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(File::class, \Palm\Lily\V1\TexToRequest_File::class);