Enum google_api_proto::google::cloud::aiplatform::v1::notebook_runtime::RuntimeState
source · #[repr(i32)]pub enum RuntimeState {
Unspecified = 0,
Running = 1,
BeingStarted = 2,
BeingStopped = 3,
Stopped = 4,
BeingUpgraded = 5,
Error = 100,
Invalid = 101,
}
Expand description
The substate of the NotebookRuntime to display state of runtime. The resource of NotebookRuntime is in ACTIVE state for these sub state.
Variants§
Unspecified = 0
Unspecified runtime state.
Running = 1
NotebookRuntime is in running state.
BeingStarted = 2
NotebookRuntime is in starting state.
BeingStopped = 3
NotebookRuntime is in stopping state.
Stopped = 4
NotebookRuntime is in stopped state.
BeingUpgraded = 5
NotebookRuntime is in upgrading state. It is in the middle of upgrading process.
Error = 100
NotebookRuntime was unable to start/stop properly.
Invalid = 101
NotebookRuntime is in invalid state. Cannot be recovered.
Implementations§
source§impl RuntimeState
impl RuntimeState
source§impl RuntimeState
impl RuntimeState
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 RuntimeState
impl Clone for RuntimeState
source§fn clone(&self) -> RuntimeState
fn clone(&self) -> RuntimeState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuntimeState
impl Debug for RuntimeState
source§impl Default for RuntimeState
impl Default for RuntimeState
source§fn default() -> RuntimeState
fn default() -> RuntimeState
source§impl From<RuntimeState> for i32
impl From<RuntimeState> for i32
source§fn from(value: RuntimeState) -> i32
fn from(value: RuntimeState) -> i32
source§impl Hash for RuntimeState
impl Hash for RuntimeState
source§impl Ord for RuntimeState
impl Ord for RuntimeState
source§fn cmp(&self, other: &RuntimeState) -> Ordering
fn cmp(&self, other: &RuntimeState) -> 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 RuntimeState
impl PartialEq for RuntimeState
source§fn eq(&self, other: &RuntimeState) -> bool
fn eq(&self, other: &RuntimeState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RuntimeState
impl PartialOrd for RuntimeState
source§fn partial_cmp(&self, other: &RuntimeState) -> Option<Ordering>
fn partial_cmp(&self, other: &RuntimeState) -> 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 RuntimeState
impl TryFrom<i32> for RuntimeState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<RuntimeState, UnknownEnumValue>
fn try_from(value: i32) -> Result<RuntimeState, UnknownEnumValue>
impl Copy for RuntimeState
impl Eq for RuntimeState
impl StructuralPartialEq for RuntimeState
Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl Send for RuntimeState
impl Sync for RuntimeState
impl Unpin for RuntimeState
impl UnwindSafe for RuntimeState
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