Struct google_api_proto::google::bigtable::v2::FeatureFlags
source · pub struct FeatureFlags {
pub reverse_scans: bool,
pub mutate_rows_rate_limit: bool,
pub mutate_rows_rate_limit2: bool,
pub last_scanned_row_responses: bool,
pub routing_cookie: bool,
pub retry_info: bool,
pub client_side_metrics_enabled: bool,
}
Expand description
Feature flags supported or enabled by a client.
This is intended to be sent as part of request metadata to assure the server
that certain behaviors are safe to enable. This proto is meant to be
serialized and websafe-base64 encoded under the bigtable-features
metadata
key. The value will remain constant for the lifetime of a client and due to
HTTP2’s HPACK compression, the request overhead will be tiny.
This is an internal implementation detail and should not be used by end users
directly.
Fields§
§reverse_scans: bool
Notify the server that the client supports reverse scans. The server will reject ReadRowsRequests with the reverse bit set when this is absent.
mutate_rows_rate_limit: bool
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons, this disables partial retries.
mutate_rows_rate_limit2: bool
Notify the server that the client enables batch write flow control by requesting RateLimitInfo from MutateRowsResponse. With partial retries enabled.
last_scanned_row_responses: bool
Notify the server that the client supports the last_scanned_row field in ReadRowsResponse for long-running scans.
Notify the server that the client supports using encoded routing cookie strings to retry requests with.
retry_info: bool
Notify the server that the client supports using retry info back off durations to retry requests with.
client_side_metrics_enabled: bool
Notify the server that the client has client side metrics enabled.
Trait Implementations§
source§impl Clone for FeatureFlags
impl Clone for FeatureFlags
source§fn clone(&self) -> FeatureFlags
fn clone(&self) -> FeatureFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeatureFlags
impl Debug for FeatureFlags
source§impl Default for FeatureFlags
impl Default for FeatureFlags
source§impl Message for FeatureFlags
impl Message for FeatureFlags
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 FeatureFlags
impl PartialEq for FeatureFlags
source§fn eq(&self, other: &FeatureFlags) -> bool
fn eq(&self, other: &FeatureFlags) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for FeatureFlags
impl StructuralPartialEq for FeatureFlags
Auto Trait Implementations§
impl Freeze for FeatureFlags
impl RefUnwindSafe for FeatureFlags
impl Send for FeatureFlags
impl Sync for FeatureFlags
impl Unpin for FeatureFlags
impl UnwindSafe for FeatureFlags
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