Struct gapi_grpc::google::cloud::aiplatform::v1::study_spec::ParameterSpec[][src]

pub struct ParameterSpec {
    pub parameter_id: String,
    pub scale_type: i32,
    pub conditional_parameter_specs: Vec<ConditionalParameterSpec>,
    pub parameter_value_spec: Option<ParameterValueSpec>,
}

Represents a single parameter to optimize.

Fields

parameter_id: String

Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.

scale_type: i32

How the parameter should be scaled. Leave unset for CATEGORICAL parameters.

conditional_parameter_specs: Vec<ConditionalParameterSpec>

A conditional parameter node is active if the parameter’s value matches the conditional node’s parent_value_condition.

If two items in conditional_parameter_specs have the same name, they must have disjoint parent_value_condition.

parameter_value_spec: Option<ParameterValueSpec>

Implementations

impl ParameterSpec[src]

pub fn scale_type(&self) -> ScaleType[src]

Returns the enum value of scale_type, or the default if the field is set to an invalid enum value.

pub fn set_scale_type(&mut self, value: ScaleType)[src]

Sets scale_type to the provided enum value.

Trait Implementations

impl Clone for ParameterSpec[src]

impl Debug for ParameterSpec[src]

impl Default for ParameterSpec[src]

impl Message for ParameterSpec[src]

impl PartialEq<ParameterSpec> for ParameterSpec[src]

impl StructuralPartialEq for ParameterSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for ParameterSpec

impl Send for ParameterSpec

impl Sync for ParameterSpec

impl Unpin for ParameterSpec

impl UnwindSafe for ParameterSpec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]