Interface HiveMetastoreConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    HiveMetastoreConfig, HiveMetastoreConfig.Builder

    public interface HiveMetastoreConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • 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

        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;
      • getConfigOverridesMap

        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;
      • getConfigOverridesOrDefault

        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;
      • getConfigOverridesOrThrow

        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;
      • 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.v1alpha.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.v1alpha.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.v1alpha.KerberosConfig kerberos_config = 3;
      • getEndpointProtocolValue

        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:
        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.v1alpha.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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
      • containsAuxiliaryVersions

        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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
      • 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.v1alpha.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.v1alpha.AuxiliaryVersionConfig> auxiliary_versions = 5;
      • getAuxiliaryVersionsOrThrow

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