Cloud Video Intelligence V1 Client - Class VideoAnnotationProgress (1.14.2)

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setInputUri

Video file location in Cloud Storage.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProgressPercent

Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.

Returns
TypeDescription
int

setProgressPercent

Approximate percentage processed thus far. Guaranteed to be 100 when fully processed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStartTime

Time when the request was received.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Time when the request was received.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Time of the most recent update.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Time of the most recent update.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getFeature

Specifies which feature is being tracked if the request contains more than one feature.

Returns
TypeDescription
int

setFeature

Specifies which feature is being tracked if the request contains more than one feature.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSegment

Specifies which segment is being tracked if the request contains more than one segment.

Returns
TypeDescription
Google\Cloud\VideoIntelligence\V1\VideoSegment|null

hasSegment

clearSegment

setSegment

Specifies which segment is being tracked if the request contains more than one segment.

Parameter
NameDescription
var Google\Cloud\VideoIntelligence\V1\VideoSegment
Returns
TypeDescription
$this