unit = $unit; } /** * @return string */ public function getUnit() { return $this->unit; } /** * @param float */ public function setWeight($weight) { $this->weight = $weight; } /** * @return float */ public function getWeight() { return $this->weight; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GeostoreWeightProto::class, 'Google_Service_Contentwarehouse_GeostoreWeightProto');