Struct google_api_proto::google::bigtable::v2::ReadChangeStreamRequest
source · 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
source§fn eq(&self, other: &ReadChangeStreamRequest) -> bool
fn eq(&self, other: &ReadChangeStreamRequest) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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