Struct google_api_proto::google::cloud::metastore::v1::Federation
source · pub struct Federation {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub version: String,
pub backend_metastores: BTreeMap<i32, BackendMetastore>,
pub endpoint_uri: String,
pub state: i32,
pub state_message: String,
pub uid: String,
}
Expand description
Represents a federation of multiple backend metastores.
Fields§
§name: String
Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
create_time: Option<Timestamp>
Output only. The time when the metastore federation was created.
update_time: Option<Timestamp>
Output only. The time when the metastore federation was last updated.
labels: BTreeMap<String, String>
User-defined labels for the metastore federation.
version: String
Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.
backend_metastores: BTreeMap<i32, BackendMetastore>
A map from BackendMetastore
rank to BackendMetastore
s from which the
federation service serves metadata at query time. The map key represents
the order in which BackendMetastore
s should be evaluated to resolve
database names at query time and should be greater than or equal to zero. A
BackendMetastore
with a lower number will be evaluated before a
BackendMetastore
with a higher number.
endpoint_uri: String
Output only. The federation endpoint.
state: i32
Output only. The current state of the federation.
state_message: String
Output only. Additional information about the current state of the metastore federation, if available.
uid: String
Output only. The globally unique resource identifier of the metastore federation.
Implementations§
Trait Implementations§
source§impl Clone for Federation
impl Clone for Federation
source§fn clone(&self) -> Federation
fn clone(&self) -> Federation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Federation
impl Debug for Federation
source§impl Default for Federation
impl Default for Federation
source§impl Message for Federation
impl Message for Federation
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 Federation
impl PartialEq for Federation
source§fn eq(&self, other: &Federation) -> bool
fn eq(&self, other: &Federation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Federation
Auto Trait Implementations§
impl Freeze for Federation
impl RefUnwindSafe for Federation
impl Send for Federation
impl Sync for Federation
impl Unpin for Federation
impl UnwindSafe for Federation
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