Interface ImageClassificationConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageClassificationConfig
,ImageClassificationConfig.Builder
public interface ImageClassificationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowMultiLabel()
Optional.String
getAnnotationSpecSet()
Required.com.google.protobuf.ByteString
getAnnotationSpecSetBytes()
Required.StringAggregationType
getAnswerAggregationType()
Optional.int
getAnswerAggregationTypeValue()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnnotationSpecSet
String getAnnotationSpecSet()
Required. Annotation spec set resource name.
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The annotationSpecSet.
-
getAnnotationSpecSetBytes
com.google.protobuf.ByteString getAnnotationSpecSetBytes()
Required. Annotation spec set resource name.
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for annotationSpecSet.
-
getAllowMultiLabel
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:
- The allowMultiLabel.
-
getAnswerAggregationTypeValue
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:
- The enum numeric value on the wire for answerAggregationType.
-
getAnswerAggregationType
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:
- The answerAggregationType.
-
-