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.DurationgetDuration()Duration of a break.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()Duration of a break.com.google.protobuf.TimestampgetStartTime()Start time of a break.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Start time of a break.booleanhasDuration()Duration of a break.booleanhasStartTime()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;
-
-