Interface ShipmentRoute.DelayOrBuilder (1.20.0)

publicstaticinterface ShipmentRoute.DelayOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

publicabstractDurationgetDuration()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

publicabstractDurationOrBuildergetDurationOrBuilder()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getStartTime()

publicabstractTimestampgetStartTime()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

publicabstractTimestampOrBuildergetStartTimeOrBuilder()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasDuration()

publicabstractbooleanhasDuration()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.

hasStartTime()

publicabstractbooleanhasStartTime()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.