pub struct Builder<T>(/* private fields */);Expand description
A builder for StreamingSource
Implementations§
Source§impl Builder<DatasetRidStage>
impl Builder<DatasetRidStage>
Sourcepub fn dataset_rid(self, dataset_rid: DatasetRid) -> Builder<SessionCountStage>
pub fn dataset_rid(self, dataset_rid: DatasetRid) -> Builder<SessionCountStage>
Sets the dataset_rid field.
Source§impl Builder<SessionCountStage>
impl Builder<SessionCountStage>
Sourcepub fn session_count(
self,
session_count: SafeLong,
) -> Builder<TotalPointsCountStage>
pub fn session_count( self, session_count: SafeLong, ) -> Builder<TotalPointsCountStage>
Sets the session_count field.
Source§impl Builder<TotalPointsCountStage>
impl Builder<TotalPointsCountStage>
Sourcepub fn total_points_count(
self,
total_points_count: SafeLong,
) -> Builder<EarliestCreatedAtStage>
pub fn total_points_count( self, total_points_count: SafeLong, ) -> Builder<EarliestCreatedAtStage>
Sets the total_points_count field.
Source§impl Builder<EarliestCreatedAtStage>
impl Builder<EarliestCreatedAtStage>
Sourcepub fn earliest_created_at(
self,
earliest_created_at: Timestamp,
) -> Builder<LatestLastSeenAtStage>
pub fn earliest_created_at( self, earliest_created_at: Timestamp, ) -> Builder<LatestLastSeenAtStage>
Sets the earliest_created_at field.
Source§impl Builder<LatestLastSeenAtStage>
impl Builder<LatestLastSeenAtStage>
Sourcepub fn latest_last_seen_at(
self,
latest_last_seen_at: Timestamp,
) -> Builder<AnyInProgressStage>
pub fn latest_last_seen_at( self, latest_last_seen_at: Timestamp, ) -> Builder<AnyInProgressStage>
Sets the latest_last_seen_at field.
Source§impl Builder<AnyInProgressStage>
impl Builder<AnyInProgressStage>
Sourcepub fn any_in_progress(self, any_in_progress: bool) -> Builder<Complete>
pub fn any_in_progress(self, any_in_progress: bool) -> Builder<Complete>
Sets the any_in_progress field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn source(
self,
source: impl Into<Option<StreamingSessionSource>>,
) -> Builder<Complete>
pub fn source( self, source: impl Into<Option<StreamingSessionSource>>, ) -> Builder<Complete>
Sets the source field.
Sourcepub fn dataset_rid(self, dataset_rid: DatasetRid) -> Builder<Complete>
pub fn dataset_rid(self, dataset_rid: DatasetRid) -> Builder<Complete>
Sets the dataset_rid field.
Sourcepub fn session_count(self, session_count: SafeLong) -> Builder<Complete>
pub fn session_count(self, session_count: SafeLong) -> Builder<Complete>
Sets the session_count field.
Sourcepub fn total_points_count(
self,
total_points_count: SafeLong,
) -> Builder<Complete>
pub fn total_points_count( self, total_points_count: SafeLong, ) -> Builder<Complete>
Sets the total_points_count field.
Sourcepub fn earliest_created_at(
self,
earliest_created_at: Timestamp,
) -> Builder<Complete>
pub fn earliest_created_at( self, earliest_created_at: Timestamp, ) -> Builder<Complete>
Sets the earliest_created_at field.
Sourcepub fn latest_last_seen_at(
self,
latest_last_seen_at: Timestamp,
) -> Builder<Complete>
pub fn latest_last_seen_at( self, latest_last_seen_at: Timestamp, ) -> Builder<Complete>
Sets the latest_last_seen_at field.
Sourcepub fn merged_bounds(
self,
merged_bounds: impl Into<Option<Range>>,
) -> Builder<Complete>
pub fn merged_bounds( self, merged_bounds: impl Into<Option<Range>>, ) -> Builder<Complete>
Sets the merged_bounds field.
Sourcepub fn any_in_progress(self, any_in_progress: bool) -> Builder<Complete>
pub fn any_in_progress(self, any_in_progress: bool) -> Builder<Complete>
Sets the any_in_progress field.
Sourcepub fn build(self) -> StreamingSource
pub fn build(self) -> StreamingSource
Consumes the builder, returning a StreamingSource.
Trait Implementations§
Source§impl Default for Builder<DatasetRidStage>
impl Default for Builder<DatasetRidStage>
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnsafeUnpin for Builder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Wrap the input message
T in a tonic::Request