Google Cloud Dataproc Metastore V1beta Client - Class HiveMetastoreVersion (0.8.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class HiveMetastoreVersion.

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

Generated from protobuf message google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion

Namespace

Google \ Cloud \ Metastore \ V1beta \ LocationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setVersion

The semantic version of the Hive Metastore software.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIsDefault

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

Returns
TypeDescription
bool

setIsDefault

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this