Interface ImageClassificationConfigOrBuilder (0.174.0)

public interface ImageClassificationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMultiLabel()

public abstract boolean getAllowMultiLabel()

Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image.

bool allow_multi_label = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMultiLabel.

getAnnotationSpecSet()

public abstract String getAnnotationSpecSet()

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The annotationSpecSet.

getAnnotationSpecSetBytes()

public abstract ByteString getAnnotationSpecSetBytes()

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for annotationSpecSet.

getAnswerAggregationType()

public abstract StringAggregationType getAnswerAggregationType()

Optional. The type of how to aggregate answers.

.google.cloud.datalabeling.v1beta1.StringAggregationType answer_aggregation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StringAggregationType

The answerAggregationType.

getAnswerAggregationTypeValue()

public abstract int getAnswerAggregationTypeValue()

Optional. The type of how to aggregate answers.

.google.cloud.datalabeling.v1beta1.StringAggregationType answer_aggregation_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for answerAggregationType.