error = $error; } /** * @return Status */ public function getError() { return $this->error; } /** * @param int */ public function setIndex($index) { $this->index = $index; } /** * @return int */ public function getIndex() { return $this->index; } /** * @param CollectdValueError[] */ public function setValueErrors($valueErrors) { $this->valueErrors = $valueErrors; } /** * @return CollectdValueError[] */ public function getValueErrors() { return $this->valueErrors; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CollectdPayloadError::class, 'Google_Service_Monitoring_CollectdPayloadError');