public final class Measurement extends GeneratedMessageV3 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.v1.Measurement
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int ELAPSED_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int STEP_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Measurement getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Measurement.Builder newBuilder()
public static Measurement.Builder newBuilder(Measurement prototype)
public static Measurement parseDelimitedFrom(InputStream input)
public static Measurement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Measurement parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Measurement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Measurement parseFrom(ByteString data)
public static Measurement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Measurement parseFrom(CodedInputStream input)
public static Measurement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Measurement parseFrom(InputStream input)
public static Measurement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Measurement parseFrom(ByteBuffer data)
public static Measurement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Measurement> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Measurement getDefaultInstanceForType()
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 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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
public int getMetricsCount()
Output only. A list of metrics got by evaluating the objective functions
using suggested Parameter values.
repeated .google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.Measurement.MetricOrBuilder> | |
public Parser<Measurement> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 final UnknownFieldSet getUnknownFields()
Overrides
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Measurement.Builder newBuilderForType()
protected Measurement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Measurement.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides