Class LocationMetadata.HiveMetastoreVersion (2.37.0)

public static final class LocationMetadata.HiveMetastoreVersion extends GeneratedMessageV3 implements LocationMetadata.HiveMetastoreVersionOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LocationMetadata.HiveMetastoreVersion

Static Fields

IS_DEFAULT_FIELD_NUMBER

public static final int IS_DEFAULT_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LocationMetadata.HiveMetastoreVersion getDefaultInstance()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion

getDescriptor()

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

newBuilder()

public static LocationMetadata.HiveMetastoreVersion.Builder newBuilder()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

newBuilder(LocationMetadata.HiveMetastoreVersion prototype)

public static LocationMetadata.HiveMetastoreVersion.Builder newBuilder(LocationMetadata.HiveMetastoreVersion prototype)
Parameter
NameDescription
prototypeLocationMetadata.HiveMetastoreVersion
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

parseDelimitedFrom(InputStream input)

public static LocationMetadata.HiveMetastoreVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LocationMetadata.HiveMetastoreVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LocationMetadata.HiveMetastoreVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LocationMetadata.HiveMetastoreVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LocationMetadata.HiveMetastoreVersion> parser()
Returns
TypeDescription
Parser<HiveMetastoreVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<LocationMetadata.HiveMetastoreVersion> getParserForType()
Returns
TypeDescription
Parser<HiveMetastoreVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LocationMetadata.HiveMetastoreVersion.Builder newBuilderForType()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LocationMetadata.HiveMetastoreVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LocationMetadata.HiveMetastoreVersion.Builder toBuilder()
Returns
TypeDescription
LocationMetadata.HiveMetastoreVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException