public final class StudySpec extends com.google.protobuf.GeneratedMessageV3 implements StudySpecOrBuilder
Represents specification of a Study.Protobuf type
google.cloud.aiplatform.v1.StudySpec| Modifier and Type | Class and Description |
|---|---|
static class |
StudySpec.Algorithm
The available search algorithms for the Study.
|
static class |
StudySpec.AutomatedStoppingSpecCase |
static class |
StudySpec.Builder
Represents specification of a Study.
|
static class |
StudySpec.ConvexAutomatedStoppingSpec
Configuration for ConvexAutomatedStoppingSpec.
|
static interface |
StudySpec.ConvexAutomatedStoppingSpecOrBuilder |
static class |
StudySpec.DecayCurveAutomatedStoppingSpec
The decay curve automated stopping rule builds a Gaussian Process
Regressor to predict the final objective value of a Trial based on the
already completed Trials and the intermediate measurements of the current
Trial.
|
static interface |
StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder |
static class |
StudySpec.MeasurementSelectionType
This indicates which measurement to use if/when the service automatically
selects the final measurement from previously reported intermediate
measurements.
|
static class |
StudySpec.MedianAutomatedStoppingSpec
The median automated stopping rule stops a pending Trial if the Trial's
best objective_value is strictly below the median 'performance' of all
completed Trials reported up to the Trial's last measurement.
|
static interface |
StudySpec.MedianAutomatedStoppingSpecOrBuilder |
static class |
StudySpec.MetricSpec
Represents a metric to optimize.
|
static interface |
StudySpec.MetricSpecOrBuilder |
static class |
StudySpec.ObservationNoise
Describes the noise level of the repeated observations.
|
static class |
StudySpec.ParameterSpec
Represents a single parameter to optimize.
|
static interface |
StudySpec.ParameterSpecOrBuilder |
static class |
StudySpec.StudyStoppingConfig
The configuration (stopping conditions) for automated stopping of a Study.
|
static interface |
StudySpec.StudyStoppingConfigOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALGORITHM_FIELD_NUMBER |
static int |
CONVEX_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER |
static int |
DECAY_CURVE_STOPPING_SPEC_FIELD_NUMBER |
static int |
MEASUREMENT_SELECTION_TYPE_FIELD_NUMBER |
static int |
MEDIAN_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER |
static int |
METRICS_FIELD_NUMBER |
static int |
OBSERVATION_NOISE_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
STUDY_STOPPING_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StudySpec.Algorithm |
getAlgorithm()
The search algorithm specified for the Study.
|
int |
getAlgorithmValue()
The search algorithm specified for the Study.
|
StudySpec.AutomatedStoppingSpecCase |
getAutomatedStoppingSpecCase() |
StudySpec.ConvexAutomatedStoppingSpec |
getConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
|
StudySpec.ConvexAutomatedStoppingSpecOrBuilder |
getConvexAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using convex stopping rule.
|
StudySpec.DecayCurveAutomatedStoppingSpec |
getDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
|
StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder |
getDecayCurveStoppingSpecOrBuilder()
The automated early stopping spec using decay curve rule.
|
static StudySpec |
getDefaultInstance() |
StudySpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
StudySpec.MeasurementSelectionType |
getMeasurementSelectionType()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
|
int |
getMeasurementSelectionTypeValue()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
|
StudySpec.MedianAutomatedStoppingSpec |
getMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
|
StudySpec.MedianAutomatedStoppingSpecOrBuilder |
getMedianAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using median rule.
|
StudySpec.MetricSpec |
getMetrics(int index)
Required.
|
int |
getMetricsCount()
Required.
|
List<StudySpec.MetricSpec> |
getMetricsList()
Required.
|
StudySpec.MetricSpecOrBuilder |
getMetricsOrBuilder(int index)
Required.
|
List<? extends StudySpec.MetricSpecOrBuilder> |
getMetricsOrBuilderList()
Required.
|
StudySpec.ObservationNoise |
getObservationNoise()
The observation noise level of the study.
|
int |
getObservationNoiseValue()
The observation noise level of the study.
|
StudySpec.ParameterSpec |
getParameters(int index)
Required.
|
int |
getParametersCount()
Required.
|
List<StudySpec.ParameterSpec> |
getParametersList()
Required.
|
StudySpec.ParameterSpecOrBuilder |
getParametersOrBuilder(int index)
Required.
|
List<? extends StudySpec.ParameterSpecOrBuilder> |
getParametersOrBuilderList()
Required.
|
com.google.protobuf.Parser<StudySpec> |
getParserForType() |
int |
getSerializedSize() |
StudySpec.StudyStoppingConfig |
getStudyStoppingConfig()
Conditions for automated stopping of a Study.
|
StudySpec.StudyStoppingConfigOrBuilder |
getStudyStoppingConfigOrBuilder()
Conditions for automated stopping of a Study.
|
boolean |
hasConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
|
boolean |
hasDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
|
int |
hashCode() |
boolean |
hasMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
|
boolean |
hasStudyStoppingConfig()
Conditions for automated stopping of a Study.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StudySpec.Builder |
newBuilder() |
static StudySpec.Builder |
newBuilder(StudySpec prototype) |
StudySpec.Builder |
newBuilderForType() |
protected StudySpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StudySpec |
parseDelimitedFrom(InputStream input) |
static StudySpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec |
parseFrom(byte[] data) |
static StudySpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec |
parseFrom(ByteBuffer data) |
static StudySpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec |
parseFrom(com.google.protobuf.ByteString data) |
static StudySpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StudySpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StudySpec |
parseFrom(InputStream input) |
static StudySpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StudySpec> |
parser() |
StudySpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DECAY_CURVE_STOPPING_SPEC_FIELD_NUMBER
public static final int MEDIAN_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER
public static final int CONVEX_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER
public static final int OBSERVATION_NOISE_FIELD_NUMBER
public static final int MEASUREMENT_SELECTION_TYPE_FIELD_NUMBER
public static final int STUDY_STOPPING_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public StudySpec.AutomatedStoppingSpecCase getAutomatedStoppingSpecCase()
getAutomatedStoppingSpecCase in interface StudySpecOrBuilderpublic boolean hasDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
hasDecayCurveStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.DecayCurveAutomatedStoppingSpec getDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
getDecayCurveStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder getDecayCurveStoppingSpecOrBuilder()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
getDecayCurveStoppingSpecOrBuilder in interface StudySpecOrBuilderpublic boolean hasMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
hasMedianAutomatedStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.MedianAutomatedStoppingSpec getMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
getMedianAutomatedStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.MedianAutomatedStoppingSpecOrBuilder getMedianAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
getMedianAutomatedStoppingSpecOrBuilder in interface StudySpecOrBuilderpublic boolean hasConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
hasConvexAutomatedStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.ConvexAutomatedStoppingSpec getConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
getConvexAutomatedStoppingSpec in interface StudySpecOrBuilderpublic StudySpec.ConvexAutomatedStoppingSpecOrBuilder getConvexAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
getConvexAutomatedStoppingSpecOrBuilder in interface StudySpecOrBuilderpublic List<StudySpec.MetricSpec> getMetricsList()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsList in interface StudySpecOrBuilderpublic List<? extends StudySpec.MetricSpecOrBuilder> getMetricsOrBuilderList()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsOrBuilderList in interface StudySpecOrBuilderpublic int getMetricsCount()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsCount in interface StudySpecOrBuilderpublic StudySpec.MetricSpec getMetrics(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetrics in interface StudySpecOrBuilderpublic StudySpec.MetricSpecOrBuilder getMetricsOrBuilder(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
getMetricsOrBuilder in interface StudySpecOrBuilderpublic List<StudySpec.ParameterSpec> getParametersList()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
getParametersList in interface StudySpecOrBuilderpublic List<? extends StudySpec.ParameterSpecOrBuilder> getParametersOrBuilderList()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
getParametersOrBuilderList in interface StudySpecOrBuilderpublic int getParametersCount()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
getParametersCount in interface StudySpecOrBuilderpublic StudySpec.ParameterSpec getParameters(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
getParameters in interface StudySpecOrBuilderpublic StudySpec.ParameterSpecOrBuilder getParametersOrBuilder(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
getParametersOrBuilder in interface StudySpecOrBuilderpublic int getAlgorithmValue()
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1.StudySpec.Algorithm algorithm = 3;getAlgorithmValue in interface StudySpecOrBuilderpublic StudySpec.Algorithm getAlgorithm()
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1.StudySpec.Algorithm algorithm = 3;getAlgorithm in interface StudySpecOrBuilderpublic int getObservationNoiseValue()
The observation noise level of the study. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.
.google.cloud.aiplatform.v1.StudySpec.ObservationNoise observation_noise = 6;getObservationNoiseValue in interface StudySpecOrBuilderpublic StudySpec.ObservationNoise getObservationNoise()
The observation noise level of the study. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.
.google.cloud.aiplatform.v1.StudySpec.ObservationNoise observation_noise = 6;getObservationNoise in interface StudySpecOrBuilderpublic int getMeasurementSelectionTypeValue()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
getMeasurementSelectionTypeValue in interface StudySpecOrBuilderpublic StudySpec.MeasurementSelectionType getMeasurementSelectionType()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
getMeasurementSelectionType in interface StudySpecOrBuilderpublic boolean hasStudyStoppingConfig()
Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition.
optional .google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig study_stopping_config = 11;
hasStudyStoppingConfig in interface StudySpecOrBuilderpublic StudySpec.StudyStoppingConfig getStudyStoppingConfig()
Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition.
optional .google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig study_stopping_config = 11;
getStudyStoppingConfig in interface StudySpecOrBuilderpublic StudySpec.StudyStoppingConfigOrBuilder getStudyStoppingConfigOrBuilder()
Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition.
optional .google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfig study_stopping_config = 11;
getStudyStoppingConfigOrBuilder in interface StudySpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StudySpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StudySpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static StudySpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StudySpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StudySpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StudySpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StudySpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StudySpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StudySpec.Builder newBuilder()
public static StudySpec.Builder newBuilder(StudySpec prototype)
public StudySpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StudySpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StudySpec getDefaultInstance()
public static com.google.protobuf.Parser<StudySpec> parser()
public com.google.protobuf.Parser<StudySpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StudySpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.