Reference documentation and code samples for the Cloud Video Intelligence V1 Client class VideoAnnotationProgress.
Annotation progress for a single video.
Generated from protobuf message google.cloud.videointelligence.v1.VideoAnnotationProgress
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ input_uri |
string
Video file location in Cloud Storage. |
↳ progress_percent |
int
Approximate percentage processed thus far. Guaranteed to be 100 when fully processed. |
↳ start_time |
Google\Protobuf\Timestamp
Time when the request was received. |
↳ update_time |
Google\Protobuf\Timestamp
Time of the most recent update. |
↳ feature |
int
Specifies which feature is being tracked if the request contains more than one feature. |
↳ segment |
Google\Cloud\VideoIntelligence\V1\VideoSegment
Specifies which segment is being tracked if the request contains more than one segment. |
getInputUri
Video file location in Cloud Storage.
Returns | |
---|---|
Type | Description |
string |
setInputUri
Video file location in Cloud Storage.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProgressPercent
Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.
Returns | |
---|---|
Type | Description |
int |
setProgressPercent
Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Time when the request was received.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Time when the request was received.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Time of the most recent update.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Time of the most recent update.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getFeature
Specifies which feature is being tracked if the request contains more than one feature.
Returns | |
---|---|
Type | Description |
int |
setFeature
Specifies which feature is being tracked if the request contains more than one feature.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSegment
Specifies which segment is being tracked if the request contains more than one segment.
Returns | |
---|---|
Type | Description |
Google\Cloud\VideoIntelligence\V1\VideoSegment|null |
hasSegment
clearSegment
setSegment
Specifies which segment is being tracked if the request contains more than one segment.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\VideoIntelligence\V1\VideoSegment
|
Returns | |
---|---|
Type | Description |
$this |