Google Cloud Ai Platform V1 Client - Class IntegerValueSpec (1.2.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class IntegerValueSpec.

Value specification for a parameter in INTEGER type.

Generated from protobuf message google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ StudySpec \ ParameterSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ min_value int|string

Required. Inclusive minimum value of the parameter.

↳ max_value int|string

Required. Inclusive maximum value of the parameter.

↳ default_value int|string

A default value for an INTEGER parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

getMinValue

Required. Inclusive minimum value of the parameter.

Returns
Type Description
int|string

setMinValue

Required. Inclusive minimum value of the parameter.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getMaxValue

Required. Inclusive maximum value of the parameter.

Returns
Type Description
int|string

setMaxValue

Required. Inclusive maximum value of the parameter.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDefaultValue

A default value for an INTEGER parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Returns
Type Description
int|string

hasDefaultValue

clearDefaultValue

setDefaultValue

A default value for an INTEGER parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Parameter
Name Description
var int|string
Returns
Type Description
$this