Class LocationMetadata.HiveMetastoreVersion.Builder (2.45.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.HiveMetastoreVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public LocationMetadata.HiveMetastoreVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public LocationMetadata.HiveMetastoreVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.HiveMetastoreVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.HiveMetastoreVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LocationMetadata.HiveMetastoreVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.HiveMetastoreVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

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.