Struct google_api_proto::google::cloud::metastore::v1alpha::HiveMetastoreConfig
source · pub struct HiveMetastoreConfig {
pub version: String,
pub config_overrides: BTreeMap<String, String>,
pub kerberos_config: Option<KerberosConfig>,
pub endpoint_protocol: i32,
pub auxiliary_versions: BTreeMap<String, AuxiliaryVersionConfig>,
}
Expand description
Specifies configuration information specific to running Hive metastore software as the metastore service.
Fields§
§version: String
Immutable. The Hive metastore schema version.
config_overrides: BTreeMap<String, String>
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
.
kerberos_config: Option<KerberosConfig>
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
.
endpoint_protocol: i32
The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
auxiliary_versions: BTreeMap<String, AuxiliaryVersionConfig>
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.
Implementations§
source§impl HiveMetastoreConfig
impl HiveMetastoreConfig
sourcepub fn endpoint_protocol(&self) -> EndpointProtocol
pub fn endpoint_protocol(&self) -> EndpointProtocol
Returns the enum value of endpoint_protocol
, or the default if the field is set to an invalid enum value.
sourcepub fn set_endpoint_protocol(&mut self, value: EndpointProtocol)
pub fn set_endpoint_protocol(&mut self, value: EndpointProtocol)
Sets endpoint_protocol
to the provided enum value.
Trait Implementations§
source§impl Clone for HiveMetastoreConfig
impl Clone for HiveMetastoreConfig
source§fn clone(&self) -> HiveMetastoreConfig
fn clone(&self) -> HiveMetastoreConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HiveMetastoreConfig
impl Debug for HiveMetastoreConfig
source§impl Default for HiveMetastoreConfig
impl Default for HiveMetastoreConfig
source§impl Message for HiveMetastoreConfig
impl Message for HiveMetastoreConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for HiveMetastoreConfig
impl PartialEq for HiveMetastoreConfig
source§fn eq(&self, other: &HiveMetastoreConfig) -> bool
fn eq(&self, other: &HiveMetastoreConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HiveMetastoreConfig
Auto Trait Implementations§
impl Freeze for HiveMetastoreConfig
impl RefUnwindSafe for HiveMetastoreConfig
impl Send for HiveMetastoreConfig
impl Sync for HiveMetastoreConfig
impl Unpin for HiveMetastoreConfig
impl UnwindSafe for HiveMetastoreConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request