1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1 Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class HiveMetastoreVersion.

A specification of a supported version of the Hive Metastore software.

Generated from protobuf message `google.cloud.metastore.v1.LocationMetadata.HiveMetastoreVersion`

## Namespace

Google \\ Cloud \\ Metastore \\ V1 \\ LocationMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version` | `string` The semantic version of the Hive Metastore software. |
| `↳ is_default` | `bool` Whether `version` will be chosen by the server if a metastore service is created with a `HiveMetastoreConfig` that omits the `version`. |

### getVersion

The semantic version of the Hive Metastore software.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVersion

The semantic version of the Hive Metastore software.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIsDefault

Whether `version` will be chosen by the server if a metastore service is
created with a `HiveMetastoreConfig` that omits the `version`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setIsDefault

Whether `version` will be chosen by the server if a metastore service is
created with a `HiveMetastoreConfig` that omits the `version`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |