Reference documentation and code samples for the Cloud Video Intelligence V1beta2 Client class VideoSegment.
Video segment.
Generated from protobuf message google.cloud.videointelligence.v1beta2.VideoSegment
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time_offset |
Google\Protobuf\Duration
Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive). |
↳ end_time_offset |
Google\Protobuf\Duration
Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive). |
getStartTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasStartTimeOffset
clearStartTimeOffset
setStartTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the start of the segment (inclusive).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getEndTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasEndTimeOffset
clearEndTimeOffset
setEndTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the end of the segment (inclusive).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |