Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class RelativeTemporalPartition.
Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus type.
Generated from protobuf message google.cloud.visionai.v1.Partition.RelativeTemporalPartition
Namespace
Google \ Cloud \ VisionAI \ V1 \ PartitionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_offset |
Google\Protobuf\Duration
Start time offset of the partition. |
↳ end_offset |
Google\Protobuf\Duration
End time offset of the partition. |
getStartOffset
Start time offset of the partition.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasStartOffset
clearStartOffset
setStartOffset
Start time offset of the partition.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndOffset
End time offset of the partition.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasEndOffset
clearEndOffset
setEndOffset
End time offset of the partition.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|