Interface BreakRule.FrequencyConstraintOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BreakRule.FrequencyConstraint, BreakRule.FrequencyConstraint.Builder
Enclosing class:
BreakRule

public static interface BreakRule.FrequencyConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    com.google.protobuf.Duration
    Required.
    com.google.protobuf.DurationOrBuilder
    Required.
    boolean
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

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