Uses of Class
com.google.cloud.optimization.v1.ShipmentModel.Builder
-
Uses of ShipmentModel.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return ShipmentModel.BuilderModifier and TypeMethodDescriptionShipmentModel.Builder.addAllBreakRules(Iterable<? extends ShipmentModel.BreakRule> values) Deprecated.ShipmentModel.Builder.addAllDurationDistanceMatrices(Iterable<? extends ShipmentModel.DurationDistanceMatrix> values) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.addAllDurationDistanceMatrixDstTags(Iterable<String> values) Tags defining the destinations of the duration and distance matrices; `duration_distance_matrices(i).rows(j).durations(k)` (resp.ShipmentModel.Builder.addAllDurationDistanceMatrixSrcTags(Iterable<String> values) Tags defining the sources of the duration and distance matrices; `duration_distance_matrices(i).rows(j)` defines durations and distances from visits with tag `duration_distance_matrix_src_tags(j)` to other visits in matrix i.ShipmentModel.Builder.addAllPrecedenceRules(Iterable<? extends ShipmentModel.PrecedenceRule> values) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.addAllShipments(Iterable<? extends Shipment> values) Set of shipments which must be performed in the model.ShipmentModel.Builder.addAllShipmentTypeIncompatibilities(Iterable<? extends ShipmentTypeIncompatibility> values) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.addAllShipmentTypeRequirements(Iterable<? extends ShipmentTypeRequirement> values) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.addAllTransitionAttributes(Iterable<? extends TransitionAttributes> values) Transition attributes added to the model.ShipmentModel.Builder.addAllVehicles(Iterable<? extends Vehicle> values) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addBreakRules(int index, ShipmentModel.BreakRule value) Deprecated.ShipmentModel.Builder.addBreakRules(int index, ShipmentModel.BreakRule.Builder builderForValue) Deprecated.ShipmentModel.Builder.addBreakRules(ShipmentModel.BreakRule value) Deprecated.ShipmentModel.Builder.addBreakRules(ShipmentModel.BreakRule.Builder builderForValue) Deprecated.ShipmentModel.Builder.addDurationDistanceMatrices(int index, ShipmentModel.DurationDistanceMatrix value) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.addDurationDistanceMatrices(int index, ShipmentModel.DurationDistanceMatrix.Builder builderForValue) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.addDurationDistanceMatrices(ShipmentModel.DurationDistanceMatrix value) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.addDurationDistanceMatrices(ShipmentModel.DurationDistanceMatrix.Builder builderForValue) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.addDurationDistanceMatrixDstTags(String value) Tags defining the destinations of the duration and distance matrices; `duration_distance_matrices(i).rows(j).durations(k)` (resp.ShipmentModel.Builder.addDurationDistanceMatrixDstTagsBytes(com.google.protobuf.ByteString value) Tags defining the destinations of the duration and distance matrices; `duration_distance_matrices(i).rows(j).durations(k)` (resp.ShipmentModel.Builder.addDurationDistanceMatrixSrcTags(String value) Tags defining the sources of the duration and distance matrices; `duration_distance_matrices(i).rows(j)` defines durations and distances from visits with tag `duration_distance_matrix_src_tags(j)` to other visits in matrix i.ShipmentModel.Builder.addDurationDistanceMatrixSrcTagsBytes(com.google.protobuf.ByteString value) Tags defining the sources of the duration and distance matrices; `duration_distance_matrices(i).rows(j)` defines durations and distances from visits with tag `duration_distance_matrix_src_tags(j)` to other visits in matrix i.ShipmentModel.Builder.addPrecedenceRules(int index, ShipmentModel.PrecedenceRule value) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.addPrecedenceRules(int index, ShipmentModel.PrecedenceRule.Builder builderForValue) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.addPrecedenceRules(ShipmentModel.PrecedenceRule value) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.addPrecedenceRules(ShipmentModel.PrecedenceRule.Builder builderForValue) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.addShipments(int index, Shipment value) Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipments(int index, Shipment.Builder builderForValue) Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipments(Shipment value) Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipments(Shipment.Builder builderForValue) Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipmentTypeIncompatibilities(int index, ShipmentTypeIncompatibility value) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.addShipmentTypeIncompatibilities(int index, ShipmentTypeIncompatibility.Builder builderForValue) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.addShipmentTypeIncompatibilities(ShipmentTypeIncompatibility value) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.addShipmentTypeIncompatibilities(ShipmentTypeIncompatibility.Builder builderForValue) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.addShipmentTypeRequirements(int index, ShipmentTypeRequirement value) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.addShipmentTypeRequirements(int index, ShipmentTypeRequirement.Builder builderForValue) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.addShipmentTypeRequirements(ShipmentTypeRequirement value) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.addShipmentTypeRequirements(ShipmentTypeRequirement.Builder builderForValue) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.addTransitionAttributes(int index, TransitionAttributes value) Transition attributes added to the model.ShipmentModel.Builder.addTransitionAttributes(int index, TransitionAttributes.Builder builderForValue) Transition attributes added to the model.ShipmentModel.Builder.addTransitionAttributes(TransitionAttributes value) Transition attributes added to the model.ShipmentModel.Builder.addTransitionAttributes(TransitionAttributes.Builder builderForValue) Transition attributes added to the model.ShipmentModel.Builder.addVehicles(int index, Vehicle value) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addVehicles(int index, Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addVehicles(Vehicle value) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addVehicles(Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.clear()ShipmentModel.Builder.clearBreakRules()Deprecated.ShipmentModel.Builder.clearDurationDistanceMatrices()Specifies duration and distance matrices used in the model.ShipmentModel.Builder.clearDurationDistanceMatrixDstTags()Tags defining the destinations of the duration and distance matrices; `duration_distance_matrices(i).rows(j).durations(k)` (resp.ShipmentModel.Builder.clearDurationDistanceMatrixSrcTags()Tags defining the sources of the duration and distance matrices; `duration_distance_matrices(i).rows(j)` defines durations and distances from visits with tag `duration_distance_matrix_src_tags(j)` to other visits in matrix i.ShipmentModel.Builder.clearGlobalDurationCostPerHour()The "global duration" of the overall plan is the difference between the earliest effective start time and the latest effective end time of all vehicles.ShipmentModel.Builder.clearGlobalEndTime()If unset, 00:00:00 UTC, January 1, 1971 (i.e. seconds: 31536000, nanos: 0) is used as default.ShipmentModel.Builder.clearGlobalStartTime()Global start and end time of the model: no times outside of this range can be considered valid.ShipmentModel.Builder.clearMaxActiveVehicles()Constrains the maximum number of active vehicles.ShipmentModel.Builder.clearPrecedenceRules()Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.clearShipments()Set of shipments which must be performed in the model.ShipmentModel.Builder.clearShipmentTypeIncompatibilities()Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.clearShipmentTypeRequirements()Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.clearTransitionAttributes()Transition attributes added to the model.ShipmentModel.Builder.clearVehicles()Set of vehicles which can be used to perform visits.OptimizeToursRequest.Builder.getModelBuilder()Shipment model to solve.ShipmentModel.Builder.mergeFrom(ShipmentModel other) ShipmentModel.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) ShipmentModel.Builder.mergeFrom(com.google.protobuf.Message other) ShipmentModel.Builder.mergeGlobalEndTime(com.google.protobuf.Timestamp value) If unset, 00:00:00 UTC, January 1, 1971 (i.e. seconds: 31536000, nanos: 0) is used as default.ShipmentModel.Builder.mergeGlobalStartTime(com.google.protobuf.Timestamp value) Global start and end time of the model: no times outside of this range can be considered valid.static ShipmentModel.BuilderShipmentModel.newBuilder()static ShipmentModel.BuilderShipmentModel.newBuilder(ShipmentModel prototype) ShipmentModel.newBuilderForType()protected ShipmentModel.BuilderShipmentModel.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) ShipmentModel.Builder.removeBreakRules(int index) Deprecated.ShipmentModel.Builder.removeDurationDistanceMatrices(int index) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.removePrecedenceRules(int index) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.removeShipments(int index) Set of shipments which must be performed in the model.ShipmentModel.Builder.removeShipmentTypeIncompatibilities(int index) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.removeShipmentTypeRequirements(int index) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.removeTransitionAttributes(int index) Transition attributes added to the model.ShipmentModel.Builder.removeVehicles(int index) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.setBreakRules(int index, ShipmentModel.BreakRule value) Deprecated.ShipmentModel.Builder.setBreakRules(int index, ShipmentModel.BreakRule.Builder builderForValue) Deprecated.ShipmentModel.Builder.setDurationDistanceMatrices(int index, ShipmentModel.DurationDistanceMatrix value) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.setDurationDistanceMatrices(int index, ShipmentModel.DurationDistanceMatrix.Builder builderForValue) Specifies duration and distance matrices used in the model.ShipmentModel.Builder.setDurationDistanceMatrixDstTags(int index, String value) Tags defining the destinations of the duration and distance matrices; `duration_distance_matrices(i).rows(j).durations(k)` (resp.ShipmentModel.Builder.setDurationDistanceMatrixSrcTags(int index, String value) Tags defining the sources of the duration and distance matrices; `duration_distance_matrices(i).rows(j)` defines durations and distances from visits with tag `duration_distance_matrix_src_tags(j)` to other visits in matrix i.ShipmentModel.Builder.setGlobalDurationCostPerHour(double value) The "global duration" of the overall plan is the difference between the earliest effective start time and the latest effective end time of all vehicles.ShipmentModel.Builder.setGlobalEndTime(com.google.protobuf.Timestamp value) If unset, 00:00:00 UTC, January 1, 1971 (i.e. seconds: 31536000, nanos: 0) is used as default.ShipmentModel.Builder.setGlobalEndTime(com.google.protobuf.Timestamp.Builder builderForValue) If unset, 00:00:00 UTC, January 1, 1971 (i.e. seconds: 31536000, nanos: 0) is used as default.ShipmentModel.Builder.setGlobalStartTime(com.google.protobuf.Timestamp value) Global start and end time of the model: no times outside of this range can be considered valid.ShipmentModel.Builder.setGlobalStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Global start and end time of the model: no times outside of this range can be considered valid.ShipmentModel.Builder.setMaxActiveVehicles(int value) Constrains the maximum number of active vehicles.ShipmentModel.Builder.setPrecedenceRules(int index, ShipmentModel.PrecedenceRule value) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.setPrecedenceRules(int index, ShipmentModel.PrecedenceRule.Builder builderForValue) Set of precedence rules which must be enforced in the model.ShipmentModel.Builder.setShipments(int index, Shipment value) Set of shipments which must be performed in the model.ShipmentModel.Builder.setShipments(int index, Shipment.Builder builderForValue) Set of shipments which must be performed in the model.ShipmentModel.Builder.setShipmentTypeIncompatibilities(int index, ShipmentTypeIncompatibility value) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.setShipmentTypeIncompatibilities(int index, ShipmentTypeIncompatibility.Builder builderForValue) Sets of incompatible shipment_types (see `ShipmentTypeIncompatibility`).ShipmentModel.Builder.setShipmentTypeRequirements(int index, ShipmentTypeRequirement value) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.setShipmentTypeRequirements(int index, ShipmentTypeRequirement.Builder builderForValue) Sets of `shipment_type` requirements (see `ShipmentTypeRequirement`).ShipmentModel.Builder.setTransitionAttributes(int index, TransitionAttributes value) Transition attributes added to the model.ShipmentModel.Builder.setTransitionAttributes(int index, TransitionAttributes.Builder builderForValue) Transition attributes added to the model.ShipmentModel.Builder.setVehicles(int index, Vehicle value) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.setVehicles(int index, Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.ShipmentModel.toBuilder()Methods in com.google.cloud.optimization.v1 with parameters of type ShipmentModel.BuilderModifier and TypeMethodDescriptionOptimizeToursRequest.Builder.setModel(ShipmentModel.Builder builderForValue) Shipment model to solve.