encoding = $encoding; } /** * @return string */ public function getEncoding() { return $this->encoding; } /** * Optional. If the qualifier is not a valid BigQuery field identifier i.e. * does not match a-zA-Z*, a valid identifier must be provided as the column * field name and is used as field name in queries. * * @param string $fieldName */ public function setFieldName($fieldName) { $this->fieldName = $fieldName; } /** * @return string */ public function getFieldName() { return $this->fieldName; } /** * Optional. If this is set, only the latest version of value in this column * are exposed. 'onlyReadLatest' can also be set at the column family level. * However, the setting at this level takes precedence if 'onlyReadLatest' is * set at both levels. * * @param bool $onlyReadLatest */ public function setOnlyReadLatest($onlyReadLatest) { $this->onlyReadLatest = $onlyReadLatest; } /** * @return bool */ public function getOnlyReadLatest() { return $this->onlyReadLatest; } /** * Optional. Protobuf-specific configurations, only takes effect when the * encoding is PROTO_BINARY. * * @param BigtableProtoConfig $protoConfig */ public function setProtoConfig(BigtableProtoConfig $protoConfig) { $this->protoConfig = $protoConfig; } /** * @return BigtableProtoConfig */ public function getProtoConfig() { return $this->protoConfig; } /** * [Required] Qualifier of the column. Columns in the parent column family * that has this exact qualifier are exposed as `.` field. If the qualifier is * valid UTF-8 string, it can be specified in the qualifier_string field. * Otherwise, a base-64 encoded value must be set to qualifier_encoded. The * column field name is the same as the column qualifier. However, if the * qualifier is not a valid BigQuery field identifier i.e. does not match * a-zA-Z*, a valid identifier must be provided as field_name. * * @param string $qualifierEncoded */ public function setQualifierEncoded($qualifierEncoded) { $this->qualifierEncoded = $qualifierEncoded; } /** * @return string */ public function getQualifierEncoded() { return $this->qualifierEncoded; } /** * Qualifier string. * * @param string $qualifierString */ public function setQualifierString($qualifierString) { $this->qualifierString = $qualifierString; } /** * @return string */ public function getQualifierString() { return $this->qualifierString; } /** * Optional. The type to convert the value in cells of this column. The values * are expected to be encoded using HBase Bytes.toBytes function when using * the BINARY encoding value. Following BigQuery types are allowed (case- * sensitive): * BYTES * STRING * INTEGER * FLOAT * BOOLEAN * JSON Default * type is BYTES. 'type' can also be set at the column family level. However, * the setting at this level takes precedence if 'type' is set at both levels. * * @param string $type */ 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(BigtableColumn::class, 'Google_Service_Bigquery_BigtableColumn');