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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
public Measurement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Measurement build()
public Measurement buildPartial()
public Measurement.Builder clear()
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];
public Measurement.Builder clearField(Descriptors.FieldDescriptor field)
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];
public Measurement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
public Measurement.Builder clone()
Overrides
public Measurement getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
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];
public Measurement.Builder mergeFrom(Measurement other)
public Measurement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Measurement.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final Measurement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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];
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
|
public Measurement.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
public Measurement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
public final Measurement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides