categories = $categories; } /** * @return TableFieldSchemaCategories */ public function getCategories() { return $this->categories; } /** * @param string */ public function setCollation($collation) { $this->collation = $collation; } /** * @return string */ public function getCollation() { return $this->collation; } /** * @param DataPolicyOption[] */ public function setDataPolicies($dataPolicies) { $this->dataPolicies = $dataPolicies; } /** * @return DataPolicyOption[] */ public function getDataPolicies() { return $this->dataPolicies; } /** * @param string */ public function setDefaultValueExpression($defaultValueExpression) { $this->defaultValueExpression = $defaultValueExpression; } /** * @return string */ public function getDefaultValueExpression() { return $this->defaultValueExpression; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param TableFieldSchema[] */ public function setFields($fields) { $this->fields = $fields; } /** * @return TableFieldSchema[] */ public function getFields() { return $this->fields; } /** * @param string */ public function setForeignTypeDefinition($foreignTypeDefinition) { $this->foreignTypeDefinition = $foreignTypeDefinition; } /** * @return string */ public function getForeignTypeDefinition() { return $this->foreignTypeDefinition; } /** * @param string */ public function setMaxLength($maxLength) { $this->maxLength = $maxLength; } /** * @return string */ public function getMaxLength() { return $this->maxLength; } /** * @param string */ public function setMode($mode) { $this->mode = $mode; } /** * @return string */ public function getMode() { return $this->mode; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param TableFieldSchemaPolicyTags */ public function setPolicyTags(TableFieldSchemaPolicyTags $policyTags) { $this->policyTags = $policyTags; } /** * @return TableFieldSchemaPolicyTags */ public function getPolicyTags() { return $this->policyTags; } /** * @param string */ public function setPrecision($precision) { $this->precision = $precision; } /** * @return string */ public function getPrecision() { return $this->precision; } /** * @param TableFieldSchemaRangeElementType */ public function setRangeElementType(TableFieldSchemaRangeElementType $rangeElementType) { $this->rangeElementType = $rangeElementType; } /** * @return TableFieldSchemaRangeElementType */ public function getRangeElementType() { return $this->rangeElementType; } /** * @param string */ public function setRoundingMode($roundingMode) { $this->roundingMode = $roundingMode; } /** * @return string */ public function getRoundingMode() { return $this->roundingMode; } /** * @param string */ public function setScale($scale) { $this->scale = $scale; } /** * @return string */ public function getScale() { return $this->scale; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TableFieldSchema::class, 'Google_Service_Bigquery_TableFieldSchema');