Class LocationMetadata.HiveMetastoreVersion.Builder (2.84.0)

public static final class LocationMetadata.HiveMetastoreVersion.Builder extends GeneratedMessage.Builder<LocationMetadata.HiveMetastoreVersion.Builder> implements LocationMetadata.HiveMetastoreVersionOrBuilder

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

Protobuf type google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LocationMetadata.HiveMetastoreVersion build()
Returns
Type Description
LocationMetadata.HiveMetastoreVersion

buildPartial()

public LocationMetadata.HiveMetastoreVersion buildPartial()
Returns
Type Description
LocationMetadata.HiveMetastoreVersion

clear()

public LocationMetadata.HiveMetastoreVersion.Builder clear()
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

clearIsDefault()

public LocationMetadata.HiveMetastoreVersion.Builder clearIsDefault()

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

bool is_default = 2;

Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

clearVersion()

public LocationMetadata.HiveMetastoreVersion.Builder clearVersion()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

getDefaultInstanceForType()

public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()
Returns
Type Description
LocationMetadata.HiveMetastoreVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIsDefault()

public boolean getIsDefault()

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

bool is_default = 2;

Returns
Type Description
boolean

The isDefault.

getVersion()

public String getVersion()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LocationMetadata.HiveMetastoreVersion other)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(LocationMetadata.HiveMetastoreVersion other)
Parameter
Name Description
other LocationMetadata.HiveMetastoreVersion
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

setIsDefault(boolean value)

public LocationMetadata.HiveMetastoreVersion.Builder setIsDefault(boolean value)

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

bool is_default = 2;

Parameter
Name Description
value boolean

The isDefault to set.

Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

setVersion(String value)

public LocationMetadata.HiveMetastoreVersion.Builder setVersion(String value)

The semantic version of the Hive Metastore software.

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public LocationMetadata.HiveMetastoreVersion.Builder setVersionBytes(ByteString value)

The semantic version of the Hive Metastore software.

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.