Class HiveMetastoreConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.metastore.v1beta.HiveMetastoreConfig
- All Implemented Interfaces:
HiveMetastoreConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class HiveMetastoreConfig
extends com.google.protobuf.GeneratedMessage
implements HiveMetastoreConfigOrBuilder
Specifies configuration information specific to running Hive metastore software as the metastore service.Protobuf type
google.cloud.metastore.v1beta.HiveMetastoreConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecifies configuration information specific to running Hive metastore software as the metastore service.static enumProtocols available for serving the metastore service endpoint.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA mapping of Hive metastore version to the auxiliary version configuration.booleanA mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).booleanDeprecated.intA mapping of Hive metastore version to the auxiliary version configuration.A mapping of Hive metastore version to the auxiliary version configuration.getAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue) A mapping of Hive metastore version to the auxiliary version configuration.A mapping of Hive metastore version to the auxiliary version configuration.Deprecated.intA mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).getConfigOverridesOrDefault(String key, String defaultValue) A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`).static HiveMetastoreConfigstatic final com.google.protobuf.Descriptors.DescriptorThe protocol to use for the metastore service endpoint.intThe protocol to use for the metastore service endpoint.Information used to configure the Hive metastore service as a service principal in a Kerberos realm.Information used to configure the Hive metastore service as a service principal in a Kerberos realm.com.google.protobuf.Parser<HiveMetastoreConfig>intImmutable.com.google.protobuf.ByteStringImmutable.inthashCode()booleanInformation used to configure the Hive metastore service as a service principal in a Kerberos realm.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic HiveMetastoreConfig.Builderstatic HiveMetastoreConfig.BuildernewBuilder(HiveMetastoreConfig prototype) protected HiveMetastoreConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static HiveMetastoreConfigparseDelimitedFrom(InputStream input) static HiveMetastoreConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HiveMetastoreConfigparseFrom(byte[] data) static HiveMetastoreConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HiveMetastoreConfigparseFrom(com.google.protobuf.ByteString data) static HiveMetastoreConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HiveMetastoreConfigparseFrom(com.google.protobuf.CodedInputStream input) static HiveMetastoreConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HiveMetastoreConfigparseFrom(InputStream input) static HiveMetastoreConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HiveMetastoreConfigparseFrom(ByteBuffer data) static HiveMetastoreConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HiveMetastoreConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
CONFIG_OVERRIDES_FIELD_NUMBER
public static final int CONFIG_OVERRIDES_FIELD_NUMBER- See Also:
-
KERBEROS_CONFIG_FIELD_NUMBER
public static final int KERBEROS_CONFIG_FIELD_NUMBER- See Also:
-
ENDPOINT_PROTOCOL_FIELD_NUMBER
public static final int ENDPOINT_PROTOCOL_FIELD_NUMBER- See Also:
-
AUXILIARY_VERSIONS_FIELD_NUMBER
public static final int AUXILIARY_VERSIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getVersion
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getVersionin interfaceHiveMetastoreConfigOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getVersionBytesin interfaceHiveMetastoreConfigOrBuilder- Returns:
- The bytes for version.
-
getConfigOverridesCount
public int getConfigOverridesCount()Description copied from interface:HiveMetastoreConfigOrBuilderA mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's `AuxiliaryVersionConfig`.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesCountin interfaceHiveMetastoreConfigOrBuilder
-
containsConfigOverrides
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's `AuxiliaryVersionConfig`.
map<string, string> config_overrides = 2;- Specified by:
containsConfigOverridesin interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverrides
Deprecated.UsegetConfigOverridesMap()instead.- Specified by:
getConfigOverridesin interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverridesMap
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's `AuxiliaryVersionConfig`.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesMapin interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverridesOrDefault
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's `AuxiliaryVersionConfig`.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesOrDefaultin interfaceHiveMetastoreConfigOrBuilder
-
getConfigOverridesOrThrow
A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in `hive-site.xml`). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's `AuxiliaryVersionConfig`.
map<string, string> config_overrides = 2;- Specified by:
getConfigOverridesOrThrowin interfaceHiveMetastoreConfigOrBuilder
-
hasKerberosConfig
public boolean hasKerberosConfig()Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the `UpdateService` method and specify this field's path (`hive_metastore_config.kerberos_config`) in the request's `update_mask` while omitting this field from the request's `service`.
.google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;- Specified by:
hasKerberosConfigin interfaceHiveMetastoreConfigOrBuilder- Returns:
- Whether the kerberosConfig field is set.
-
getKerberosConfig
Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the `UpdateService` method and specify this field's path (`hive_metastore_config.kerberos_config`) in the request's `update_mask` while omitting this field from the request's `service`.
.google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;- Specified by:
getKerberosConfigin interfaceHiveMetastoreConfigOrBuilder- Returns:
- The kerberosConfig.
-
getKerberosConfigOrBuilder
Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the `UpdateService` method and specify this field's path (`hive_metastore_config.kerberos_config`) in the request's `update_mask` while omitting this field from the request's `service`.
.google.cloud.metastore.v1beta.KerberosConfig kerberos_config = 3;- Specified by:
getKerberosConfigOrBuilderin interfaceHiveMetastoreConfigOrBuilder
-
getEndpointProtocolValue
public int getEndpointProtocolValue()The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.
.google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;- Specified by:
getEndpointProtocolValuein interfaceHiveMetastoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for endpointProtocol.
-
getEndpointProtocol
The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.
.google.cloud.metastore.v1beta.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;- Specified by:
getEndpointProtocolin interfaceHiveMetastoreConfigOrBuilder- Returns:
- The endpointProtocol.
-
getAuxiliaryVersionsCount
public int getAuxiliaryVersionsCount()Description copied from interface:HiveMetastoreConfigOrBuilderA mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsCountin interfaceHiveMetastoreConfigOrBuilder
-
containsAuxiliaryVersions
A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
containsAuxiliaryVersionsin interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersions
Deprecated.UsegetAuxiliaryVersionsMap()instead.- Specified by:
getAuxiliaryVersionsin interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsMap
A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsMapin interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsOrDefault
public AuxiliaryVersionConfig getAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue) A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsOrDefaultin interfaceHiveMetastoreConfigOrBuilder
-
getAuxiliaryVersionsOrThrow
A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
map<string, .google.cloud.metastore.v1beta.AuxiliaryVersionConfig> auxiliary_versions = 5;- Specified by:
getAuxiliaryVersionsOrThrowin interfaceHiveMetastoreConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 HiveMetastoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HiveMetastoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HiveMetastoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HiveMetastoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HiveMetastoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HiveMetastoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HiveMetastoreConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-