Google Cloud Dataproc Metastore V1 Client - Class HiveMetastoreVersion (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

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.

Generated from protobuf field string version = 1;

Returns
TypeDescription
string

setVersion

The semantic version of the Hive Metastore software.

Generated from protobuf field string version = 1;

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.

Generated from protobuf field bool is_default = 2;

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.

Generated from protobuf field bool is_default = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this