public enum StringAggregationType extends Enum<StringAggregationType> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.datalabeling.v1beta1.StringAggregationType| Enum Constant and Description |
|---|
MAJORITY_VOTE
Majority vote to aggregate answers.
|
NO_AGGREGATION
Preserve all answers by crowd compute.
|
STRING_AGGREGATION_TYPE_UNSPECIFIED
STRING_AGGREGATION_TYPE_UNSPECIFIED = 0; |
UNANIMOUS_VOTE
Unanimous answers will be adopted.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJORITY_VOTE_VALUE
Majority vote to aggregate answers.
|
static int |
NO_AGGREGATION_VALUE
Preserve all answers by crowd compute.
|
static int |
STRING_AGGREGATION_TYPE_UNSPECIFIED_VALUE
STRING_AGGREGATION_TYPE_UNSPECIFIED = 0; |
static int |
UNANIMOUS_VOTE_VALUE
Unanimous answers will be adopted.
|
| Modifier and Type | Method and Description |
|---|---|
static StringAggregationType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<StringAggregationType> |
internalGetValueMap() |
static StringAggregationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StringAggregationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StringAggregationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringAggregationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringAggregationType STRING_AGGREGATION_TYPE_UNSPECIFIED
STRING_AGGREGATION_TYPE_UNSPECIFIED = 0;public static final StringAggregationType MAJORITY_VOTE
Majority vote to aggregate answers.
MAJORITY_VOTE = 1;public static final StringAggregationType UNANIMOUS_VOTE
Unanimous answers will be adopted.
UNANIMOUS_VOTE = 2;public static final StringAggregationType NO_AGGREGATION
Preserve all answers by crowd compute.
NO_AGGREGATION = 3;public static final StringAggregationType UNRECOGNIZED
public static final int STRING_AGGREGATION_TYPE_UNSPECIFIED_VALUE
STRING_AGGREGATION_TYPE_UNSPECIFIED = 0;public static final int MAJORITY_VOTE_VALUE
Majority vote to aggregate answers.
MAJORITY_VOTE = 1;public static final int UNANIMOUS_VOTE_VALUE
Unanimous answers will be adopted.
UNANIMOUS_VOTE = 2;public static final int NO_AGGREGATION_VALUE
Preserve all answers by crowd compute.
NO_AGGREGATION = 3;public static StringAggregationType[] values()
for (StringAggregationType c : StringAggregationType.values()) System.out.println(c);
public static StringAggregationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StringAggregationType valueOf(int value)
forNumber(int) instead.public static StringAggregationType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<StringAggregationType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StringAggregationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.