attachment = $attachment; } /** * @return Attachment[] */ public function getAttachment() { return $this->attachment; } /** * @param Segment[] */ public function setSegment($segment) { $this->segment = $segment; } /** * @return Segment[] */ public function getSegment() { return $this->segment; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MessageContent::class, 'Google_Service_CloudSearch_MessageContent');