Enum OptimizeToursRequest.SearchMode (1.6.0)

publicenumOptimizeToursRequest.SearchModeextendsEnum<OptimizeToursRequest.SearchMode>implementsProtocolMessageEnum

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

Name Description
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

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.