// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by aliasgen. DO NOT EDIT. // Package videointelligence aliases all exported identifiers in package // "cloud.google.com/go/videointelligence/apiv1/videointelligencepb". // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb. // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md // for more details. package videointelligence import ( src "cloud.google.com/go/videointelligence/apiv1/videointelligencepb" grpc "google.golang.org/grpc" ) // Deprecated: Please use consts in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb const ( Feature_EXPLICIT_CONTENT_DETECTION = src.Feature_EXPLICIT_CONTENT_DETECTION Feature_FACE_DETECTION = src.Feature_FACE_DETECTION Feature_FEATURE_UNSPECIFIED = src.Feature_FEATURE_UNSPECIFIED Feature_LABEL_DETECTION = src.Feature_LABEL_DETECTION Feature_LOGO_RECOGNITION = src.Feature_LOGO_RECOGNITION Feature_OBJECT_TRACKING = src.Feature_OBJECT_TRACKING Feature_PERSON_DETECTION = src.Feature_PERSON_DETECTION Feature_SHOT_CHANGE_DETECTION = src.Feature_SHOT_CHANGE_DETECTION Feature_SPEECH_TRANSCRIPTION = src.Feature_SPEECH_TRANSCRIPTION Feature_TEXT_DETECTION = src.Feature_TEXT_DETECTION LabelDetectionMode_FRAME_MODE = src.LabelDetectionMode_FRAME_MODE LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED = src.LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode_SHOT_AND_FRAME_MODE = src.LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode_SHOT_MODE = src.LabelDetectionMode_SHOT_MODE Likelihood_LIKELIHOOD_UNSPECIFIED = src.Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood_LIKELY = src.Likelihood_LIKELY Likelihood_POSSIBLE = src.Likelihood_POSSIBLE Likelihood_UNLIKELY = src.Likelihood_UNLIKELY Likelihood_VERY_LIKELY = src.Likelihood_VERY_LIKELY Likelihood_VERY_UNLIKELY = src.Likelihood_VERY_UNLIKELY ) // Deprecated: Please use vars in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb var ( Feature_name = src.Feature_name Feature_value = src.Feature_value File_google_cloud_videointelligence_v1_video_intelligence_proto = src.File_google_cloud_videointelligence_v1_video_intelligence_proto LabelDetectionMode_name = src.LabelDetectionMode_name LabelDetectionMode_value = src.LabelDetectionMode_value Likelihood_name = src.Likelihood_name Likelihood_value = src.Likelihood_value ) // Video annotation progress. Included in the `metadata` field of the // `Operation` returned by the `GetOperation` call of the // `google::longrunning::Operations` service. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type AnnotateVideoProgress = src.AnnotateVideoProgress // Video annotation request. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type AnnotateVideoRequest = src.AnnotateVideoRequest // Video annotation response. Included in the `response` field of the // `Operation` returned by the `GetOperation` call of the // `google::longrunning::Operations` service. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type AnnotateVideoResponse = src.AnnotateVideoResponse // A generic detected attribute represented by name in string format. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type DetectedAttribute = src.DetectedAttribute // A generic detected landmark represented by name in string format and a 2D // location. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type DetectedLandmark = src.DetectedLandmark // Detected entity from video analysis. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type Entity = src.Entity // 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. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ExplicitContentAnnotation = src.ExplicitContentAnnotation // Config for EXPLICIT_CONTENT_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ExplicitContentDetectionConfig = src.ExplicitContentDetectionConfig // Video frame level annotation results for explicit content. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ExplicitContentFrame = src.ExplicitContentFrame // Deprecated. No effect. Deprecated: Do not use. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type FaceAnnotation = src.FaceAnnotation // Face detection annotation. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type FaceDetectionAnnotation = src.FaceDetectionAnnotation // Config for FACE_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type FaceDetectionConfig = src.FaceDetectionConfig // Deprecated. No effect. Deprecated: Do not use. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type FaceFrame = src.FaceFrame // Video segment level annotation results for face detection. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type FaceSegment = src.FaceSegment // Video annotation feature. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type Feature = src.Feature // Label annotation. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LabelAnnotation = src.LabelAnnotation // Config for LABEL_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LabelDetectionConfig = src.LabelDetectionConfig // Label detection mode. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LabelDetectionMode = src.LabelDetectionMode // Video frame level annotation results for label detection. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LabelFrame = src.LabelFrame // Video segment level annotation results for label detection. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LabelSegment = src.LabelSegment // Bucketized representation of likelihood. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type Likelihood = src.Likelihood // Annotation corresponding to one detected, tracked and recognized logo // class. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type LogoRecognitionAnnotation = src.LogoRecognitionAnnotation // Normalized bounding box. The normalized vertex coordinates are relative to // the original image. Range: [0, 1]. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type NormalizedBoundingBox = src.NormalizedBoundingBox // 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. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type NormalizedBoundingPoly = src.NormalizedBoundingPoly // A vertex represents a 2D point in the image. NOTE: the normalized vertex // coordinates are relative to the original image and range from 0 to 1. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type NormalizedVertex = src.NormalizedVertex // Annotations corresponding to one tracked object. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ObjectTrackingAnnotation = src.ObjectTrackingAnnotation type ObjectTrackingAnnotation_Segment = src.ObjectTrackingAnnotation_Segment type ObjectTrackingAnnotation_TrackId = src.ObjectTrackingAnnotation_TrackId // Config for OBJECT_TRACKING. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ObjectTrackingConfig = src.ObjectTrackingConfig // Video frame level annotations for object detection and tracking. This field // stores per frame location, time offset, and confidence. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ObjectTrackingFrame = src.ObjectTrackingFrame // Person detection annotation per video. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type PersonDetectionAnnotation = src.PersonDetectionAnnotation // Config for PERSON_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type PersonDetectionConfig = src.PersonDetectionConfig // Config for SHOT_CHANGE_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type ShotChangeDetectionConfig = src.ShotChangeDetectionConfig // Provides "hints" to the speech recognizer to favor specific words and // phrases in the results. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type SpeechContext = src.SpeechContext // Alternative hypotheses (a.k.a. n-best list). // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type SpeechRecognitionAlternative = src.SpeechRecognitionAlternative // A speech recognition result corresponding to a portion of the audio. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type SpeechTranscription = src.SpeechTranscription // Config for SPEECH_TRANSCRIPTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type SpeechTranscriptionConfig = src.SpeechTranscriptionConfig // Annotations related to one detected OCR text snippet. This will contain the // corresponding text, confidence value, and frame level information for each // detection. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type TextAnnotation = src.TextAnnotation // Config for TEXT_DETECTION. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type TextDetectionConfig = src.TextDetectionConfig // 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. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type TextFrame = src.TextFrame // Video segment level annotation results for text detection. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type TextSegment = src.TextSegment // For tracking related features. An object at time_offset with attributes, // and located with normalized_bounding_box. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type TimestampedObject = src.TimestampedObject // A track of an object instance. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type Track = src.Track // UnimplementedVideoIntelligenceServiceServer can be embedded to have forward // compatible implementations. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type UnimplementedVideoIntelligenceServiceServer = src.UnimplementedVideoIntelligenceServiceServer // Annotation progress for a single video. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoAnnotationProgress = src.VideoAnnotationProgress // Annotation results for a single video. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoAnnotationResults = src.VideoAnnotationResults // Video context and/or feature-specific parameters. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoContext = src.VideoContext // VideoIntelligenceServiceClient is the client API for // VideoIntelligenceService service. For semantics around ctx use and // closing/ending streaming RPCs, please refer to // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoIntelligenceServiceClient = src.VideoIntelligenceServiceClient // VideoIntelligenceServiceServer is the server API for // VideoIntelligenceService service. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoIntelligenceServiceServer = src.VideoIntelligenceServiceServer // Video segment. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type VideoSegment = src.VideoSegment // 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`. // // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb type WordInfo = src.WordInfo // Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb func NewVideoIntelligenceServiceClient(cc grpc.ClientConnInterface) VideoIntelligenceServiceClient { return src.NewVideoIntelligenceServiceClient(cc) } // Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1/videointelligencepb func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) { src.RegisterVideoIntelligenceServiceServer(s, srv) }