palm.lily.v1.S3File */ class S3File extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string bucket = 1; */ protected $bucket = ''; /** * Generated from protobuf field string name = 2; */ protected $name = ''; /** * Generated from protobuf field string content_type = 9; */ protected $content_type = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $bucket * @type string $name * @type string $content_type * } */ public function __construct($data = NULL) { \GPBMetadata\Lily::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string bucket = 1; * @return string */ public function getBucket() { return $this->bucket; } /** * Generated from protobuf field string bucket = 1; * @param string $var * @return $this */ public function setBucket($var) { GPBUtil::checkString($var, True); $this->bucket = $var; return $this; } /** * Generated from protobuf field string name = 2; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 2; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field string content_type = 9; * @return string */ public function getContentType() { return $this->content_type; } /** * Generated from protobuf field string content_type = 9; * @param string $var * @return $this */ public function setContentType($var) { GPBUtil::checkString($var, True); $this->content_type = $var; return $this; } }