public static interface ShipmentModel.BreakRule.FrequencyConstraintOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMaxInterBreakDuration()
public abstract 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];
Type | Description |
Duration | The maxInterBreakDuration. |
getMaxInterBreakDurationOrBuilder()
public abstract 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];
Type | Description |
DurationOrBuilder |
getMinBreakDuration()
public abstract 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];
Type | Description |
Duration | The minBreakDuration. |
getMinBreakDurationOrBuilder()
public abstract 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];
Type | Description |
DurationOrBuilder |
hasMaxInterBreakDuration()
public abstract 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];
Type | Description |
boolean | Whether the maxInterBreakDuration field is set. |
hasMinBreakDuration()
public abstract 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];
Type | Description |
boolean | Whether the minBreakDuration field is set. |