Struct google_api_proto::google::cloud::discoveryengine::v1beta::bigtable_options::BigtableColumnFamily
source · pub struct BigtableColumnFamily {
pub field_name: String,
pub encoding: i32,
pub type: i32,
pub columns: Vec<BigtableColumn>,
}
Expand description
The column family of the Bigtable.
Fields§
§field_name: String
The field name to use for this column family in the document. The
name has to match the pattern [a-zA-Z0-9][a-zA-Z0-9-_]*
. If not set,
it is parsed from the family name with best effort. However, due to
different naming patterns, field name collisions could happen, where
parsing behavior is undefined.
encoding: i32
The encoding mode of the values when the type is not STRING. Acceptable encoding values are:
TEXT
: indicates values are alphanumeric text strings.BINARY
: indicates values are encoded usingHBase Bytes.toBytes
family of functions. This can be overridden for a specific column by listing that column incolumns
and specifying an encoding for it.
type: i32
The type of values in this column family.
The values are expected to be encoded using HBase Bytes.toBytes
function when the encoding value is set to BINARY
.
columns: Vec<BigtableColumn>
The list of objects that contains column level information for each column. If a column is not present in this list it will be ignored.
Implementations§
source§impl BigtableColumnFamily
impl BigtableColumnFamily
sourcepub fn encoding(&self) -> Encoding
pub fn encoding(&self) -> Encoding
Returns the enum value of encoding
, or the default if the field is set to an invalid enum value.
sourcepub fn set_encoding(&mut self, value: Encoding)
pub fn set_encoding(&mut self, value: Encoding)
Sets encoding
to the provided enum value.
Trait Implementations§
source§impl Clone for BigtableColumnFamily
impl Clone for BigtableColumnFamily
source§fn clone(&self) -> BigtableColumnFamily
fn clone(&self) -> BigtableColumnFamily
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BigtableColumnFamily
impl Debug for BigtableColumnFamily
source§impl Default for BigtableColumnFamily
impl Default for BigtableColumnFamily
source§impl Message for BigtableColumnFamily
impl Message for BigtableColumnFamily
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 BigtableColumnFamily
impl PartialEq for BigtableColumnFamily
source§fn eq(&self, other: &BigtableColumnFamily) -> bool
fn eq(&self, other: &BigtableColumnFamily) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BigtableColumnFamily
Auto Trait Implementations§
impl Freeze for BigtableColumnFamily
impl RefUnwindSafe for BigtableColumnFamily
impl Send for BigtableColumnFamily
impl Sync for BigtableColumnFamily
impl Unpin for BigtableColumnFamily
impl UnwindSafe for BigtableColumnFamily
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