Enum SchemaKeySortingStrategy.Option.AggregateMethod (0.3.0)

public enum SchemaKeySortingStrategy.Option.AggregateMethod extends Enum<SchemaKeySortingStrategy.Option.AggregateMethod> implements ProtocolMessageEnum

When one result has multiple values with the same key, specify which value is used to sort. By default, AGGREGATE_METHOD_LARGEST is used when results are sorted in decreasing order, AGGREGATE_METHOD_SMALLEST is used when results are sorted in incresing order.

Protobuf enum google.cloud.visionai.v1.SchemaKeySortingStrategy.Option.AggregateMethod

Implements

ProtocolMessageEnum

Static Fields

Name Description
AGGREGATE_METHOD_LARGEST

Take the (lexicographical or numerical) largest value to sort.

AGGREGATE_METHOD_LARGEST = 1;

AGGREGATE_METHOD_LARGEST_VALUE

Take the (lexicographical or numerical) largest value to sort.

AGGREGATE_METHOD_LARGEST = 1;

AGGREGATE_METHOD_SMALLEST

Take the (lexicographical or numerical) smallest value to sort.

AGGREGATE_METHOD_SMALLEST = 2;

AGGREGATE_METHOD_SMALLEST_VALUE

Take the (lexicographical or numerical) smallest value to sort.

AGGREGATE_METHOD_SMALLEST = 2;

AGGREGATE_METHOD_UNSPECIFIED

The unspecified aggregate method will be overwritten as mentioned above.

AGGREGATE_METHOD_UNSPECIFIED = 0;

AGGREGATE_METHOD_UNSPECIFIED_VALUE

The unspecified aggregate method will be overwritten as mentioned above.

AGGREGATE_METHOD_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()