Package com.google.cloud.aiplatform.v1
Class Measurement.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Measurement.Builder>
com.google.cloud.aiplatform.v1.Measurement.Builder
- All Implemented Interfaces:
MeasurementOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Measurement
public static final class Measurement.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics(Iterable<? extends Measurement.Metric> values) Output only.addMetrics(int index, Measurement.Metric value) Output only.addMetrics(int index, Measurement.Metric.Builder builderForValue) Output only.addMetrics(Measurement.Metric value) Output only.addMetrics(Measurement.Metric.Builder builderForValue) Output only.Output only.addMetricsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOutput only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.getMetrics(int index) Output only.getMetricsBuilder(int index) Output only.Output only.intOutput only.Output only.getMetricsOrBuilder(int index) Output only.List<? extends Measurement.MetricOrBuilder>Output only.longOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeElapsedDuration(com.google.protobuf.Duration value) Output only.mergeFrom(Measurement other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMetrics(int index) Output only.setElapsedDuration(com.google.protobuf.Duration value) Output only.setElapsedDuration(com.google.protobuf.Duration.Builder builderForValue) Output only.setMetrics(int index, Measurement.Metric value) Output only.setMetrics(int index, Measurement.Metric.Builder builderForValue) Output only.setStepCount(long value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Measurement.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Measurement.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Measurement.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Measurement.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Measurement.Builder>
-
mergeFrom
public Measurement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Measurement.Builder>- Throws:
IOException
-
hasElapsedDuration
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];- Specified by:
hasElapsedDurationin interfaceMeasurementOrBuilder- Returns:
- Whether the elapsedDuration field is set.
-
getElapsedDuration
public 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];- Specified by:
getElapsedDurationin interfaceMeasurementOrBuilder- Returns:
- The elapsedDuration.
-
setElapsedDuration
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]; -
setElapsedDuration
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]; -
mergeElapsedDuration
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]; -
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]; -
getElapsedDurationBuilder
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]; -
getElapsedDurationOrBuilder
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];- Specified by:
getElapsedDurationOrBuilderin interfaceMeasurementOrBuilder
-
getStepCount
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];- Specified by:
getStepCountin interfaceMeasurementOrBuilder- Returns:
- The stepCount.
-
setStepCount
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];- Parameters:
value- The stepCount to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getMetricsListin interfaceMeasurementOrBuilder
-
getMetricsCount
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];- Specified by:
getMetricsCountin interfaceMeasurementOrBuilder
-
getMetrics
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];- Specified by:
getMetricsin interfaceMeasurementOrBuilder
-
setMetrics
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]; -
setMetrics
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]; -
addMetrics
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]; -
addMetrics
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]; -
addMetrics
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]; -
addMetrics
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]; -
addAllMetrics
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]; -
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]; -
removeMetrics
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]; -
getMetricsBuilder
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
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];- Specified by:
getMetricsOrBuilderin interfaceMeasurementOrBuilder
-
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];- Specified by:
getMetricsOrBuilderListin interfaceMeasurementOrBuilder
-
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]; -
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]; -
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];
-