Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class VideoMetadata.
Metadata describes the input video content.
Generated from protobuf message google.cloud.aiplatform.v1.VideoMetadata
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_offset |
Google\Protobuf\Duration
Optional. The start offset of the video. |
↳ end_offset |
Google\Protobuf\Duration
Optional. The end offset of the video. |
↳ fps |
float
Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0]. |
getStartOffset
Optional. The start offset of the video.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasStartOffset
clearStartOffset
setStartOffset
Optional. The start offset of the video.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndOffset
Optional. The end offset of the video.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasEndOffset
clearEndOffset
setEndOffset
Optional. The end offset of the video.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFps
Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].
| Returns | |
|---|---|
| Type | Description |
float |
|
setFps
Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0].
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|