Package com.google.cloud.automl.v1
Class ImageObjectDetectionEvaluationMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImageObjectDetectionEvaluationMetrics.Builder>
com.google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics.Builder
- All Implemented Interfaces:
ImageObjectDetectionEvaluationMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImageObjectDetectionEvaluationMetrics
public static final class ImageObjectDetectionEvaluationMetrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImageObjectDetectionEvaluationMetrics.Builder>
implements ImageObjectDetectionEvaluationMetricsOrBuilder
Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.Protobuf type
google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics-
Method Summary
Modifier and TypeMethodDescriptionaddAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values) Output only.addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value) Output only.addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue) Output only.Output only.addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue) Output only.Output only.addBoundingBoxMetricsEntriesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.floatOutput only.getBoundingBoxMetricsEntries(int index) Output only.getBoundingBoxMetricsEntriesBuilder(int index) Output only.Output only.intOutput only.Output only.getBoundingBoxMetricsEntriesOrBuilder(int index) Output only.List<? extends BoundingBoxMetricsEntryOrBuilder>Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBoundingBoxMetricsEntries(int index) Output only.setBoundingBoxMeanAveragePrecision(float value) Output only.setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value) Output only.setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue) Output only.setEvaluatedBoundingBoxCount(int 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<ImageObjectDetectionEvaluationMetrics.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<ImageObjectDetectionEvaluationMetrics.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<ImageObjectDetectionEvaluationMetrics.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<ImageObjectDetectionEvaluationMetrics.Builder>
-
mergeFrom
public ImageObjectDetectionEvaluationMetrics.Builder mergeFrom(ImageObjectDetectionEvaluationMetrics other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImageObjectDetectionEvaluationMetrics.Builder>
-
mergeFrom
public ImageObjectDetectionEvaluationMetrics.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<ImageObjectDetectionEvaluationMetrics.Builder>- Throws:
IOException
-
getEvaluatedBoundingBoxCount
public int getEvaluatedBoundingBoxCount()Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;- Specified by:
getEvaluatedBoundingBoxCountin interfaceImageObjectDetectionEvaluationMetricsOrBuilder- Returns:
- The evaluatedBoundingBoxCount.
-
setEvaluatedBoundingBoxCount
Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;- Parameters:
value- The evaluatedBoundingBoxCount to set.- Returns:
- This builder for chaining.
-
clearEvaluatedBoundingBoxCount
Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;- Returns:
- This builder for chaining.
-
getBoundingBoxMetricsEntriesList
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;- Specified by:
getBoundingBoxMetricsEntriesListin interfaceImageObjectDetectionEvaluationMetricsOrBuilder
-
getBoundingBoxMetricsEntriesCount
public int getBoundingBoxMetricsEntriesCount()Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;- Specified by:
getBoundingBoxMetricsEntriesCountin interfaceImageObjectDetectionEvaluationMetricsOrBuilder
-
getBoundingBoxMetricsEntries
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;- Specified by:
getBoundingBoxMetricsEntriesin interfaceImageObjectDetectionEvaluationMetricsOrBuilder
-
setBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
setBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addAllBoundingBoxMetricsEntries
public ImageObjectDetectionEvaluationMetrics.Builder addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values) Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
clearBoundingBoxMetricsEntries
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
removeBoundingBoxMetricsEntries
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
getBoundingBoxMetricsEntriesBuilder
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
getBoundingBoxMetricsEntriesOrBuilder
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;- Specified by:
getBoundingBoxMetricsEntriesOrBuilderin interfaceImageObjectDetectionEvaluationMetricsOrBuilder
-
getBoundingBoxMetricsEntriesOrBuilderList
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;- Specified by:
getBoundingBoxMetricsEntriesOrBuilderListin interfaceImageObjectDetectionEvaluationMetricsOrBuilder
-
addBoundingBoxMetricsEntriesBuilder
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
addBoundingBoxMetricsEntriesBuilder
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
getBoundingBoxMetricsEntriesBuilderList
Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.
repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2; -
getBoundingBoxMeanAveragePrecision
public float getBoundingBoxMeanAveragePrecision()Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;- Specified by:
getBoundingBoxMeanAveragePrecisionin interfaceImageObjectDetectionEvaluationMetricsOrBuilder- Returns:
- The boundingBoxMeanAveragePrecision.
-
setBoundingBoxMeanAveragePrecision
public ImageObjectDetectionEvaluationMetrics.Builder setBoundingBoxMeanAveragePrecision(float value) Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;- Parameters:
value- The boundingBoxMeanAveragePrecision to set.- Returns:
- This builder for chaining.
-
clearBoundingBoxMeanAveragePrecision
Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.
float bounding_box_mean_average_precision = 3;- Returns:
- This builder for chaining.
-