Package com.google.cloud.optimization.v1
Interface ShipmentRoute.BreakOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShipmentRoute.Break
,ShipmentRoute.Break.Builder
- Enclosing class:
- ShipmentRoute
public static interface ShipmentRoute.BreakOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getDuration()
Duration of a break.com.google.protobuf.DurationOrBuilder
getDurationOrBuilder()
Duration of a break.com.google.protobuf.Timestamp
getStartTime()
Start time of a break.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Start time of a break.boolean
hasDuration()
Duration of a break.boolean
hasStartTime()
Start time of a break.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStartTime
boolean hasStartTime()
Start time of a break.
.google.protobuf.Timestamp start_time = 1;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Start time of a break.
.google.protobuf.Timestamp start_time = 1;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start time of a break.
.google.protobuf.Timestamp start_time = 1;
-
hasDuration
boolean hasDuration()
Duration of a break.
.google.protobuf.Duration duration = 2;
- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()
Duration of a break.
.google.protobuf.Duration duration = 2;
- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
Duration of a break.
.google.protobuf.Duration duration = 2;
-
-