public static final class Measurement.Builder extends GeneratedMessageV3.Builder<Measurement.Builder> implements MeasurementOrBuilder
A message representing a Measurement of a Trial. A Measurement contains
the Metrics got by executing a Trial using suggested hyperparameter
values.
Protobuf type google.cloud.aiplatform.v1beta1.Measurement
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Measurement.Builder addAllMetrics(Iterable<? extends Measurement.Metric> values)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.Measurement.Metric>
|
Returns
public Measurement.Builder addMetrics(Measurement.Metric value)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder addMetrics(Measurement.Metric.Builder builderForValue)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder addMetrics(int index, Measurement.Metric value)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
public Measurement.Builder addMetrics(int index, Measurement.Metric.Builder builderForValue)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
public Measurement.Metric.Builder addMetricsBuilder()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.Metric.Builder addMetricsBuilder(int index)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Measurement build()
Returns
public Measurement buildPartial()
Returns
public Measurement.Builder clear()
Returns
Overrides
public Measurement.Builder clearElapsedDuration()
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Measurement.Builder clearMetrics()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Measurement.Builder clearStepCount()
Output only. The number of steps the machine learning model has been
trained for. Must be non-negative.
int64 step_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.Builder clone()
Returns
Overrides
public Measurement getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Duration getElapsedDuration()
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
Duration | The elapsedDuration.
|
public Duration.Builder getElapsedDurationBuilder()
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public DurationOrBuilder getElapsedDurationOrBuilder()
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.Metric getMetrics(int index)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Metric.Builder getMetricsBuilder(int index)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public List<Measurement.Metric.Builder> getMetricsBuilderList()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public int getMetricsCount()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public List<Measurement.Metric> getMetricsList()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Measurement.MetricOrBuilder getMetricsOrBuilder(int index)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public List<? extends Measurement.MetricOrBuilder> getMetricsOrBuilderList()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.Measurement.MetricOrBuilder> | |
public long getStepCount()
Output only. The number of steps the machine learning model has been
trained for. Must be non-negative.
int64 step_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
long | The stepCount.
|
public boolean hasElapsedDuration()
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the elapsedDuration field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Measurement.Builder mergeElapsedDuration(Duration value)
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder mergeFrom(Measurement other)
Parameter
Returns
public Measurement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Measurement.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Measurement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Measurement.Builder removeMetrics(int index)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder setElapsedDuration(Duration value)
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public Measurement.Builder setElapsedDuration(Duration.Builder builderForValue)
Output only. Time that the Trial has been running at the point of this
Measurement.
.google.protobuf.Duration elapsed_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public Measurement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Measurement.Builder setMetrics(int index, Measurement.Metric value)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
public Measurement.Builder setMetrics(int index, Measurement.Metric.Builder builderForValue)
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1beta1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
public Measurement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public Measurement.Builder setStepCount(long value)
Output only. The number of steps the machine learning model has been
trained for. Must be non-negative.
int64 step_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | long
The stepCount to set.
|
Returns
public final Measurement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides