public static final class EvaluationConfig.Builder extends GeneratedMessageV3.Builder<EvaluationConfig.Builder> implements EvaluationConfigOrBuilder
Configuration details used for calculating evaluation metrics and creating an
Evaluation.
Protobuf type google.cloud.datalabeling.v1beta1.EvaluationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EvaluationConfig build()
buildPartial()
public EvaluationConfig buildPartial()
clear()
public EvaluationConfig.Builder clear()
Overrides
clearBoundingBoxEvaluationOptions()
public EvaluationConfig.Builder clearBoundingBoxEvaluationOptions()
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
clearField(Descriptors.FieldDescriptor field)
public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVerticalOption()
public EvaluationConfig.Builder clearVerticalOption()
clone()
public EvaluationConfig.Builder clone()
Overrides
getBoundingBoxEvaluationOptions()
public BoundingBoxEvaluationOptions getBoundingBoxEvaluationOptions()
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
getBoundingBoxEvaluationOptionsBuilder()
public BoundingBoxEvaluationOptions.Builder getBoundingBoxEvaluationOptionsBuilder()
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
getBoundingBoxEvaluationOptionsOrBuilder()
public BoundingBoxEvaluationOptionsOrBuilder getBoundingBoxEvaluationOptionsOrBuilder()
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
getDefaultInstanceForType()
public EvaluationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getVerticalOptionCase()
public EvaluationConfig.VerticalOptionCase getVerticalOptionCase()
hasBoundingBoxEvaluationOptions()
public boolean hasBoundingBoxEvaluationOptions()
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
Returns |
Type |
Description |
boolean |
Whether the boundingBoxEvaluationOptions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
public EvaluationConfig.Builder mergeBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
mergeFrom(EvaluationConfig other)
public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EvaluationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
public EvaluationConfig.Builder setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions value)
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions.Builder builderForValue)
public EvaluationConfig.Builder setBoundingBoxEvaluationOptions(BoundingBoxEvaluationOptions.Builder builderForValue)
Only specify this field if the related model performs image object
detection (IMAGE_BOUNDING_BOX_ANNOTATION
). Describes how to evaluate
bounding boxes.
.google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions bounding_box_evaluation_options = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides