Class EvaluationConfig.Builder (0.155.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

build()

public EvaluationConfig build()
Returns
TypeDescription
EvaluationConfig

buildPartial()

public EvaluationConfig buildPartial()
Returns
TypeDescription
EvaluationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EvaluationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

clearVerticalOption()

public EvaluationConfig.Builder clearVerticalOption()
Returns
TypeDescription
EvaluationConfig.Builder

clone()

public EvaluationConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
BoundingBoxEvaluationOptionsOrBuilder

getDefaultInstanceForType()

public EvaluationConfig getDefaultInstanceForType()
Returns
TypeDescription
EvaluationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVerticalOptionCase()

public EvaluationConfig.VerticalOptionCase getVerticalOptionCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the boundingBoxEvaluationOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBoundingBoxEvaluationOptions
Returns
TypeDescription
EvaluationConfig.Builder

mergeFrom(EvaluationConfig other)

public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)
Parameter
NameDescription
otherEvaluationConfig
Returns
TypeDescription
EvaluationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EvaluationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBoundingBoxEvaluationOptions
Returns
TypeDescription
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
NameDescription
builderForValueBoundingBoxEvaluationOptions.Builder
Returns
TypeDescription
EvaluationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

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

public EvaluationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluationConfig.Builder
Overrides