Interface HiveMetastoreConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HiveMetastoreConfig,HiveMetastoreConfig.Builder
@Generated
public interface HiveMetastoreConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
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`).Deprecated.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`).The 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.Immutable.com.google.protobuf.ByteStringImmutable.booleanInformation used to configure the Hive metastore service as a service principal in a Kerberos realm.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVersion
String getVersion()Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Immutable. The Hive metastore schema version.
string version = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for version.
-
getConfigOverridesCount
int getConfigOverridesCount()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
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; -
getConfigOverrides
Deprecated.UsegetConfigOverridesMap()instead. -
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; -
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; -
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; -
hasKerberosConfig
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;- Returns:
- Whether the kerberosConfig field is set.
-
getKerberosConfig
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;- Returns:
- The kerberosConfig.
-
getKerberosConfigOrBuilder
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; -
getEndpointProtocolValue
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;- Returns:
- The enum numeric value on the wire for endpointProtocol.
-
getEndpointProtocol
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;- Returns:
- The endpointProtocol.
-
getAuxiliaryVersionsCount
int getAuxiliaryVersionsCount()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
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; -
getAuxiliaryVersions
Deprecated.UsegetAuxiliaryVersionsMap()instead. -
getAuxiliaryVersionsMap
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; -
getAuxiliaryVersionsOrDefault
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; -
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;
-