Struct google_api_proto::google::cloud::aiplatform::v1beta1::Scheduling
source · pub struct Scheduling {
pub timeout: Option<Duration>,
pub restart_job_on_worker_restart: bool,
pub strategy: i32,
pub disable_retries: bool,
pub max_wait_duration: Option<Duration>,
}
Expand description
All parameters related to queuing and scheduling of custom jobs.
Fields§
§timeout: Option<Duration>
The maximum job running time. The default is 7 days.
restart_job_on_worker_restart: bool
Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job.
strategy: i32
Optional. This determines which type of scheduling strategy to use.
disable_retries: bool
Optional. Indicates if the job should retry for internal errors after the
job starts running. If true, overrides
Scheduling.restart_job_on_worker_restart
to false.
max_wait_duration: Option<Duration>
Optional. This is the maximum duration that a job will wait for the requested resources to be provisioned if the scheduling strategy is set to [Strategy.DWS_FLEX_START]. If set to 0, the job will wait indefinitely. The default is 24 hours.
Implementations§
source§impl Scheduling
impl Scheduling
Trait Implementations§
source§impl Clone for Scheduling
impl Clone for Scheduling
source§fn clone(&self) -> Scheduling
fn clone(&self) -> Scheduling
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Scheduling
impl Debug for Scheduling
source§impl Default for Scheduling
impl Default for Scheduling
source§impl Message for Scheduling
impl Message for Scheduling
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 Scheduling
impl PartialEq for Scheduling
source§fn eq(&self, other: &Scheduling) -> bool
fn eq(&self, other: &Scheduling) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for Scheduling
impl StructuralPartialEq for Scheduling
Auto Trait Implementations§
impl Freeze for Scheduling
impl RefUnwindSafe for Scheduling
impl Send for Scheduling
impl Sync for Scheduling
impl Unpin for Scheduling
impl UnwindSafe for Scheduling
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