arrayValue = $arrayValue; } /** * @return ArrayValue */ public function getArrayValue() { return $this->arrayValue; } /** * A boolean value. * * @param bool $booleanValue */ public function setBooleanValue($booleanValue) { $this->booleanValue = $booleanValue; } /** * @return bool */ public function getBooleanValue() { return $this->booleanValue; } /** * A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes * are considered by queries. * * @param string $bytesValue */ public function setBytesValue($bytesValue) { $this->bytesValue = $bytesValue; } /** * @return string */ public function getBytesValue() { return $this->bytesValue; } public function setDoubleValue($doubleValue) { $this->doubleValue = $doubleValue; } public function getDoubleValue() { return $this->doubleValue; } /** * Value which references a field. This is considered relative (vs absolute) * since it only refers to a field and not a field within a particular * document. **Requires:** * Must follow field reference limitations. * Not * allowed to be used when writing documents. * * @param string $fieldReferenceValue */ public function setFieldReferenceValue($fieldReferenceValue) { $this->fieldReferenceValue = $fieldReferenceValue; } /** * @return string */ public function getFieldReferenceValue() { return $this->fieldReferenceValue; } /** * A value that represents an unevaluated expression. **Requires:** * Not * allowed to be used when writing documents. * * @param FirestoreFunction $functionValue */ public function setFunctionValue(FirestoreFunction $functionValue) { $this->functionValue = $functionValue; } /** * @return FirestoreFunction */ public function getFunctionValue() { return $this->functionValue; } /** * A geo point value representing a point on the surface of Earth. * * @param LatLng $geoPointValue */ public function setGeoPointValue(LatLng $geoPointValue) { $this->geoPointValue = $geoPointValue; } /** * @return LatLng */ public function getGeoPointValue() { return $this->geoPointValue; } /** * An integer value. * * @param string $integerValue */ public function setIntegerValue($integerValue) { $this->integerValue = $integerValue; } /** * @return string */ public function getIntegerValue() { return $this->integerValue; } /** * A map value. * * @param MapValue $mapValue */ public function setMapValue(MapValue $mapValue) { $this->mapValue = $mapValue; } /** * @return MapValue */ public function getMapValue() { return $this->mapValue; } /** * A null value. * * Accepted values: NULL_VALUE * * @param self::NULL_VALUE_* $nullValue */ public function setNullValue($nullValue) { $this->nullValue = $nullValue; } /** * @return self::NULL_VALUE_* */ public function getNullValue() { return $this->nullValue; } /** * A value that represents an unevaluated pipeline. **Requires:** * Not * allowed to be used when writing documents. * * @param Pipeline $pipelineValue */ public function setPipelineValue(Pipeline $pipelineValue) { $this->pipelineValue = $pipelineValue; } /** * @return Pipeline */ public function getPipelineValue() { return $this->pipelineValue; } /** * A reference to a document. For example: * `projects/{project_id}/databases/{database_id}/documents/{document_path}`. * * @param string $referenceValue */ public function setReferenceValue($referenceValue) { $this->referenceValue = $referenceValue; } /** * @return string */ public function getReferenceValue() { return $this->referenceValue; } /** * A string value. The string, represented as UTF-8, must not exceed 1 MiB - * 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are * considered by queries. * * @param string $stringValue */ public function setStringValue($stringValue) { $this->stringValue = $stringValue; } /** * @return string */ public function getStringValue() { return $this->stringValue; } /** * A timestamp value. Precise only to microseconds. When stored, any * additional precision is rounded down. * * @param string $timestampValue */ public function setTimestampValue($timestampValue) { $this->timestampValue = $timestampValue; } /** * @return string */ public function getTimestampValue() { return $this->timestampValue; } /** * Pointer to a variable defined elsewhere in a pipeline. Unlike * `field_reference_value` which references a field within a document, this * refers to a variable, defined in a separate namespace than the fields of a * document. * * @param string $variableReferenceValue */ public function setVariableReferenceValue($variableReferenceValue) { $this->variableReferenceValue = $variableReferenceValue; } /** * @return string */ public function getVariableReferenceValue() { return $this->variableReferenceValue; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Value::class, 'Google_Service_Firestore_Value');