Interface ShipmentRoute.BreakOrBuilder (1.41.0)

publicstaticinterface ShipmentRoute.BreakOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

publicabstractDurationgetDuration()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

publicabstractDurationOrBuildergetDurationOrBuilder()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getStartTime()

publicabstractTimestampgetStartTime()

Start time of a break.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

publicabstractTimestampOrBuildergetStartTimeOrBuilder()

Start time of a break.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasDuration()

publicabstractbooleanhasDuration()

Duration of a break.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.

hasStartTime()

publicabstractbooleanhasStartTime()

Start time of a break.

.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.