#[repr(i32)]pub enum JobMessageImportance {
Unknown = 0,
JobMessageDebug = 1,
JobMessageDetailed = 2,
JobMessageBasic = 5,
JobMessageWarning = 3,
JobMessageError = 4,
}
Expand description
Indicates the importance of the message.
Variants§
Unknown = 0
The message importance isn’t specified, or is unknown.
JobMessageDebug = 1
The message is at the ‘debug’ level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.
JobMessageDetailed = 2
The message is at the ‘detailed’ level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.
JobMessageBasic = 5
The message is at the ‘basic’ level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.
JobMessageWarning = 3
The message is at the ‘warning’ level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.
JobMessageError = 4
The message is at the ‘error’ level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.
Implementations§
source§impl JobMessageImportance
impl JobMessageImportance
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of JobMessageImportance
.
sourcepub fn from_i32(value: i32) -> Option<JobMessageImportance>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<JobMessageImportance>
Converts an i32
to a JobMessageImportance
, or None
if value
is not a valid variant.
source§impl JobMessageImportance
impl JobMessageImportance
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for JobMessageImportance
impl Clone for JobMessageImportance
source§fn clone(&self) -> JobMessageImportance
fn clone(&self) -> JobMessageImportance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobMessageImportance
impl Debug for JobMessageImportance
source§impl Default for JobMessageImportance
impl Default for JobMessageImportance
source§fn default() -> JobMessageImportance
fn default() -> JobMessageImportance
source§impl From<JobMessageImportance> for i32
impl From<JobMessageImportance> for i32
source§fn from(value: JobMessageImportance) -> i32
fn from(value: JobMessageImportance) -> i32
source§impl Hash for JobMessageImportance
impl Hash for JobMessageImportance
source§impl Ord for JobMessageImportance
impl Ord for JobMessageImportance
source§fn cmp(&self, other: &JobMessageImportance) -> Ordering
fn cmp(&self, other: &JobMessageImportance) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for JobMessageImportance
impl PartialEq for JobMessageImportance
source§fn eq(&self, other: &JobMessageImportance) -> bool
fn eq(&self, other: &JobMessageImportance) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JobMessageImportance
impl PartialOrd for JobMessageImportance
source§fn partial_cmp(&self, other: &JobMessageImportance) -> Option<Ordering>
fn partial_cmp(&self, other: &JobMessageImportance) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for JobMessageImportance
impl TryFrom<i32> for JobMessageImportance
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<JobMessageImportance, UnknownEnumValue>
fn try_from(value: i32) -> Result<JobMessageImportance, UnknownEnumValue>
impl Copy for JobMessageImportance
impl Eq for JobMessageImportance
impl StructuralPartialEq for JobMessageImportance
Auto Trait Implementations§
impl Freeze for JobMessageImportance
impl RefUnwindSafe for JobMessageImportance
impl Send for JobMessageImportance
impl Sync for JobMessageImportance
impl Unpin for JobMessageImportance
impl UnwindSafe for JobMessageImportance
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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