Reference documentation and code samples for the Google Cloud Optimization V1 Client class PBBreak.
Data representing the execution of a break.
Generated from protobuf message google.cloud.optimization.v1.ShipmentRoute.Break
Namespace
Google \ Cloud \ Optimization \ V1 \ ShipmentRouteMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
Start time of a break. |
↳ duration |
Google\Protobuf\Duration
Duration of a break. |
getStartTime
Start time of a break.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Start time of a break.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getDuration
Duration of a break.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasDuration
clearDuration
setDuration
Duration of a break.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |