public final class HiveMetastoreConfig extends com.google.protobuf.GeneratedMessageV3 implements HiveMetastoreConfigOrBuilder
Specifies configuration information specific to running Hive metastore software as the metastore service.Protobuf type
google.cloud.metastore.v1beta.HiveMetastoreConfig| Modifier and Type | Class and Description |
|---|---|
static class |
HiveMetastoreConfig.Builder
Specifies configuration information specific to running Hive metastore
software as the metastore service.
|
static class |
HiveMetastoreConfig.EndpointProtocol
Protocols available for serving the metastore service endpoint.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
AUXILIARY_VERSIONS_FIELD_NUMBER |
static int |
CONFIG_OVERRIDES_FIELD_NUMBER |
static int |
ENDPOINT_PROTOCOL_FIELD_NUMBER |
static int |
KERBEROS_CONFIG_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAuxiliaryVersions(String key)
A mapping of Hive metastore version to the auxiliary version
configuration.
|
boolean |
containsConfigOverrides(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured in `hive-site.xml`).
|
boolean |
equals(Object obj) |
Map<String,AuxiliaryVersionConfig> |
getAuxiliaryVersions()
Deprecated.
|
int |
getAuxiliaryVersionsCount()
A mapping of Hive metastore version to the auxiliary version
configuration.
|
Map<String,AuxiliaryVersionConfig> |
getAuxiliaryVersionsMap()
A mapping of Hive metastore version to the auxiliary version
configuration.
|
AuxiliaryVersionConfig |
getAuxiliaryVersionsOrDefault(String key,
AuxiliaryVersionConfig defaultValue)
A mapping of Hive metastore version to the auxiliary version
configuration.
|
AuxiliaryVersionConfig |
getAuxiliaryVersionsOrThrow(String key)
A mapping of Hive metastore version to the auxiliary version
configuration.
|
Map<String,String> |
getConfigOverrides()
Deprecated.
|
int |
getConfigOverridesCount()
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured in `hive-site.xml`).
|
Map<String,String> |
getConfigOverridesMap()
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured in `hive-site.xml`).
|
String |
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`).
|
String |
getConfigOverridesOrThrow(String key)
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured in `hive-site.xml`).
|
static HiveMetastoreConfig |
getDefaultInstance() |
HiveMetastoreConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
HiveMetastoreConfig.EndpointProtocol |
getEndpointProtocol()
The protocol to use for the metastore service endpoint.
|
int |
getEndpointProtocolValue()
The protocol to use for the metastore service endpoint.
|
KerberosConfig |
getKerberosConfig()
Information used to configure the Hive metastore service as a service
principal in a Kerberos realm.
|
KerberosConfigOrBuilder |
getKerberosConfigOrBuilder()
Information used to configure the Hive metastore service as a service
principal in a Kerberos realm.
|
com.google.protobuf.Parser<HiveMetastoreConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getVersion()
Immutable.
|
com.google.protobuf.ByteString |
getVersionBytes()
Immutable.
|
int |
hashCode() |
boolean |
hasKerberosConfig()
Information used to configure the Hive metastore service as a service
principal in a Kerberos realm.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HiveMetastoreConfig.Builder |
newBuilder() |
static HiveMetastoreConfig.Builder |
newBuilder(HiveMetastoreConfig prototype) |
HiveMetastoreConfig.Builder |
newBuilderForType() |
protected HiveMetastoreConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HiveMetastoreConfig |
parseDelimitedFrom(InputStream input) |
static HiveMetastoreConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveMetastoreConfig |
parseFrom(byte[] data) |
static HiveMetastoreConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveMetastoreConfig |
parseFrom(ByteBuffer data) |
static HiveMetastoreConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveMetastoreConfig |
parseFrom(com.google.protobuf.ByteString data) |
static HiveMetastoreConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveMetastoreConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HiveMetastoreConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HiveMetastoreConfig |
parseFrom(InputStream input) |
static HiveMetastoreConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HiveMetastoreConfig> |
parser() |
HiveMetastoreConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERSION_FIELD_NUMBER
public static final int CONFIG_OVERRIDES_FIELD_NUMBER
public static final int KERBEROS_CONFIG_FIELD_NUMBER
public static final int ENDPOINT_PROTOCOL_FIELD_NUMBER
public static final int AUXILIARY_VERSIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getVersion()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];getVersion in interface HiveMetastoreConfigOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];getVersionBytes in interface HiveMetastoreConfigOrBuilderpublic int getConfigOverridesCount()
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;getConfigOverridesCount in interface HiveMetastoreConfigOrBuilderpublic boolean containsConfigOverrides(String key)
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;containsConfigOverrides in interface HiveMetastoreConfigOrBuilder@Deprecated public Map<String,String> getConfigOverrides()
getConfigOverridesMap() instead.getConfigOverrides in interface HiveMetastoreConfigOrBuilderpublic Map<String,String> 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;getConfigOverridesMap in interface HiveMetastoreConfigOrBuilderpublic String 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`). 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;getConfigOverridesOrDefault in interface HiveMetastoreConfigOrBuilderpublic String getConfigOverridesOrThrow(String key)
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;getConfigOverridesOrThrow in interface HiveMetastoreConfigOrBuilderpublic 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;hasKerberosConfig in interface HiveMetastoreConfigOrBuilderpublic KerberosConfig 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;getKerberosConfig in interface HiveMetastoreConfigOrBuilderpublic KerberosConfigOrBuilder 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;getKerberosConfigOrBuilder in interface HiveMetastoreConfigOrBuilderpublic 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;
getEndpointProtocolValue in interface HiveMetastoreConfigOrBuilderpublic HiveMetastoreConfig.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;
getEndpointProtocol in interface HiveMetastoreConfigOrBuilderpublic int getAuxiliaryVersionsCount()
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;
getAuxiliaryVersionsCount in interface HiveMetastoreConfigOrBuilderpublic boolean containsAuxiliaryVersions(String key)
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;
containsAuxiliaryVersions in interface HiveMetastoreConfigOrBuilder@Deprecated public Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
getAuxiliaryVersionsMap() instead.getAuxiliaryVersions in interface HiveMetastoreConfigOrBuilderpublic Map<String,AuxiliaryVersionConfig> 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;
getAuxiliaryVersionsMap in interface HiveMetastoreConfigOrBuilderpublic 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;
getAuxiliaryVersionsOrDefault in interface HiveMetastoreConfigOrBuilderpublic AuxiliaryVersionConfig getAuxiliaryVersionsOrThrow(String key)
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;
getAuxiliaryVersionsOrThrow in interface HiveMetastoreConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HiveMetastoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HiveMetastoreConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static HiveMetastoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HiveMetastoreConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HiveMetastoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HiveMetastoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HiveMetastoreConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HiveMetastoreConfig.Builder newBuilder()
public static HiveMetastoreConfig.Builder newBuilder(HiveMetastoreConfig prototype)
public HiveMetastoreConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HiveMetastoreConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HiveMetastoreConfig getDefaultInstance()
public static com.google.protobuf.Parser<HiveMetastoreConfig> parser()
public com.google.protobuf.Parser<HiveMetastoreConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HiveMetastoreConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.