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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EvaluationConfig build()
Returns
buildPartial()
public EvaluationConfig buildPartial()
Returns
clear()
public EvaluationConfig.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVerticalOption()
public EvaluationConfig.Builder clearVerticalOption()
Returns
clone()
public EvaluationConfig.Builder clone()
Returns
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;
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public EvaluationConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVerticalOptionCase()
public EvaluationConfig.VerticalOptionCase getVerticalOptionCase()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(EvaluationConfig other)
public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
Returns
public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides