Class StudySpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
- com.google.cloud.aiplatform.v1beta1.StudySpec.Builder
-
- All Implemented Interfaces:
StudySpecOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- StudySpec
public static final class StudySpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder> implements StudySpecOrBuilder
Represents specification of a Study.
Protobuf typegoogle.cloud.aiplatform.v1beta1.StudySpec
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
clear
public StudySpec.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
getDefaultInstanceForType
public StudySpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StudySpec build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StudySpec buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StudySpec.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
setField
public StudySpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
clearField
public StudySpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
clearOneof
public StudySpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
setRepeatedField
public StudySpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
addRepeatedField
public StudySpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
mergeFrom
public StudySpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StudySpec.Builder>
-
mergeFrom
public StudySpec.Builder mergeFrom(StudySpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
mergeFrom
public StudySpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StudySpec.Builder>
- Throws:
IOException
-
getAutomatedStoppingSpecCase
public StudySpec.AutomatedStoppingSpecCase getAutomatedStoppingSpecCase()
- Specified by:
getAutomatedStoppingSpecCase
in interfaceStudySpecOrBuilder
-
clearAutomatedStoppingSpec
public StudySpec.Builder clearAutomatedStoppingSpec()
-
hasDecayCurveStoppingSpec
public boolean hasDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
- Specified by:
hasDecayCurveStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- Whether the decayCurveStoppingSpec field is set.
-
getDecayCurveStoppingSpec
public StudySpec.DecayCurveAutomatedStoppingSpec getDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
- Specified by:
getDecayCurveStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- The decayCurveStoppingSpec.
-
setDecayCurveStoppingSpec
public StudySpec.Builder setDecayCurveStoppingSpec(StudySpec.DecayCurveAutomatedStoppingSpec value)
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
-
setDecayCurveStoppingSpec
public StudySpec.Builder setDecayCurveStoppingSpec(StudySpec.DecayCurveAutomatedStoppingSpec.Builder builderForValue)
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
-
mergeDecayCurveStoppingSpec
public StudySpec.Builder mergeDecayCurveStoppingSpec(StudySpec.DecayCurveAutomatedStoppingSpec value)
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
-
clearDecayCurveStoppingSpec
public StudySpec.Builder clearDecayCurveStoppingSpec()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
-
getDecayCurveStoppingSpecBuilder
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder getDecayCurveStoppingSpecBuilder()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
-
getDecayCurveStoppingSpecOrBuilder
public StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder getDecayCurveStoppingSpecOrBuilder()
The automated early stopping spec using decay curve rule.
.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4;
- Specified by:
getDecayCurveStoppingSpecOrBuilder
in interfaceStudySpecOrBuilder
-
hasMedianAutomatedStoppingSpec
public boolean hasMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
- Specified by:
hasMedianAutomatedStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- Whether the medianAutomatedStoppingSpec field is set.
-
getMedianAutomatedStoppingSpec
public StudySpec.MedianAutomatedStoppingSpec getMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
- Specified by:
getMedianAutomatedStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- The medianAutomatedStoppingSpec.
-
setMedianAutomatedStoppingSpec
public StudySpec.Builder setMedianAutomatedStoppingSpec(StudySpec.MedianAutomatedStoppingSpec value)
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
-
setMedianAutomatedStoppingSpec
public StudySpec.Builder setMedianAutomatedStoppingSpec(StudySpec.MedianAutomatedStoppingSpec.Builder builderForValue)
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
-
mergeMedianAutomatedStoppingSpec
public StudySpec.Builder mergeMedianAutomatedStoppingSpec(StudySpec.MedianAutomatedStoppingSpec value)
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
-
clearMedianAutomatedStoppingSpec
public StudySpec.Builder clearMedianAutomatedStoppingSpec()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
-
getMedianAutomatedStoppingSpecBuilder
public StudySpec.MedianAutomatedStoppingSpec.Builder getMedianAutomatedStoppingSpecBuilder()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
-
getMedianAutomatedStoppingSpecOrBuilder
public StudySpec.MedianAutomatedStoppingSpecOrBuilder getMedianAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using median rule.
.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5;
- Specified by:
getMedianAutomatedStoppingSpecOrBuilder
in interfaceStudySpecOrBuilder
-
hasConvexStopConfig
@Deprecated public boolean hasConvexStopConfig()
Deprecated.google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See google/cloud/aiplatform/v1beta1/study.proto;l=625Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
- Specified by:
hasConvexStopConfig
in interfaceStudySpecOrBuilder
- Returns:
- Whether the convexStopConfig field is set.
-
getConvexStopConfig
@Deprecated public StudySpec.ConvexStopConfig getConvexStopConfig()
Deprecated.google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See google/cloud/aiplatform/v1beta1/study.proto;l=625Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
- Specified by:
getConvexStopConfig
in interfaceStudySpecOrBuilder
- Returns:
- The convexStopConfig.
-
setConvexStopConfig
@Deprecated public StudySpec.Builder setConvexStopConfig(StudySpec.ConvexStopConfig value)
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
-
setConvexStopConfig
@Deprecated public StudySpec.Builder setConvexStopConfig(StudySpec.ConvexStopConfig.Builder builderForValue)
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
-
mergeConvexStopConfig
@Deprecated public StudySpec.Builder mergeConvexStopConfig(StudySpec.ConvexStopConfig value)
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
-
clearConvexStopConfig
@Deprecated public StudySpec.Builder clearConvexStopConfig()
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
-
getConvexStopConfigBuilder
@Deprecated public StudySpec.ConvexStopConfig.Builder getConvexStopConfigBuilder()
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
-
getConvexStopConfigOrBuilder
@Deprecated public StudySpec.ConvexStopConfigOrBuilder getConvexStopConfigOrBuilder()
Deprecated.Deprecated. The automated early stopping using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
- Specified by:
getConvexStopConfigOrBuilder
in interfaceStudySpecOrBuilder
-
hasConvexAutomatedStoppingSpec
public boolean hasConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
- Specified by:
hasConvexAutomatedStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- Whether the convexAutomatedStoppingSpec field is set.
-
getConvexAutomatedStoppingSpec
public StudySpec.ConvexAutomatedStoppingSpec getConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
- Specified by:
getConvexAutomatedStoppingSpec
in interfaceStudySpecOrBuilder
- Returns:
- The convexAutomatedStoppingSpec.
-
setConvexAutomatedStoppingSpec
public StudySpec.Builder setConvexAutomatedStoppingSpec(StudySpec.ConvexAutomatedStoppingSpec value)
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
-
setConvexAutomatedStoppingSpec
public StudySpec.Builder setConvexAutomatedStoppingSpec(StudySpec.ConvexAutomatedStoppingSpec.Builder builderForValue)
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
-
mergeConvexAutomatedStoppingSpec
public StudySpec.Builder mergeConvexAutomatedStoppingSpec(StudySpec.ConvexAutomatedStoppingSpec value)
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
-
clearConvexAutomatedStoppingSpec
public StudySpec.Builder clearConvexAutomatedStoppingSpec()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
-
getConvexAutomatedStoppingSpecBuilder
public StudySpec.ConvexAutomatedStoppingSpec.Builder getConvexAutomatedStoppingSpecBuilder()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
-
getConvexAutomatedStoppingSpecOrBuilder
public StudySpec.ConvexAutomatedStoppingSpecOrBuilder getConvexAutomatedStoppingSpecOrBuilder()
The automated early stopping spec using convex stopping rule.
.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec convex_automated_stopping_spec = 9;
- Specified by:
getConvexAutomatedStoppingSpecOrBuilder
in interfaceStudySpecOrBuilder
-
getMetricsList
public List<StudySpec.MetricSpec> getMetricsList()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMetricsList
in interfaceStudySpecOrBuilder
-
getMetricsCount
public int getMetricsCount()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMetricsCount
in interfaceStudySpecOrBuilder
-
getMetrics
public StudySpec.MetricSpec getMetrics(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMetrics
in interfaceStudySpecOrBuilder
-
setMetrics
public StudySpec.Builder setMetrics(int index, StudySpec.MetricSpec value)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
setMetrics
public StudySpec.Builder setMetrics(int index, StudySpec.MetricSpec.Builder builderForValue)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMetrics
public StudySpec.Builder addMetrics(StudySpec.MetricSpec value)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMetrics
public StudySpec.Builder addMetrics(int index, StudySpec.MetricSpec value)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMetrics
public StudySpec.Builder addMetrics(StudySpec.MetricSpec.Builder builderForValue)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMetrics
public StudySpec.Builder addMetrics(int index, StudySpec.MetricSpec.Builder builderForValue)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addAllMetrics
public StudySpec.Builder addAllMetrics(Iterable<? extends StudySpec.MetricSpec> values)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearMetrics
public StudySpec.Builder clearMetrics()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
removeMetrics
public StudySpec.Builder removeMetrics(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMetricsBuilder
public StudySpec.MetricSpec.Builder getMetricsBuilder(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMetricsOrBuilder
public StudySpec.MetricSpecOrBuilder getMetricsOrBuilder(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMetricsOrBuilder
in interfaceStudySpecOrBuilder
-
getMetricsOrBuilderList
public List<? extends StudySpec.MetricSpecOrBuilder> getMetricsOrBuilderList()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getMetricsOrBuilderList
in interfaceStudySpecOrBuilder
-
addMetricsBuilder
public StudySpec.MetricSpec.Builder addMetricsBuilder()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
addMetricsBuilder
public StudySpec.MetricSpec.Builder addMetricsBuilder(int index)
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
getMetricsBuilderList
public List<StudySpec.MetricSpec.Builder> getMetricsBuilderList()
Required. Metric specs for the Study.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec metrics = 1 [(.google.api.field_behavior) = REQUIRED];
-
getParametersList
public List<StudySpec.ParameterSpec> getParametersList()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getParametersList
in interfaceStudySpecOrBuilder
-
getParametersCount
public int getParametersCount()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getParametersCount
in interfaceStudySpecOrBuilder
-
getParameters
public StudySpec.ParameterSpec getParameters(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getParameters
in interfaceStudySpecOrBuilder
-
setParameters
public StudySpec.Builder setParameters(int index, StudySpec.ParameterSpec value)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
setParameters
public StudySpec.Builder setParameters(int index, StudySpec.ParameterSpec.Builder builderForValue)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addParameters
public StudySpec.Builder addParameters(StudySpec.ParameterSpec value)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addParameters
public StudySpec.Builder addParameters(int index, StudySpec.ParameterSpec value)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addParameters
public StudySpec.Builder addParameters(StudySpec.ParameterSpec.Builder builderForValue)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addParameters
public StudySpec.Builder addParameters(int index, StudySpec.ParameterSpec.Builder builderForValue)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addAllParameters
public StudySpec.Builder addAllParameters(Iterable<? extends StudySpec.ParameterSpec> values)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearParameters
public StudySpec.Builder clearParameters()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
removeParameters
public StudySpec.Builder removeParameters(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
getParametersBuilder
public StudySpec.ParameterSpec.Builder getParametersBuilder(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
getParametersOrBuilder
public StudySpec.ParameterSpecOrBuilder getParametersOrBuilder(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getParametersOrBuilder
in interfaceStudySpecOrBuilder
-
getParametersOrBuilderList
public List<? extends StudySpec.ParameterSpecOrBuilder> getParametersOrBuilderList()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getParametersOrBuilderList
in interfaceStudySpecOrBuilder
-
addParametersBuilder
public StudySpec.ParameterSpec.Builder addParametersBuilder()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
addParametersBuilder
public StudySpec.ParameterSpec.Builder addParametersBuilder(int index)
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
getParametersBuilderList
public List<StudySpec.ParameterSpec.Builder> getParametersBuilderList()
Required. The set of parameters to tune.
repeated .google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec parameters = 2 [(.google.api.field_behavior) = REQUIRED];
-
getAlgorithmValue
public int getAlgorithmValue()
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1beta1.StudySpec.Algorithm algorithm = 3;
- Specified by:
getAlgorithmValue
in interfaceStudySpecOrBuilder
- Returns:
- The enum numeric value on the wire for algorithm.
-
setAlgorithmValue
public StudySpec.Builder setAlgorithmValue(int value)
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1beta1.StudySpec.Algorithm algorithm = 3;
- Parameters:
value
- The enum numeric value on the wire for algorithm to set.- Returns:
- This builder for chaining.
-
getAlgorithm
public StudySpec.Algorithm getAlgorithm()
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1beta1.StudySpec.Algorithm algorithm = 3;
- Specified by:
getAlgorithm
in interfaceStudySpecOrBuilder
- Returns:
- The algorithm.
-
setAlgorithm
public StudySpec.Builder setAlgorithm(StudySpec.Algorithm value)
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1beta1.StudySpec.Algorithm algorithm = 3;
- Parameters:
value
- The algorithm to set.- Returns:
- This builder for chaining.
-
clearAlgorithm
public StudySpec.Builder clearAlgorithm()
The search algorithm specified for the Study.
.google.cloud.aiplatform.v1beta1.StudySpec.Algorithm algorithm = 3;
- Returns:
- This builder for chaining.
-
getObservationNoiseValue
public 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.v1beta1.StudySpec.ObservationNoise observation_noise = 6;
- Specified by:
getObservationNoiseValue
in interfaceStudySpecOrBuilder
- Returns:
- The enum numeric value on the wire for observationNoise.
-
setObservationNoiseValue
public StudySpec.Builder setObservationNoiseValue(int value)
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.v1beta1.StudySpec.ObservationNoise observation_noise = 6;
- Parameters:
value
- The enum numeric value on the wire for observationNoise to set.- Returns:
- This builder for chaining.
-
getObservationNoise
public 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.v1beta1.StudySpec.ObservationNoise observation_noise = 6;
- Specified by:
getObservationNoise
in interfaceStudySpecOrBuilder
- Returns:
- The observationNoise.
-
setObservationNoise
public StudySpec.Builder setObservationNoise(StudySpec.ObservationNoise value)
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.v1beta1.StudySpec.ObservationNoise observation_noise = 6;
- Parameters:
value
- The observationNoise to set.- Returns:
- This builder for chaining.
-
clearObservationNoise
public StudySpec.Builder clearObservationNoise()
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.v1beta1.StudySpec.ObservationNoise observation_noise = 6;
- Returns:
- This builder for chaining.
-
getMeasurementSelectionTypeValue
public int getMeasurementSelectionTypeValue()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
- Specified by:
getMeasurementSelectionTypeValue
in interfaceStudySpecOrBuilder
- Returns:
- The enum numeric value on the wire for measurementSelectionType.
-
setMeasurementSelectionTypeValue
public StudySpec.Builder setMeasurementSelectionTypeValue(int value)
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
- Parameters:
value
- The enum numeric value on the wire for measurementSelectionType to set.- Returns:
- This builder for chaining.
-
getMeasurementSelectionType
public StudySpec.MeasurementSelectionType getMeasurementSelectionType()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
- Specified by:
getMeasurementSelectionType
in interfaceStudySpecOrBuilder
- Returns:
- The measurementSelectionType.
-
setMeasurementSelectionType
public StudySpec.Builder setMeasurementSelectionType(StudySpec.MeasurementSelectionType value)
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
- Parameters:
value
- The measurementSelectionType to set.- Returns:
- This builder for chaining.
-
clearMeasurementSelectionType
public StudySpec.Builder clearMeasurementSelectionType()
Describe which measurement selection type will be used
.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType measurement_selection_type = 7;
- Returns:
- This builder for chaining.
-
hasTransferLearningConfig
public boolean hasTransferLearningConfig()
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
- Specified by:
hasTransferLearningConfig
in interfaceStudySpecOrBuilder
- Returns:
- Whether the transferLearningConfig field is set.
-
getTransferLearningConfig
public StudySpec.TransferLearningConfig getTransferLearningConfig()
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
- Specified by:
getTransferLearningConfig
in interfaceStudySpecOrBuilder
- Returns:
- The transferLearningConfig.
-
setTransferLearningConfig
public StudySpec.Builder setTransferLearningConfig(StudySpec.TransferLearningConfig value)
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
-
setTransferLearningConfig
public StudySpec.Builder setTransferLearningConfig(StudySpec.TransferLearningConfig.Builder builderForValue)
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
-
mergeTransferLearningConfig
public StudySpec.Builder mergeTransferLearningConfig(StudySpec.TransferLearningConfig value)
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
-
clearTransferLearningConfig
public StudySpec.Builder clearTransferLearningConfig()
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
-
getTransferLearningConfigBuilder
public StudySpec.TransferLearningConfig.Builder getTransferLearningConfigBuilder()
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
-
getTransferLearningConfigOrBuilder
public StudySpec.TransferLearningConfigOrBuilder getTransferLearningConfigOrBuilder()
The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob
.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10;
- Specified by:
getTransferLearningConfigOrBuilder
in interfaceStudySpecOrBuilder
-
setUnknownFields
public final StudySpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
mergeUnknownFields
public final StudySpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StudySpec.Builder>
-
-