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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
CONSUME_ALL_AVAILABLE_TIME |
Spend all the available time to search for better solutions. |
CONSUME_ALL_AVAILABLE_TIME_VALUE |
Spend all the available time to search for better solutions. |
RETURN_FAST |
Stop the search after finding the first good solution. |
RETURN_FAST_VALUE |
Stop the search after finding the first good solution. |
SEARCH_MODE_UNSPECIFIED |
Unspecified search mode, equivalent to |
SEARCH_MODE_UNSPECIFIED_VALUE |
Unspecified search mode, equivalent to |
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() |