All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.metastore.v1alpha.HiveMetastoreConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.59.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/metastore/v1alpha/metastore.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.metastore.v1alpha;

public interface HiveMetastoreConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.metastore.v1alpha.HiveMetastoreConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Immutable. The Hive metastore schema version.
   * 
* * string version = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The version. */ java.lang.String getVersion(); /** * * *
   * Immutable. The Hive metastore schema version.
   * 
* * string version = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for version. */ com.google.protobuf.ByteString getVersionBytes(); /** * * *
   * 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; */ 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; */ boolean containsConfigOverrides(java.lang.String key); /** Use {@link #getConfigOverridesMap()} instead. */ @java.lang.Deprecated java.util.Map getConfigOverrides(); /** * * *
   * 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; */ java.util.Map 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; */ /* nullable */ java.lang.String getConfigOverridesOrDefault( java.lang.String key, /* nullable */ java.lang.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; */ java.lang.String getConfigOverridesOrThrow(java.lang.String key); /** * * *
   * 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; * * @return Whether the kerberosConfig field is set. */ 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; * * @return The kerberosConfig. */ com.google.cloud.metastore.v1alpha.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; */ com.google.cloud.metastore.v1alpha.KerberosConfigOrBuilder getKerberosConfigOrBuilder(); /** * * *
   * The protocol to use for the metastore service endpoint. If unspecified,
   * defaults to `THRIFT`.
   * 
* * * .google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol endpoint_protocol = 4; * * * @return The enum numeric value on the wire for endpointProtocol. */ 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; * * * @return The endpointProtocol. */ com.google.cloud.metastore.v1alpha.HiveMetastoreConfig.EndpointProtocol getEndpointProtocol(); /** * * *
   * 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; * */ 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; * */ boolean containsAuxiliaryVersions(java.lang.String key); /** Use {@link #getAuxiliaryVersionsMap()} instead. */ @java.lang.Deprecated java.util.Map getAuxiliaryVersions(); /** * * *
   * 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; * */ java.util.Map 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; * */ /* nullable */ com.google.cloud.metastore.v1alpha.AuxiliaryVersionConfig getAuxiliaryVersionsOrDefault( java.lang.String key, /* nullable */ com.google.cloud.metastore.v1alpha.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; * */ com.google.cloud.metastore.v1alpha.AuxiliaryVersionConfig getAuxiliaryVersionsOrThrow( java.lang.String key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy