- 1.83.0 (latest)
- 1.81.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
public static final class ShipmentModel.BreakRule.BreakRequest.Builder extends GeneratedMessage.Builder<ShipmentModel.BreakRule.BreakRequest.Builder> implements ShipmentModel.BreakRule.BreakRequestOrBuilder The sequence of breaks (i.e. their number and order) that apply to each
vehicle must be known beforehand. The repeated BreakRequests define
that sequence, in the order in which they must occur. Their time windows
(earliest_start_time / latest_start_time) may overlap, but they must
be compatible with the order (this is checked).
Protobuf type google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ShipmentModel.BreakRule.BreakRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ShipmentModel.BreakRule.BreakRequest build()| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest |
|
buildPartial()
public ShipmentModel.BreakRule.BreakRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest |
|
clear()
public ShipmentModel.BreakRule.BreakRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
clearEarliestStartTime()
public ShipmentModel.BreakRule.BreakRequest.Builder clearEarliestStartTime()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
clearLatestStartTime()
public ShipmentModel.BreakRule.BreakRequest.Builder clearLatestStartTime()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
clearMinDuration()
public ShipmentModel.BreakRule.BreakRequest.Builder clearMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
getDefaultInstanceForType()
public ShipmentModel.BreakRule.BreakRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEarliestStartTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The earliestStartTime. |
getEarliestStartTimeBuilder()
public Timestamp.Builder getEarliestStartTimeBuilder()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEarliestStartTimeOrBuilder()
public TimestampOrBuilder getEarliestStartTimeOrBuilder()Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLatestStartTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The latestStartTime. |
getLatestStartTimeBuilder()
public Timestamp.Builder getLatestStartTimeBuilder()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLatestStartTimeOrBuilder()
public TimestampOrBuilder getLatestStartTimeOrBuilder()Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getMinDuration()
public Duration getMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Duration |
The minDuration. |
getMinDurationBuilder()
public Duration.Builder getMinDurationBuilder()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMinDurationOrBuilder()
public DurationOrBuilder getMinDurationOrBuilder()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasEarliestStartTime()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the earliestStartTime field is set. |
hasLatestStartTime()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the latestStartTime field is set. |
hasMinDuration()
public boolean hasMinDuration()Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEarliestStartTime(Timestamp value)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeEarliestStartTime(Timestamp value)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
mergeFrom(ShipmentModel.BreakRule.BreakRequest other)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeFrom(ShipmentModel.BreakRule.BreakRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ShipmentModel.BreakRule.BreakRequest |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
mergeLatestStartTime(Timestamp value)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeLatestStartTime(Timestamp value)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
mergeMinDuration(Duration value)
public ShipmentModel.BreakRule.BreakRequest.Builder mergeMinDuration(Duration value)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setEarliestStartTime(Timestamp value)
public ShipmentModel.BreakRule.BreakRequest.Builder setEarliestStartTime(Timestamp value)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setEarliestStartTime(Timestamp.Builder builderForValue)
public ShipmentModel.BreakRule.BreakRequest.Builder setEarliestStartTime(Timestamp.Builder builderForValue)Required. Lower bound (inclusive) on the start of the break.
.google.protobuf.Timestamp earliest_start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setLatestStartTime(Timestamp value)
public ShipmentModel.BreakRule.BreakRequest.Builder setLatestStartTime(Timestamp value)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setLatestStartTime(Timestamp.Builder builderForValue)
public ShipmentModel.BreakRule.BreakRequest.Builder setLatestStartTime(Timestamp.Builder builderForValue)Required. Upper bound (inclusive) on the start of the break.
.google.protobuf.Timestamp latest_start_time = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setMinDuration(Duration value)
public ShipmentModel.BreakRule.BreakRequest.Builder setMinDuration(Duration value)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|
setMinDuration(Duration.Builder builderForValue)
public ShipmentModel.BreakRule.BreakRequest.Builder setMinDuration(Duration.Builder builderForValue)Required. Minimum duration of the break. Must be positive.
.google.protobuf.Duration min_duration = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ShipmentModel.BreakRule.BreakRequest.Builder |
|