Interface HiveMetastoreConfigOrBuilder (2.47.0)

public interface HiveMetastoreConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAuxiliaryVersions(String key)

public abstract 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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsConfigOverrides(String key)

public abstract 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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAuxiliaryVersions() (deprecated)

public abstract Map<String,AuxiliaryVersionConfig> getAuxiliaryVersions()
Returns
Type Description
Map<String,AuxiliaryVersionConfig>

getAuxiliaryVersionsCount()

public abstract 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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;

Returns
Type Description
int

getAuxiliaryVersionsMap()

public abstract 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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;

Returns
Type Description
Map<String,AuxiliaryVersionConfig>

getAuxiliaryVersionsOrDefault(String key, AuxiliaryVersionConfig defaultValue)

public abstract 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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;

Parameters
Name Description
key String
defaultValue AuxiliaryVersionConfig
Returns
Type Description
AuxiliaryVersionConfig

getAuxiliaryVersionsOrThrow(String key)

public abstract 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?. 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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;

Parameter
Name Description
key String
Returns
Type Description
AuxiliaryVersionConfig

getConfigOverrides() (deprecated)

public abstract Map<String,String> getConfigOverrides()
Returns
Type Description
Map<String,String>

getConfigOverridesCount()

public abstract 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;

Returns
Type Description
int

getConfigOverridesMap()

public abstract 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;

Returns
Type Description
Map<String,String>

getConfigOverridesOrDefault(String key, String defaultValue)

public abstract 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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getConfigOverridesOrThrow(String key)

public abstract 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;

Parameter
Name Description
key String
Returns
Type Description
String

getEndpointProtocol()

public abstract HiveMetastoreConfig.EndpointProtocol getEndpointProtocol()

The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.

.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;

Returns
Type Description
HiveMetastoreConfig.EndpointProtocol

The endpointProtocol.

getEndpointProtocolValue()

public abstract int getEndpointProtocolValue()

The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.

.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4;

Returns
Type Description
int

The enum numeric value on the wire for endpointProtocol.

getKerberosConfig()

public abstract 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.v1alpha.KerberosConfig kerberos_config = 3;

Returns
Type Description
KerberosConfig

The kerberosConfig.

getKerberosConfigOrBuilder()

public abstract 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.v1alpha.KerberosConfig kerberos_config = 3;

Returns
Type Description
KerberosConfigOrBuilder

getVersion()

public abstract String getVersion()

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Immutable. The Hive metastore schema version.

string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for version.

hasKerberosConfig()

public abstract 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.v1alpha.KerberosConfig kerberos_config = 3;

Returns
Type Description
boolean

Whether the kerberosConfig field is set.