Package com.google.cloud.optimization.v1
Class OptimizeToursResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
com.google.cloud.optimization.v1.OptimizeToursResponse.Builder
- All Implemented Interfaces:
OptimizeToursResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OptimizeToursResponse
public static final class OptimizeToursResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
implements OptimizeToursResponseOrBuilder
Response after solving a tour optimization problem containing the routes followed by each vehicle, the shipments which have been skipped and the overall cost of the solution.Protobuf type
google.cloud.optimization.v1.OptimizeToursResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllRoutes(Iterable<? extends ShipmentRoute> values) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addAllSkippedShipments(Iterable<? extends SkippedShipment> values) The list of all shipments skipped.addAllValidationErrors(Iterable<? extends OptimizeToursValidationError> values) List of all the validation errors that we were able to detect independently.addRoutes(int index, ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addRoutes(int index, ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addRoutes(ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addRoutes(ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addRoutesBuilder(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.addSkippedShipments(int index, SkippedShipment value) The list of all shipments skipped.addSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.The list of all shipments skipped.addSkippedShipments(SkippedShipment.Builder builderForValue) The list of all shipments skipped.The list of all shipments skipped.addSkippedShipmentsBuilder(int index) The list of all shipments skipped.addValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently.addValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.List of all the validation errors that we were able to detect independently.addValidationErrors(OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.List of all the validation errors that we were able to detect independently.addValidationErrorsBuilder(int index) List of all the validation errors that we were able to detect independently.build()clear()Duration, distance and usage metrics for this solution.Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.The list of all shipments skipped.Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.List of all the validation errors that we were able to detect independently.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDuration, distance and usage metrics for this solution.Duration, distance and usage metrics for this solution.Duration, distance and usage metrics for this solution.Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.com.google.protobuf.ByteStringCopy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.getRoutes(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.getRoutesBuilder(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.intRoutes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.getRoutesOrBuilder(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.List<? extends ShipmentRouteOrBuilder>Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.getSkippedShipments(int index) The list of all shipments skipped.getSkippedShipmentsBuilder(int index) The list of all shipments skipped.The list of all shipments skipped.intThe list of all shipments skipped.The list of all shipments skipped.getSkippedShipmentsOrBuilder(int index) The list of all shipments skipped.List<? extends SkippedShipmentOrBuilder>The list of all shipments skipped.doubleDeprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.getValidationErrors(int index) List of all the validation errors that we were able to detect independently.getValidationErrorsBuilder(int index) List of all the validation errors that we were able to detect independently.List of all the validation errors that we were able to detect independently.intList of all the validation errors that we were able to detect independently.List of all the validation errors that we were able to detect independently.getValidationErrorsOrBuilder(int index) List of all the validation errors that we were able to detect independently.List<? extends OptimizeToursValidationErrorOrBuilder>List of all the validation errors that we were able to detect independently.booleanDuration, distance and usage metrics for this solution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OptimizeToursResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Duration, distance and usage metrics for this solution.removeRoutes(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.removeSkippedShipments(int index) The list of all shipments skipped.removeValidationErrors(int index) List of all the validation errors that we were able to detect independently.Duration, distance and usage metrics for this solution.setMetrics(OptimizeToursResponse.Metrics.Builder builderForValue) Duration, distance and usage metrics for this solution.setRequestLabel(String value) Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.setRequestLabelBytes(com.google.protobuf.ByteString value) Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.setRoutes(int index, ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.setRoutes(int index, ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.setSkippedShipments(int index, SkippedShipment value) The list of all shipments skipped.setSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.setTotalCost(double value) Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.setValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently.setValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OptimizeToursResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OptimizeToursResponse.Builder>
-
mergeFrom
public OptimizeToursResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OptimizeToursResponse.Builder>- Throws:
IOException
-
getRoutesList
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;- Specified by:
getRoutesListin interfaceOptimizeToursResponseOrBuilder
-
getRoutesCount
public int getRoutesCount()Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;- Specified by:
getRoutesCountin interfaceOptimizeToursResponseOrBuilder
-
getRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;- Specified by:
getRoutesin interfaceOptimizeToursResponseOrBuilder
-
setRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
setRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addAllRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
clearRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
removeRoutes
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
getRoutesBuilder
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
getRoutesOrBuilder
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;- Specified by:
getRoutesOrBuilderin interfaceOptimizeToursResponseOrBuilder
-
getRoutesOrBuilderList
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;- Specified by:
getRoutesOrBuilderListin interfaceOptimizeToursResponseOrBuilder
-
addRoutesBuilder
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
addRoutesBuilder
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
getRoutesBuilderList
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1; -
getRequestLabel
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Specified by:
getRequestLabelin interfaceOptimizeToursResponseOrBuilder- Returns:
- The requestLabel.
-
getRequestLabelBytes
public com.google.protobuf.ByteString getRequestLabelBytes()Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Specified by:
getRequestLabelBytesin interfaceOptimizeToursResponseOrBuilder- Returns:
- The bytes for requestLabel.
-
setRequestLabel
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Parameters:
value- The requestLabel to set.- Returns:
- This builder for chaining.
-
clearRequestLabel
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Returns:
- This builder for chaining.
-
setRequestLabelBytes
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Parameters:
value- The bytes for requestLabel to set.- Returns:
- This builder for chaining.
-
getSkippedShipmentsList
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;- Specified by:
getSkippedShipmentsListin interfaceOptimizeToursResponseOrBuilder
-
getSkippedShipmentsCount
public int getSkippedShipmentsCount()The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;- Specified by:
getSkippedShipmentsCountin interfaceOptimizeToursResponseOrBuilder
-
getSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;- Specified by:
getSkippedShipmentsin interfaceOptimizeToursResponseOrBuilder
-
setSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
setSkippedShipments
public OptimizeToursResponse.Builder setSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addSkippedShipments
public OptimizeToursResponse.Builder addSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addAllSkippedShipments
public OptimizeToursResponse.Builder addAllSkippedShipments(Iterable<? extends SkippedShipment> values) The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
clearSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
removeSkippedShipments
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
getSkippedShipmentsBuilder
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
getSkippedShipmentsOrBuilder
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;- Specified by:
getSkippedShipmentsOrBuilderin interfaceOptimizeToursResponseOrBuilder
-
getSkippedShipmentsOrBuilderList
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;- Specified by:
getSkippedShipmentsOrBuilderListin interfaceOptimizeToursResponseOrBuilder
-
addSkippedShipmentsBuilder
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
addSkippedShipmentsBuilder
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
getSkippedShipmentsBuilderList
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4; -
getValidationErrorsList
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;- Specified by:
getValidationErrorsListin interfaceOptimizeToursResponseOrBuilder
-
getValidationErrorsCount
public int getValidationErrorsCount()List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;- Specified by:
getValidationErrorsCountin interfaceOptimizeToursResponseOrBuilder
-
getValidationErrors
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;- Specified by:
getValidationErrorsin interfaceOptimizeToursResponseOrBuilder
-
setValidationErrors
public OptimizeToursResponse.Builder setValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
setValidationErrors
public OptimizeToursResponse.Builder setValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addValidationErrors
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addValidationErrors
public OptimizeToursResponse.Builder addValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addValidationErrors
public OptimizeToursResponse.Builder addValidationErrors(OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addValidationErrors
public OptimizeToursResponse.Builder addValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addAllValidationErrors
public OptimizeToursResponse.Builder addAllValidationErrors(Iterable<? extends OptimizeToursValidationError> values) List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
clearValidationErrors
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
removeValidationErrors
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
getValidationErrorsBuilder
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
getValidationErrorsOrBuilder
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;- Specified by:
getValidationErrorsOrBuilderin interfaceOptimizeToursResponseOrBuilder
-
getValidationErrorsOrBuilderList
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;- Specified by:
getValidationErrorsOrBuilderListin interfaceOptimizeToursResponseOrBuilder
-
addValidationErrorsBuilder
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
addValidationErrorsBuilder
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
getValidationErrorsBuilderList
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5; -
hasMetrics
public boolean hasMetrics()Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;- Specified by:
hasMetricsin interfaceOptimizeToursResponseOrBuilder- Returns:
- Whether the metrics field is set.
-
getMetrics
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;- Specified by:
getMetricsin interfaceOptimizeToursResponseOrBuilder- Returns:
- The metrics.
-
setMetrics
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6; -
setMetrics
public OptimizeToursResponse.Builder setMetrics(OptimizeToursResponse.Metrics.Builder builderForValue) Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6; -
mergeMetrics
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6; -
clearMetrics
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6; -
getMetricsBuilder
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6; -
getMetricsOrBuilder
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;- Specified by:
getMetricsOrBuilderin interfaceOptimizeToursResponseOrBuilder
-
getTotalCost
Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433Deprecated: Use [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] instead. Total cost of the solution. This takes into account all costs: costs per per hour and travel hour, fixed vehicle costs, unperformed shipment penalty costs, global duration cost, etc.
double total_cost = 2 [deprecated = true];- Specified by:
getTotalCostin interfaceOptimizeToursResponseOrBuilder- Returns:
- The totalCost.
-
setTotalCost
Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433Deprecated: Use [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] instead. Total cost of the solution. This takes into account all costs: costs per per hour and travel hour, fixed vehicle costs, unperformed shipment penalty costs, global duration cost, etc.
double total_cost = 2 [deprecated = true];- Parameters:
value- The totalCost to set.- Returns:
- This builder for chaining.
-
clearTotalCost
Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433Deprecated: Use [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] instead. Total cost of the solution. This takes into account all costs: costs per per hour and travel hour, fixed vehicle costs, unperformed shipment penalty costs, global duration cost, etc.
double total_cost = 2 [deprecated = true];- Returns:
- This builder for chaining.
-