Class EvaluationConfig.Builder (0.165.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationConfig.Builder
Overrides

build()

public EvaluationConfig build()
Returns
Type Description
EvaluationConfig

buildPartial()

public EvaluationConfig buildPartial()
Returns
Type Description
EvaluationConfig

clear()

public EvaluationConfig.Builder clear()
Returns
Type Description
EvaluationConfig.Builder
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
Type Description
EvaluationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EvaluationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EvaluationConfig.Builder
Overrides

clearVerticalOption()

public EvaluationConfig.Builder clearVerticalOption()
Returns
Type Description
EvaluationConfig.Builder

clone()

public EvaluationConfig.Builder clone()
Returns
Type Description
EvaluationConfig.Builder
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
Type Description
BoundingBoxEvaluationOptions

The boundingBoxEvaluationOptions.

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
Type Description
BoundingBoxEvaluationOptions.Builder

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
Type Description
BoundingBoxEvaluationOptionsOrBuilder

getDefaultInstanceForType()

public EvaluationConfig getDefaultInstanceForType()
Returns
Type Description
EvaluationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVerticalOptionCase()

public EvaluationConfig.VerticalOptionCase getVerticalOptionCase()
Returns
Type Description
EvaluationConfig.VerticalOptionCase

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value BoundingBoxEvaluationOptions
Returns
Type Description
EvaluationConfig.Builder

mergeFrom(EvaluationConfig other)

public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
Name Description
other EvaluationConfig
Returns
Type Description
EvaluationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvaluationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluationConfig.Builder
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
Name Description
value BoundingBoxEvaluationOptions
Returns
Type Description
EvaluationConfig.Builder

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
Name Description
builderForValue BoundingBoxEvaluationOptions.Builder
Returns
Type Description
EvaluationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EvaluationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluationConfig.Builder
Overrides