cardinality = $cardinality; } /** * @return string */ public function getCardinality() { return $this->cardinality; } /** * @param string */ public function setDefaultValue($defaultValue) { $this->defaultValue = $defaultValue; } /** * @return string */ public function getDefaultValue() { return $this->defaultValue; } /** * @param string */ public function setJsonName($jsonName) { $this->jsonName = $jsonName; } /** * @return string */ public function getJsonName() { return $this->jsonName; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param int */ public function setNumber($number) { $this->number = $number; } /** * @return int */ public function getNumber() { return $this->number; } /** * @param int */ public function setOneofIndex($oneofIndex) { $this->oneofIndex = $oneofIndex; } /** * @return int */ public function getOneofIndex() { return $this->oneofIndex; } /** * @param Option[] */ public function setOptions($options) { $this->options = $options; } /** * @return Option[] */ public function getOptions() { return $this->options; } /** * @param bool */ public function setPacked($packed) { $this->packed = $packed; } /** * @return bool */ public function getPacked() { return $this->packed; } /** * @param string */ public function setTypeUrl($typeUrl) { $this->typeUrl = $typeUrl; } /** * @return string */ public function getTypeUrl() { return $this->typeUrl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Field::class, 'Google_Service_ServiceNetworking_Field');