Google Cloud Datalabeling V1beta1 Client - Class LabelVideoRequest (0.1.14)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class LabelVideoRequest.

Request message for LabelVideo.

Generated from protobuf message google.cloud.datalabeling.v1beta1.LabelVideoRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ video_classification_config Google\Cloud\DataLabeling\V1beta1\VideoClassificationConfig

Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

↳ object_detection_config Google\Cloud\DataLabeling\V1beta1\ObjectDetectionConfig

Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

↳ object_tracking_config Google\Cloud\DataLabeling\V1beta1\ObjectTrackingConfig

Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

↳ event_config Google\Cloud\DataLabeling\V1beta1\EventConfig

Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

↳ parent string

Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

↳ basic_config Google\Cloud\DataLabeling\V1beta1\HumanAnnotationConfig

Required. Basic human annotation config.

↳ feature int

Required. The type of video labeling task.

getVideoClassificationConfig

Configuration for video classification task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\VideoClassificationConfig|null

hasVideoClassificationConfig

setVideoClassificationConfig

Configuration for video classification task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\VideoClassificationConfig
Returns
TypeDescription
$this

getObjectDetectionConfig

Configuration for video object detection task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\ObjectDetectionConfig|null

hasObjectDetectionConfig

setObjectDetectionConfig

Configuration for video object detection task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\ObjectDetectionConfig
Returns
TypeDescription
$this

getObjectTrackingConfig

Configuration for video object tracking task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\ObjectTrackingConfig|null

hasObjectTrackingConfig

setObjectTrackingConfig

Configuration for video object tracking task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\ObjectTrackingConfig
Returns
TypeDescription
$this

getEventConfig

Configuration for video event task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\EventConfig|null

hasEventConfig

setEventConfig

Configuration for video event task.

One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\EventConfig
Returns
TypeDescription
$this

getParent

Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

Returns
TypeDescription
string

setParent

Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBasicConfig

Required. Basic human annotation config.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\HumanAnnotationConfig|null

hasBasicConfig

clearBasicConfig

setBasicConfig

Required. Basic human annotation config.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\HumanAnnotationConfig
Returns
TypeDescription
$this

getFeature

Required. The type of video labeling task.

Returns
TypeDescription
int

setFeature

Required. The type of video labeling task.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRequestConfig

Returns
TypeDescription
string