Class EvaluationConfig (0.131.0)

public final class EvaluationConfig extends GeneratedMessageV3 implements EvaluationConfigOrBuilder

Configuration details used for calculating evaluation metrics and creating an Evaluation.

Protobuf type google.cloud.datalabeling.v1beta1.EvaluationConfig

Static Fields

BOUNDING_BOX_EVALUATION_OPTIONS_FIELD_NUMBER

public static final int BOUNDING_BOX_EVALUATION_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EvaluationConfig getDefaultInstance()
Returns
TypeDescription
EvaluationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EvaluationConfig.Builder newBuilder()
Returns
TypeDescription
EvaluationConfig.Builder

newBuilder(EvaluationConfig prototype)

public static EvaluationConfig.Builder newBuilder(EvaluationConfig prototype)
Parameter
NameDescription
prototypeEvaluationConfig
Returns
TypeDescription
EvaluationConfig.Builder

parseDelimitedFrom(InputStream input)

public static EvaluationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EvaluationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EvaluationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EvaluationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EvaluationConfig> parser()
Returns
TypeDescription
Parser<EvaluationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

getParserForType()

public Parser<EvaluationConfig> getParserForType()
Returns
TypeDescription
Parser<EvaluationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EvaluationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EvaluationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException