Struct google_api_proto::google::cloud::aiplatform::v1beta1::HyperparameterTuningJob
source · pub struct HyperparameterTuningJob {Show 18 fields
pub name: String,
pub display_name: String,
pub study_spec: Option<StudySpec>,
pub max_trial_count: i32,
pub parallel_trial_count: i32,
pub max_failed_trial_count: i32,
pub trial_job_spec: Option<CustomJobSpec>,
pub trials: Vec<Trial>,
pub state: i32,
pub create_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub error: Option<Status>,
pub labels: BTreeMap<String, String>,
pub encryption_spec: Option<EncryptionSpec>,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
}
Expand description
Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.
Fields§
§name: String
Output only. Resource name of the HyperparameterTuningJob.
display_name: String
Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can consist of any UTF-8 characters.
study_spec: Option<StudySpec>
Required. Study configuration of the HyperparameterTuningJob.
max_trial_count: i32
Required. The desired total number of Trials.
parallel_trial_count: i32
Required. The desired number of Trials to run in parallel.
max_failed_trial_count: i32
The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.
If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.
trial_job_spec: Option<CustomJobSpec>
Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.
trials: Vec<Trial>
Output only. Trials of the HyperparameterTuningJob.
state: i32
Output only. The detailed state of the job.
create_time: Option<Timestamp>
Output only. Time when the HyperparameterTuningJob was created.
start_time: Option<Timestamp>
Output only. Time when the HyperparameterTuningJob for the first time
entered the JOB_STATE_RUNNING
state.
end_time: Option<Timestamp>
Output only. Time when the HyperparameterTuningJob entered any of the
following states: JOB_STATE_SUCCEEDED
, JOB_STATE_FAILED
,
JOB_STATE_CANCELLED
.
update_time: Option<Timestamp>
Output only. Time when the HyperparameterTuningJob was most recently updated.
error: Option<Status>
Output only. Only populated when job’s state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.
labels: BTreeMap<String, String>
The labels with user-defined metadata to organize HyperparameterTuningJobs.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.
See https://goo.gl/xmQnxf for more information and examples of labels.
encryption_spec: Option<EncryptionSpec>
Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.
satisfies_pzs: bool
Output only. Reserved for future use.
satisfies_pzi: bool
Output only. Reserved for future use.
Implementations§
Trait Implementations§
source§impl Clone for HyperparameterTuningJob
impl Clone for HyperparameterTuningJob
source§fn clone(&self) -> HyperparameterTuningJob
fn clone(&self) -> HyperparameterTuningJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HyperparameterTuningJob
impl Debug for HyperparameterTuningJob
source§impl Default for HyperparameterTuningJob
impl Default for HyperparameterTuningJob
source§impl Message for HyperparameterTuningJob
impl Message for HyperparameterTuningJob
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 HyperparameterTuningJob
impl PartialEq for HyperparameterTuningJob
source§fn eq(&self, other: &HyperparameterTuningJob) -> bool
fn eq(&self, other: &HyperparameterTuningJob) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HyperparameterTuningJob
Auto Trait Implementations§
impl Freeze for HyperparameterTuningJob
impl RefUnwindSafe for HyperparameterTuningJob
impl Send for HyperparameterTuningJob
impl Sync for HyperparameterTuningJob
impl Unpin for HyperparameterTuningJob
impl UnwindSafe for HyperparameterTuningJob
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