Enum OptimizeToursRequest.SearchMode (1.1.2)

public enum OptimizeToursRequest.SearchMode extends Enum<OptimizeToursRequest.SearchMode> implements ProtocolMessageEnum

Mode defining the behavior of the search, trading off latency versus solution quality. In all modes, the global request deadline is enforced.

Protobuf enum google.cloud.optimization.v1.OptimizeToursRequest.SearchMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CONSUME_ALL_AVAILABLE_TIME

Spend all the available time to search for better solutions.

CONSUME_ALL_AVAILABLE_TIME = 2;

CONSUME_ALL_AVAILABLE_TIME_VALUE

Spend all the available time to search for better solutions.

CONSUME_ALL_AVAILABLE_TIME = 2;

RETURN_FAST

Stop the search after finding the first good solution.

RETURN_FAST = 1;

RETURN_FAST_VALUE

Stop the search after finding the first good solution.

RETURN_FAST = 1;

SEARCH_MODE_UNSPECIFIED

Unspecified search mode, equivalent to RETURN_FAST.

SEARCH_MODE_UNSPECIFIED = 0;

SEARCH_MODE_UNSPECIFIED_VALUE

Unspecified search mode, equivalent to RETURN_FAST.

SEARCH_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()