Interface BreakRule.FrequencyConstraintOrBuilder

    • 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];