public static final class Measurement.Builder extends com.google.protobuf.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.v1.Measurement| Modifier and Type | Method and Description |
|---|---|
Measurement.Builder |
addAllMetrics(Iterable<? extends Measurement.Metric> values)
Output only.
|
Measurement.Builder |
addMetrics(int index,
Measurement.Metric.Builder builderForValue)
Output only.
|
Measurement.Builder |
addMetrics(int index,
Measurement.Metric value)
Output only.
|
Measurement.Builder |
addMetrics(Measurement.Metric.Builder builderForValue)
Output only.
|
Measurement.Builder |
addMetrics(Measurement.Metric value)
Output only.
|
Measurement.Metric.Builder |
addMetricsBuilder()
Output only.
|
Measurement.Metric.Builder |
addMetricsBuilder(int index)
Output only.
|
Measurement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Measurement |
build() |
Measurement |
buildPartial() |
Measurement.Builder |
clear() |
Measurement.Builder |
clearElapsedDuration()
Output only.
|
Measurement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Measurement.Builder |
clearMetrics()
Output only.
|
Measurement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Measurement.Builder |
clearStepCount()
Output only.
|
Measurement.Builder |
clone() |
Measurement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getElapsedDuration()
Output only.
|
com.google.protobuf.Duration.Builder |
getElapsedDurationBuilder()
Output only.
|
com.google.protobuf.DurationOrBuilder |
getElapsedDurationOrBuilder()
Output only.
|
Measurement.Metric |
getMetrics(int index)
Output only.
|
Measurement.Metric.Builder |
getMetricsBuilder(int index)
Output only.
|
List<Measurement.Metric.Builder> |
getMetricsBuilderList()
Output only.
|
int |
getMetricsCount()
Output only.
|
List<Measurement.Metric> |
getMetricsList()
Output only.
|
Measurement.MetricOrBuilder |
getMetricsOrBuilder(int index)
Output only.
|
List<? extends Measurement.MetricOrBuilder> |
getMetricsOrBuilderList()
Output only.
|
long |
getStepCount()
Output only.
|
boolean |
hasElapsedDuration()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Measurement.Builder |
mergeElapsedDuration(com.google.protobuf.Duration value)
Output only.
|
Measurement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Measurement.Builder |
mergeFrom(Measurement other) |
Measurement.Builder |
mergeFrom(com.google.protobuf.Message other) |
Measurement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Measurement.Builder |
removeMetrics(int index)
Output only.
|
Measurement.Builder |
setElapsedDuration(com.google.protobuf.Duration.Builder builderForValue)
Output only.
|
Measurement.Builder |
setElapsedDuration(com.google.protobuf.Duration value)
Output only.
|
Measurement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Measurement.Builder |
setMetrics(int index,
Measurement.Metric.Builder builderForValue)
Output only.
|
Measurement.Builder |
setMetrics(int index,
Measurement.Metric value)
Output only.
|
Measurement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Measurement.Builder |
setStepCount(long value)
Output only.
|
Measurement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Measurement build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Measurement buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Measurement.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Measurement.Builder>public Measurement.Builder mergeFrom(Measurement other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public Measurement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Measurement.Builder>IOExceptionpublic 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];
hasElapsedDuration in interface MeasurementOrBuilderpublic com.google.protobuf.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];
getElapsedDuration in interface MeasurementOrBuilderpublic Measurement.Builder setElapsedDuration(com.google.protobuf.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(com.google.protobuf.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];
public Measurement.Builder mergeElapsedDuration(com.google.protobuf.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 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 com.google.protobuf.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 com.google.protobuf.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];
getElapsedDurationOrBuilder in interface MeasurementOrBuilderpublic 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];getStepCount in interface MeasurementOrBuilderpublic 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];value - The stepCount to set.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 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];
getMetricsList in interface MeasurementOrBuilderpublic 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];
getMetricsCount in interface MeasurementOrBuilderpublic 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];
getMetrics in interface MeasurementOrBuilderpublic 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.v1.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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.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.v1.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.v1.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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Measurement.Builder clearMetrics()
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.Builder removeMetrics(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];
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.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];
getMetricsOrBuilder in interface MeasurementOrBuilderpublic 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];
getMetricsOrBuilderList in interface MeasurementOrBuilderpublic Measurement.Metric.Builder addMetricsBuilder()
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.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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Measurement.Metric metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Measurement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>public final Measurement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Measurement.Builder>Copyright © 2023 Google LLC. All rights reserved.