Class ShipmentModel.BreakRule (1.7.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 ShipmentModel.BreakRuleextendsGeneratedMessageV3implementsShipmentModel.BreakRuleOrBuilderDeprecated: Use top level [BreakRule][] instead. Rules to generate time breaks for a vehicle (e.g. lunch breaks). A break is a contiguous period of time during which the vehicle remains idle at its current position and cannot perform any visit. A break may occur:
- during the travel between two visits (which includes the time right before or right after a visit, but not in the middle of a visit), in which case it extends the corresponding transit time between the visits,
- or before the vehicle start (the vehicle may not start in the middle of a break), in which case it does not affect the vehicle start time.
- or after the vehicle end (ditto, with the vehicle end time).
Protobuf type google.cloud.optimization.v1.ShipmentModel.BreakRule
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ShipmentModel.BreakRuleImplements
ShipmentModel.BreakRuleOrBuilderInherited Members
Static Fields
BREAK_REQUESTS_FIELD_NUMBER
publicstaticfinalintBREAK_REQUESTS_FIELD_NUMBERFREQUENCY_CONSTRAINTS_FIELD_NUMBER
publicstaticfinalintFREQUENCY_CONSTRAINTS_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticShipmentModel.BreakRulegetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticShipmentModel.BreakRule.BuildernewBuilder()newBuilder(ShipmentModel.BreakRule prototype)
publicstaticShipmentModel.BreakRule.BuildernewBuilder(ShipmentModel.BreakRuleprototype)parseDelimitedFrom(InputStream input)
publicstaticShipmentModel.BreakRuleparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticShipmentModel.BreakRuleparseFrom(byte[]data)data
byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)data
byte[]parseFrom(ByteString data)
publicstaticShipmentModel.BreakRuleparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticShipmentModel.BreakRuleparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticShipmentModel.BreakRuleparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticShipmentModel.BreakRuleparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticShipmentModel.BreakRuleparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<ShipmentModel.BreakRule>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getBreakRequests(int index)
publicShipmentModel.BreakRule.BreakRequestgetBreakRequests(intindex) Sequence of breaks. See the BreakRequest message.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest break_requests = 1;
getBreakRequestsCount()
publicintgetBreakRequestsCount() Sequence of breaks. See the BreakRequest message.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest break_requests = 1;
getBreakRequestsList()
publicList<ShipmentModel.BreakRule.BreakRequest>getBreakRequestsList() Sequence of breaks. See the BreakRequest message.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest break_requests = 1;
getBreakRequestsOrBuilder(int index)
publicShipmentModel.BreakRule.BreakRequestOrBuildergetBreakRequestsOrBuilder(intindex) Sequence of breaks. See the BreakRequest message.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest break_requests = 1;
getBreakRequestsOrBuilderList()
publicList<?extendsShipmentModel.BreakRule.BreakRequestOrBuilder>getBreakRequestsOrBuilderList() Sequence of breaks. See the BreakRequest message.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest break_requests = 1;
List<? extends com.google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequestOrBuilder>
getDefaultInstanceForType()
publicShipmentModel.BreakRulegetDefaultInstanceForType()getFrequencyConstraints(int index)
publicShipmentModel.BreakRule.FrequencyConstraintgetFrequencyConstraints(intindex) Several FrequencyConstraint may apply. They must all be satisfied by
the BreakRequests of this BreakRule. See FrequencyConstraint.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;
getFrequencyConstraintsCount()
publicintgetFrequencyConstraintsCount() Several FrequencyConstraint may apply. They must all be satisfied by
the BreakRequests of this BreakRule. See FrequencyConstraint.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;
getFrequencyConstraintsList()
publicList<ShipmentModel.BreakRule.FrequencyConstraint>getFrequencyConstraintsList() Several FrequencyConstraint may apply. They must all be satisfied by
the BreakRequests of this BreakRule. See FrequencyConstraint.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;
getFrequencyConstraintsOrBuilder(int index)
publicShipmentModel.BreakRule.FrequencyConstraintOrBuildergetFrequencyConstraintsOrBuilder(intindex) Several FrequencyConstraint may apply. They must all be satisfied by
the BreakRequests of this BreakRule. See FrequencyConstraint.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;
getFrequencyConstraintsOrBuilderList()
publicList<?extendsShipmentModel.BreakRule.FrequencyConstraintOrBuilder>getFrequencyConstraintsOrBuilderList() Several FrequencyConstraint may apply. They must all be satisfied by
the BreakRequests of this BreakRule. See FrequencyConstraint.
repeated .google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;
List<? extends com.google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraintOrBuilder>
getParserForType()
publicParser<ShipmentModel.BreakRule>getParserForType()getSerializedSize()
publicintgetSerializedSize()getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicShipmentModel.BreakRule.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedShipmentModel.BreakRule.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicShipmentModel.BreakRule.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)