VideoIntelligence/src/V1/LabelDetectionConfig.php
public function setLabelDetectionMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1\LabelDetectionMode::class);
        $this->label_detection_mode = $var;

        return $this;
    }
public function setLabelDetectionMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1\LabelDetectionMode::class);
        $this->label_detection_mode = $var;

        return $this;
    }
public function setLabelDetectionMode ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ VideoIntelligence \ V1 \ LabelDetectionMode :: class ) ; $ this -> label_detection_mode = $ var ; return $ this ; }
What labels should be detected with LABEL_DETECTION, in addition to
video-level labels or segment-level labels.
If unspecified, defaults to `SHOT_MODE`.

Generated from protobuf field <code>.google.cloud.videointelligence.v1.LabelDetectionMode label_detection_mode = 1;</code>
@param int $var
@return $this
What labels should be detected with LABEL_DETECTION in addition to video - level labels or segment - level labels . If unspecified defaults to SHOT_MODE .