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,
pub traffic_director_enabled: bool,
pub direct_access_requested: 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.
traffic_director_enabled: bool
Notify the server that the client using Traffic Director endpoint.
direct_access_requested: bool
Notify the server that the client explicitly opted in for Direct Access.
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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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