Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • clear

        public OptimizeToursResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • getDefaultInstanceForType

        public OptimizeToursResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public OptimizeToursResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OptimizeToursResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public OptimizeToursResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • clearField

        public OptimizeToursResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • clearOneof

        public OptimizeToursResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • setRepeatedField

        public OptimizeToursResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • addRepeatedField

        public OptimizeToursResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • mergeFrom

        public OptimizeToursResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OptimizeToursResponse.Builder>
        Throws:
        IOException
      • 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:
        getRoutesCount in interface OptimizeToursResponseOrBuilder
      • getRoutes

        public ShipmentRoute getRoutes​(int index)
         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:
        getRoutes in interface OptimizeToursResponseOrBuilder
      • setRoutes

        public OptimizeToursResponse.Builder setRoutes​(int index,
                                                       ShipmentRoute value)
         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

        public OptimizeToursResponse.Builder setRoutes​(int index,
                                                       ShipmentRoute.Builder builderForValue)
         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

        public OptimizeToursResponse.Builder addRoutes​(ShipmentRoute value)
         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

        public OptimizeToursResponse.Builder addRoutes​(int index,
                                                       ShipmentRoute value)
         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

        public OptimizeToursResponse.Builder addRoutes​(ShipmentRoute.Builder builderForValue)
         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

        public OptimizeToursResponse.Builder addRoutes​(int index,
                                                       ShipmentRoute.Builder builderForValue)
         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

        public OptimizeToursResponse.Builder addAllRoutes​(Iterable<? extends ShipmentRoute> values)
         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

        public OptimizeToursResponse.Builder 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

        public OptimizeToursResponse.Builder removeRoutes​(int index)
         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

        public ShipmentRoute.Builder getRoutesBuilder​(int index)
         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

        public ShipmentRoute.Builder 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

        public ShipmentRoute.Builder addRoutesBuilder​(int index)
         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

        public List<ShipmentRoute.Builder> 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

        public String 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:
        getRequestLabel in interface OptimizeToursResponseOrBuilder
        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:
        getRequestLabelBytes in interface OptimizeToursResponseOrBuilder
        Returns:
        The bytes for requestLabel.
      • setRequestLabel

        public OptimizeToursResponse.Builder setRequestLabel​(String value)
         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

        public OptimizeToursResponse.Builder 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

        public OptimizeToursResponse.Builder 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.
         
        string request_label = 3;
        Parameters:
        value - The bytes for requestLabel to set.
        Returns:
        This builder for chaining.
      • setSkippedShipments

        public OptimizeToursResponse.Builder setSkippedShipments​(int index,
                                                                 SkippedShipment value)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • addSkippedShipments

        public OptimizeToursResponse.Builder addSkippedShipments​(SkippedShipment value)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • addSkippedShipments

        public OptimizeToursResponse.Builder addSkippedShipments​(int index,
                                                                 SkippedShipment value)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • clearSkippedShipments

        public OptimizeToursResponse.Builder clearSkippedShipments()
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • removeSkippedShipments

        public OptimizeToursResponse.Builder removeSkippedShipments​(int index)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • getSkippedShipmentsBuilder

        public SkippedShipment.Builder getSkippedShipmentsBuilder​(int index)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • addSkippedShipmentsBuilder

        public SkippedShipment.Builder addSkippedShipmentsBuilder()
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • addSkippedShipmentsBuilder

        public SkippedShipment.Builder addSkippedShipmentsBuilder​(int index)
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • getSkippedShipmentsBuilderList

        public List<SkippedShipment.Builder> getSkippedShipmentsBuilderList()
         The list of all shipments skipped.
         
        repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
      • getValidationErrorsList

        public List<OptimizeToursValidationError> 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:
        getValidationErrorsList in interface OptimizeToursResponseOrBuilder
      • 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:
        getValidationErrorsCount in interface OptimizeToursResponseOrBuilder
      • getValidationErrors

        public OptimizeToursValidationError getValidationErrors​(int index)
         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:
        getValidationErrors in interface OptimizeToursResponseOrBuilder
      • 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

        public OptimizeToursResponse.Builder addValidationErrors​(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​(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

        public OptimizeToursResponse.Builder 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

        public OptimizeToursResponse.Builder removeValidationErrors​(int index)
         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

        public OptimizeToursValidationError.Builder getValidationErrorsBuilder​(int index)
         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

        public OptimizeToursValidationErrorOrBuilder getValidationErrorsOrBuilder​(int index)
         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:
        getValidationErrorsOrBuilder in interface OptimizeToursResponseOrBuilder
      • getValidationErrorsOrBuilderList

        public List<? extends OptimizeToursValidationErrorOrBuilder> 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:
        getValidationErrorsOrBuilderList in interface OptimizeToursResponseOrBuilder
      • addValidationErrorsBuilder

        public OptimizeToursValidationError.Builder 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

        public OptimizeToursValidationError.Builder addValidationErrorsBuilder​(int index)
         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

        public List<OptimizeToursValidationError.Builder> 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:
        hasMetrics in interface OptimizeToursResponseOrBuilder
        Returns:
        Whether the metrics field is set.
      • clearMetrics

        public OptimizeToursResponse.Builder clearMetrics()
         Duration, distance and usage metrics for this solution.
         
        .google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
      • getMetricsBuilder

        public OptimizeToursResponse.Metrics.Builder getMetricsBuilder()
         Duration, distance and usage metrics for this solution.
         
        .google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
      • getTotalCost

        @Deprecated
        public double getTotalCost()
        Deprecated.
        google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433
         Deprecated: 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:
        getTotalCost in interface OptimizeToursResponseOrBuilder
        Returns:
        The totalCost.
      • setTotalCost

        @Deprecated
        public OptimizeToursResponse.Builder setTotalCost​(double value)
        Deprecated.
        google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433
         Deprecated: 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
        public OptimizeToursResponse.Builder clearTotalCost()
        Deprecated.
        google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433
         Deprecated: 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.
      • setUnknownFields

        public final OptimizeToursResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>
      • mergeUnknownFields

        public final OptimizeToursResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OptimizeToursResponse.Builder>