# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/videointelligence_v1/proto/video_intelligence.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.longrunning import (
    operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/videointelligence_v1/proto/video_intelligence.proto",
    package="google.cloud.videointelligence.v1",
    syntax="proto3",
    serialized_options=_b(
        "\n%com.google.cloud.videointelligence.v1B\035VideoIntelligenceServiceProtoP\001ZRgoogle.golang.org/genproto/googleapis/cloud/videointelligence/v1;videointelligence\252\002!Google.Cloud.VideoIntelligence.V1\312\002!Google\\Cloud\\VideoIntelligence\\V1\352\002$Google::Cloud::VideoIntelligence::V1"
    ),
    serialized_pb=_b(
        '\n@google/cloud/videointelligence_v1/proto/video_intelligence.proto\x12!google.cloud.videointelligence.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto"\xef\x01\n\x14\x41nnotateVideoRequest\x12\x11\n\tinput_uri\x18\x01 \x01(\t\x12\x15\n\rinput_content\x18\x06 \x01(\x0c\x12<\n\x08\x66\x65\x61tures\x18\x02 \x03(\x0e\x32*.google.cloud.videointelligence.v1.Feature\x12\x46\n\rvideo_context\x18\x03 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoContext\x12\x12\n\noutput_uri\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"\xe6\x05\n\x0cVideoContext\x12\x41\n\x08segments\x18\x01 \x03(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment\x12W\n\x16label_detection_config\x18\x02 \x01(\x0b\x32\x37.google.cloud.videointelligence.v1.LabelDetectionConfig\x12\x62\n\x1cshot_change_detection_config\x18\x03 \x01(\x0b\x32<.google.cloud.videointelligence.v1.ShotChangeDetectionConfig\x12l\n!explicit_content_detection_config\x18\x04 \x01(\x0b\x32\x41.google.cloud.videointelligence.v1.ExplicitContentDetectionConfig\x12U\n\x15\x66\x61\x63\x65_detection_config\x18\x05 \x01(\x0b\x32\x36.google.cloud.videointelligence.v1.FaceDetectionConfig\x12\x61\n\x1bspeech_transcription_config\x18\x06 \x01(\x0b\x32<.google.cloud.videointelligence.v1.SpeechTranscriptionConfig\x12U\n\x15text_detection_config\x18\x08 \x01(\x0b\x32\x36.google.cloud.videointelligence.v1.TextDetectionConfig\x12W\n\x16object_tracking_config\x18\r \x01(\x0b\x32\x37.google.cloud.videointelligence.v1.ObjectTrackingConfig"\xdd\x01\n\x14LabelDetectionConfig\x12S\n\x14label_detection_mode\x18\x01 \x01(\x0e\x32\x35.google.cloud.videointelligence.v1.LabelDetectionMode\x12\x19\n\x11stationary_camera\x18\x02 \x01(\x08\x12\r\n\x05model\x18\x03 \x01(\t\x12"\n\x1a\x66rame_confidence_threshold\x18\x04 \x01(\x02\x12"\n\x1avideo_confidence_threshold\x18\x05 \x01(\x02"*\n\x19ShotChangeDetectionConfig\x12\r\n\x05model\x18\x01 \x01(\t"/\n\x1e\x45xplicitContentDetectionConfig\x12\r\n\x05model\x18\x01 \x01(\t"D\n\x13\x46\x61\x63\x65\x44\x65tectionConfig\x12\r\n\x05model\x18\x01 \x01(\t\x12\x1e\n\x16include_bounding_boxes\x18\x02 \x01(\x08"%\n\x14ObjectTrackingConfig\x12\r\n\x05model\x18\x01 \x01(\t"<\n\x13TextDetectionConfig\x12\x16\n\x0elanguage_hints\x18\x01 \x03(\t\x12\r\n\x05model\x18\x02 \x01(\t"x\n\x0cVideoSegment\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"d\n\x0cLabelSegment\x12@\n\x07segment\x18\x01 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment\x12\x12\n\nconfidence\x18\x02 \x01(\x02"P\n\nLabelFrame\x12.\n\x0btime_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nconfidence\x18\x02 \x01(\x02"G\n\x06\x45ntity\x12\x11\n\tentity_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x15\n\rlanguage_code\x18\x03 \x01(\t"\x94\x02\n\x0fLabelAnnotation\x12\x39\n\x06\x65ntity\x18\x01 \x01(\x0b\x32).google.cloud.videointelligence.v1.Entity\x12\x44\n\x11\x63\x61tegory_entities\x18\x02 \x03(\x0b\x32).google.cloud.videointelligence.v1.Entity\x12\x41\n\x08segments\x18\x03 \x03(\x0b\x32/.google.cloud.videointelligence.v1.LabelSegment\x12=\n\x06\x66rames\x18\x04 \x03(\x0b\x32-.google.cloud.videointelligence.v1.LabelFrame"\x95\x01\n\x14\x45xplicitContentFrame\x12.\n\x0btime_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12M\n\x16pornography_likelihood\x18\x02 \x01(\x0e\x32-.google.cloud.videointelligence.v1.Likelihood"d\n\x19\x45xplicitContentAnnotation\x12G\n\x06\x66rames\x18\x01 \x03(\x0b\x32\x37.google.cloud.videointelligence.v1.ExplicitContentFrame"Q\n\x15NormalizedBoundingBox\x12\x0c\n\x04left\x18\x01 \x01(\x02\x12\x0b\n\x03top\x18\x02 \x01(\x02\x12\r\n\x05right\x18\x03 \x01(\x02\x12\x0e\n\x06\x62ottom\x18\x04 \x01(\x02"O\n\x0b\x46\x61\x63\x65Segment\x12@\n\x07segment\x18\x01 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment"\x98\x01\n\tFaceFrame\x12[\n\x19normalized_bounding_boxes\x18\x01 \x03(\x0b\x32\x38.google.cloud.videointelligence.v1.NormalizedBoundingBox\x12.\n\x0btime_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xa3\x01\n\x0e\x46\x61\x63\x65\x41nnotation\x12\x11\n\tthumbnail\x18\x01 \x01(\x0c\x12@\n\x08segments\x18\x02 \x03(\x0b\x32..google.cloud.videointelligence.v1.FaceSegment\x12<\n\x06\x66rames\x18\x03 \x03(\x0b\x32,.google.cloud.videointelligence.v1.FaceFrame"\x80\x07\n\x16VideoAnnotationResults\x12\x11\n\tinput_uri\x18\x01 \x01(\t\x12@\n\x07segment\x18\n \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment\x12U\n\x19segment_label_annotations\x18\x02 \x03(\x0b\x32\x32.google.cloud.videointelligence.v1.LabelAnnotation\x12R\n\x16shot_label_annotations\x18\x03 \x03(\x0b\x32\x32.google.cloud.videointelligence.v1.LabelAnnotation\x12S\n\x17\x66rame_label_annotations\x18\x04 \x03(\x0b\x32\x32.google.cloud.videointelligence.v1.LabelAnnotation\x12K\n\x10\x66\x61\x63\x65_annotations\x18\x05 \x03(\x0b\x32\x31.google.cloud.videointelligence.v1.FaceAnnotation\x12I\n\x10shot_annotations\x18\x06 \x03(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment\x12Y\n\x13\x65xplicit_annotation\x18\x07 \x01(\x0b\x32<.google.cloud.videointelligence.v1.ExplicitContentAnnotation\x12U\n\x15speech_transcriptions\x18\x0b \x03(\x0b\x32\x36.google.cloud.videointelligence.v1.SpeechTranscription\x12K\n\x10text_annotations\x18\x0c \x03(\x0b\x32\x31.google.cloud.videointelligence.v1.TextAnnotation\x12W\n\x12object_annotations\x18\x0e \x03(\x0b\x32;.google.cloud.videointelligence.v1.ObjectTrackingAnnotation\x12!\n\x05\x65rror\x18\t \x01(\x0b\x32\x12.google.rpc.Status"n\n\x15\x41nnotateVideoResponse\x12U\n\x12\x61nnotation_results\x18\x01 \x03(\x0b\x32\x39.google.cloud.videointelligence.v1.VideoAnnotationResults"\xa6\x02\n\x17VideoAnnotationProgress\x12\x11\n\tinput_uri\x18\x01 \x01(\t\x12\x18\n\x10progress_percent\x18\x02 \x01(\x05\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x07\x66\x65\x61ture\x18\x05 \x01(\x0e\x32*.google.cloud.videointelligence.v1.Feature\x12@\n\x07segment\x18\x06 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment"p\n\x15\x41nnotateVideoProgress\x12W\n\x13\x61nnotation_progress\x18\x01 \x03(\x0b\x32:.google.cloud.videointelligence.v1.VideoAnnotationProgress"\xd4\x02\n\x19SpeechTranscriptionConfig\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x18\n\x10max_alternatives\x18\x02 \x01(\x05\x12\x18\n\x10\x66ilter_profanity\x18\x03 \x01(\x08\x12I\n\x0fspeech_contexts\x18\x04 \x03(\x0b\x32\x30.google.cloud.videointelligence.v1.SpeechContext\x12$\n\x1c\x65nable_automatic_punctuation\x18\x05 \x01(\x08\x12\x14\n\x0c\x61udio_tracks\x18\x06 \x03(\x05\x12"\n\x1a\x65nable_speaker_diarization\x18\x07 \x01(\x08\x12!\n\x19\x64iarization_speaker_count\x18\x08 \x01(\x05\x12\x1e\n\x16\x65nable_word_confidence\x18\t \x01(\x08" \n\rSpeechContext\x12\x0f\n\x07phrases\x18\x01 \x03(\t"\x83\x01\n\x13SpeechTranscription\x12U\n\x0c\x61lternatives\x18\x01 \x03(\x0b\x32?.google.cloud.videointelligence.v1.SpeechRecognitionAlternative\x12\x15\n\rlanguage_code\x18\x02 \x01(\t"\x82\x01\n\x1cSpeechRecognitionAlternative\x12\x12\n\ntranscript\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12:\n\x05words\x18\x03 \x03(\x0b\x32+.google.cloud.videointelligence.v1.WordInfo"\x9d\x01\n\x08WordInfo\x12-\n\nstart_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12+\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04word\x18\x03 \x01(\t\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x13\n\x0bspeaker_tag\x18\x05 \x01(\x05"(\n\x10NormalizedVertex\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02"_\n\x16NormalizedBoundingPoly\x12\x45\n\x08vertices\x18\x01 \x03(\x0b\x32\x33.google.cloud.videointelligence.v1.NormalizedVertex"\xa1\x01\n\x0bTextSegment\x12@\n\x07segment\x18\x01 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegment\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12<\n\x06\x66rames\x18\x03 \x03(\x0b\x32,.google.cloud.videointelligence.v1.TextFrame"\x94\x01\n\tTextFrame\x12W\n\x14rotated_bounding_box\x18\x01 \x01(\x0b\x32\x39.google.cloud.videointelligence.v1.NormalizedBoundingPoly\x12.\n\x0btime_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"`\n\x0eTextAnnotation\x12\x0c\n\x04text\x18\x01 \x01(\t\x12@\n\x08segments\x18\x02 \x03(\x0b\x32..google.cloud.videointelligence.v1.TextSegment"\xa0\x01\n\x13ObjectTrackingFrame\x12Y\n\x17normalized_bounding_box\x18\x01 \x01(\x0b\x32\x38.google.cloud.videointelligence.v1.NormalizedBoundingBox\x12.\n\x0btime_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\x97\x02\n\x18ObjectTrackingAnnotation\x12\x42\n\x07segment\x18\x03 \x01(\x0b\x32/.google.cloud.videointelligence.v1.VideoSegmentH\x00\x12\x12\n\x08track_id\x18\x05 \x01(\x03H\x00\x12\x39\n\x06\x65ntity\x18\x01 \x01(\x0b\x32).google.cloud.videointelligence.v1.Entity\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x46\n\x06\x66rames\x18\x02 \x03(\x0b\x32\x36.google.cloud.videointelligence.v1.ObjectTrackingFrameB\x0c\n\ntrack_info*\xc9\x01\n\x07\x46\x65\x61ture\x12\x17\n\x13\x46\x45\x41TURE_UNSPECIFIED\x10\x00\x12\x13\n\x0fLABEL_DETECTION\x10\x01\x12\x19\n\x15SHOT_CHANGE_DETECTION\x10\x02\x12\x1e\n\x1a\x45XPLICIT_CONTENT_DETECTION\x10\x03\x12\x12\n\x0e\x46\x41\x43\x45_DETECTION\x10\x04\x12\x18\n\x14SPEECH_TRANSCRIPTION\x10\x06\x12\x12\n\x0eTEXT_DETECTION\x10\x07\x12\x13\n\x0fOBJECT_TRACKING\x10\t*r\n\x12LabelDetectionMode\x12$\n LABEL_DETECTION_MODE_UNSPECIFIED\x10\x00\x12\r\n\tSHOT_MODE\x10\x01\x12\x0e\n\nFRAME_MODE\x10\x02\x12\x17\n\x13SHOT_AND_FRAME_MODE\x10\x03*t\n\nLikelihood\x12\x1a\n\x16LIKELIHOOD_UNSPECIFIED\x10\x00\x12\x11\n\rVERY_UNLIKELY\x10\x01\x12\x0c\n\x08UNLIKELY\x10\x02\x12\x0c\n\x08POSSIBLE\x10\x03\x12\n\n\x06LIKELY\x10\x04\x12\x0f\n\x0bVERY_LIKELY\x10\x05\x32\xfa\x01\n\x18VideoIntelligenceService\x12\x87\x01\n\rAnnotateVideo\x12\x37.google.cloud.videointelligence.v1.AnnotateVideoRequest\x1a\x1d.google.longrunning.Operation"\x1e\x82\xd3\xe4\x93\x02\x18"\x13/v1/videos:annotate:\x01*\x1aT\xca\x41 videointelligence.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8b\x02\n%com.google.cloud.videointelligence.v1B\x1dVideoIntelligenceServiceProtoP\x01ZRgoogle.golang.org/genproto/googleapis/cloud/videointelligence/v1;videointelligence\xaa\x02!Google.Cloud.VideoIntelligence.V1\xca\x02!Google\\Cloud\\VideoIntelligence\\V1\xea\x02$Google::Cloud::VideoIntelligence::V1b\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
        google_dot_rpc_dot_status__pb2.DESCRIPTOR,
    ],
)

_FEATURE = _descriptor.EnumDescriptor(
    name="Feature",
    full_name="google.cloud.videointelligence.v1.Feature",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="FEATURE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="LABEL_DETECTION",
            index=1,
            number=1,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="SHOT_CHANGE_DETECTION",
            index=2,
            number=2,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="EXPLICIT_CONTENT_DETECTION",
            index=3,
            number=3,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="FACE_DETECTION", index=4, number=4, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="SPEECH_TRANSCRIPTION",
            index=5,
            number=6,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="TEXT_DETECTION", index=6, number=7, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="OBJECT_TRACKING",
            index=7,
            number=9,
            serialized_options=None,
            type=None,
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=6381,
    serialized_end=6582,
)
_sym_db.RegisterEnumDescriptor(_FEATURE)

Feature = enum_type_wrapper.EnumTypeWrapper(_FEATURE)
_LABELDETECTIONMODE = _descriptor.EnumDescriptor(
    name="LabelDetectionMode",
    full_name="google.cloud.videointelligence.v1.LabelDetectionMode",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="LABEL_DETECTION_MODE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="SHOT_MODE", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="FRAME_MODE", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="SHOT_AND_FRAME_MODE",
            index=3,
            number=3,
            serialized_options=None,
            type=None,
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=6584,
    serialized_end=6698,
)
_sym_db.RegisterEnumDescriptor(_LABELDETECTIONMODE)

LabelDetectionMode = enum_type_wrapper.EnumTypeWrapper(_LABELDETECTIONMODE)
_LIKELIHOOD = _descriptor.EnumDescriptor(
    name="Likelihood",
    full_name="google.cloud.videointelligence.v1.Likelihood",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="LIKELIHOOD_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="VERY_UNLIKELY", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="UNLIKELY", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="POSSIBLE", index=3, number=3, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="LIKELY", index=4, number=4, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="VERY_LIKELY", index=5, number=5, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=6700,
    serialized_end=6816,
)
_sym_db.RegisterEnumDescriptor(_LIKELIHOOD)

Likelihood = enum_type_wrapper.EnumTypeWrapper(_LIKELIHOOD)
FEATURE_UNSPECIFIED = 0
LABEL_DETECTION = 1
SHOT_CHANGE_DETECTION = 2
EXPLICIT_CONTENT_DETECTION = 3
FACE_DETECTION = 4
SPEECH_TRANSCRIPTION = 6
TEXT_DETECTION = 7
OBJECT_TRACKING = 9
LABEL_DETECTION_MODE_UNSPECIFIED = 0
SHOT_MODE = 1
FRAME_MODE = 2
SHOT_AND_FRAME_MODE = 3
LIKELIHOOD_UNSPECIFIED = 0
VERY_UNLIKELY = 1
UNLIKELY = 2
POSSIBLE = 3
LIKELY = 4
VERY_LIKELY = 5


_ANNOTATEVIDEOREQUEST = _descriptor.Descriptor(
    name="AnnotateVideoRequest",
    full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="input_uri",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.input_uri",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="input_content",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.input_content",
            index=1,
            number=6,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="features",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.features",
            index=2,
            number=2,
            type=14,
            cpp_type=8,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="video_context",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.video_context",
            index=3,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="output_uri",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.output_uri",
            index=4,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="location_id",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoRequest.location_id",
            index=5,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=286,
    serialized_end=525,
)


_VIDEOCONTEXT = _descriptor.Descriptor(
    name="VideoContext",
    full_name="google.cloud.videointelligence.v1.VideoContext",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="segments",
            full_name="google.cloud.videointelligence.v1.VideoContext.segments",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="label_detection_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.label_detection_config",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="shot_change_detection_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.shot_change_detection_config",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="explicit_content_detection_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.explicit_content_detection_config",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="face_detection_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.face_detection_config",
            index=4,
            number=5,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="speech_transcription_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.speech_transcription_config",
            index=5,
            number=6,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="text_detection_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.text_detection_config",
            index=6,
            number=8,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="object_tracking_config",
            full_name="google.cloud.videointelligence.v1.VideoContext.object_tracking_config",
            index=7,
            number=13,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=528,
    serialized_end=1270,
)


_LABELDETECTIONCONFIG = _descriptor.Descriptor(
    name="LabelDetectionConfig",
    full_name="google.cloud.videointelligence.v1.LabelDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="label_detection_mode",
            full_name="google.cloud.videointelligence.v1.LabelDetectionConfig.label_detection_mode",
            index=0,
            number=1,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="stationary_camera",
            full_name="google.cloud.videointelligence.v1.LabelDetectionConfig.stationary_camera",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.LabelDetectionConfig.model",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frame_confidence_threshold",
            full_name="google.cloud.videointelligence.v1.LabelDetectionConfig.frame_confidence_threshold",
            index=3,
            number=4,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="video_confidence_threshold",
            full_name="google.cloud.videointelligence.v1.LabelDetectionConfig.video_confidence_threshold",
            index=4,
            number=5,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1273,
    serialized_end=1494,
)


_SHOTCHANGEDETECTIONCONFIG = _descriptor.Descriptor(
    name="ShotChangeDetectionConfig",
    full_name="google.cloud.videointelligence.v1.ShotChangeDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.ShotChangeDetectionConfig.model",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1496,
    serialized_end=1538,
)


_EXPLICITCONTENTDETECTIONCONFIG = _descriptor.Descriptor(
    name="ExplicitContentDetectionConfig",
    full_name="google.cloud.videointelligence.v1.ExplicitContentDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.ExplicitContentDetectionConfig.model",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1540,
    serialized_end=1587,
)


_FACEDETECTIONCONFIG = _descriptor.Descriptor(
    name="FaceDetectionConfig",
    full_name="google.cloud.videointelligence.v1.FaceDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.FaceDetectionConfig.model",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="include_bounding_boxes",
            full_name="google.cloud.videointelligence.v1.FaceDetectionConfig.include_bounding_boxes",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1589,
    serialized_end=1657,
)


_OBJECTTRACKINGCONFIG = _descriptor.Descriptor(
    name="ObjectTrackingConfig",
    full_name="google.cloud.videointelligence.v1.ObjectTrackingConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingConfig.model",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1659,
    serialized_end=1696,
)


_TEXTDETECTIONCONFIG = _descriptor.Descriptor(
    name="TextDetectionConfig",
    full_name="google.cloud.videointelligence.v1.TextDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="language_hints",
            full_name="google.cloud.videointelligence.v1.TextDetectionConfig.language_hints",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="model",
            full_name="google.cloud.videointelligence.v1.TextDetectionConfig.model",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1698,
    serialized_end=1758,
)


_VIDEOSEGMENT = _descriptor.Descriptor(
    name="VideoSegment",
    full_name="google.cloud.videointelligence.v1.VideoSegment",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="start_time_offset",
            full_name="google.cloud.videointelligence.v1.VideoSegment.start_time_offset",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="end_time_offset",
            full_name="google.cloud.videointelligence.v1.VideoSegment.end_time_offset",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1760,
    serialized_end=1880,
)


_LABELSEGMENT = _descriptor.Descriptor(
    name="LabelSegment",
    full_name="google.cloud.videointelligence.v1.LabelSegment",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.LabelSegment.segment",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.LabelSegment.confidence",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1882,
    serialized_end=1982,
)


_LABELFRAME = _descriptor.Descriptor(
    name="LabelFrame",
    full_name="google.cloud.videointelligence.v1.LabelFrame",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="time_offset",
            full_name="google.cloud.videointelligence.v1.LabelFrame.time_offset",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.LabelFrame.confidence",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1984,
    serialized_end=2064,
)


_ENTITY = _descriptor.Descriptor(
    name="Entity",
    full_name="google.cloud.videointelligence.v1.Entity",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="entity_id",
            full_name="google.cloud.videointelligence.v1.Entity.entity_id",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="description",
            full_name="google.cloud.videointelligence.v1.Entity.description",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="language_code",
            full_name="google.cloud.videointelligence.v1.Entity.language_code",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2066,
    serialized_end=2137,
)


_LABELANNOTATION = _descriptor.Descriptor(
    name="LabelAnnotation",
    full_name="google.cloud.videointelligence.v1.LabelAnnotation",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="entity",
            full_name="google.cloud.videointelligence.v1.LabelAnnotation.entity",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="category_entities",
            full_name="google.cloud.videointelligence.v1.LabelAnnotation.category_entities",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segments",
            full_name="google.cloud.videointelligence.v1.LabelAnnotation.segments",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frames",
            full_name="google.cloud.videointelligence.v1.LabelAnnotation.frames",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2140,
    serialized_end=2416,
)


_EXPLICITCONTENTFRAME = _descriptor.Descriptor(
    name="ExplicitContentFrame",
    full_name="google.cloud.videointelligence.v1.ExplicitContentFrame",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="time_offset",
            full_name="google.cloud.videointelligence.v1.ExplicitContentFrame.time_offset",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="pornography_likelihood",
            full_name="google.cloud.videointelligence.v1.ExplicitContentFrame.pornography_likelihood",
            index=1,
            number=2,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2419,
    serialized_end=2568,
)


_EXPLICITCONTENTANNOTATION = _descriptor.Descriptor(
    name="ExplicitContentAnnotation",
    full_name="google.cloud.videointelligence.v1.ExplicitContentAnnotation",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="frames",
            full_name="google.cloud.videointelligence.v1.ExplicitContentAnnotation.frames",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2570,
    serialized_end=2670,
)


_NORMALIZEDBOUNDINGBOX = _descriptor.Descriptor(
    name="NormalizedBoundingBox",
    full_name="google.cloud.videointelligence.v1.NormalizedBoundingBox",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="left",
            full_name="google.cloud.videointelligence.v1.NormalizedBoundingBox.left",
            index=0,
            number=1,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="top",
            full_name="google.cloud.videointelligence.v1.NormalizedBoundingBox.top",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="right",
            full_name="google.cloud.videointelligence.v1.NormalizedBoundingBox.right",
            index=2,
            number=3,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="bottom",
            full_name="google.cloud.videointelligence.v1.NormalizedBoundingBox.bottom",
            index=3,
            number=4,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2672,
    serialized_end=2753,
)


_FACESEGMENT = _descriptor.Descriptor(
    name="FaceSegment",
    full_name="google.cloud.videointelligence.v1.FaceSegment",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.FaceSegment.segment",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2755,
    serialized_end=2834,
)


_FACEFRAME = _descriptor.Descriptor(
    name="FaceFrame",
    full_name="google.cloud.videointelligence.v1.FaceFrame",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="normalized_bounding_boxes",
            full_name="google.cloud.videointelligence.v1.FaceFrame.normalized_bounding_boxes",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="time_offset",
            full_name="google.cloud.videointelligence.v1.FaceFrame.time_offset",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2837,
    serialized_end=2989,
)


_FACEANNOTATION = _descriptor.Descriptor(
    name="FaceAnnotation",
    full_name="google.cloud.videointelligence.v1.FaceAnnotation",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="thumbnail",
            full_name="google.cloud.videointelligence.v1.FaceAnnotation.thumbnail",
            index=0,
            number=1,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segments",
            full_name="google.cloud.videointelligence.v1.FaceAnnotation.segments",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frames",
            full_name="google.cloud.videointelligence.v1.FaceAnnotation.frames",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2992,
    serialized_end=3155,
)


_VIDEOANNOTATIONRESULTS = _descriptor.Descriptor(
    name="VideoAnnotationResults",
    full_name="google.cloud.videointelligence.v1.VideoAnnotationResults",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="input_uri",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.input_uri",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.segment",
            index=1,
            number=10,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segment_label_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.segment_label_annotations",
            index=2,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="shot_label_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.shot_label_annotations",
            index=3,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frame_label_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.frame_label_annotations",
            index=4,
            number=4,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="face_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.face_annotations",
            index=5,
            number=5,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="shot_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.shot_annotations",
            index=6,
            number=6,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="explicit_annotation",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.explicit_annotation",
            index=7,
            number=7,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="speech_transcriptions",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.speech_transcriptions",
            index=8,
            number=11,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="text_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.text_annotations",
            index=9,
            number=12,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="object_annotations",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.object_annotations",
            index=10,
            number=14,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="error",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationResults.error",
            index=11,
            number=9,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=3158,
    serialized_end=4054,
)


_ANNOTATEVIDEORESPONSE = _descriptor.Descriptor(
    name="AnnotateVideoResponse",
    full_name="google.cloud.videointelligence.v1.AnnotateVideoResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_results",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoResponse.annotation_results",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4056,
    serialized_end=4166,
)


_VIDEOANNOTATIONPROGRESS = _descriptor.Descriptor(
    name="VideoAnnotationProgress",
    full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="input_uri",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.input_uri",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="progress_percent",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.progress_percent",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="start_time",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.start_time",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="update_time",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.update_time",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="feature",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.feature",
            index=4,
            number=5,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.VideoAnnotationProgress.segment",
            index=5,
            number=6,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4169,
    serialized_end=4463,
)


_ANNOTATEVIDEOPROGRESS = _descriptor.Descriptor(
    name="AnnotateVideoProgress",
    full_name="google.cloud.videointelligence.v1.AnnotateVideoProgress",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_progress",
            full_name="google.cloud.videointelligence.v1.AnnotateVideoProgress.annotation_progress",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4465,
    serialized_end=4577,
)


_SPEECHTRANSCRIPTIONCONFIG = _descriptor.Descriptor(
    name="SpeechTranscriptionConfig",
    full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="language_code",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.language_code",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="max_alternatives",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.max_alternatives",
            index=1,
            number=2,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="filter_profanity",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.filter_profanity",
            index=2,
            number=3,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="speech_contexts",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.speech_contexts",
            index=3,
            number=4,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="enable_automatic_punctuation",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.enable_automatic_punctuation",
            index=4,
            number=5,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="audio_tracks",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.audio_tracks",
            index=5,
            number=6,
            type=5,
            cpp_type=1,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="enable_speaker_diarization",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.enable_speaker_diarization",
            index=6,
            number=7,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="diarization_speaker_count",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.diarization_speaker_count",
            index=7,
            number=8,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="enable_word_confidence",
            full_name="google.cloud.videointelligence.v1.SpeechTranscriptionConfig.enable_word_confidence",
            index=8,
            number=9,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4580,
    serialized_end=4920,
)


_SPEECHCONTEXT = _descriptor.Descriptor(
    name="SpeechContext",
    full_name="google.cloud.videointelligence.v1.SpeechContext",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="phrases",
            full_name="google.cloud.videointelligence.v1.SpeechContext.phrases",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4922,
    serialized_end=4954,
)


_SPEECHTRANSCRIPTION = _descriptor.Descriptor(
    name="SpeechTranscription",
    full_name="google.cloud.videointelligence.v1.SpeechTranscription",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="alternatives",
            full_name="google.cloud.videointelligence.v1.SpeechTranscription.alternatives",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="language_code",
            full_name="google.cloud.videointelligence.v1.SpeechTranscription.language_code",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=4957,
    serialized_end=5088,
)


_SPEECHRECOGNITIONALTERNATIVE = _descriptor.Descriptor(
    name="SpeechRecognitionAlternative",
    full_name="google.cloud.videointelligence.v1.SpeechRecognitionAlternative",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="transcript",
            full_name="google.cloud.videointelligence.v1.SpeechRecognitionAlternative.transcript",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.SpeechRecognitionAlternative.confidence",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="words",
            full_name="google.cloud.videointelligence.v1.SpeechRecognitionAlternative.words",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5091,
    serialized_end=5221,
)


_WORDINFO = _descriptor.Descriptor(
    name="WordInfo",
    full_name="google.cloud.videointelligence.v1.WordInfo",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="start_time",
            full_name="google.cloud.videointelligence.v1.WordInfo.start_time",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="end_time",
            full_name="google.cloud.videointelligence.v1.WordInfo.end_time",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="word",
            full_name="google.cloud.videointelligence.v1.WordInfo.word",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.WordInfo.confidence",
            index=3,
            number=4,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="speaker_tag",
            full_name="google.cloud.videointelligence.v1.WordInfo.speaker_tag",
            index=4,
            number=5,
            type=5,
            cpp_type=1,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5224,
    serialized_end=5381,
)


_NORMALIZEDVERTEX = _descriptor.Descriptor(
    name="NormalizedVertex",
    full_name="google.cloud.videointelligence.v1.NormalizedVertex",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="x",
            full_name="google.cloud.videointelligence.v1.NormalizedVertex.x",
            index=0,
            number=1,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="y",
            full_name="google.cloud.videointelligence.v1.NormalizedVertex.y",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5383,
    serialized_end=5423,
)


_NORMALIZEDBOUNDINGPOLY = _descriptor.Descriptor(
    name="NormalizedBoundingPoly",
    full_name="google.cloud.videointelligence.v1.NormalizedBoundingPoly",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="vertices",
            full_name="google.cloud.videointelligence.v1.NormalizedBoundingPoly.vertices",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5425,
    serialized_end=5520,
)


_TEXTSEGMENT = _descriptor.Descriptor(
    name="TextSegment",
    full_name="google.cloud.videointelligence.v1.TextSegment",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.TextSegment.segment",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.TextSegment.confidence",
            index=1,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frames",
            full_name="google.cloud.videointelligence.v1.TextSegment.frames",
            index=2,
            number=3,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5523,
    serialized_end=5684,
)


_TEXTFRAME = _descriptor.Descriptor(
    name="TextFrame",
    full_name="google.cloud.videointelligence.v1.TextFrame",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="rotated_bounding_box",
            full_name="google.cloud.videointelligence.v1.TextFrame.rotated_bounding_box",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="time_offset",
            full_name="google.cloud.videointelligence.v1.TextFrame.time_offset",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5687,
    serialized_end=5835,
)


_TEXTANNOTATION = _descriptor.Descriptor(
    name="TextAnnotation",
    full_name="google.cloud.videointelligence.v1.TextAnnotation",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="text",
            full_name="google.cloud.videointelligence.v1.TextAnnotation.text",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="segments",
            full_name="google.cloud.videointelligence.v1.TextAnnotation.segments",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5837,
    serialized_end=5933,
)


_OBJECTTRACKINGFRAME = _descriptor.Descriptor(
    name="ObjectTrackingFrame",
    full_name="google.cloud.videointelligence.v1.ObjectTrackingFrame",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="normalized_bounding_box",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingFrame.normalized_bounding_box",
            index=0,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="time_offset",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingFrame.time_offset",
            index=1,
            number=2,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=5936,
    serialized_end=6096,
)


_OBJECTTRACKINGANNOTATION = _descriptor.Descriptor(
    name="ObjectTrackingAnnotation",
    full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="segment",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.segment",
            index=0,
            number=3,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="track_id",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.track_id",
            index=1,
            number=5,
            type=3,
            cpp_type=2,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="entity",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.entity",
            index=2,
            number=1,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="confidence",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.confidence",
            index=3,
            number=4,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=float(0),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frames",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.frames",
            index=4,
            number=2,
            type=11,
            cpp_type=10,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="track_info",
            full_name="google.cloud.videointelligence.v1.ObjectTrackingAnnotation.track_info",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=6099,
    serialized_end=6378,
)

_ANNOTATEVIDEOREQUEST.fields_by_name["features"].enum_type = _FEATURE
_ANNOTATEVIDEOREQUEST.fields_by_name["video_context"].message_type = _VIDEOCONTEXT
_VIDEOCONTEXT.fields_by_name["segments"].message_type = _VIDEOSEGMENT
_VIDEOCONTEXT.fields_by_name[
    "label_detection_config"
].message_type = _LABELDETECTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "shot_change_detection_config"
].message_type = _SHOTCHANGEDETECTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "explicit_content_detection_config"
].message_type = _EXPLICITCONTENTDETECTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "face_detection_config"
].message_type = _FACEDETECTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "speech_transcription_config"
].message_type = _SPEECHTRANSCRIPTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "text_detection_config"
].message_type = _TEXTDETECTIONCONFIG
_VIDEOCONTEXT.fields_by_name[
    "object_tracking_config"
].message_type = _OBJECTTRACKINGCONFIG
_LABELDETECTIONCONFIG.fields_by_name[
    "label_detection_mode"
].enum_type = _LABELDETECTIONMODE
_VIDEOSEGMENT.fields_by_name[
    "start_time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_VIDEOSEGMENT.fields_by_name[
    "end_time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_LABELSEGMENT.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_LABELFRAME.fields_by_name[
    "time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_LABELANNOTATION.fields_by_name["entity"].message_type = _ENTITY
_LABELANNOTATION.fields_by_name["category_entities"].message_type = _ENTITY
_LABELANNOTATION.fields_by_name["segments"].message_type = _LABELSEGMENT
_LABELANNOTATION.fields_by_name["frames"].message_type = _LABELFRAME
_EXPLICITCONTENTFRAME.fields_by_name[
    "time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_EXPLICITCONTENTFRAME.fields_by_name["pornography_likelihood"].enum_type = _LIKELIHOOD
_EXPLICITCONTENTANNOTATION.fields_by_name["frames"].message_type = _EXPLICITCONTENTFRAME
_FACESEGMENT.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_FACEFRAME.fields_by_name[
    "normalized_bounding_boxes"
].message_type = _NORMALIZEDBOUNDINGBOX
_FACEFRAME.fields_by_name[
    "time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_FACEANNOTATION.fields_by_name["segments"].message_type = _FACESEGMENT
_FACEANNOTATION.fields_by_name["frames"].message_type = _FACEFRAME
_VIDEOANNOTATIONRESULTS.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "segment_label_annotations"
].message_type = _LABELANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "shot_label_annotations"
].message_type = _LABELANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "frame_label_annotations"
].message_type = _LABELANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "face_annotations"
].message_type = _FACEANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name["shot_annotations"].message_type = _VIDEOSEGMENT
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "explicit_annotation"
].message_type = _EXPLICITCONTENTANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "speech_transcriptions"
].message_type = _SPEECHTRANSCRIPTION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "text_annotations"
].message_type = _TEXTANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "object_annotations"
].message_type = _OBJECTTRACKINGANNOTATION
_VIDEOANNOTATIONRESULTS.fields_by_name[
    "error"
].message_type = google_dot_rpc_dot_status__pb2._STATUS
_ANNOTATEVIDEORESPONSE.fields_by_name[
    "annotation_results"
].message_type = _VIDEOANNOTATIONRESULTS
_VIDEOANNOTATIONPROGRESS.fields_by_name[
    "start_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_VIDEOANNOTATIONPROGRESS.fields_by_name[
    "update_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_VIDEOANNOTATIONPROGRESS.fields_by_name["feature"].enum_type = _FEATURE
_VIDEOANNOTATIONPROGRESS.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_ANNOTATEVIDEOPROGRESS.fields_by_name[
    "annotation_progress"
].message_type = _VIDEOANNOTATIONPROGRESS
_SPEECHTRANSCRIPTIONCONFIG.fields_by_name[
    "speech_contexts"
].message_type = _SPEECHCONTEXT
_SPEECHTRANSCRIPTION.fields_by_name[
    "alternatives"
].message_type = _SPEECHRECOGNITIONALTERNATIVE
_SPEECHRECOGNITIONALTERNATIVE.fields_by_name["words"].message_type = _WORDINFO
_WORDINFO.fields_by_name[
    "start_time"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_WORDINFO.fields_by_name[
    "end_time"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_NORMALIZEDBOUNDINGPOLY.fields_by_name["vertices"].message_type = _NORMALIZEDVERTEX
_TEXTSEGMENT.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_TEXTSEGMENT.fields_by_name["frames"].message_type = _TEXTFRAME
_TEXTFRAME.fields_by_name["rotated_bounding_box"].message_type = _NORMALIZEDBOUNDINGPOLY
_TEXTFRAME.fields_by_name[
    "time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_TEXTANNOTATION.fields_by_name["segments"].message_type = _TEXTSEGMENT
_OBJECTTRACKINGFRAME.fields_by_name[
    "normalized_bounding_box"
].message_type = _NORMALIZEDBOUNDINGBOX
_OBJECTTRACKINGFRAME.fields_by_name[
    "time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_OBJECTTRACKINGANNOTATION.fields_by_name["segment"].message_type = _VIDEOSEGMENT
_OBJECTTRACKINGANNOTATION.fields_by_name["entity"].message_type = _ENTITY
_OBJECTTRACKINGANNOTATION.fields_by_name["frames"].message_type = _OBJECTTRACKINGFRAME
_OBJECTTRACKINGANNOTATION.oneofs_by_name["track_info"].fields.append(
    _OBJECTTRACKINGANNOTATION.fields_by_name["segment"]
)
_OBJECTTRACKINGANNOTATION.fields_by_name[
    "segment"
].containing_oneof = _OBJECTTRACKINGANNOTATION.oneofs_by_name["track_info"]
_OBJECTTRACKINGANNOTATION.oneofs_by_name["track_info"].fields.append(
    _OBJECTTRACKINGANNOTATION.fields_by_name["track_id"]
)
_OBJECTTRACKINGANNOTATION.fields_by_name[
    "track_id"
].containing_oneof = _OBJECTTRACKINGANNOTATION.oneofs_by_name["track_info"]
DESCRIPTOR.message_types_by_name["AnnotateVideoRequest"] = _ANNOTATEVIDEOREQUEST
DESCRIPTOR.message_types_by_name["VideoContext"] = _VIDEOCONTEXT
DESCRIPTOR.message_types_by_name["LabelDetectionConfig"] = _LABELDETECTIONCONFIG
DESCRIPTOR.message_types_by_name[
    "ShotChangeDetectionConfig"
] = _SHOTCHANGEDETECTIONCONFIG
DESCRIPTOR.message_types_by_name[
    "ExplicitContentDetectionConfig"
] = _EXPLICITCONTENTDETECTIONCONFIG
DESCRIPTOR.message_types_by_name["FaceDetectionConfig"] = _FACEDETECTIONCONFIG
DESCRIPTOR.message_types_by_name["ObjectTrackingConfig"] = _OBJECTTRACKINGCONFIG
DESCRIPTOR.message_types_by_name["TextDetectionConfig"] = _TEXTDETECTIONCONFIG
DESCRIPTOR.message_types_by_name["VideoSegment"] = _VIDEOSEGMENT
DESCRIPTOR.message_types_by_name["LabelSegment"] = _LABELSEGMENT
DESCRIPTOR.message_types_by_name["LabelFrame"] = _LABELFRAME
DESCRIPTOR.message_types_by_name["Entity"] = _ENTITY
DESCRIPTOR.message_types_by_name["LabelAnnotation"] = _LABELANNOTATION
DESCRIPTOR.message_types_by_name["ExplicitContentFrame"] = _EXPLICITCONTENTFRAME
DESCRIPTOR.message_types_by_name[
    "ExplicitContentAnnotation"
] = _EXPLICITCONTENTANNOTATION
DESCRIPTOR.message_types_by_name["NormalizedBoundingBox"] = _NORMALIZEDBOUNDINGBOX
DESCRIPTOR.message_types_by_name["FaceSegment"] = _FACESEGMENT
DESCRIPTOR.message_types_by_name["FaceFrame"] = _FACEFRAME
DESCRIPTOR.message_types_by_name["FaceAnnotation"] = _FACEANNOTATION
DESCRIPTOR.message_types_by_name["VideoAnnotationResults"] = _VIDEOANNOTATIONRESULTS
DESCRIPTOR.message_types_by_name["AnnotateVideoResponse"] = _ANNOTATEVIDEORESPONSE
DESCRIPTOR.message_types_by_name["VideoAnnotationProgress"] = _VIDEOANNOTATIONPROGRESS
DESCRIPTOR.message_types_by_name["AnnotateVideoProgress"] = _ANNOTATEVIDEOPROGRESS
DESCRIPTOR.message_types_by_name[
    "SpeechTranscriptionConfig"
] = _SPEECHTRANSCRIPTIONCONFIG
DESCRIPTOR.message_types_by_name["SpeechContext"] = _SPEECHCONTEXT
DESCRIPTOR.message_types_by_name["SpeechTranscription"] = _SPEECHTRANSCRIPTION
DESCRIPTOR.message_types_by_name[
    "SpeechRecognitionAlternative"
] = _SPEECHRECOGNITIONALTERNATIVE
DESCRIPTOR.message_types_by_name["WordInfo"] = _WORDINFO
DESCRIPTOR.message_types_by_name["NormalizedVertex"] = _NORMALIZEDVERTEX
DESCRIPTOR.message_types_by_name["NormalizedBoundingPoly"] = _NORMALIZEDBOUNDINGPOLY
DESCRIPTOR.message_types_by_name["TextSegment"] = _TEXTSEGMENT
DESCRIPTOR.message_types_by_name["TextFrame"] = _TEXTFRAME
DESCRIPTOR.message_types_by_name["TextAnnotation"] = _TEXTANNOTATION
DESCRIPTOR.message_types_by_name["ObjectTrackingFrame"] = _OBJECTTRACKINGFRAME
DESCRIPTOR.message_types_by_name["ObjectTrackingAnnotation"] = _OBJECTTRACKINGANNOTATION
DESCRIPTOR.enum_types_by_name["Feature"] = _FEATURE
DESCRIPTOR.enum_types_by_name["LabelDetectionMode"] = _LABELDETECTIONMODE
DESCRIPTOR.enum_types_by_name["Likelihood"] = _LIKELIHOOD
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AnnotateVideoRequest = _reflection.GeneratedProtocolMessageType(
    "AnnotateVideoRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ANNOTATEVIDEOREQUEST,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video annotation request.
  
  
  Attributes:
      input_uri:
          Input video location. Currently, only `Google Cloud Storage
          <https://cloud.google.com/storage/>`__ URIs are supported,
          which must be specified in the following format:
          ``gs://bucket-id/object-id`` (other URI formats return [google
          .rpc.Code.INVALID\_ARGUMENT][google.rpc.Code.INVALID\_ARGUMENT
          ]). For more information, see `Request URIs
          </storage/docs/reference-uris>`__. A video URI may include
          wildcards in ``object-id``, and thus identify multiple videos.
          Supported wildcards: '\*' to match 0 or more characters; '?'
          to match 1 character. If unset, the input video should be
          embedded in the request as ``input_content``. If set,
          ``input_content`` should be unset.
      input_content:
          The video data bytes. If unset, the input video(s) should be
          specified via ``input_uri``. If set, ``input_uri`` should be
          unset.
      features:
          Requested video annotation features.
      video_context:
          Additional video context and/or feature-specific parameters.
      output_uri:
          Optional location where the output (in JSON format) should be
          stored. Currently, only `Google Cloud Storage
          <https://cloud.google.com/storage/>`__ URIs are supported,
          which must be specified in the following format:
          ``gs://bucket-id/object-id`` (other URI formats return [google
          .rpc.Code.INVALID\_ARGUMENT][google.rpc.Code.INVALID\_ARGUMENT
          ]). For more information, see `Request URIs
          </storage/docs/reference-uris>`__.
      location_id:
          Optional cloud region where annotation should take place.
          Supported cloud regions: ``us-east1``, ``us-west1``, ``europe-
          west1``, ``asia-east1``. If no region is specified, a region
          will be determined based on video file location.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoRequest)
    ),
)
_sym_db.RegisterMessage(AnnotateVideoRequest)

VideoContext = _reflection.GeneratedProtocolMessageType(
    "VideoContext",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIDEOCONTEXT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video context and/or feature-specific parameters.
  
  
  Attributes:
      segments:
          Video segments to annotate. The segments may overlap and are
          not required to be contiguous or span the whole video. If
          unspecified, each video is treated as a single segment.
      label_detection_config:
          Config for LABEL\_DETECTION.
      shot_change_detection_config:
          Config for SHOT\_CHANGE\_DETECTION.
      explicit_content_detection_config:
          Config for EXPLICIT\_CONTENT\_DETECTION.
      face_detection_config:
          Config for FACE\_DETECTION.
      speech_transcription_config:
          Config for SPEECH\_TRANSCRIPTION.
      text_detection_config:
          Config for TEXT\_DETECTION.
      object_tracking_config:
          Config for OBJECT\_TRACKING.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoContext)
    ),
)
_sym_db.RegisterMessage(VideoContext)

LabelDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "LabelDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LABELDETECTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for LABEL\_DETECTION.
  
  
  Attributes:
      label_detection_mode:
          What labels should be detected with LABEL\_DETECTION, in
          addition to video-level labels or segment-level labels. If
          unspecified, defaults to ``SHOT_MODE``.
      stationary_camera:
          Whether the video has been shot from a stationary (i.e. non-
          moving) camera. When set to true, might improve detection
          accuracy for moving objects. Should be used with
          ``SHOT_AND_FRAME_MODE`` enabled.
      model:
          Model to use for label detection. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
      frame_confidence_threshold:
          The confidence threshold we perform filtering on the labels
          from frame-level detection. If not set, it is set to 0.4 by
          default. The valid range for this threshold is [0.1, 0.9]. Any
          value set outside of this range will be clipped. Note: for
          best results please follow the default threshold. We will
          update the default threshold everytime when we release a new
          model.
      video_confidence_threshold:
          The confidence threshold we perform filtering on the labels
          from video-level and shot-level detections. If not set, it is
          set to 0.3 by default. The valid range for this threshold is
          [0.1, 0.9]. Any value set outside of this range will be
          clipped. Note: for best results please follow the default
          threshold. We will update the default threshold everytime when
          we release a new model.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelDetectionConfig)
    ),
)
_sym_db.RegisterMessage(LabelDetectionConfig)

ShotChangeDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "ShotChangeDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SHOTCHANGEDETECTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for SHOT\_CHANGE\_DETECTION.
  
  
  Attributes:
      model:
          Model to use for shot change detection. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ShotChangeDetectionConfig)
    ),
)
_sym_db.RegisterMessage(ShotChangeDetectionConfig)

ExplicitContentDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "ExplicitContentDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_EXPLICITCONTENTDETECTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for EXPLICIT\_CONTENT\_DETECTION.
  
  
  Attributes:
      model:
          Model to use for explicit content detection. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentDetectionConfig)
    ),
)
_sym_db.RegisterMessage(ExplicitContentDetectionConfig)

FaceDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "FaceDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FACEDETECTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for FACE\_DETECTION.
  
  
  Attributes:
      model:
          Model to use for face detection. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
      include_bounding_boxes:
          Whether bounding boxes be included in the face annotation
          output.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceDetectionConfig)
    ),
)
_sym_db.RegisterMessage(FaceDetectionConfig)

ObjectTrackingConfig = _reflection.GeneratedProtocolMessageType(
    "ObjectTrackingConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OBJECTTRACKINGCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for OBJECT\_TRACKING.
  
  
  Attributes:
      model:
          Model to use for object tracking. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingConfig)
    ),
)
_sym_db.RegisterMessage(ObjectTrackingConfig)

TextDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "TextDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTDETECTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for TEXT\_DETECTION.
  
  
  Attributes:
      language_hints:
          Language hint can be specified if the language to be detected
          is known a priori. It can increase the accuracy of the
          detection. Language hint must be language code in BCP-47
          format.  Automatic language detection is performed if no hint
          is provided.
      model:
          Model to use for text detection. Supported values:
          "builtin/stable" (the default if unset) and "builtin/latest".
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextDetectionConfig)
    ),
)
_sym_db.RegisterMessage(TextDetectionConfig)

VideoSegment = _reflection.GeneratedProtocolMessageType(
    "VideoSegment",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIDEOSEGMENT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video segment.
  
  
  Attributes:
      start_time_offset:
          Time-offset, relative to the beginning of the video,
          corresponding to the start of the segment (inclusive).
      end_time_offset:
          Time-offset, relative to the beginning of the video,
          corresponding to the end of the segment (inclusive).
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoSegment)
    ),
)
_sym_db.RegisterMessage(VideoSegment)

LabelSegment = _reflection.GeneratedProtocolMessageType(
    "LabelSegment",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LABELSEGMENT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video segment level annotation results for label detection.
  
  
  Attributes:
      segment:
          Video segment where a label was detected.
      confidence:
          Confidence that the label is accurate. Range: [0, 1].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelSegment)
    ),
)
_sym_db.RegisterMessage(LabelSegment)

LabelFrame = _reflection.GeneratedProtocolMessageType(
    "LabelFrame",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LABELFRAME,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video frame level annotation results for label detection.
  
  
  Attributes:
      time_offset:
          Time-offset, relative to the beginning of the video,
          corresponding to the video frame for this location.
      confidence:
          Confidence that the label is accurate. Range: [0, 1].
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelFrame)
    ),
)
_sym_db.RegisterMessage(LabelFrame)

Entity = _reflection.GeneratedProtocolMessageType(
    "Entity",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENTITY,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Detected entity from video analysis.
  
  
  Attributes:
      entity_id:
          Opaque entity ID. Some IDs may be available in `Google
          Knowledge Graph Search API
          <https://developers.google.com/knowledge-graph/>`__.
      description:
          Textual description, e.g. ``Fixed-gear bicycle``.
      language_code:
          Language code for ``description`` in BCP-47 format.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.Entity)
    ),
)
_sym_db.RegisterMessage(Entity)

LabelAnnotation = _reflection.GeneratedProtocolMessageType(
    "LabelAnnotation",
    (_message.Message,),
    dict(
        DESCRIPTOR=_LABELANNOTATION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Label annotation.
  
  
  Attributes:
      entity:
          Detected entity.
      category_entities:
          Common categories for the detected entity. E.g. when the label
          is ``Terrier`` the category is likely ``dog``. And in some
          cases there might be more than one categories e.g. ``Terrier``
          could also be a ``pet``.
      segments:
          All video segments where a label was detected.
      frames:
          All video frames where a label was detected.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.LabelAnnotation)
    ),
)
_sym_db.RegisterMessage(LabelAnnotation)

ExplicitContentFrame = _reflection.GeneratedProtocolMessageType(
    "ExplicitContentFrame",
    (_message.Message,),
    dict(
        DESCRIPTOR=_EXPLICITCONTENTFRAME,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video frame level annotation results for explicit content.
  
  
  Attributes:
      time_offset:
          Time-offset, relative to the beginning of the video,
          corresponding to the video frame for this location.
      pornography_likelihood:
          Likelihood of the pornography content..
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentFrame)
    ),
)
_sym_db.RegisterMessage(ExplicitContentFrame)

ExplicitContentAnnotation = _reflection.GeneratedProtocolMessageType(
    "ExplicitContentAnnotation",
    (_message.Message,),
    dict(
        DESCRIPTOR=_EXPLICITCONTENTANNOTATION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Explicit content annotation (based on per-frame visual signals only). If
  no explicit content has been detected in a frame, no annotations are
  present for that frame.
  
  
  Attributes:
      frames:
          All video frames where explicit content was detected.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ExplicitContentAnnotation)
    ),
)
_sym_db.RegisterMessage(ExplicitContentAnnotation)

NormalizedBoundingBox = _reflection.GeneratedProtocolMessageType(
    "NormalizedBoundingBox",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NORMALIZEDBOUNDINGBOX,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Normalized bounding box. The normalized vertex coordinates are relative
  to the original image. Range: [0, 1].
  
  
  Attributes:
      left:
          Left X coordinate.
      top:
          Top Y coordinate.
      right:
          Right X coordinate.
      bottom:
          Bottom Y coordinate.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingBox)
    ),
)
_sym_db.RegisterMessage(NormalizedBoundingBox)

FaceSegment = _reflection.GeneratedProtocolMessageType(
    "FaceSegment",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FACESEGMENT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video segment level annotation results for face detection.
  
  
  Attributes:
      segment:
          Video segment where a face was detected.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceSegment)
    ),
)
_sym_db.RegisterMessage(FaceSegment)

FaceFrame = _reflection.GeneratedProtocolMessageType(
    "FaceFrame",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FACEFRAME,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video frame level annotation results for face detection.
  
  
  Attributes:
      normalized_bounding_boxes:
          Normalized Bounding boxes in a frame. There can be more than
          one boxes if the same face is detected in multiple locations
          within the current frame.
      time_offset:
          Time-offset, relative to the beginning of the video,
          corresponding to the video frame for this location.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceFrame)
    ),
)
_sym_db.RegisterMessage(FaceFrame)

FaceAnnotation = _reflection.GeneratedProtocolMessageType(
    "FaceAnnotation",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FACEANNOTATION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Face annotation.
  
  
  Attributes:
      thumbnail:
          Thumbnail of a representative face view (in JPEG format).
      segments:
          All video segments where a face was detected.
      frames:
          All video frames where a face was detected.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.FaceAnnotation)
    ),
)
_sym_db.RegisterMessage(FaceAnnotation)

VideoAnnotationResults = _reflection.GeneratedProtocolMessageType(
    "VideoAnnotationResults",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIDEOANNOTATIONRESULTS,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Annotation results for a single video.
  
  
  Attributes:
      input_uri:
          Video file location in `Google Cloud Storage
          <https://cloud.google.com/storage/>`__.
      segment:
          Video segment on which the annotation is run.
      segment_label_annotations:
          Topical label annotations on video level or user specified
          segment level. There is exactly one element for each unique
          label.
      shot_label_annotations:
          Topical label annotations on shot level. There is exactly one
          element for each unique label.
      frame_label_annotations:
          Label annotations on frame level. There is exactly one element
          for each unique label.
      face_annotations:
          Face annotations. There is exactly one element for each unique
          face.
      shot_annotations:
          Shot annotations. Each shot is represented as a video segment.
      explicit_annotation:
          Explicit content annotation.
      speech_transcriptions:
          Speech transcription.
      text_annotations:
          OCR text detection and tracking. Annotations for list of
          detected text snippets. Each will have list of frame
          information associated with it.
      object_annotations:
          Annotations for list of objects detected and tracked in video.
      error:
          If set, indicates an error. Note that for a single
          ``AnnotateVideoRequest`` some videos may succeed and some may
          fail.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationResults)
    ),
)
_sym_db.RegisterMessage(VideoAnnotationResults)

AnnotateVideoResponse = _reflection.GeneratedProtocolMessageType(
    "AnnotateVideoResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ANNOTATEVIDEORESPONSE,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video annotation response. Included in the ``response`` field of the
  ``Operation`` returned by the ``GetOperation`` call of the
  ``google::longrunning::Operations`` service.
  
  
  Attributes:
      annotation_results:
          Annotation results for all videos specified in
          ``AnnotateVideoRequest``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoResponse)
    ),
)
_sym_db.RegisterMessage(AnnotateVideoResponse)

VideoAnnotationProgress = _reflection.GeneratedProtocolMessageType(
    "VideoAnnotationProgress",
    (_message.Message,),
    dict(
        DESCRIPTOR=_VIDEOANNOTATIONPROGRESS,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Annotation progress for a single video.
  
  
  Attributes:
      input_uri:
          Video file location in `Google Cloud Storage
          <https://cloud.google.com/storage/>`__.
      progress_percent:
          Approximate percentage processed thus far. Guaranteed to be
          100 when fully processed.
      start_time:
          Time when the request was received.
      update_time:
          Time of the most recent update.
      feature:
          Specifies which feature is being tracked if the request
          contains more than one features.
      segment:
          Specifies which segment is being tracked if the request
          contains more than one segments.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.VideoAnnotationProgress)
    ),
)
_sym_db.RegisterMessage(VideoAnnotationProgress)

AnnotateVideoProgress = _reflection.GeneratedProtocolMessageType(
    "AnnotateVideoProgress",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ANNOTATEVIDEOPROGRESS,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video annotation progress. Included in the ``metadata`` field of the
  ``Operation`` returned by the ``GetOperation`` call of the
  ``google::longrunning::Operations`` service.
  
  
  Attributes:
      annotation_progress:
          Progress metadata for all videos specified in
          ``AnnotateVideoRequest``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.AnnotateVideoProgress)
    ),
)
_sym_db.RegisterMessage(AnnotateVideoProgress)

SpeechTranscriptionConfig = _reflection.GeneratedProtocolMessageType(
    "SpeechTranscriptionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SPEECHTRANSCRIPTIONCONFIG,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Config for SPEECH\_TRANSCRIPTION.
  
  
  Attributes:
      language_code:
          *Required* The language of the supplied audio as a `BCP-47
          <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__ language
          tag. Example: "en-US". See `Language Support
          <https://cloud.google.com/speech/docs/languages>`__ for a list
          of the currently supported language codes.
      max_alternatives:
          *Optional* Maximum number of recognition hypotheses to be
          returned. Specifically, the maximum number of
          ``SpeechRecognitionAlternative`` messages within each
          ``SpeechTranscription``. The server may return fewer than
          ``max_alternatives``. Valid values are ``0``-``30``. A value
          of ``0`` or ``1`` will return a maximum of one. If omitted,
          will return a maximum of one.
      filter_profanity:
          *Optional* If set to ``true``, the server will attempt to
          filter out profanities, replacing all but the initial
          character in each filtered word with asterisks, e.g.
          "f\*\*\*". If set to ``false`` or omitted, profanities won't
          be filtered out.
      speech_contexts:
          *Optional* A means to provide context to assist the speech
          recognition.
      enable_automatic_punctuation:
          *Optional* If 'true', adds punctuation to recognition result
          hypotheses. This feature is only available in select
          languages. Setting this for requests in other languages has no
          effect at all. The default 'false' value does not add
          punctuation to result hypotheses. NOTE: "This is currently
          offered as an experimental service, complimentary to all
          users. In the future this may be exclusively available as a
          premium feature."
      audio_tracks:
          *Optional* For file formats, such as MXF or MKV, supporting
          multiple audio tracks, specify up to two tracks. Default:
          track 0.
      enable_speaker_diarization:
          *Optional* If 'true', enables speaker detection for each
          recognized word in the top alternative of the recognition
          result using a speaker\_tag provided in the WordInfo. Note:
          When this is true, we send all the words from the beginning of
          the audio for the top alternative in every consecutive
          responses. This is done in order to improve our speaker tags
          as our models learn to identify the speakers in the
          conversation over time.
      diarization_speaker_count:
          *Optional* If set, specifies the estimated number of speakers
          in the conversation. If not set, defaults to '2'. Ignored
          unless enable\_speaker\_diarization is set to true.
      enable_word_confidence:
          *Optional* If ``true``, the top result includes a list of
          words and the confidence for those words. If ``false``, no
          word-level confidence information is returned. The default is
          ``false``.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscriptionConfig)
    ),
)
_sym_db.RegisterMessage(SpeechTranscriptionConfig)

SpeechContext = _reflection.GeneratedProtocolMessageType(
    "SpeechContext",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SPEECHCONTEXT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Provides "hints" to the speech recognizer to favor specific words and
  phrases in the results.
  
  
  Attributes:
      phrases:
          *Optional* A list of strings containing words and phrases
          "hints" so that the speech recognition is more likely to
          recognize them. This can be used to improve the accuracy for
          specific words and phrases, for example, if specific commands
          are typically spoken by the user. This can also be used to add
          additional words to the vocabulary of the recognizer. See
          `usage limits
          <https://cloud.google.com/speech/limits#content>`__.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechContext)
    ),
)
_sym_db.RegisterMessage(SpeechContext)

SpeechTranscription = _reflection.GeneratedProtocolMessageType(
    "SpeechTranscription",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SPEECHTRANSCRIPTION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""A speech recognition result corresponding to a portion of the audio.
  
  
  Attributes:
      alternatives:
          May contain one or more recognition hypotheses (up to the
          maximum specified in ``max_alternatives``). These alternatives
          are ordered in terms of accuracy, with the top (first)
          alternative being the most probable, as ranked by the
          recognizer.
      language_code:
          Output only. The `BCP-47 <https://www.rfc-
          editor.org/rfc/bcp/bcp47.txt>`__ language tag of the language
          in this result. This language code was detected to have the
          most likelihood of being spoken in the audio.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechTranscription)
    ),
)
_sym_db.RegisterMessage(SpeechTranscription)

SpeechRecognitionAlternative = _reflection.GeneratedProtocolMessageType(
    "SpeechRecognitionAlternative",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SPEECHRECOGNITIONALTERNATIVE,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Alternative hypotheses (a.k.a. n-best list).
  
  
  Attributes:
      transcript:
          Transcript text representing the words that the user spoke.
      confidence:
          Output only. The confidence estimate between 0.0 and 1.0. A
          higher number indicates an estimated greater likelihood that
          the recognized words are correct. This field is set only for
          the top alternative. This field is not guaranteed to be
          accurate and users should not rely on it to be always
          provided. The default of 0.0 is a sentinel value indicating
          ``confidence`` was not set.
      words:
          Output only. A list of word-specific information for each
          recognized word. Note: When ``enable_speaker_diarization`` is
          true, you will see all the words from the beginning of the
          audio.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.SpeechRecognitionAlternative)
    ),
)
_sym_db.RegisterMessage(SpeechRecognitionAlternative)

WordInfo = _reflection.GeneratedProtocolMessageType(
    "WordInfo",
    (_message.Message,),
    dict(
        DESCRIPTOR=_WORDINFO,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Word-specific information for recognized words. Word information is only
  included in the response when certain request parameters are set, such
  as ``enable_word_time_offsets``.
  
  
  Attributes:
      start_time:
          Time offset relative to the beginning of the audio, and
          corresponding to the start of the spoken word. This field is
          only set if ``enable_word_time_offsets=true`` and only in the
          top hypothesis. This is an experimental feature and the
          accuracy of the time offset can vary.
      end_time:
          Time offset relative to the beginning of the audio, and
          corresponding to the end of the spoken word. This field is
          only set if ``enable_word_time_offsets=true`` and only in the
          top hypothesis. This is an experimental feature and the
          accuracy of the time offset can vary.
      word:
          The word corresponding to this set of information.
      confidence:
          Output only. The confidence estimate between 0.0 and 1.0. A
          higher number indicates an estimated greater likelihood that
          the recognized words are correct. This field is set only for
          the top alternative. This field is not guaranteed to be
          accurate and users should not rely on it to be always
          provided. The default of 0.0 is a sentinel value indicating
          ``confidence`` was not set.
      speaker_tag:
          Output only. A distinct integer value is assigned for every
          speaker within the audio. This field specifies which one of
          those speakers was detected to have spoken this word. Value
          ranges from 1 up to diarization\_speaker\_count, and is only
          set if speaker diarization is enabled.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.WordInfo)
    ),
)
_sym_db.RegisterMessage(WordInfo)

NormalizedVertex = _reflection.GeneratedProtocolMessageType(
    "NormalizedVertex",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NORMALIZEDVERTEX,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""X coordinate.
  
  
  Attributes:
      y:
          Y coordinate.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedVertex)
    ),
)
_sym_db.RegisterMessage(NormalizedVertex)

NormalizedBoundingPoly = _reflection.GeneratedProtocolMessageType(
    "NormalizedBoundingPoly",
    (_message.Message,),
    dict(
        DESCRIPTOR=_NORMALIZEDBOUNDINGPOLY,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Normalized bounding polygon for text (that might not be aligned with
  axis). Contains list of the corner points in clockwise order starting
  from top-left corner. For example, for a rectangular bounding box: When
  the text is horizontal it might look like: 0----1 \| \| 3----2
  
  When it's clockwise rotated 180 degrees around the top-left corner it
  becomes: 2----3 \| \| 1----0
  
  and the vertex order will still be (0, 1, 2, 3). Note that values can be
  less than 0, or greater than 1 due to trignometric calculations for
  location of the box.
  
  
  Attributes:
      vertices:
          Normalized vertices of the bounding polygon.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.NormalizedBoundingPoly)
    ),
)
_sym_db.RegisterMessage(NormalizedBoundingPoly)

TextSegment = _reflection.GeneratedProtocolMessageType(
    "TextSegment",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTSEGMENT,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video segment level annotation results for text detection.
  
  
  Attributes:
      segment:
          Video segment where a text snippet was detected.
      confidence:
          Confidence for the track of detected text. It is calculated as
          the highest over all frames where OCR detected text appears.
      frames:
          Information related to the frames where OCR detected text
          appears.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextSegment)
    ),
)
_sym_db.RegisterMessage(TextSegment)

TextFrame = _reflection.GeneratedProtocolMessageType(
    "TextFrame",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTFRAME,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video frame level annotation results for text annotation (OCR). Contains
  information regarding timestamp and bounding box locations for the
  frames containing detected OCR text snippets.
  
  
  Attributes:
      rotated_bounding_box:
          Bounding polygon of the detected text for this frame.
      time_offset:
          Timestamp of this frame.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextFrame)
    ),
)
_sym_db.RegisterMessage(TextFrame)

TextAnnotation = _reflection.GeneratedProtocolMessageType(
    "TextAnnotation",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTANNOTATION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Annotations related to one detected OCR text snippet. This will contain
  the corresponding text, confidence value, and frame level information
  for each detection.
  
  
  Attributes:
      text:
          The detected text.
      segments:
          All video segments where OCR detected text appears.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.TextAnnotation)
    ),
)
_sym_db.RegisterMessage(TextAnnotation)

ObjectTrackingFrame = _reflection.GeneratedProtocolMessageType(
    "ObjectTrackingFrame",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OBJECTTRACKINGFRAME,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Video frame level annotations for object detection and tracking. This
  field stores per frame location, time offset, and confidence.
  
  
  Attributes:
      normalized_bounding_box:
          The normalized bounding box location of this object track for
          the frame.
      time_offset:
          The timestamp of the frame in microseconds.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingFrame)
    ),
)
_sym_db.RegisterMessage(ObjectTrackingFrame)

ObjectTrackingAnnotation = _reflection.GeneratedProtocolMessageType(
    "ObjectTrackingAnnotation",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OBJECTTRACKINGANNOTATION,
        __module__="google.cloud.videointelligence_v1.proto.video_intelligence_pb2",
        __doc__="""Annotations corresponding to one tracked object.
  
  
  Attributes:
      track_info:
          Different representation of tracking info in non-streaming
          batch and streaming modes.
      segment:
          Non-streaming batch mode ONLY. Each object track corresponds
          to one video segment where it appears.
      track_id:
          Streaming mode ONLY. In streaming mode, we do not know the end
          time of a tracked object before it is completed. Hence, there
          is no VideoSegment info returned. Instead, we provide a unique
          identifiable integer track\_id so that the customers can
          correlate the results of the ongoing ObjectTrackAnnotation of
          the same track\_id over time.
      entity:
          Entity to specify the object category that this track is
          labeled as.
      confidence:
          Object category's labeling confidence of this track.
      frames:
          Information corresponding to all frames where this object
          track appears. Non-streaming batch mode: it may be one or
          multiple ObjectTrackingFrame messages in frames. Streaming
          mode: it can only be one ObjectTrackingFrame message in
          frames.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.videointelligence.v1.ObjectTrackingAnnotation)
    ),
)
_sym_db.RegisterMessage(ObjectTrackingAnnotation)


DESCRIPTOR._options = None

_VIDEOINTELLIGENCESERVICE = _descriptor.ServiceDescriptor(
    name="VideoIntelligenceService",
    full_name="google.cloud.videointelligence.v1.VideoIntelligenceService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A videointelligence.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=6819,
    serialized_end=7069,
    methods=[
        _descriptor.MethodDescriptor(
            name="AnnotateVideo",
            full_name="google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
            index=0,
            containing_service=None,
            input_type=_ANNOTATEVIDEOREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002\030"\023/v1/videos:annotate:\001*'
            ),
        )
    ],
)
_sym_db.RegisterServiceDescriptor(_VIDEOINTELLIGENCESERVICE)

DESCRIPTOR.services_by_name["VideoIntelligenceService"] = _VIDEOINTELLIGENCESERVICE

# @@protoc_insertion_point(module_scope)
