pub struct ReadChangeStreamRequest {
pub table_name: String,
pub app_profile_id: String,
pub partition: Option<StreamPartition>,
pub end_time: Option<Timestamp>,
pub heartbeat_duration: Option<Duration>,
pub start_from: Option<StartFrom>,
}
Expand description
NOTE: This API is intended to be used by Apache Beam BigtableIO. Request message for Bigtable.ReadChangeStream.
Fields§
§table_name: String
Required. The unique name of the table from which to read a change stream.
Values are of the form
projects/<project>/instances/<instance>/tables/<table>
.
Change streaming must be enabled on the table.
app_profile_id: String
This value specifies routing for replication. If not specified, the “default” application profile will be used. Single cluster routing must be configured on the profile.
partition: Option<StreamPartition>
The partition to read changes from.
end_time: Option<Timestamp>
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
heartbeat_duration: Option<Duration>
If specified, the duration between Heartbeat
messages on the stream.
Otherwise, defaults to 5 seconds.
start_from: Option<StartFrom>
Options for describing where we want to start reading from the stream.
Trait Implementations§
Source§impl Clone for ReadChangeStreamRequest
impl Clone for ReadChangeStreamRequest
Source§fn clone(&self) -> ReadChangeStreamRequest
fn clone(&self) -> ReadChangeStreamRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ReadChangeStreamRequest
impl Debug for ReadChangeStreamRequest
Source§impl Default for ReadChangeStreamRequest
impl Default for ReadChangeStreamRequest
Source§impl Message for ReadChangeStreamRequest
impl Message for ReadChangeStreamRequest
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 ReadChangeStreamRequest
impl PartialEq for ReadChangeStreamRequest
impl StructuralPartialEq for ReadChangeStreamRequest
Auto Trait Implementations§
impl Freeze for ReadChangeStreamRequest
impl RefUnwindSafe for ReadChangeStreamRequest
impl Send for ReadChangeStreamRequest
impl Sync for ReadChangeStreamRequest
impl Unpin for ReadChangeStreamRequest
impl UnwindSafe for ReadChangeStreamRequest
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