Package com.google.cloud.optimization.v1
Interface ShipmentModel.BreakRule.BreakRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShipmentModel.BreakRule.BreakRequest,ShipmentModel.BreakRule.BreakRequest.Builder
- Enclosing class:
- ShipmentModel.BreakRule
public static interface ShipmentModel.BreakRule.BreakRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetEarliestStartTime()Required.com.google.protobuf.TimestampOrBuildergetEarliestStartTimeOrBuilder()Required.com.google.protobuf.TimestampgetLatestStartTime()Required.com.google.protobuf.TimestampOrBuildergetLatestStartTimeOrBuilder()Required.com.google.protobuf.DurationgetMinDuration()Required.com.google.protobuf.DurationOrBuildergetMinDurationOrBuilder()Required.booleanhasEarliestStartTime()Required.booleanhasLatestStartTime()Required.booleanhasMinDuration()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEarliestStartTime
boolean hasEarliestStartTime()
Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the earliestStartTime field is set.
-
getEarliestStartTime
com.google.protobuf.Timestamp getEarliestStartTime()
Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The earliestStartTime.
-
getEarliestStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEarliestStartTimeOrBuilder()
Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasLatestStartTime
boolean hasLatestStartTime()
Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the latestStartTime field is set.
-
getLatestStartTime
com.google.protobuf.Timestamp getLatestStartTime()
Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The latestStartTime.
-
getLatestStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLatestStartTimeOrBuilder()
Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasMinDuration
boolean hasMinDuration()
Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the minDuration field is set.
-
getMinDuration
com.google.protobuf.Duration getMinDuration()
Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The minDuration.
-
getMinDurationOrBuilder
com.google.protobuf.DurationOrBuilder getMinDurationOrBuilder()
Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
-
-