aggregation = $aggregation; } /** * @return string */ public function getAggregation() { return $this->aggregation; } /** * @param LocalizedString */ public function setCategory(LocalizedString $category) { $this->category = $category; } /** * @return LocalizedString */ public function getCategory() { return $this->category; } /** * @param DerivedMetric */ public function setDerived(DerivedMetric $derived) { $this->derived = $derived; } /** * @return DerivedMetric */ public function getDerived() { return $this->derived; } /** * @param LocalizedString */ public function setDisplayLabel(LocalizedString $displayLabel) { $this->displayLabel = $displayLabel; } /** * @return LocalizedString */ public function getDisplayLabel() { return $this->displayLabel; } /** * @param bool */ public function setHasNonzeroData($hasNonzeroData) { $this->hasNonzeroData = $hasNonzeroData; } /** * @return bool */ public function getHasNonzeroData() { return $this->hasNonzeroData; } /** * @param float */ public function setHotValue($hotValue) { $this->hotValue = $hotValue; } /** * @return float */ public function getHotValue() { return $this->hotValue; } /** * @param IndexedHotKey[] */ public function setIndexedHotKeys($indexedHotKeys) { $this->indexedHotKeys = $indexedHotKeys; } /** * @return IndexedHotKey[] */ public function getIndexedHotKeys() { return $this->indexedHotKeys; } /** * @param IndexedKeyRangeInfos[] */ public function setIndexedKeyRangeInfos($indexedKeyRangeInfos) { $this->indexedKeyRangeInfos = $indexedKeyRangeInfos; } /** * @return IndexedKeyRangeInfos[] */ public function getIndexedKeyRangeInfos() { return $this->indexedKeyRangeInfos; } /** * @param LocalizedString */ public function setInfo(LocalizedString $info) { $this->info = $info; } /** * @return LocalizedString */ public function getInfo() { return $this->info; } /** * @param MetricMatrix */ public function setMatrix(MetricMatrix $matrix) { $this->matrix = $matrix; } /** * @return MetricMatrix */ public function getMatrix() { return $this->matrix; } /** * @param LocalizedString */ public function setUnit(LocalizedString $unit) { $this->unit = $unit; } /** * @return LocalizedString */ public function getUnit() { return $this->unit; } /** * @param bool */ public function setVisible($visible) { $this->visible = $visible; } /** * @return bool */ public function getVisible() { return $this->visible; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Metric::class, 'Google_Service_Spanner_Metric');