Package com.google.cloud.optimization.v1
Interface ShipmentModel.BreakRule.FrequencyConstraintOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShipmentModel.BreakRule.FrequencyConstraint
,ShipmentModel.BreakRule.FrequencyConstraint.Builder
- Enclosing class:
- ShipmentModel.BreakRule
public static interface ShipmentModel.BreakRule.FrequencyConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getMaxInterBreakDuration()
Required.com.google.protobuf.DurationOrBuilder
getMaxInterBreakDurationOrBuilder()
Required.com.google.protobuf.Duration
getMinBreakDuration()
Required.com.google.protobuf.DurationOrBuilder
getMinBreakDurationOrBuilder()
Required.boolean
hasMaxInterBreakDuration()
Required.boolean
hasMinBreakDuration()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMinBreakDuration
boolean hasMinBreakDuration()
Required. Minimum break duration for this constraint. Nonnegative. See description of `FrequencyConstraint`.
.google.protobuf.Duration min_break_duration = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the minBreakDuration field is set.
-
getMinBreakDuration
com.google.protobuf.Duration getMinBreakDuration()
Required. Minimum break duration for this constraint. Nonnegative. See description of `FrequencyConstraint`.
.google.protobuf.Duration min_break_duration = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The minBreakDuration.
-
getMinBreakDurationOrBuilder
com.google.protobuf.DurationOrBuilder getMinBreakDurationOrBuilder()
Required. Minimum break duration for this constraint. Nonnegative. See description of `FrequencyConstraint`.
.google.protobuf.Duration min_break_duration = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasMaxInterBreakDuration
boolean hasMaxInterBreakDuration()
Required. Maximum allowed span of any interval of time in the route that does not include at least partially a break of `duration >= min_break_duration`. Must be positive.
.google.protobuf.Duration max_inter_break_duration = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the maxInterBreakDuration field is set.
-
getMaxInterBreakDuration
com.google.protobuf.Duration getMaxInterBreakDuration()
Required. Maximum allowed span of any interval of time in the route that does not include at least partially a break of `duration >= min_break_duration`. Must be positive.
.google.protobuf.Duration max_inter_break_duration = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The maxInterBreakDuration.
-
getMaxInterBreakDurationOrBuilder
com.google.protobuf.DurationOrBuilder getMaxInterBreakDurationOrBuilder()
Required. Maximum allowed span of any interval of time in the route that does not include at least partially a break of `duration >= min_break_duration`. Must be positive.
.google.protobuf.Duration max_inter_break_duration = 2 [(.google.api.field_behavior) = REQUIRED];
-
-