pub struct Builder<T>(/* private fields */);
Expand description
A builder for CheckAlertsHistogramRequest
Implementations§
Source§impl Builder<DistributionVariableStage>
impl Builder<DistributionVariableStage>
Sourcepub fn distribution_variable(
self,
distribution_variable: HistogramDistributionVariable,
) -> Builder<StartTimeAfterStage>
pub fn distribution_variable( self, distribution_variable: HistogramDistributionVariable, ) -> Builder<StartTimeAfterStage>
Sets the distribution_variable
field.
Source§impl Builder<StartTimeAfterStage>
impl Builder<StartTimeAfterStage>
Sourcepub fn start_time_after(
self,
start_time_after: Timestamp,
) -> Builder<StartTimeBeforeStage>
pub fn start_time_after( self, start_time_after: Timestamp, ) -> Builder<StartTimeBeforeStage>
Sets the start_time_after
field.
Source§impl Builder<StartTimeBeforeStage>
impl Builder<StartTimeBeforeStage>
Sourcepub fn start_time_before(
self,
start_time_before: Timestamp,
) -> Builder<Complete>
pub fn start_time_before( self, start_time_before: Timestamp, ) -> Builder<Complete>
Sets the start_time_before
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn search_text(self, search_text: impl Into<Option<String>>) -> Self
pub fn search_text(self, search_text: impl Into<Option<String>>) -> Self
Sets the search_text
field.
Sourcepub fn distribution_variable(
self,
distribution_variable: HistogramDistributionVariable,
) -> Self
pub fn distribution_variable( self, distribution_variable: HistogramDistributionVariable, ) -> Self
Sets the distribution_variable
field.
Sourcepub fn sub_group_variable(
self,
sub_group_variable: impl Into<Option<HistogramSubGroupVariable>>,
) -> Self
pub fn sub_group_variable( self, sub_group_variable: impl Into<Option<HistogramSubGroupVariable>>, ) -> Self
Sets the sub_group_variable
field.
Sourcepub fn start_time_after(self, start_time_after: Timestamp) -> Self
pub fn start_time_after(self, start_time_after: Timestamp) -> Self
Sets the start_time_after
field.
Sourcepub fn start_time_before(self, start_time_before: Timestamp) -> Self
pub fn start_time_before(self, start_time_before: Timestamp) -> Self
Sets the start_time_before
field.
Sourcepub fn status(
self,
status: impl Into<Option<BTreeSet<CheckAlertStatus>>>,
) -> Self
pub fn status( self, status: impl Into<Option<BTreeSet<CheckAlertStatus>>>, ) -> Self
Sets the status
field.
Sourcepub fn check_rids(
self,
check_rids: impl Into<Option<BTreeSet<CheckRid>>>,
) -> Self
pub fn check_rids( self, check_rids: impl Into<Option<BTreeSet<CheckRid>>>, ) -> Self
Sets the check_rids
field.
Sourcepub fn data_review_rids(
self,
data_review_rids: impl Into<Option<BTreeSet<DataReviewRid>>>,
) -> Self
pub fn data_review_rids( self, data_review_rids: impl Into<Option<BTreeSet<DataReviewRid>>>, ) -> Self
Sets the data_review_rids
field.
Sourcepub fn assignee_rids(
self,
assignee_rids: impl Into<Option<BTreeSet<UserRid>>>,
) -> Self
pub fn assignee_rids( self, assignee_rids: impl Into<Option<BTreeSet<UserRid>>>, ) -> Self
Sets the assignee_rids
field.
Sourcepub fn priorities(
self,
priorities: impl Into<Option<BTreeSet<Priority>>>,
) -> Self
pub fn priorities( self, priorities: impl Into<Option<BTreeSet<Priority>>>, ) -> Self
Sets the priorities
field.
Sourcepub fn insert_run_rids(self, run_rids: RunRid) -> Self
pub fn insert_run_rids(self, run_rids: RunRid) -> Self
Adds a value to the run_rids
field.
Sourcepub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Sets the run_rids
field.
Sourcepub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Adds values to the run_rids
field.
Sourcepub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
pub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
Adds a value to the asset_rids
field.
Sourcepub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
pub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
Sets the asset_rids
field.
Sourcepub fn extend_asset_rids(
self,
asset_rids: impl IntoIterator<Item = AssetRid>,
) -> Self
pub fn extend_asset_rids( self, asset_rids: impl IntoIterator<Item = AssetRid>, ) -> Self
Adds values to the asset_rids
field.
Sourcepub fn pinned_checklist_refs(
self,
pinned_checklist_refs: impl Into<Option<BTreeSet<PinnedChecklistRef>>>,
) -> Self
pub fn pinned_checklist_refs( self, pinned_checklist_refs: impl Into<Option<BTreeSet<PinnedChecklistRef>>>, ) -> Self
Sets the pinned_checklist_refs
field.
Sourcepub fn chart_rids(
self,
chart_rids: impl Into<Option<BTreeSet<VersionedVizId>>>,
) -> Self
pub fn chart_rids( self, chart_rids: impl Into<Option<BTreeSet<VersionedVizId>>>, ) -> Self
Sets the chart_rids
field.
Sourcepub fn notebook_rids(
self,
notebook_rids: impl Into<Option<BTreeSet<NotebookRid>>>,
) -> Self
pub fn notebook_rids( self, notebook_rids: impl Into<Option<BTreeSet<NotebookRid>>>, ) -> Self
Sets the notebook_rids
field.
Sourcepub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
pub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
Sets the show_archived
field.
Sourcepub fn archived_statuses(
self,
archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>,
) -> Self
pub fn archived_statuses( self, archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>, ) -> Self
Sets the archived_statuses
field.
Sourcepub fn build(self) -> CheckAlertsHistogramRequest
pub fn build(self) -> CheckAlertsHistogramRequest
Consumes the builder, returning a CheckAlertsHistogramRequest
.
Trait Implementations§
Source§impl Default for Builder<DistributionVariableStage>
impl Default for Builder<DistributionVariableStage>
Source§impl From<CheckAlertsHistogramRequest> for Builder<Complete>
impl From<CheckAlertsHistogramRequest> for Builder<Complete>
Source§fn from(v: CheckAlertsHistogramRequest) -> Self
fn from(v: CheckAlertsHistogramRequest) -> Self
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> 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
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