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
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationDuration of a break.com.google.protobuf.DurationOrBuilderDuration of a break.com.google.protobuf.TimestampStart time of a break.com.google.protobuf.TimestampOrBuilderStart time of a break.booleanDuration of a break.booleanStart time of a break.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-