Package com.google.cloud.optimization.v1
Class ShipmentRoute.Visit
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.optimization.v1.ShipmentRoute.Visit
- All Implemented Interfaces:
ShipmentRoute.VisitOrBuilder,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.Visit
extends com.google.protobuf.GeneratedMessage
implements ShipmentRoute.VisitOrBuilder
A visit performed during a route. This visit corresponds to a pickup or a delivery of a `Shipment`.Protobuf type
google.cloud.optimization.v1.ShipmentRoute.Visit- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA visit performed during a 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 TypeMethodDescriptionbooleanTotal visit load demand as the sum of the shipment and the visit request `load_demands`.booleangetArrivalLoads(int index) Deprecated.intDeprecated.Deprecated.getArrivalLoadsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.static ShipmentRoute.VisitDeprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated.Deprecated.getDemands(int index) Deprecated.intDeprecated.Deprecated.getDemandsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.com.google.protobuf.DurationOrBuilderExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.booleanIf true the visit corresponds to a pickup of a `Shipment`.Deprecated.intTotal visit load demand as the sum of the shipment and the visit request `load_demands`.Total visit load demand as the sum of the shipment and the visit request `load_demands`.getLoadDemandsOrDefault(String key, Shipment.Load defaultValue) Total visit load demand as the sum of the shipment and the visit request `load_demands`.Total visit load demand as the sum of the shipment and the visit request `load_demands`.com.google.protobuf.Parser<ShipmentRoute.Visit>intintIndex of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.com.google.protobuf.ByteStringCopy of the corresponding `Shipment.label`, if specified in the `Shipment`.com.google.protobuf.TimestampTime at which the visit starts.com.google.protobuf.TimestampOrBuilderTime at which the visit starts.Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.com.google.protobuf.ByteStringCopy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.intIndex of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).booleanDeprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated.booleanExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.inthashCode()booleanTime at which the visit starts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ShipmentRoute.Visit.Builderstatic ShipmentRoute.Visit.BuildernewBuilder(ShipmentRoute.Visit prototype) protected ShipmentRoute.Visit.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ShipmentRoute.VisitparseDelimitedFrom(InputStream input) static ShipmentRoute.VisitparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.VisitparseFrom(byte[] data) static ShipmentRoute.VisitparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.VisitparseFrom(com.google.protobuf.ByteString data) static ShipmentRoute.VisitparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.VisitparseFrom(com.google.protobuf.CodedInputStream input) static ShipmentRoute.VisitparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.VisitparseFrom(InputStream input) static ShipmentRoute.VisitparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShipmentRoute.VisitparseFrom(ByteBuffer data) static ShipmentRoute.VisitparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ShipmentRoute.Visit>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
-
SHIPMENT_INDEX_FIELD_NUMBER
public static final int SHIPMENT_INDEX_FIELD_NUMBER- See Also:
-
IS_PICKUP_FIELD_NUMBER
public static final int IS_PICKUP_FIELD_NUMBER- See Also:
-
VISIT_REQUEST_INDEX_FIELD_NUMBER
public static final int VISIT_REQUEST_INDEX_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
LOAD_DEMANDS_FIELD_NUMBER
public static final int LOAD_DEMANDS_FIELD_NUMBER- See Also:
-
DETOUR_FIELD_NUMBER
public static final int DETOUR_FIELD_NUMBER- See Also:
-
SHIPMENT_LABEL_FIELD_NUMBER
public static final int SHIPMENT_LABEL_FIELD_NUMBER- See Also:
-
VISIT_LABEL_FIELD_NUMBER
public static final int VISIT_LABEL_FIELD_NUMBER- See Also:
-
ARRIVAL_LOADS_FIELD_NUMBER
public static final int ARRIVAL_LOADS_FIELD_NUMBER- See Also:
-
DELAY_BEFORE_START_FIELD_NUMBER
public static final int DELAY_BEFORE_START_FIELD_NUMBER- See Also:
-
DEMANDS_FIELD_NUMBER
public static final int DEMANDS_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
-
getShipmentIndex
public int getShipmentIndex()Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].
int32 shipment_index = 1;- Specified by:
getShipmentIndexin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The shipmentIndex.
-
getIsPickup
public boolean getIsPickup()If true the visit corresponds to a pickup of a `Shipment`. Otherwise, it corresponds to a delivery.
bool is_pickup = 2;- Specified by:
getIsPickupin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The isPickup.
-
getVisitRequestIndex
public int getVisitRequestIndex()Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).
int32 visit_request_index = 3;- Specified by:
getVisitRequestIndexin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The visitRequestIndex.
-
hasStartTime
public boolean hasStartTime()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
hasStartTimein interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimein interfaceShipmentRoute.VisitOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimeOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsCount
public int getLoadDemandsCount()Description copied from interface:ShipmentRoute.VisitOrBuilderTotal visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsCountin interfaceShipmentRoute.VisitOrBuilder
-
containsLoadDemands
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
containsLoadDemandsin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemands
Deprecated.UsegetLoadDemandsMap()instead.- Specified by:
getLoadDemandsin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsMap
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsMapin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsOrDefault
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsOrDefaultin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsOrThrow
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsOrThrowin interfaceShipmentRoute.VisitOrBuilder
-
hasDetour
public boolean hasDetour()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
hasDetourin interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the detour field is set.
-
getDetour
public com.google.protobuf.Duration getDetour()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
getDetourin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The detour.
-
getDetourOrBuilder
public com.google.protobuf.DurationOrBuilder getDetourOrBuilder()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
getDetourOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getShipmentLabel
Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Specified by:
getShipmentLabelin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The shipmentLabel.
-
getShipmentLabelBytes
public com.google.protobuf.ByteString getShipmentLabelBytes()Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Specified by:
getShipmentLabelBytesin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The bytes for shipmentLabel.
-
getVisitLabel
Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Specified by:
getVisitLabelin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The visitLabel.
-
getVisitLabelBytes
public com.google.protobuf.ByteString getVisitLabelBytes()Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Specified by:
getVisitLabelBytesin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The bytes for visitLabel.
-
getArrivalLoadsList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsListin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoadsOrBuilderList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsOrBuilderListin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoadsCount
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsCountin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoadsOrBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
hasDelayBeforeStart
Deprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1965Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
hasDelayBeforeStartin interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the delayBeforeStart field is set.
-
getDelayBeforeStart
Deprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1965Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
getDelayBeforeStartin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The delayBeforeStart.
-
getDelayBeforeStartOrBuilder
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
getDelayBeforeStartOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsList
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsListin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsOrBuilderList
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsOrBuilderListin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsCount
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsCountin interfaceShipmentRoute.VisitOrBuilder
-
getDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsOrBuilder
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
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.Visit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Visit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Visit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Visit 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.Visit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShipmentRoute.Visit 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.Visit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ShipmentRoute.Visit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ShipmentRoute.Visit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ShipmentRoute.Visit 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.Visit.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
-