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.v1beta1.Measurement
Static Fields
public static final int ELAPSED_DURATION_FIELD_NUMBER
Field Value
public static final int METRICS_FIELD_NUMBER
Field Value
public static final int STEP_COUNT_FIELD_NUMBER
Field Value
Static Methods
public static Measurement getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Measurement.Builder newBuilder()
Returns
public static Measurement.Builder newBuilder(Measurement prototype)
Parameter
Returns
public static Measurement parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Measurement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Measurement parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Measurement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Measurement parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Measurement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Measurement parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Measurement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Measurement parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Measurement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Measurement parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Measurement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Measurement> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Measurement getDefaultInstanceForType()
Returns
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];
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 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 Parser<Measurement> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
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()
Returns
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Measurement.Builder newBuilderForType()
Returns
protected Measurement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Measurement.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions