Package com.google.cloud.optimization.v1
Class ShipmentRoute.Transition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.optimization.v1.ShipmentRoute.Transition
- All Implemented Interfaces:
ShipmentRoute.TransitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ShipmentRoute
public static final class ShipmentRoute.Transition
extends com.google.protobuf.GeneratedMessage
implements ShipmentRoute.TransitionOrBuilder
Transition between two events on the route. See the description of [ShipmentRoute][google.cloud.optimization.v1.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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTransition between two events on the route.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanVehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] on some shipment performed on this route.booleancom.google.protobuf.DurationSum of the duration of the breaks occurring during this transition, if any.com.google.protobuf.DurationOrBuilderSum of the duration of the breaks occurring during this transition, if any.static ShipmentRoute.Transitioncom.google.protobuf.DurationSum of the delay durations applied to this transition.com.google.protobuf.DurationOrBuilderSum of the delay durations applied to this transition.static final com.google.protobuf.Descriptors.DescriptorgetLoads(int index) Deprecated.intDeprecated.Deprecated.getLoadsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.com.google.protobuf.Parser<ShipmentRoute.Transition>The encoded polyline representation of the route followed during the transition.The encoded polyline representation of the route followed during the transition.intcom.google.protobuf.TimestampStart time of this transition.com.google.protobuf.TimestampOrBuilderStart time of this transition.com.google.protobuf.DurationTotal duration of the transition, provided for convenience.com.google.protobuf.DurationOrBuilderTotal duration of the transition, provided for convenience.booleanWhen 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.doubleDistance traveled during the transition.com.google.protobuf.DurationTravel duration during this transition.com.google.protobuf.DurationOrBuilderTravel duration during this transition.Deprecated.intVehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] on some shipment performed on this route.Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] on some shipment performed on this route.getVehicleLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue) Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] on some shipment performed on this route.Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] on some shipment performed on this route.com.google.protobuf.DurationTime spent waiting during this transition.com.google.protobuf.DurationOrBuilderTime spent waiting during this transition.booleanSum of the duration of the breaks occurring during this transition, if any.booleanSum of the delay durations applied to this transition.inthashCode()booleanThe encoded polyline representation of the route followed during the transition.booleanStart time of this transition.booleanTotal duration of the transition, provided for convenience.booleanTravel duration during this transition.booleanTime spent waiting during this transition.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(ShipmentRoute.Transition prototype) protected ShipmentRoute.Transition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ShipmentRoute.TransitionparseDelimitedFrom(InputStream input) static ShipmentRoute.TransitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.TransitionparseFrom(byte[] data) static ShipmentRoute.TransitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.TransitionparseFrom(com.google.protobuf.ByteString data) static ShipmentRoute.TransitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.TransitionparseFrom(com.google.protobuf.CodedInputStream input) static ShipmentRoute.TransitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.TransitionparseFrom(InputStream input) static ShipmentRoute.TransitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.TransitionparseFrom(ByteBuffer data) static ShipmentRoute.TransitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ShipmentRoute.Transition>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TRAVEL_DURATION_FIELD_NUMBER
public static final int TRAVEL_DURATION_FIELD_NUMBER- See Also:
-
TRAVEL_DISTANCE_METERS_FIELD_NUMBER
public static final int TRAVEL_DISTANCE_METERS_FIELD_NUMBER- See Also:
-
TRAFFIC_INFO_UNAVAILABLE_FIELD_NUMBER
public static final int TRAFFIC_INFO_UNAVAILABLE_FIELD_NUMBER- See Also:
-
DELAY_DURATION_FIELD_NUMBER
public static final int DELAY_DURATION_FIELD_NUMBER- See Also:
-
BREAK_DURATION_FIELD_NUMBER
public static final int BREAK_DURATION_FIELD_NUMBER- See Also:
-
WAIT_DURATION_FIELD_NUMBER
public static final int WAIT_DURATION_FIELD_NUMBER- See Also:
-
TOTAL_DURATION_FIELD_NUMBER
public static final int TOTAL_DURATION_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
ROUTE_POLYLINE_FIELD_NUMBER
public static final int ROUTE_POLYLINE_FIELD_NUMBER- See Also:
-
VEHICLE_LOADS_FIELD_NUMBER
public static final int VEHICLE_LOADS_FIELD_NUMBER- See Also:
-
LOADS_FIELD_NUMBER
public static final int LOADS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTravelDuration
public boolean hasTravelDuration()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;- Specified by:
hasTravelDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the travelDuration field is set.
-
getTravelDuration
public com.google.protobuf.Duration getTravelDuration()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;- Specified by:
getTravelDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The travelDuration.
-
getTravelDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder()Travel duration during this transition.
.google.protobuf.Duration travel_duration = 1;- Specified by:
getTravelDurationOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
getTravelDistanceMeters
public double getTravelDistanceMeters()Distance traveled during the transition.
double travel_distance_meters = 2;- Specified by:
getTravelDistanceMetersin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The travelDistanceMeters.
-
hasDelayDuration
public boolean hasDelayDuration()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.cloud.optimization.v1.TransitionAttributes.delay].
.google.protobuf.Duration delay_duration = 4;- Specified by:
hasDelayDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the delayDuration field is set.
-
getDelayDuration
public com.google.protobuf.Duration getDelayDuration()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.cloud.optimization.v1.TransitionAttributes.delay].
.google.protobuf.Duration delay_duration = 4;- Specified by:
getDelayDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The delayDuration.
-
getDelayDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDelayDurationOrBuilder()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.cloud.optimization.v1.TransitionAttributes.delay].
.google.protobuf.Duration delay_duration = 4;- Specified by:
getDelayDurationOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
hasBreakDuration
public boolean hasBreakDuration()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.cloud.optimization.v1.ShipmentRoute.breaks].
.google.protobuf.Duration break_duration = 5;- Specified by:
hasBreakDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the breakDuration field is set.
-
getBreakDuration
public com.google.protobuf.Duration getBreakDuration()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.cloud.optimization.v1.ShipmentRoute.breaks].
.google.protobuf.Duration break_duration = 5;- Specified by:
getBreakDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The breakDuration.
-
getBreakDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getBreakDurationOrBuilder()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.cloud.optimization.v1.ShipmentRoute.breaks].
.google.protobuf.Duration break_duration = 5;- Specified by:
getBreakDurationOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
hasWaitDuration
public boolean hasWaitDuration()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;- Specified by:
hasWaitDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the waitDuration field is set.
-
getWaitDuration
public com.google.protobuf.Duration getWaitDuration()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;- Specified by:
getWaitDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The waitDuration.
-
getWaitDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder()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;- Specified by:
getWaitDurationOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
hasTotalDuration
public boolean hasTotalDuration()Total duration of the transition, provided for convenience. It is equal to: * next visit `start_time` (or `vehicle_end_time` if this is the last transition) - this transition's `start_time`; * if `ShipmentRoute.has_traffic_infeasibilities` is false, the following additionally holds: `total_duration = travel_duration + delay_duration + break_duration + wait_duration`.
.google.protobuf.Duration total_duration = 7;- Specified by:
hasTotalDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the totalDuration field is set.
-
getTotalDuration
public com.google.protobuf.Duration getTotalDuration()Total duration of the transition, provided for convenience. It is equal to: * next visit `start_time` (or `vehicle_end_time` if this is the last transition) - this transition's `start_time`; * if `ShipmentRoute.has_traffic_infeasibilities` is false, the following additionally holds: `total_duration = travel_duration + delay_duration + break_duration + wait_duration`.
.google.protobuf.Duration total_duration = 7;- Specified by:
getTotalDurationin interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The totalDuration.
-
getTotalDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalDurationOrBuilder()Total duration of the transition, provided for convenience. It is equal to: * next visit `start_time` (or `vehicle_end_time` if this is the last transition) - this transition's `start_time`; * if `ShipmentRoute.has_traffic_infeasibilities` is false, the following additionally holds: `total_duration = travel_duration + delay_duration + break_duration + wait_duration`.
.google.protobuf.Duration total_duration = 7;- Specified by:
getTotalDurationOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
hasStartTime
public boolean hasStartTime()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;- Specified by:
hasStartTimein interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;- Specified by:
getStartTimein interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of this transition.
.google.protobuf.Timestamp start_time = 8;- Specified by:
getStartTimeOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
hasRoutePolyline
public boolean hasRoutePolyline()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;- Specified by:
hasRoutePolylinein interfaceShipmentRoute.TransitionOrBuilder- Returns:
- Whether the routePolyline field is set.
-
getRoutePolyline
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;- Specified by:
getRoutePolylinein interfaceShipmentRoute.TransitionOrBuilder- Returns:
- The routePolyline.
-
getRoutePolylineOrBuilder
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;- Specified by:
getRoutePolylineOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
getVehicleLoadsCount
public int getVehicleLoadsCount()Description copied from interface:ShipmentRoute.TransitionOrBuilderVehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.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;- Specified by:
getVehicleLoadsCountin interfaceShipmentRoute.TransitionOrBuilder
-
containsVehicleLoads
Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.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;- Specified by:
containsVehicleLoadsin interfaceShipmentRoute.TransitionOrBuilder
-
getVehicleLoads
Deprecated.UsegetVehicleLoadsMap()instead.- Specified by:
getVehicleLoadsin interfaceShipmentRoute.TransitionOrBuilder
-
getVehicleLoadsMap
Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.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;- Specified by:
getVehicleLoadsMapin interfaceShipmentRoute.TransitionOrBuilder
-
getVehicleLoadsOrDefault
public ShipmentRoute.VehicleLoad getVehicleLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue) Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.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;- Specified by:
getVehicleLoadsOrDefaultin interfaceShipmentRoute.TransitionOrBuilder
-
getVehicleLoadsOrThrow
Vehicle loads during this transition, for each type that either appears in this vehicle's [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits], or that have non-zero [Shipment.load_demands][google.cloud.optimization.v1.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;- Specified by:
getVehicleLoadsOrThrowin interfaceShipmentRoute.TransitionOrBuilder
-
getLoadsList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];- Specified by:
getLoadsListin interfaceShipmentRoute.TransitionOrBuilder
-
getLoadsOrBuilderList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];- Specified by:
getLoadsOrBuilderListin interfaceShipmentRoute.TransitionOrBuilder
-
getLoadsCount
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];- Specified by:
getLoadsCountin interfaceShipmentRoute.TransitionOrBuilder
-
getLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];- Specified by:
getLoadsin interfaceShipmentRoute.TransitionOrBuilder
-
getLoadsOrBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true];- Specified by:
getLoadsOrBuilderin interfaceShipmentRoute.TransitionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ShipmentRoute.Transition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ShipmentRoute.Transition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ShipmentRoute.Transition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ShipmentRoute.Transition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-