Interface ShipmentModel.BreakRule.BreakRequestOrBuilder (1.37.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the minDuration field is set.