Class ShipmentModel.BreakRule.BreakRequest.Builder (1.1.14)
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.BreakRule.BreakRequest.BuilderextendsGeneratedMessageV3.Builder<ShipmentModel.BreakRule.BreakRequest.Builder>implementsShipmentModel.BreakRule.BreakRequestOrBuilder The sequence of breaks (i.e. their number and order) that apply to each
vehicle must be known beforehand. The repeated BreakRequests define
that sequence, in the order in which they must occur. Their time windows
(earliest_start_time / latest_start_time) may overlap, but they must
be compatible with the order (this is checked).
Protobuf type google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ShipmentModel.BreakRule.BreakRequest.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicShipmentModel.BreakRule.BreakRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicShipmentModel.BreakRule.BreakRequestbuild()buildPartial()
publicShipmentModel.BreakRule.BreakRequestbuildPartial()clear()
publicShipmentModel.BreakRule.BreakRequest.Builderclear()clearEarliestStartTime()
publicShipmentModel.BreakRule.BreakRequest.BuilderclearEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
publicShipmentModel.BreakRule.BreakRequest.BuilderclearField(Descriptors.FieldDescriptorfield)clearLatestStartTime()
publicShipmentModel.BreakRule.BreakRequest.BuilderclearLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
clearMinDuration()
publicShipmentModel.BreakRule.BreakRequest.BuilderclearMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicShipmentModel.BreakRule.BreakRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clone()
publicShipmentModel.BreakRule.BreakRequest.Builderclone()getDefaultInstanceForType()
publicShipmentModel.BreakRule.BreakRequestgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getEarliestStartTime()
publicTimestampgetEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
The earliestStartTime.
getEarliestStartTimeBuilder()
publicTimestamp.BuildergetEarliestStartTimeBuilder()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getEarliestStartTimeOrBuilder()
publicTimestampOrBuildergetEarliestStartTimeOrBuilder()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getLatestStartTime()
publicTimestampgetLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
The latestStartTime.
getLatestStartTimeBuilder()
publicTimestamp.BuildergetLatestStartTimeBuilder()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
getLatestStartTimeOrBuilder()
publicTimestampOrBuildergetLatestStartTimeOrBuilder()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
getMinDuration()
publicDurationgetMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
The minDuration.
getMinDurationBuilder()
publicDuration.BuildergetMinDurationBuilder()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
getMinDurationOrBuilder()
publicDurationOrBuildergetMinDurationOrBuilder()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
hasEarliestStartTime()
publicbooleanhasEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
Whether the earliestStartTime field is set.
hasLatestStartTime()
publicbooleanhasLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
Whether the latestStartTime field is set.
hasMinDuration()
publicbooleanhasMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
Whether the minDuration field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeEarliestStartTime(Timestamp value)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeEarliestStartTime(Timestampvalue)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(ShipmentModel.BreakRule.BreakRequest other)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeFrom(ShipmentModel.BreakRule.BreakRequestother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeFrom(Messageother)mergeLatestStartTime(Timestamp value)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeLatestStartTime(Timestampvalue)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
mergeMinDuration(Duration value)
publicShipmentModel.BreakRule.BreakRequest.BuildermergeMinDuration(Durationvalue)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentModel.BreakRule.BreakRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setEarliestStartTime(Timestamp value)
publicShipmentModel.BreakRule.BreakRequest.BuildersetEarliestStartTime(Timestampvalue)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
setEarliestStartTime(Timestamp.Builder builderForValue)
publicShipmentModel.BreakRule.BreakRequest.BuildersetEarliestStartTime(Timestamp.BuilderbuilderForValue)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
publicShipmentModel.BreakRule.BreakRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setLatestStartTime(Timestamp value)
publicShipmentModel.BreakRule.BreakRequest.BuildersetLatestStartTime(Timestampvalue)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
setLatestStartTime(Timestamp.Builder builderForValue)
publicShipmentModel.BreakRule.BreakRequest.BuildersetLatestStartTime(Timestamp.BuilderbuilderForValue)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
setMinDuration(Duration value)
publicShipmentModel.BreakRule.BreakRequest.BuildersetMinDuration(Durationvalue)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
setMinDuration(Duration.Builder builderForValue)
publicShipmentModel.BreakRule.BreakRequest.BuildersetMinDuration(Duration.BuilderbuilderForValue)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicShipmentModel.BreakRule.BreakRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentModel.BreakRule.BreakRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)