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
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.com.google.protobuf.DurationRequired.com.google.protobuf.DurationOrBuilderRequired.booleanRequired.booleanRequired.booleanRequired.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
-
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];
-