Uses of Class
com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder
-
Uses of ShipmentRoute.TravelStep.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return ShipmentRoute.TravelStep.BuilderModifier and TypeMethodDescriptionShipmentRoute.Builder.addTravelStepsBuilder()Deprecated.ShipmentRoute.Builder.addTravelStepsBuilder(int index) Deprecated.ShipmentRoute.TravelStep.Builder.clear()ShipmentRoute.TravelStep.Builder.clearDistanceMeters()Distance traveled during the step.ShipmentRoute.TravelStep.Builder.clearDuration()Duration of the travel step.ShipmentRoute.TravelStep.Builder.clearRoutePolyline()The encoded polyline representation of the route followed during the step.ShipmentRoute.TravelStep.Builder.clearTrafficInfoUnavailable()When traffic is requested via [OptimizeToursRequest.consider_road_traffic][google.cloud.optimization.v1.OptimizeToursRequest.consider_road_traffic], and the traffic info couldn't be retrieved for a TravelStep, this boolean is set to true.ShipmentRoute.Builder.getTravelStepsBuilder(int index) Deprecated.ShipmentRoute.TravelStep.Builder.mergeDuration(com.google.protobuf.Duration value) Duration of the travel step.ShipmentRoute.TravelStep.Builder.mergeFrom(ShipmentRoute.TravelStep other) ShipmentRoute.TravelStep.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) ShipmentRoute.TravelStep.Builder.mergeFrom(com.google.protobuf.Message other) ShipmentRoute.TravelStep.Builder.mergeRoutePolyline(ShipmentRoute.EncodedPolyline value) The encoded polyline representation of the route followed during the step.ShipmentRoute.TravelStep.newBuilder()Deprecated.ShipmentRoute.TravelStep.newBuilder(ShipmentRoute.TravelStep prototype) Deprecated.ShipmentRoute.TravelStep.newBuilderForType()Deprecated.protected ShipmentRoute.TravelStep.BuilderShipmentRoute.TravelStep.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Deprecated.ShipmentRoute.TravelStep.Builder.setDistanceMeters(double value) Distance traveled during the step.ShipmentRoute.TravelStep.Builder.setDuration(com.google.protobuf.Duration value) Duration of the travel step.ShipmentRoute.TravelStep.Builder.setDuration(com.google.protobuf.Duration.Builder builderForValue) Duration of the travel step.ShipmentRoute.TravelStep.Builder.setRoutePolyline(ShipmentRoute.EncodedPolyline value) The encoded polyline representation of the route followed during the step.ShipmentRoute.TravelStep.Builder.setRoutePolyline(ShipmentRoute.EncodedPolyline.Builder builderForValue) The encoded polyline representation of the route followed during the step.ShipmentRoute.TravelStep.Builder.setTrafficInfoUnavailable(boolean value) When traffic is requested via [OptimizeToursRequest.consider_road_traffic][google.cloud.optimization.v1.OptimizeToursRequest.consider_road_traffic], and the traffic info couldn't be retrieved for a TravelStep, this boolean is set to true.ShipmentRoute.TravelStep.toBuilder()Deprecated.Methods in com.google.cloud.optimization.v1 that return types with arguments of type ShipmentRoute.TravelStep.BuilderMethods in com.google.cloud.optimization.v1 with parameters of type ShipmentRoute.TravelStep.BuilderModifier and TypeMethodDescriptionShipmentRoute.Builder.addTravelSteps(int index, ShipmentRoute.TravelStep.Builder builderForValue) Deprecated.ShipmentRoute.Builder.addTravelSteps(ShipmentRoute.TravelStep.Builder builderForValue) Deprecated.ShipmentRoute.Builder.setTravelSteps(int index, ShipmentRoute.TravelStep.Builder builderForValue) Deprecated.