Class LocationMetadata.HiveMetastoreVersion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion
-
- All Implemented Interfaces:
LocationMetadata.HiveMetastoreVersionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- LocationMetadata
public static final class LocationMetadata.HiveMetastoreVersion extends com.google.protobuf.GeneratedMessageV3 implements LocationMetadata.HiveMetastoreVersionOrBuilder
A specification of a supported version of the Hive Metastore software.
Protobuf typegoogle.cloud.metastore.v1beta.LocationMetadata.HiveMetastoreVersion- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationMetadata.HiveMetastoreVersion.BuilderA specification of a supported version of the Hive Metastore software.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intIS_DEFAULT_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static LocationMetadata.HiveMetastoreVersiongetDefaultInstance()LocationMetadata.HiveMetastoreVersiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIsDefault()Whether `version` will be chosen by the server if a metastore service is created with a `HiveMetastoreConfig` that omits the `version`.com.google.protobuf.Parser<LocationMetadata.HiveMetastoreVersion>getParserForType()intgetSerializedSize()StringgetVersion()The semantic version of the Hive Metastore software.com.google.protobuf.ByteStringgetVersionBytes()The semantic version of the Hive Metastore software.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocationMetadata.HiveMetastoreVersion.BuildernewBuilder()static LocationMetadata.HiveMetastoreVersion.BuildernewBuilder(LocationMetadata.HiveMetastoreVersion prototype)LocationMetadata.HiveMetastoreVersion.BuildernewBuilderForType()protected LocationMetadata.HiveMetastoreVersion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocationMetadata.HiveMetastoreVersionparseDelimitedFrom(InputStream input)static LocationMetadata.HiveMetastoreVersionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationMetadata.HiveMetastoreVersionparseFrom(byte[] data)static LocationMetadata.HiveMetastoreVersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationMetadata.HiveMetastoreVersionparseFrom(com.google.protobuf.ByteString data)static LocationMetadata.HiveMetastoreVersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationMetadata.HiveMetastoreVersionparseFrom(com.google.protobuf.CodedInputStream input)static LocationMetadata.HiveMetastoreVersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationMetadata.HiveMetastoreVersionparseFrom(InputStream input)static LocationMetadata.HiveMetastoreVersionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationMetadata.HiveMetastoreVersionparseFrom(ByteBuffer data)static LocationMetadata.HiveMetastoreVersionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocationMetadata.HiveMetastoreVersion>parser()LocationMetadata.HiveMetastoreVersion.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_DEFAULT_FIELD_NUMBER
public static final int IS_DEFAULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVersion
public String getVersion()
The semantic version of the Hive Metastore software.
string version = 1;- Specified by:
getVersionin interfaceLocationMetadata.HiveMetastoreVersionOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The semantic version of the Hive Metastore software.
string version = 1;- Specified by:
getVersionBytesin interfaceLocationMetadata.HiveMetastoreVersionOrBuilder- Returns:
- The bytes for version.
-
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;- Specified by:
getIsDefaultin interfaceLocationMetadata.HiveMetastoreVersionOrBuilder- Returns:
- The isDefault.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocationMetadata.HiveMetastoreVersion parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LocationMetadata.HiveMetastoreVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LocationMetadata.HiveMetastoreVersion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public LocationMetadata.HiveMetastoreVersion.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocationMetadata.HiveMetastoreVersion.Builder newBuilder()
-
newBuilder
public static LocationMetadata.HiveMetastoreVersion.Builder newBuilder(LocationMetadata.HiveMetastoreVersion prototype)
-
toBuilder
public LocationMetadata.HiveMetastoreVersion.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocationMetadata.HiveMetastoreVersion.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LocationMetadata.HiveMetastoreVersion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocationMetadata.HiveMetastoreVersion> parser()
-
getParserForType
public com.google.protobuf.Parser<LocationMetadata.HiveMetastoreVersion> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocationMetadata.HiveMetastoreVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-