Package com.google.cloud.optimization.v1
Class OptimizeToursRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.optimization.v1.OptimizeToursRequest
-
- All Implemented Interfaces:
OptimizeToursRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OptimizeToursRequest extends com.google.protobuf.GeneratedMessageV3 implements OptimizeToursRequestOrBuilder
Request to be given to a tour optimization solver which defines the shipment model to solve as well as optimization parameters.
Protobuf typegoogle.cloud.optimization.v1.OptimizeToursRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptimizeToursRequest.BuilderRequest to be given to a tour optimization solver which defines the shipment model to solve as well as optimization parameters.static classOptimizeToursRequest.SearchModeMode defining the behavior of the search, trading off latency versus solution quality.static classOptimizeToursRequest.SolvingModeDefines how the solver should handle the request.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_LARGE_DEADLINE_DESPITE_INTERRUPTION_RISK_FIELD_NUMBERstatic intCONSIDER_ROAD_TRAFFIC_FIELD_NUMBERstatic intGEODESIC_METERS_PER_SECOND_FIELD_NUMBERstatic intINJECTED_FIRST_SOLUTION_ROUTES_FIELD_NUMBERstatic intINJECTED_SOLUTION_CONSTRAINT_FIELD_NUMBERstatic intINTERPRET_INJECTED_SOLUTIONS_USING_LABELS_FIELD_NUMBERstatic intLABEL_FIELD_NUMBERstatic intMAX_VALIDATION_ERRORS_FIELD_NUMBERstatic intMODEL_FIELD_NUMBERstatic intPARENT_FIELD_NUMBERstatic intPOPULATE_POLYLINES_FIELD_NUMBERstatic intPOPULATE_TRANSITION_POLYLINES_FIELD_NUMBERstatic intPOPULATE_TRAVEL_STEP_POLYLINES_FIELD_NUMBERstatic intREFRESH_DETAILS_ROUTES_FIELD_NUMBERstatic intSEARCH_MODE_FIELD_NUMBERstatic intSOLVING_MODE_FIELD_NUMBERstatic intTIMEOUT_FIELD_NUMBERstatic intUSE_GEODESIC_DISTANCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAllowLargeDeadlineDespiteInterruptionRisk()If this is set, then the request can have a deadline (see https://grpc.io/blog/deadlines) of up to 60 minutes.booleangetConsiderRoadTraffic()Consider traffic estimation in calculating `ShipmentRoute` fields [Transition.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration], [Visit.start_time][google.cloud.optimization.v1.ShipmentRoute.Visit.start_time], and `vehicle_end_time`; in setting the [ShipmentRoute.has_traffic_infeasibilities][google.cloud.optimization.v1.ShipmentRoute.has_traffic_infeasibilities] field, and in calculating the [OptimizeToursResponse.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.total_cost] field.static OptimizeToursRequestgetDefaultInstance()OptimizeToursRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetGeodesicMetersPerSecond()When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times.ShipmentRoutegetInjectedFirstSolutionRoutes(int index)Guide the optimization algorithm in finding a first solution that is similar to a previous solution.intgetInjectedFirstSolutionRoutesCount()Guide the optimization algorithm in finding a first solution that is similar to a previous solution.List<ShipmentRoute>getInjectedFirstSolutionRoutesList()Guide the optimization algorithm in finding a first solution that is similar to a previous solution.ShipmentRouteOrBuildergetInjectedFirstSolutionRoutesOrBuilder(int index)Guide the optimization algorithm in finding a first solution that is similar to a previous solution.List<? extends ShipmentRouteOrBuilder>getInjectedFirstSolutionRoutesOrBuilderList()Guide the optimization algorithm in finding a first solution that is similar to a previous solution.InjectedSolutionConstraintgetInjectedSolutionConstraint()Constrain the optimization algorithm to find a final solution that is similar to a previous solution.InjectedSolutionConstraintOrBuildergetInjectedSolutionConstraintOrBuilder()Constrain the optimization algorithm to find a final solution that is similar to a previous solution.booleangetInterpretInjectedSolutionsUsingLabels()If true: * uses [ShipmentRoute.vehicle_label][google.cloud.optimization.v1.ShipmentRoute.vehicle_label] instead of `vehicle_index` to match routes in an injected solution with vehicles in the request; reuses the mapping of original [ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index] to new [ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index] to update [ConstraintRelaxation.vehicle_indices][google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.vehicle_indices] if non-empty, but the mapping must be unambiguous (i.e., multiple `ShipmentRoute`s must not share the same original `vehicle_index`).StringgetLabel()Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].com.google.protobuf.ByteStringgetLabelBytes()Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].intgetMaxValidationErrors()Truncates the number of validation errors returned.ShipmentModelgetModel()Shipment model to solve.ShipmentModelOrBuildergetModelOrBuilder()Shipment model to solve.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.com.google.protobuf.Parser<OptimizeToursRequest>getParserForType()booleangetPopulatePolylines()If true, polylines will be populated in response `ShipmentRoute`s.booleangetPopulateTransitionPolylines()If true, polylines will be populated in response [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].booleangetPopulateTravelStepPolylines()Deprecated.google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is deprecated.ShipmentRoutegetRefreshDetailsRoutes(int index)If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated.intgetRefreshDetailsRoutesCount()If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated.List<ShipmentRoute>getRefreshDetailsRoutesList()If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated.ShipmentRouteOrBuildergetRefreshDetailsRoutesOrBuilder(int index)If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated.List<? extends ShipmentRouteOrBuilder>getRefreshDetailsRoutesOrBuilderList()If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated.OptimizeToursRequest.SearchModegetSearchMode()Search mode used to solve the request.intgetSearchModeValue()Search mode used to solve the request.intgetSerializedSize()OptimizeToursRequest.SolvingModegetSolvingMode()By default, the solving mode is `DEFAULT_SOLVE` (0).intgetSolvingModeValue()By default, the solving mode is `DEFAULT_SOLVE` (0).com.google.protobuf.DurationgetTimeout()If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner.booleangetUseGeodesicDistances()If true, travel distances will be computed using geodesic distances instead of Google Maps distances, and travel times will be computed using geodesic distances with a speed defined by `geodesic_meters_per_second`.booleanhasGeodesicMetersPerSecond()When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times.inthashCode()booleanhasInjectedSolutionConstraint()Constrain the optimization algorithm to find a final solution that is similar to a previous solution.booleanhasMaxValidationErrors()Truncates the number of validation errors returned.booleanhasModel()Shipment model to solve.booleanhasTimeout()If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OptimizeToursRequest.BuildernewBuilder()static OptimizeToursRequest.BuildernewBuilder(OptimizeToursRequest prototype)OptimizeToursRequest.BuildernewBuilderForType()protected OptimizeToursRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OptimizeToursRequestparseDelimitedFrom(InputStream input)static OptimizeToursRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OptimizeToursRequestparseFrom(byte[] data)static OptimizeToursRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OptimizeToursRequestparseFrom(com.google.protobuf.ByteString data)static OptimizeToursRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OptimizeToursRequestparseFrom(com.google.protobuf.CodedInputStream input)static OptimizeToursRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OptimizeToursRequestparseFrom(InputStream input)static OptimizeToursRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OptimizeToursRequestparseFrom(ByteBuffer data)static OptimizeToursRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OptimizeToursRequest>parser()OptimizeToursRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOLVING_MODE_FIELD_NUMBER
public static final int SOLVING_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_MODE_FIELD_NUMBER
public static final int SEARCH_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INJECTED_FIRST_SOLUTION_ROUTES_FIELD_NUMBER
public static final int INJECTED_FIRST_SOLUTION_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INJECTED_SOLUTION_CONSTRAINT_FIELD_NUMBER
public static final int INJECTED_SOLUTION_CONSTRAINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REFRESH_DETAILS_ROUTES_FIELD_NUMBER
public static final int REFRESH_DETAILS_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERPRET_INJECTED_SOLUTIONS_USING_LABELS_FIELD_NUMBER
public static final int INTERPRET_INJECTED_SOLUTIONS_USING_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSIDER_ROAD_TRAFFIC_FIELD_NUMBER
public static final int CONSIDER_ROAD_TRAFFIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POPULATE_POLYLINES_FIELD_NUMBER
public static final int POPULATE_POLYLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POPULATE_TRANSITION_POLYLINES_FIELD_NUMBER
public static final int POPULATE_TRANSITION_POLYLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_LARGE_DEADLINE_DESPITE_INTERRUPTION_RISK_FIELD_NUMBER
public static final int ALLOW_LARGE_DEADLINE_DESPITE_INTERRUPTION_RISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_GEODESIC_DISTANCES_FIELD_NUMBER
public static final int USE_GEODESIC_DISTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEODESIC_METERS_PER_SECOND_FIELD_NUMBER
public static final int GEODESIC_METERS_PER_SECOND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_VALIDATION_ERRORS_FIELD_NUMBER
public static final int MAX_VALIDATION_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POPULATE_TRAVEL_STEP_POLYLINES_FIELD_NUMBER
public static final int POPULATE_TRAVEL_STEP_POLYLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getParent
public String getParent()
Required. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentin interfaceOptimizeToursRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no location is specified, a region will be chosen automatically.string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getParentBytesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The bytes for parent.
-
hasTimeout
public boolean hasTimeout()
If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner. For asynchronous requests, the server will generate a solution (if possible) before the timeout has elapsed.
.google.protobuf.Duration timeout = 2;- Specified by:
hasTimeoutin interfaceOptimizeToursRequestOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner. For asynchronous requests, the server will generate a solution (if possible) before the timeout has elapsed.
.google.protobuf.Duration timeout = 2;- Specified by:
getTimeoutin interfaceOptimizeToursRequestOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
If this timeout is set, the server returns a response before the timeout period has elapsed or the server deadline for synchronous requests is reached, whichever is sooner. For asynchronous requests, the server will generate a solution (if possible) before the timeout has elapsed.
.google.protobuf.Duration timeout = 2;- Specified by:
getTimeoutOrBuilderin interfaceOptimizeToursRequestOrBuilder
-
hasModel
public boolean hasModel()
Shipment model to solve.
.google.cloud.optimization.v1.ShipmentModel model = 3;- Specified by:
hasModelin interfaceOptimizeToursRequestOrBuilder- Returns:
- Whether the model field is set.
-
getModel
public ShipmentModel getModel()
Shipment model to solve.
.google.cloud.optimization.v1.ShipmentModel model = 3;- Specified by:
getModelin interfaceOptimizeToursRequestOrBuilder- Returns:
- The model.
-
getModelOrBuilder
public ShipmentModelOrBuilder getModelOrBuilder()
Shipment model to solve.
.google.cloud.optimization.v1.ShipmentModel model = 3;- Specified by:
getModelOrBuilderin interfaceOptimizeToursRequestOrBuilder
-
getSolvingModeValue
public int getSolvingModeValue()
By default, the solving mode is `DEFAULT_SOLVE` (0).
.google.cloud.optimization.v1.OptimizeToursRequest.SolvingMode solving_mode = 4;- Specified by:
getSolvingModeValuein interfaceOptimizeToursRequestOrBuilder- Returns:
- The enum numeric value on the wire for solvingMode.
-
getSolvingMode
public OptimizeToursRequest.SolvingMode getSolvingMode()
By default, the solving mode is `DEFAULT_SOLVE` (0).
.google.cloud.optimization.v1.OptimizeToursRequest.SolvingMode solving_mode = 4;- Specified by:
getSolvingModein interfaceOptimizeToursRequestOrBuilder- Returns:
- The solvingMode.
-
getSearchModeValue
public int getSearchModeValue()
Search mode used to solve the request.
.google.cloud.optimization.v1.OptimizeToursRequest.SearchMode search_mode = 6;- Specified by:
getSearchModeValuein interfaceOptimizeToursRequestOrBuilder- Returns:
- The enum numeric value on the wire for searchMode.
-
getSearchMode
public OptimizeToursRequest.SearchMode getSearchMode()
Search mode used to solve the request.
.google.cloud.optimization.v1.OptimizeToursRequest.SearchMode search_mode = 6;- Specified by:
getSearchModein interfaceOptimizeToursRequestOrBuilder- Returns:
- The searchMode.
-
getInjectedFirstSolutionRoutesList
public List<ShipmentRoute> getInjectedFirstSolutionRoutesList()
Guide the optimization algorithm in finding a first solution that is similar to a previous solution. The model is constrained when the first solution is built. Any shipments not performed on a route are implicitly skipped in the first solution, but they may be performed in successive solutions. The solution must satisfy some basic validity assumptions: * for all routes, `vehicle_index` must be in range and not be duplicated. * for all visits, `shipment_index` and `visit_request_index` must be in range. * a shipment may only be referenced on one route. * the pickup of a pickup-delivery shipment must be performed before the delivery. * no more than one pickup alternative or delivery alternative of a shipment may be performed. * for all routes, times are increasing (i.e., `vehicle_start_time <= visits[0].start_time <= visits[1].start_time ... <= vehicle_end_time`). * a shipment may only be performed on a vehicle that is allowed. A vehicle is allowed if [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices] is empty or its `vehicle_index` is included in [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices]. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.repeated .google.cloud.optimization.v1.ShipmentRoute injected_first_solution_routes = 7;- Specified by:
getInjectedFirstSolutionRoutesListin interfaceOptimizeToursRequestOrBuilder
-
getInjectedFirstSolutionRoutesOrBuilderList
public List<? extends ShipmentRouteOrBuilder> getInjectedFirstSolutionRoutesOrBuilderList()
Guide the optimization algorithm in finding a first solution that is similar to a previous solution. The model is constrained when the first solution is built. Any shipments not performed on a route are implicitly skipped in the first solution, but they may be performed in successive solutions. The solution must satisfy some basic validity assumptions: * for all routes, `vehicle_index` must be in range and not be duplicated. * for all visits, `shipment_index` and `visit_request_index` must be in range. * a shipment may only be referenced on one route. * the pickup of a pickup-delivery shipment must be performed before the delivery. * no more than one pickup alternative or delivery alternative of a shipment may be performed. * for all routes, times are increasing (i.e., `vehicle_start_time <= visits[0].start_time <= visits[1].start_time ... <= vehicle_end_time`). * a shipment may only be performed on a vehicle that is allowed. A vehicle is allowed if [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices] is empty or its `vehicle_index` is included in [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices]. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.repeated .google.cloud.optimization.v1.ShipmentRoute injected_first_solution_routes = 7;- Specified by:
getInjectedFirstSolutionRoutesOrBuilderListin interfaceOptimizeToursRequestOrBuilder
-
getInjectedFirstSolutionRoutesCount
public int getInjectedFirstSolutionRoutesCount()
Guide the optimization algorithm in finding a first solution that is similar to a previous solution. The model is constrained when the first solution is built. Any shipments not performed on a route are implicitly skipped in the first solution, but they may be performed in successive solutions. The solution must satisfy some basic validity assumptions: * for all routes, `vehicle_index` must be in range and not be duplicated. * for all visits, `shipment_index` and `visit_request_index` must be in range. * a shipment may only be referenced on one route. * the pickup of a pickup-delivery shipment must be performed before the delivery. * no more than one pickup alternative or delivery alternative of a shipment may be performed. * for all routes, times are increasing (i.e., `vehicle_start_time <= visits[0].start_time <= visits[1].start_time ... <= vehicle_end_time`). * a shipment may only be performed on a vehicle that is allowed. A vehicle is allowed if [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices] is empty or its `vehicle_index` is included in [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices]. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.repeated .google.cloud.optimization.v1.ShipmentRoute injected_first_solution_routes = 7;- Specified by:
getInjectedFirstSolutionRoutesCountin interfaceOptimizeToursRequestOrBuilder
-
getInjectedFirstSolutionRoutes
public ShipmentRoute getInjectedFirstSolutionRoutes(int index)
Guide the optimization algorithm in finding a first solution that is similar to a previous solution. The model is constrained when the first solution is built. Any shipments not performed on a route are implicitly skipped in the first solution, but they may be performed in successive solutions. The solution must satisfy some basic validity assumptions: * for all routes, `vehicle_index` must be in range and not be duplicated. * for all visits, `shipment_index` and `visit_request_index` must be in range. * a shipment may only be referenced on one route. * the pickup of a pickup-delivery shipment must be performed before the delivery. * no more than one pickup alternative or delivery alternative of a shipment may be performed. * for all routes, times are increasing (i.e., `vehicle_start_time <= visits[0].start_time <= visits[1].start_time ... <= vehicle_end_time`). * a shipment may only be performed on a vehicle that is allowed. A vehicle is allowed if [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices] is empty or its `vehicle_index` is included in [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices]. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.repeated .google.cloud.optimization.v1.ShipmentRoute injected_first_solution_routes = 7;- Specified by:
getInjectedFirstSolutionRoutesin interfaceOptimizeToursRequestOrBuilder
-
getInjectedFirstSolutionRoutesOrBuilder
public ShipmentRouteOrBuilder getInjectedFirstSolutionRoutesOrBuilder(int index)
Guide the optimization algorithm in finding a first solution that is similar to a previous solution. The model is constrained when the first solution is built. Any shipments not performed on a route are implicitly skipped in the first solution, but they may be performed in successive solutions. The solution must satisfy some basic validity assumptions: * for all routes, `vehicle_index` must be in range and not be duplicated. * for all visits, `shipment_index` and `visit_request_index` must be in range. * a shipment may only be referenced on one route. * the pickup of a pickup-delivery shipment must be performed before the delivery. * no more than one pickup alternative or delivery alternative of a shipment may be performed. * for all routes, times are increasing (i.e., `vehicle_start_time <= visits[0].start_time <= visits[1].start_time ... <= vehicle_end_time`). * a shipment may only be performed on a vehicle that is allowed. A vehicle is allowed if [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices] is empty or its `vehicle_index` is included in [Shipment.allowed_vehicle_indices][google.cloud.optimization.v1.Shipment.allowed_vehicle_indices]. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.repeated .google.cloud.optimization.v1.ShipmentRoute injected_first_solution_routes = 7;- Specified by:
getInjectedFirstSolutionRoutesOrBuilderin interfaceOptimizeToursRequestOrBuilder
-
hasInjectedSolutionConstraint
public boolean hasInjectedSolutionConstraint()
Constrain the optimization algorithm to find a final solution that is similar to a previous solution. For example, this may be used to freeze portions of routes which have already been completed or which are to be completed but must not be modified. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.
.google.cloud.optimization.v1.InjectedSolutionConstraint injected_solution_constraint = 8;- Specified by:
hasInjectedSolutionConstraintin interfaceOptimizeToursRequestOrBuilder- Returns:
- Whether the injectedSolutionConstraint field is set.
-
getInjectedSolutionConstraint
public InjectedSolutionConstraint getInjectedSolutionConstraint()
Constrain the optimization algorithm to find a final solution that is similar to a previous solution. For example, this may be used to freeze portions of routes which have already been completed or which are to be completed but must not be modified. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.
.google.cloud.optimization.v1.InjectedSolutionConstraint injected_solution_constraint = 8;- Specified by:
getInjectedSolutionConstraintin interfaceOptimizeToursRequestOrBuilder- Returns:
- The injectedSolutionConstraint.
-
getInjectedSolutionConstraintOrBuilder
public InjectedSolutionConstraintOrBuilder getInjectedSolutionConstraintOrBuilder()
Constrain the optimization algorithm to find a final solution that is similar to a previous solution. For example, this may be used to freeze portions of routes which have already been completed or which are to be completed but must not be modified. If the injected solution is not feasible, a validation error is not necessarily returned and an error indicating infeasibility may be returned instead.
.google.cloud.optimization.v1.InjectedSolutionConstraint injected_solution_constraint = 8;- Specified by:
getInjectedSolutionConstraintOrBuilderin interfaceOptimizeToursRequestOrBuilder
-
getRefreshDetailsRoutesList
public List<ShipmentRoute> getRefreshDetailsRoutesList()
If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated. This does not solve the model. As of 2020/11, this only populates the polylines of non-empty routes and requires that `populate_polylines` is true. The `route_polyline` fields of the passed-in routes may be inconsistent with route `transitions`. This field must not be used together with `injected_first_solution_routes` or `injected_solution_constraint`. `Shipment.ignore` and `Vehicle.ignore` have no effect on the behavior. Polylines are still populated between all visits in all non-empty routes regardless of whether the related shipments or vehicles are ignored.
repeated .google.cloud.optimization.v1.ShipmentRoute refresh_details_routes = 9;- Specified by:
getRefreshDetailsRoutesListin interfaceOptimizeToursRequestOrBuilder
-
getRefreshDetailsRoutesOrBuilderList
public List<? extends ShipmentRouteOrBuilder> getRefreshDetailsRoutesOrBuilderList()
If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated. This does not solve the model. As of 2020/11, this only populates the polylines of non-empty routes and requires that `populate_polylines` is true. The `route_polyline` fields of the passed-in routes may be inconsistent with route `transitions`. This field must not be used together with `injected_first_solution_routes` or `injected_solution_constraint`. `Shipment.ignore` and `Vehicle.ignore` have no effect on the behavior. Polylines are still populated between all visits in all non-empty routes regardless of whether the related shipments or vehicles are ignored.
repeated .google.cloud.optimization.v1.ShipmentRoute refresh_details_routes = 9;- Specified by:
getRefreshDetailsRoutesOrBuilderListin interfaceOptimizeToursRequestOrBuilder
-
getRefreshDetailsRoutesCount
public int getRefreshDetailsRoutesCount()
If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated. This does not solve the model. As of 2020/11, this only populates the polylines of non-empty routes and requires that `populate_polylines` is true. The `route_polyline` fields of the passed-in routes may be inconsistent with route `transitions`. This field must not be used together with `injected_first_solution_routes` or `injected_solution_constraint`. `Shipment.ignore` and `Vehicle.ignore` have no effect on the behavior. Polylines are still populated between all visits in all non-empty routes regardless of whether the related shipments or vehicles are ignored.
repeated .google.cloud.optimization.v1.ShipmentRoute refresh_details_routes = 9;- Specified by:
getRefreshDetailsRoutesCountin interfaceOptimizeToursRequestOrBuilder
-
getRefreshDetailsRoutes
public ShipmentRoute getRefreshDetailsRoutes(int index)
If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated. This does not solve the model. As of 2020/11, this only populates the polylines of non-empty routes and requires that `populate_polylines` is true. The `route_polyline` fields of the passed-in routes may be inconsistent with route `transitions`. This field must not be used together with `injected_first_solution_routes` or `injected_solution_constraint`. `Shipment.ignore` and `Vehicle.ignore` have no effect on the behavior. Polylines are still populated between all visits in all non-empty routes regardless of whether the related shipments or vehicles are ignored.
repeated .google.cloud.optimization.v1.ShipmentRoute refresh_details_routes = 9;- Specified by:
getRefreshDetailsRoutesin interfaceOptimizeToursRequestOrBuilder
-
getRefreshDetailsRoutesOrBuilder
public ShipmentRouteOrBuilder getRefreshDetailsRoutesOrBuilder(int index)
If non-empty, the given routes will be refreshed, without modifying their underlying sequence of visits or travel times: only other details will be updated. This does not solve the model. As of 2020/11, this only populates the polylines of non-empty routes and requires that `populate_polylines` is true. The `route_polyline` fields of the passed-in routes may be inconsistent with route `transitions`. This field must not be used together with `injected_first_solution_routes` or `injected_solution_constraint`. `Shipment.ignore` and `Vehicle.ignore` have no effect on the behavior. Polylines are still populated between all visits in all non-empty routes regardless of whether the related shipments or vehicles are ignored.
repeated .google.cloud.optimization.v1.ShipmentRoute refresh_details_routes = 9;- Specified by:
getRefreshDetailsRoutesOrBuilderin interfaceOptimizeToursRequestOrBuilder
-
getInterpretInjectedSolutionsUsingLabels
public boolean getInterpretInjectedSolutionsUsingLabels()
If true: * uses [ShipmentRoute.vehicle_label][google.cloud.optimization.v1.ShipmentRoute.vehicle_label] instead of `vehicle_index` to match routes in an injected solution with vehicles in the request; reuses the mapping of original [ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index] to new [ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index] to update [ConstraintRelaxation.vehicle_indices][google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.vehicle_indices] if non-empty, but the mapping must be unambiguous (i.e., multiple `ShipmentRoute`s must not share the same original `vehicle_index`). * uses [ShipmentRoute.Visit.shipment_label][google.cloud.optimization.v1.ShipmentRoute.Visit.shipment_label] instead of `shipment_index` to match visits in an injected solution with shipments in the request; * uses [SkippedShipment.label][google.cloud.optimization.v1.SkippedShipment.label] instead of [SkippedShipment.index][google.cloud.optimization.v1.SkippedShipment.index] to match skipped shipments in the injected solution with request shipments. This interpretation applies to the `injected_first_solution_routes`, `injected_solution_constraint`, and `refresh_details_routes` fields. It can be used when shipment or vehicle indices in the request have changed since the solution was created, perhaps because shipments or vehicles have been removed from or added to the request. If true, labels in the following categories must appear at most once in their category: * [Vehicle.label][google.cloud.optimization.v1.Vehicle.label] in the request; * [Shipment.label][google.cloud.optimization.v1.Shipment.label] in the request; * [ShipmentRoute.vehicle_label][google.cloud.optimization.v1.ShipmentRoute.vehicle_label] in the injected solution; * [SkippedShipment.label][google.cloud.optimization.v1.SkippedShipment.label] and [ShipmentRoute.Visit.shipment_label][google.cloud.optimization.v1.ShipmentRoute.Visit.shipment_label] in the injected solution (except pickup/delivery visit pairs, whose `shipment_label` must appear twice). If a `vehicle_label` in the injected solution does not correspond to a request vehicle, the corresponding route is removed from the solution along with its visits. If a `shipment_label` in the injected solution does not correspond to a request shipment, the corresponding visit is removed from the solution. If a [SkippedShipment.label][google.cloud.optimization.v1.SkippedShipment.label] in the injected solution does not correspond to a request shipment, the `SkippedShipment` is removed from the solution. Removing route visits or entire routes from an injected solution may have an effect on the implied constraints, which may lead to change in solution, validation errors, or infeasibility. NOTE: The caller must ensure that each [Vehicle.label][google.cloud.optimization.v1.Vehicle.label] (resp. [Shipment.label][google.cloud.optimization.v1.Shipment.label]) uniquely identifies a vehicle (resp. shipment) entity used across the two relevant requests: the past request that produced the `OptimizeToursResponse` used in the injected solution and the current request that includes the injected solution. The uniqueness checks described above are not enough to guarantee this requirement.bool interpret_injected_solutions_using_labels = 10;- Specified by:
getInterpretInjectedSolutionsUsingLabelsin interfaceOptimizeToursRequestOrBuilder- Returns:
- The interpretInjectedSolutionsUsingLabels.
-
getConsiderRoadTraffic
public boolean getConsiderRoadTraffic()
Consider traffic estimation in calculating `ShipmentRoute` fields [Transition.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration], [Visit.start_time][google.cloud.optimization.v1.ShipmentRoute.Visit.start_time], and `vehicle_end_time`; in setting the [ShipmentRoute.has_traffic_infeasibilities][google.cloud.optimization.v1.ShipmentRoute.has_traffic_infeasibilities] field, and in calculating the [OptimizeToursResponse.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.total_cost] field.
bool consider_road_traffic = 11;- Specified by:
getConsiderRoadTrafficin interfaceOptimizeToursRequestOrBuilder- Returns:
- The considerRoadTraffic.
-
getPopulatePolylines
public boolean getPopulatePolylines()
If true, polylines will be populated in response `ShipmentRoute`s.
bool populate_polylines = 12;- Specified by:
getPopulatePolylinesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The populatePolylines.
-
getPopulateTransitionPolylines
public boolean getPopulateTransitionPolylines()
If true, polylines will be populated in response [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]. Note that in this case, the polylines will also be populated in the deprecated `travel_steps`.
bool populate_transition_polylines = 13;- Specified by:
getPopulateTransitionPolylinesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The populateTransitionPolylines.
-
getAllowLargeDeadlineDespiteInterruptionRisk
public boolean getAllowLargeDeadlineDespiteInterruptionRisk()
If this is set, then the request can have a deadline (see https://grpc.io/blog/deadlines) of up to 60 minutes. Otherwise, the maximum deadline is only 30 minutes. Note that long-lived requests have a significantly larger (but still small) risk of interruption.
bool allow_large_deadline_despite_interruption_risk = 14;- Specified by:
getAllowLargeDeadlineDespiteInterruptionRiskin interfaceOptimizeToursRequestOrBuilder- Returns:
- The allowLargeDeadlineDespiteInterruptionRisk.
-
getUseGeodesicDistances
public boolean getUseGeodesicDistances()
If true, travel distances will be computed using geodesic distances instead of Google Maps distances, and travel times will be computed using geodesic distances with a speed defined by `geodesic_meters_per_second`.
bool use_geodesic_distances = 15;- Specified by:
getUseGeodesicDistancesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The useGeodesicDistances.
-
hasGeodesicMetersPerSecond
public boolean hasGeodesicMetersPerSecond()
When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times. Its value must be at least 1.0 meters/seconds.
optional double geodesic_meters_per_second = 16;- Specified by:
hasGeodesicMetersPerSecondin interfaceOptimizeToursRequestOrBuilder- Returns:
- Whether the geodesicMetersPerSecond field is set.
-
getGeodesicMetersPerSecond
public double getGeodesicMetersPerSecond()
When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times. Its value must be at least 1.0 meters/seconds.
optional double geodesic_meters_per_second = 16;- Specified by:
getGeodesicMetersPerSecondin interfaceOptimizeToursRequestOrBuilder- Returns:
- The geodesicMetersPerSecond.
-
hasMaxValidationErrors
public boolean hasMaxValidationErrors()
Truncates the number of validation errors returned. These errors are typically attached to an INVALID_ARGUMENT error payload as a BadRequest error detail (https://cloud.google.com/apis/design/errors#error_details), unless solving_mode=VALIDATE_ONLY: see the [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] field. This defaults to 100 and is capped at 10,000.
optional int32 max_validation_errors = 5;- Specified by:
hasMaxValidationErrorsin interfaceOptimizeToursRequestOrBuilder- Returns:
- Whether the maxValidationErrors field is set.
-
getMaxValidationErrors
public int getMaxValidationErrors()
Truncates the number of validation errors returned. These errors are typically attached to an INVALID_ARGUMENT error payload as a BadRequest error detail (https://cloud.google.com/apis/design/errors#error_details), unless solving_mode=VALIDATE_ONLY: see the [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] field. This defaults to 100 and is capped at 10,000.
optional int32 max_validation_errors = 5;- Specified by:
getMaxValidationErrorsin interfaceOptimizeToursRequestOrBuilder- Returns:
- The maxValidationErrors.
-
getLabel
public String getLabel()
Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].
string label = 17;- Specified by:
getLabelin interfaceOptimizeToursRequestOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].
string label = 17;- Specified by:
getLabelBytesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The bytes for label.
-
getPopulateTravelStepPolylines
@Deprecated public boolean getPopulateTravelStepPolylines()
Deprecated.google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=359Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] instead. If true, polylines will be populated in response [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]. Note that in this case, the polylines will also be populated in the deprecated `travel_steps`.
bool populate_travel_step_polylines = 20 [deprecated = true];- Specified by:
getPopulateTravelStepPolylinesin interfaceOptimizeToursRequestOrBuilder- Returns:
- The populateTravelStepPolylines.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OptimizeToursRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OptimizeToursRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OptimizeToursRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OptimizeToursRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OptimizeToursRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OptimizeToursRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OptimizeToursRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OptimizeToursRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OptimizeToursRequest.Builder newBuilder()
-
newBuilder
public static OptimizeToursRequest.Builder newBuilder(OptimizeToursRequest prototype)
-
toBuilder
public OptimizeToursRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OptimizeToursRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OptimizeToursRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OptimizeToursRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<OptimizeToursRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OptimizeToursRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-