Class ShipmentRoute.Transition.Builder (1.76.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
publicstaticfinalclass ShipmentRoute.Transition.BuilderextendsGeneratedMessageV3.Builder<ShipmentRoute.Transition.Builder>implementsShipmentRoute.TransitionOrBuilderTransition between two events on the route. See the description of ShipmentRoute.
If the vehicle does not have a start_location and/or end_location, the
corresponding travel metrics are 0.
Protobuf type google.cloud.optimization.v1.ShipmentRoute.Transition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ShipmentRoute.Transition.BuilderImplements
ShipmentRoute.TransitionOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLoads(Iterable<? extends CapacityQuantity> values) (deprecated)
publicShipmentRoute.Transition.BuilderaddAllLoads(Iterable<?extendsCapacityQuantity>values)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.CapacityQuantity> |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
addLoads(CapacityQuantity value) (deprecated)
publicShipmentRoute.Transition.BuilderaddLoads(CapacityQuantityvalue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityQuantity |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
addLoads(CapacityQuantity.Builder builderForValue) (deprecated)
publicShipmentRoute.Transition.BuilderaddLoads(CapacityQuantity.BuilderbuilderForValue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CapacityQuantity.Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
addLoads(int index, CapacityQuantity value) (deprecated)
publicShipmentRoute.Transition.BuilderaddLoads(intindex,CapacityQuantityvalue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CapacityQuantity |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
addLoads(int index, CapacityQuantity.Builder builderForValue) (deprecated)
publicShipmentRoute.Transition.BuilderaddLoads(intindex,CapacityQuantity.BuilderbuilderForValue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CapacityQuantity.Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
addLoadsBuilder() (deprecated)
publicCapacityQuantity.BuilderaddLoadsBuilder()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
CapacityQuantity.Builder |
|
addLoadsBuilder(int index) (deprecated)
publicCapacityQuantity.BuilderaddLoadsBuilder(intindex)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityQuantity.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicShipmentRoute.Transition.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
build()
publicShipmentRoute.Transitionbuild()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition |
|
buildPartial()
publicShipmentRoute.TransitionbuildPartial()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition |
|
clear()
publicShipmentRoute.Transition.Builderclear()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearBreakDuration()
publicShipmentRoute.Transition.BuilderclearBreakDuration()Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearDelayDuration()
publicShipmentRoute.Transition.BuilderclearDelayDuration() Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicShipmentRoute.Transition.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearLoads() (deprecated)
publicShipmentRoute.Transition.BuilderclearLoads()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicShipmentRoute.Transition.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearRoutePolyline()
publicShipmentRoute.Transition.BuilderclearRoutePolyline()The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearStartTime()
publicShipmentRoute.Transition.BuilderclearStartTime()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearTotalDuration()
publicShipmentRoute.Transition.BuilderclearTotalDuration()Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearTrafficInfoUnavailable()
publicShipmentRoute.Transition.BuilderclearTrafficInfoUnavailable() 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 Transition, this
boolean is set to true. This may be temporary (rare hiccup in the
realtime traffic servers) or permanent (no data for this location).
bool traffic_info_unavailable = 3;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
This builder for chaining. |
clearTravelDistanceMeters()
publicShipmentRoute.Transition.BuilderclearTravelDistanceMeters()Distance traveled during the transition.
double travel_distance_meters = 2;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
This builder for chaining. |
clearTravelDuration()
publicShipmentRoute.Transition.BuilderclearTravelDuration()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearVehicleLoads()
publicShipmentRoute.Transition.BuilderclearVehicleLoads()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clearWaitDuration()
publicShipmentRoute.Transition.BuilderclearWaitDuration()Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
clone()
publicShipmentRoute.Transition.Builderclone()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
containsVehicleLoads(String key)
publicbooleancontainsVehicleLoads(Stringkey)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBreakDuration()
publicDurationgetBreakDuration()Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
Duration |
The breakDuration. |
getBreakDurationBuilder()
publicDuration.BuildergetBreakDurationBuilder()Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getBreakDurationOrBuilder()
publicDurationOrBuildergetBreakDurationOrBuilder()Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDefaultInstanceForType()
publicShipmentRoute.TransitiongetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition |
|
getDelayDuration()
publicDurationgetDelayDuration() Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
Duration |
The delayDuration. |
getDelayDurationBuilder()
publicDuration.BuildergetDelayDurationBuilder() Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDelayDurationOrBuilder()
publicDurationOrBuildergetDelayDurationOrBuilder() Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLoads(int index) (deprecated)
publicCapacityQuantitygetLoads(intindex)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityQuantity |
|
getLoadsBuilder(int index) (deprecated)
publicCapacityQuantity.BuildergetLoadsBuilder(intindex)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityQuantity.Builder |
|
getLoadsBuilderList() (deprecated)
publicList<CapacityQuantity.Builder>getLoadsBuilderList()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLoadsCount() (deprecated)
publicintgetLoadsCount()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLoadsList() (deprecated)
publicList<CapacityQuantity>getLoadsList()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
List<CapacityQuantity> |
|
getLoadsOrBuilder(int index) (deprecated)
publicCapacityQuantityOrBuildergetLoadsOrBuilder(intindex)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityQuantityOrBuilder |
|
getLoadsOrBuilderList() (deprecated)
publicList<?extendsCapacityQuantityOrBuilder>getLoadsOrBuilderList()Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.optimization.v1.CapacityQuantityOrBuilder> |
|
getMutableVehicleLoads() (deprecated)
publicMap<String,ShipmentRoute.VehicleLoad>getMutableVehicleLoads()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,VehicleLoad> |
|
getRoutePolyline()
publicShipmentRoute.EncodedPolylinegetRoutePolyline()The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.EncodedPolyline |
The routePolyline. |
getRoutePolylineBuilder()
publicShipmentRoute.EncodedPolyline.BuildergetRoutePolylineBuilder()The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
|
getRoutePolylineOrBuilder()
publicShipmentRoute.EncodedPolylineOrBuildergetRoutePolylineOrBuilder()The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.EncodedPolylineOrBuilder |
|
getStartTime()
publicTimestampgetStartTime()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
publicTimestamp.BuildergetStartTimeBuilder()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getStartTimeOrBuilder()
publicTimestampOrBuildergetStartTimeOrBuilder()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getTotalDuration()
publicDurationgetTotalDuration()Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Returns | |
|---|---|
| Type | Description |
Duration |
The totalDuration. |
getTotalDurationBuilder()
publicDuration.BuildergetTotalDurationBuilder()Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTotalDurationOrBuilder()
publicDurationOrBuildergetTotalDurationOrBuilder()Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getTrafficInfoUnavailable()
publicbooleangetTrafficInfoUnavailable() 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 Transition, this
boolean is set to true. This may be temporary (rare hiccup in the
realtime traffic servers) or permanent (no data for this location).
bool traffic_info_unavailable = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The trafficInfoUnavailable. |
getTravelDistanceMeters()
publicdoublegetTravelDistanceMeters()Distance traveled during the transition.
double travel_distance_meters = 2;
| Returns | |
|---|---|
| Type | Description |
double |
The travelDistanceMeters. |
getTravelDuration()
publicDurationgetTravelDuration()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Returns | |
|---|---|
| Type | Description |
Duration |
The travelDuration. |
getTravelDurationBuilder()
publicDuration.BuildergetTravelDurationBuilder()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTravelDurationOrBuilder()
publicDurationOrBuildergetTravelDurationOrBuilder()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getVehicleLoads() (deprecated)
publicMap<String,ShipmentRoute.VehicleLoad>getVehicleLoads()Use #getVehicleLoadsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,VehicleLoad> |
|
getVehicleLoadsCount()
publicintgetVehicleLoadsCount()Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Returns | |
|---|---|
| Type | Description |
int |
|
getVehicleLoadsMap()
publicMap<String,ShipmentRoute.VehicleLoad>getVehicleLoadsMap()Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Returns | |
|---|---|
| Type | Description |
Map<String,VehicleLoad> |
|
getVehicleLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue)
publicShipmentRoute.VehicleLoadgetVehicleLoadsOrDefault(Stringkey,ShipmentRoute.VehicleLoaddefaultValue)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ShipmentRoute.VehicleLoad |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.VehicleLoad |
|
getVehicleLoadsOrThrow(String key)
publicShipmentRoute.VehicleLoadgetVehicleLoadsOrThrow(Stringkey)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.VehicleLoad |
|
getWaitDuration()
publicDurationgetWaitDuration()Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Returns | |
|---|---|
| Type | Description |
Duration |
The waitDuration. |
getWaitDurationBuilder()
publicDuration.BuildergetWaitDurationBuilder()Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getWaitDurationOrBuilder()
publicDurationOrBuildergetWaitDurationOrBuilder()Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasBreakDuration()
publicbooleanhasBreakDuration()Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breakDuration field is set. |
hasDelayDuration()
publicbooleanhasDelayDuration() Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the delayDuration field is set. |
hasRoutePolyline()
publicbooleanhasRoutePolyline()The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the routePolyline field is set. |
hasStartTime()
publicbooleanhasStartTime()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startTime field is set. |
hasTotalDuration()
publicbooleanhasTotalDuration()Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalDuration field is set. |
hasTravelDuration()
publicbooleanhasTravelDuration()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the travelDuration field is set. |
hasWaitDuration()
publicbooleanhasWaitDuration()Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the waitDuration field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBreakDuration(Duration value)
publicShipmentRoute.Transition.BuildermergeBreakDuration(Durationvalue)Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeDelayDuration(Duration value)
publicShipmentRoute.Transition.BuildermergeDelayDuration(Durationvalue) Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeFrom(ShipmentRoute.Transition other)
publicShipmentRoute.Transition.BuildermergeFrom(ShipmentRoute.Transitionother)| Parameter | |
|---|---|
| Name | Description |
other |
ShipmentRoute.Transition |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicShipmentRoute.Transition.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicShipmentRoute.Transition.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeRoutePolyline(ShipmentRoute.EncodedPolyline value)
publicShipmentRoute.Transition.BuildermergeRoutePolyline(ShipmentRoute.EncodedPolylinevalue)The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ShipmentRoute.EncodedPolyline |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeStartTime(Timestamp value)
publicShipmentRoute.Transition.BuildermergeStartTime(Timestampvalue)Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeTotalDuration(Duration value)
publicShipmentRoute.Transition.BuildermergeTotalDuration(Durationvalue)Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeTravelDuration(Duration value)
publicShipmentRoute.Transition.BuildermergeTravelDuration(Durationvalue)Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentRoute.Transition.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
mergeWaitDuration(Duration value)
publicShipmentRoute.Transition.BuildermergeWaitDuration(Durationvalue)Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
putAllVehicleLoads(Map<String,ShipmentRoute.VehicleLoad> values)
publicShipmentRoute.Transition.BuilderputAllVehicleLoads(Map<String,ShipmentRoute.VehicleLoad>values)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,VehicleLoad> |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
putVehicleLoads(String key, ShipmentRoute.VehicleLoad value)
publicShipmentRoute.Transition.BuilderputVehicleLoads(Stringkey,ShipmentRoute.VehicleLoadvalue)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
ShipmentRoute.VehicleLoad |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
putVehicleLoadsBuilderIfAbsent(String key)
publicShipmentRoute.VehicleLoad.BuilderputVehicleLoadsBuilderIfAbsent(Stringkey)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.VehicleLoad.Builder |
|
removeLoads(int index) (deprecated)
publicShipmentRoute.Transition.BuilderremoveLoads(intindex)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
removeVehicleLoads(String key)
publicShipmentRoute.Transition.BuilderremoveVehicleLoads(Stringkey)Vehicle loads during this transition, for each type that either appears in this vehicle's Vehicle.load_limits, or that have non-zero Shipment.load_demands on some shipment performed on this route.
The loads during the first transition are the starting loads of the
vehicle route. Then, after each visit, the visit's load_demands are
either added or subtracted to get the next transition's loads, depending
on whether the visit was a pickup or a delivery.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> vehicle_loads = 11;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setBreakDuration(Duration value)
publicShipmentRoute.Transition.BuildersetBreakDuration(Durationvalue)Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setBreakDuration(Duration.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetBreakDuration(Duration.BuilderbuilderForValue)Sum of the duration of the breaks occurring during this transition, if any. Details about each break's start time and duration are stored in ShipmentRoute.breaks.
.google.protobuf.Duration break_duration = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setDelayDuration(Duration value)
publicShipmentRoute.Transition.BuildersetDelayDuration(Durationvalue) Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setDelayDuration(Duration.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetDelayDuration(Duration.BuilderbuilderForValue) Sum of the delay durations applied to this transition. If any, the delay
starts exactly delay_duration seconds before the next event (visit or
vehicle end). See
TransitionAttributes.delay.
.google.protobuf.Duration delay_duration = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicShipmentRoute.Transition.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setLoads(int index, CapacityQuantity value) (deprecated)
publicShipmentRoute.Transition.BuildersetLoads(intindex,CapacityQuantityvalue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CapacityQuantity |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setLoads(int index, CapacityQuantity.Builder builderForValue) (deprecated)
publicShipmentRoute.Transition.BuildersetLoads(intindex,CapacityQuantity.BuilderbuilderForValue)Deprecated: Use Transition.vehicle_loads instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CapacityQuantity.Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicShipmentRoute.Transition.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setRoutePolyline(ShipmentRoute.EncodedPolyline value)
publicShipmentRoute.Transition.BuildersetRoutePolyline(ShipmentRoute.EncodedPolylinevalue)The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ShipmentRoute.EncodedPolyline |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setRoutePolyline(ShipmentRoute.EncodedPolyline.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetRoutePolyline(ShipmentRoute.EncodedPolyline.BuilderbuilderForValue)The encoded polyline representation of the route followed during the transition. This field is only populated if [populate_transition_polylines] [google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ShipmentRoute.EncodedPolyline.Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setStartTime(Timestamp value)
publicShipmentRoute.Transition.BuildersetStartTime(Timestampvalue)Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetStartTime(Timestamp.BuilderbuilderForValue)Start time of this transition.
.google.protobuf.Timestamp start_time = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setTotalDuration(Duration value)
publicShipmentRoute.Transition.BuildersetTotalDuration(Durationvalue)Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setTotalDuration(Duration.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetTotalDuration(Duration.BuilderbuilderForValue)Total duration of the transition, provided for convenience. It is equal to:
- next visit
start_time(orvehicle_end_timeif this is the last transition) - this transition'sstart_time; - if
ShipmentRoute.has_traffic_infeasibilitiesis false, the following additionally holds:total_duration = travel_duration + delay_duration - break_duration + wait_duration.
.google.protobuf.Duration total_duration = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setTrafficInfoUnavailable(boolean value)
publicShipmentRoute.Transition.BuildersetTrafficInfoUnavailable(booleanvalue) 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 Transition, this
boolean is set to true. This may be temporary (rare hiccup in the
realtime traffic servers) or permanent (no data for this location).
bool traffic_info_unavailable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The trafficInfoUnavailable to set. |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
This builder for chaining. |
setTravelDistanceMeters(double value)
publicShipmentRoute.Transition.BuildersetTravelDistanceMeters(doublevalue)Distance traveled during the transition.
double travel_distance_meters = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
double The travelDistanceMeters to set. |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
This builder for chaining. |
setTravelDuration(Duration value)
publicShipmentRoute.Transition.BuildersetTravelDuration(Durationvalue)Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setTravelDuration(Duration.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetTravelDuration(Duration.BuilderbuilderForValue)Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentRoute.Transition.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setWaitDuration(Duration value)
publicShipmentRoute.Transition.BuildersetWaitDuration(Durationvalue)Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|
setWaitDuration(Duration.Builder builderForValue)
publicShipmentRoute.Transition.BuildersetWaitDuration(Duration.BuilderbuilderForValue)Time spent waiting during this transition. Wait duration corresponds to idle time and does not include break time. Also note that this wait time may be split into several non-contiguous intervals.
.google.protobuf.Duration wait_duration = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.Transition.Builder |
|