Interface ShipmentModel.BreakRule.BreakRequestOrBuilder (1.50.0)

public static interface ShipmentModel.BreakRule.BreakRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEarliestStartTime()

public abstract Timestamp getEarliestStartTime()

Required. Lower bound (inclusive) on the start of the break.

.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The earliestStartTime.

getEarliestStartTimeOrBuilder()

public abstract TimestampOrBuilder getEarliestStartTimeOrBuilder()

Required. Lower bound (inclusive) on the start of the break.

.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getLatestStartTime()

public abstract Timestamp getLatestStartTime()

Required. Upper bound (inclusive) on the start of the break.

.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The latestStartTime.

getLatestStartTimeOrBuilder()

public abstract TimestampOrBuilder getLatestStartTimeOrBuilder()

Required. Upper bound (inclusive) on the start of the break.

.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getMinDuration()

public abstract Duration getMinDuration()

Required. Minimum duration of the break. Must be positive.

.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The minDuration.

getMinDurationOrBuilder()

public abstract DurationOrBuilder getMinDurationOrBuilder()

Required. Minimum duration of the break. Must be positive.

.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

hasEarliestStartTime()

public abstract boolean hasEarliestStartTime()

Required. Lower bound (inclusive) on the start of the break.

.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the earliestStartTime field is set.

hasLatestStartTime()

public abstract boolean hasLatestStartTime()

Required. Upper bound (inclusive) on the start of the break.

.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the latestStartTime field is set.

hasMinDuration()

public abstract boolean hasMinDuration()

Required. Minimum duration of the break. Must be positive.

.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the minDuration field is set.