pub struct CheckAndMutateRowRequest {
pub table_name: String,
pub authorized_view_name: String,
pub app_profile_id: String,
pub row_key: Vec<u8>,
pub predicate_filter: Option<RowFilter>,
pub true_mutations: Vec<Mutation>,
pub false_mutations: Vec<Mutation>,
}
Expand description
Request message for Bigtable.CheckAndMutateRow.
Fields§
§table_name: String
Optional. The unique name of the table to which the conditional mutation should be applied.
Values are of the form
projects/<project>/instances/<instance>/tables/<table>
.
Optional. The unique name of the AuthorizedView to which the conditional mutation should be applied.
Values are of the form
projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>
.
app_profile_id: String
This value specifies routing for replication. If not specified, the “default” application profile will be used.
row_key: Vec<u8>
Required. The key of the row to which the conditional mutation should be applied.
predicate_filter: Option<RowFilter>
The filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, either true_mutations
or
false_mutations
will be executed. If unset, checks that the row contains
any values at all.
true_mutations: Vec<Mutation>
Changes to be atomically applied to the specified row if predicate_filter
yields at least one cell when applied to row_key
. Entries are applied in
order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry if false_mutations
is empty, and at most
100000.
false_mutations: Vec<Mutation>
Changes to be atomically applied to the specified row if predicate_filter
does not yield any cells when applied to row_key
. Entries are applied in
order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry if true_mutations
is empty, and at most
100000.
Trait Implementations§
Source§impl Clone for CheckAndMutateRowRequest
impl Clone for CheckAndMutateRowRequest
Source§fn clone(&self) -> CheckAndMutateRowRequest
fn clone(&self) -> CheckAndMutateRowRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CheckAndMutateRowRequest
impl Debug for CheckAndMutateRowRequest
Source§impl Default for CheckAndMutateRowRequest
impl Default for CheckAndMutateRowRequest
Source§impl Message for CheckAndMutateRowRequest
impl Message for CheckAndMutateRowRequest
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 CheckAndMutateRowRequest
impl PartialEq for CheckAndMutateRowRequest
impl StructuralPartialEq for CheckAndMutateRowRequest
Auto Trait Implementations§
impl Freeze for CheckAndMutateRowRequest
impl RefUnwindSafe for CheckAndMutateRowRequest
impl Send for CheckAndMutateRowRequest
impl Sync for CheckAndMutateRowRequest
impl Unpin for CheckAndMutateRowRequest
impl UnwindSafe for CheckAndMutateRowRequest
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