Interface ShipmentRoute.BreakOrBuilder (1.45.0)

public static interface ShipmentRoute.BreakOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Start time of a break.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Start time of a break.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasDuration()

public abstract boolean hasDuration()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.

hasStartTime()

public abstract boolean hasStartTime()

Start time of a break.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.