Struct google_api_proto::google::cloud::discoveryengine::v1::bigtable_options::BigtableColumn
source · pub struct BigtableColumn {
pub qualifier: Bytes,
pub field_name: String,
pub encoding: i32,
pub type: i32,
}
Expand description
The column of the Bigtable.
Fields§
§qualifier: Bytes
Required. Qualifier of the column. If it cannot be decoded with utf-8, use a base-64 encoded string instead.
field_name: String
The field name to use for this column 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 qualifier bytes 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
.
Implementations§
source§impl BigtableColumn
impl BigtableColumn
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 BigtableColumn
impl Clone for BigtableColumn
source§fn clone(&self) -> BigtableColumn
fn clone(&self) -> BigtableColumn
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BigtableColumn
impl Debug for BigtableColumn
source§impl Default for BigtableColumn
impl Default for BigtableColumn
source§impl Message for BigtableColumn
impl Message for BigtableColumn
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 BigtableColumn
impl PartialEq for BigtableColumn
source§fn eq(&self, other: &BigtableColumn) -> bool
fn eq(&self, other: &BigtableColumn) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BigtableColumn
Auto Trait Implementations§
impl !Freeze for BigtableColumn
impl RefUnwindSafe for BigtableColumn
impl Send for BigtableColumn
impl Sync for BigtableColumn
impl Unpin for BigtableColumn
impl UnwindSafe for BigtableColumn
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