name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param Type */ public function setType(Type $type) { $this->type = $type; } /** * @return Type */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Field::class, 'Google_Service_Spanner_Field');