Class LocationMetadata.HiveMetastoreVersion.Builder (2.34.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.v1beta.LocationMetadata.HiveMetastoreVersion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.HiveMetastoreVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

build()

public LocationMetadata.HiveMetastoreVersion build()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion

buildPartial()

public LocationMetadata.HiveMetastoreVersion buildPartial()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion

clear()

public LocationMetadata.HiveMetastoreVersion.Builder clear()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LocationMetadata.HiveMetastoreVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LocationMetadata.HiveMetastoreVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

clearVersion()

public LocationMetadata.HiveMetastoreVersion.Builder clearVersion()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.

clone()

public LocationMetadata.HiveMetastoreVersion.Builder clone()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

getDefaultInstanceForType()

public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The isDefault.

getVersion()

public String getVersion()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The semantic version of the Hive Metastore software.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LocationMetadata.HiveMetastoreVersion other)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(LocationMetadata.HiveMetastoreVersion other)
Parameter
NameDescription
otherLocationMetadata.HiveMetastoreVersion
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LocationMetadata.HiveMetastoreVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.HiveMetastoreVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocationMetadata.HiveMetastoreVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The isDefault to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LocationMetadata.HiveMetastoreVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

This builder for chaining.