| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package videointelligence aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package videointelligence |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 31 |
const ( |
| 32 |
Feature_CELEBRITY_RECOGNITION = src.Feature_CELEBRITY_RECOGNITION |
| 33 |
Feature_EXPLICIT_CONTENT_DETECTION = src.Feature_EXPLICIT_CONTENT_DETECTION |
| 34 |
Feature_FACE_DETECTION = src.Feature_FACE_DETECTION |
| 35 |
Feature_FEATURE_UNSPECIFIED = src.Feature_FEATURE_UNSPECIFIED |
| 36 |
Feature_LABEL_DETECTION = src.Feature_LABEL_DETECTION |
| 37 |
Feature_LOGO_RECOGNITION = src.Feature_LOGO_RECOGNITION |
| 38 |
Feature_OBJECT_TRACKING = src.Feature_OBJECT_TRACKING |
| 39 |
Feature_PERSON_DETECTION = src.Feature_PERSON_DETECTION |
| 40 |
Feature_SHOT_CHANGE_DETECTION = src.Feature_SHOT_CHANGE_DETECTION |
| 41 |
Feature_SPEECH_TRANSCRIPTION = src.Feature_SPEECH_TRANSCRIPTION |
| 42 |
Feature_TEXT_DETECTION = src.Feature_TEXT_DETECTION |
| 43 |
LabelDetectionMode_FRAME_MODE = src.LabelDetectionMode_FRAME_MODE |
| 44 |
LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED = src.LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED |
| 45 |
LabelDetectionMode_SHOT_AND_FRAME_MODE = src.LabelDetectionMode_SHOT_AND_FRAME_MODE |
| 46 |
LabelDetectionMode_SHOT_MODE = src.LabelDetectionMode_SHOT_MODE |
| 47 |
Likelihood_LIKELIHOOD_UNSPECIFIED = src.Likelihood_LIKELIHOOD_UNSPECIFIED |
| 48 |
Likelihood_LIKELY = src.Likelihood_LIKELY |
| 49 |
Likelihood_POSSIBLE = src.Likelihood_POSSIBLE |
| 50 |
Likelihood_UNLIKELY = src.Likelihood_UNLIKELY |
| 51 |
Likelihood_VERY_LIKELY = src.Likelihood_VERY_LIKELY |
| 52 |
Likelihood_VERY_UNLIKELY = src.Likelihood_VERY_UNLIKELY |
| 53 |
StreamingFeature_STREAMING_AUTOML_ACTION_RECOGNITION = src.StreamingFeature_STREAMING_AUTOML_ACTION_RECOGNITION |
| 54 |
StreamingFeature_STREAMING_AUTOML_CLASSIFICATION = src.StreamingFeature_STREAMING_AUTOML_CLASSIFICATION |
| 55 |
StreamingFeature_STREAMING_AUTOML_OBJECT_TRACKING = src.StreamingFeature_STREAMING_AUTOML_OBJECT_TRACKING |
| 56 |
StreamingFeature_STREAMING_EXPLICIT_CONTENT_DETECTION = src.StreamingFeature_STREAMING_EXPLICIT_CONTENT_DETECTION |
| 57 |
StreamingFeature_STREAMING_FEATURE_UNSPECIFIED = src.StreamingFeature_STREAMING_FEATURE_UNSPECIFIED |
| 58 |
StreamingFeature_STREAMING_LABEL_DETECTION = src.StreamingFeature_STREAMING_LABEL_DETECTION |
| 59 |
StreamingFeature_STREAMING_OBJECT_TRACKING = src.StreamingFeature_STREAMING_OBJECT_TRACKING |
| 60 |
StreamingFeature_STREAMING_SHOT_CHANGE_DETECTION = src.StreamingFeature_STREAMING_SHOT_CHANGE_DETECTION |
| 61 |
) |
| 62 |
|
| 63 |
// Deprecated: Please use vars in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 64 |
var ( |
| 65 |
Feature_name = src.Feature_name |
| 66 |
Feature_value = src.Feature_value |
| 67 |
File_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto = src.File_google_cloud_videointelligence_v1p3beta1_video_intelligence_proto |
| 68 |
LabelDetectionMode_name = src.LabelDetectionMode_name |
| 69 |
LabelDetectionMode_value = src.LabelDetectionMode_value |
| 70 |
Likelihood_name = src.Likelihood_name |
| 71 |
Likelihood_value = src.Likelihood_value |
| 72 |
StreamingFeature_name = src.StreamingFeature_name |
| 73 |
StreamingFeature_value = src.StreamingFeature_value |
| 74 |
) |
| 75 |
|
| 76 |
// Video annotation progress. Included in the `metadata` field of the |
| 77 |
// `Operation` returned by the `GetOperation` call of the |
| 78 |
// `google::longrunning::Operations` service. |
| 79 |
// |
| 80 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 81 |
type AnnotateVideoProgress = src.AnnotateVideoProgress |
| 82 |
|
| 83 |
// Video annotation request. |
| 84 |
// |
| 85 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 86 |
type AnnotateVideoRequest = src.AnnotateVideoRequest |
| 87 |
|
| 88 |
// Video annotation response. Included in the `response` field of the |
| 89 |
// `Operation` returned by the `GetOperation` call of the |
| 90 |
// `google::longrunning::Operations` service. |
| 91 |
// |
| 92 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 93 |
type AnnotateVideoResponse = src.AnnotateVideoResponse |
| 94 |
|
| 95 |
// Celebrity definition. |
| 96 |
// |
| 97 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 98 |
type Celebrity = src.Celebrity |
| 99 |
|
| 100 |
// Celebrity recognition annotation per video. |
| 101 |
// |
| 102 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 103 |
type CelebrityRecognitionAnnotation = src.CelebrityRecognitionAnnotation |
| 104 |
|
| 105 |
// The annotation result of a celebrity face track. RecognizedCelebrity field |
| 106 |
// could be empty if the face track does not have any matched celebrities. |
| 107 |
// |
| 108 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 109 |
type CelebrityTrack = src.CelebrityTrack |
| 110 |
|
| 111 |
// The recognized celebrity with confidence score. |
| 112 |
// |
| 113 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 114 |
type CelebrityTrack_RecognizedCelebrity = src.CelebrityTrack_RecognizedCelebrity |
| 115 |
|
| 116 |
// A generic detected attribute represented by name in string format. |
| 117 |
// |
| 118 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 119 |
type DetectedAttribute = src.DetectedAttribute |
| 120 |
|
| 121 |
// A generic detected landmark represented by name in string format and a 2D |
| 122 |
// location. |
| 123 |
// |
| 124 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 125 |
type DetectedLandmark = src.DetectedLandmark |
| 126 |
|
| 127 |
// Detected entity from video analysis. |
| 128 |
// |
| 129 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 130 |
type Entity = src.Entity |
| 131 |
|
| 132 |
// Explicit content annotation (based on per-frame visual signals only). If no |
| 133 |
// explicit content has been detected in a frame, no annotations are present |
| 134 |
// for that frame. |
| 135 |
// |
| 136 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 137 |
type ExplicitContentAnnotation = src.ExplicitContentAnnotation |
| 138 |
|
| 139 |
// Config for EXPLICIT_CONTENT_DETECTION. |
| 140 |
// |
| 141 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 142 |
type ExplicitContentDetectionConfig = src.ExplicitContentDetectionConfig |
| 143 |
|
| 144 |
// Video frame level annotation results for explicit content. |
| 145 |
// |
| 146 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 147 |
type ExplicitContentFrame = src.ExplicitContentFrame |
| 148 |
|
| 149 |
// Face detection annotation. |
| 150 |
// |
| 151 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 152 |
type FaceDetectionAnnotation = src.FaceDetectionAnnotation |
| 153 |
|
| 154 |
// Config for FACE_DETECTION. |
| 155 |
// |
| 156 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 157 |
type FaceDetectionConfig = src.FaceDetectionConfig |
| 158 |
|
| 159 |
// Video annotation feature. |
| 160 |
// |
| 161 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 162 |
type Feature = src.Feature |
| 163 |
|
| 164 |
// Label annotation. |
| 165 |
// |
| 166 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 167 |
type LabelAnnotation = src.LabelAnnotation |
| 168 |
|
| 169 |
// Config for LABEL_DETECTION. |
| 170 |
// |
| 171 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 172 |
type LabelDetectionConfig = src.LabelDetectionConfig |
| 173 |
|
| 174 |
// Label detection mode. |
| 175 |
// |
| 176 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 177 |
type LabelDetectionMode = src.LabelDetectionMode |
| 178 |
|
| 179 |
// Video frame level annotation results for label detection. |
| 180 |
// |
| 181 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 182 |
type LabelFrame = src.LabelFrame |
| 183 |
|
| 184 |
// Video segment level annotation results for label detection. |
| 185 |
// |
| 186 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 187 |
type LabelSegment = src.LabelSegment |
| 188 |
|
| 189 |
// Bucketized representation of likelihood. |
| 190 |
// |
| 191 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 192 |
type Likelihood = src.Likelihood |
| 193 |
|
| 194 |
// Annotation corresponding to one detected, tracked and recognized logo |
| 195 |
// class. |
| 196 |
// |
| 197 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 198 |
type LogoRecognitionAnnotation = src.LogoRecognitionAnnotation |
| 199 |
|
| 200 |
// Normalized bounding box. The normalized vertex coordinates are relative to |
| 201 |
// the original image. Range: [0, 1]. |
| 202 |
// |
| 203 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 204 |
type NormalizedBoundingBox = src.NormalizedBoundingBox |
| 205 |
|
| 206 |
// Normalized bounding polygon for text (that might not be aligned with axis). |
| 207 |
// Contains list of the corner points in clockwise order starting from top-left |
| 208 |
// corner. For example, for a rectangular bounding box: When the text is |
| 209 |
// horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated |
| 210 |
// 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the |
| 211 |
// vertex order will still be (0, 1, 2, 3). Note that values can be less than |
| 212 |
// 0, or greater than 1 due to trignometric calculations for location of the |
| 213 |
// box. |
| 214 |
// |
| 215 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 216 |
type NormalizedBoundingPoly = src.NormalizedBoundingPoly |
| 217 |
|
| 218 |
// A vertex represents a 2D point in the image. NOTE: the normalized vertex |
| 219 |
// coordinates are relative to the original image and range from 0 to 1. |
| 220 |
// |
| 221 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 222 |
type NormalizedVertex = src.NormalizedVertex |
| 223 |
|
| 224 |
// Annotations corresponding to one tracked object. |
| 225 |
// |
| 226 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 227 |
type ObjectTrackingAnnotation = src.ObjectTrackingAnnotation |
| 228 |
type ObjectTrackingAnnotation_Segment = src.ObjectTrackingAnnotation_Segment |
| 229 |
type ObjectTrackingAnnotation_TrackId = src.ObjectTrackingAnnotation_TrackId |
| 230 |
|
| 231 |
// Config for OBJECT_TRACKING. |
| 232 |
// |
| 233 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 234 |
type ObjectTrackingConfig = src.ObjectTrackingConfig |
| 235 |
|
| 236 |
// Video frame level annotations for object detection and tracking. This field |
| 237 |
// stores per frame location, time offset, and confidence. |
| 238 |
// |
| 239 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 240 |
type ObjectTrackingFrame = src.ObjectTrackingFrame |
| 241 |
|
| 242 |
// Person detection annotation per video. |
| 243 |
// |
| 244 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 245 |
type PersonDetectionAnnotation = src.PersonDetectionAnnotation |
| 246 |
|
| 247 |
// Config for PERSON_DETECTION. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 250 |
type PersonDetectionConfig = src.PersonDetectionConfig |
| 251 |
|
| 252 |
// Config for SHOT_CHANGE_DETECTION. |
| 253 |
// |
| 254 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 255 |
type ShotChangeDetectionConfig = src.ShotChangeDetectionConfig |
| 256 |
|
| 257 |
// Provides "hints" to the speech recognizer to favor specific words and |
| 258 |
// phrases in the results. |
| 259 |
// |
| 260 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 261 |
type SpeechContext = src.SpeechContext |
| 262 |
|
| 263 |
// Alternative hypotheses (a.k.a. n-best list). |
| 264 |
// |
| 265 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 266 |
type SpeechRecognitionAlternative = src.SpeechRecognitionAlternative |
| 267 |
|
| 268 |
// A speech recognition result corresponding to a portion of the audio. |
| 269 |
// |
| 270 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 271 |
type SpeechTranscription = src.SpeechTranscription |
| 272 |
|
| 273 |
// Config for SPEECH_TRANSCRIPTION. |
| 274 |
// |
| 275 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 276 |
type SpeechTranscriptionConfig = src.SpeechTranscriptionConfig |
| 277 |
|
| 278 |
// The top-level message sent by the client for the `StreamingAnnotateVideo` |
| 279 |
// method. Multiple `StreamingAnnotateVideoRequest` messages are sent. The |
| 280 |
// first message must only contain a `StreamingVideoConfig` message. All |
| 281 |
// subsequent messages must only contain `input_content` data. |
| 282 |
// |
| 283 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 284 |
type StreamingAnnotateVideoRequest = src.StreamingAnnotateVideoRequest |
| 285 |
type StreamingAnnotateVideoRequest_InputContent = src.StreamingAnnotateVideoRequest_InputContent |
| 286 |
type StreamingAnnotateVideoRequest_VideoConfig = src.StreamingAnnotateVideoRequest_VideoConfig |
| 287 |
|
| 288 |
// `StreamingAnnotateVideoResponse` is the only message returned to the client |
| 289 |
// by `StreamingAnnotateVideo`. A series of zero or more |
| 290 |
// `StreamingAnnotateVideoResponse` messages are streamed back to the client. |
| 291 |
// |
| 292 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 293 |
type StreamingAnnotateVideoResponse = src.StreamingAnnotateVideoResponse |
| 294 |
|
| 295 |
// Config for STREAMING_AUTOML_ACTION_RECOGNITION. |
| 296 |
// |
| 297 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 298 |
type StreamingAutomlActionRecognitionConfig = src.StreamingAutomlActionRecognitionConfig |
| 299 |
|
| 300 |
// Config for STREAMING_AUTOML_CLASSIFICATION. |
| 301 |
// |
| 302 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 303 |
type StreamingAutomlClassificationConfig = src.StreamingAutomlClassificationConfig |
| 304 |
|
| 305 |
// Config for STREAMING_AUTOML_OBJECT_TRACKING. |
| 306 |
// |
| 307 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 308 |
type StreamingAutomlObjectTrackingConfig = src.StreamingAutomlObjectTrackingConfig |
| 309 |
|
| 310 |
// Config for STREAMING_EXPLICIT_CONTENT_DETECTION. |
| 311 |
// |
| 312 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 313 |
type StreamingExplicitContentDetectionConfig = src.StreamingExplicitContentDetectionConfig |
| 314 |
|
| 315 |
// Streaming video annotation feature. |
| 316 |
// |
| 317 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 318 |
type StreamingFeature = src.StreamingFeature |
| 319 |
|
| 320 |
// Config for STREAMING_LABEL_DETECTION. |
| 321 |
// |
| 322 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 323 |
type StreamingLabelDetectionConfig = src.StreamingLabelDetectionConfig |
| 324 |
|
| 325 |
// Config for STREAMING_OBJECT_TRACKING. |
| 326 |
// |
| 327 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 328 |
type StreamingObjectTrackingConfig = src.StreamingObjectTrackingConfig |
| 329 |
|
| 330 |
// Config for STREAMING_SHOT_CHANGE_DETECTION. |
| 331 |
// |
| 332 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 333 |
type StreamingShotChangeDetectionConfig = src.StreamingShotChangeDetectionConfig |
| 334 |
|
| 335 |
// Config for streaming storage option. |
| 336 |
// |
| 337 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 338 |
type StreamingStorageConfig = src.StreamingStorageConfig |
| 339 |
|
| 340 |
// Streaming annotation results corresponding to a portion of the video that |
| 341 |
// is currently being processed. |
| 342 |
// |
| 343 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 344 |
type StreamingVideoAnnotationResults = src.StreamingVideoAnnotationResults |
| 345 |
|
| 346 |
// Provides information to the annotator that specifies how to process the |
| 347 |
// request. |
| 348 |
// |
| 349 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 350 |
type StreamingVideoConfig = src.StreamingVideoConfig |
| 351 |
type StreamingVideoConfig_AutomlActionRecognitionConfig = src.StreamingVideoConfig_AutomlActionRecognitionConfig |
| 352 |
type StreamingVideoConfig_AutomlClassificationConfig = src.StreamingVideoConfig_AutomlClassificationConfig |
| 353 |
type StreamingVideoConfig_AutomlObjectTrackingConfig = src.StreamingVideoConfig_AutomlObjectTrackingConfig |
| 354 |
type StreamingVideoConfig_ExplicitContentDetectionConfig = src.StreamingVideoConfig_ExplicitContentDetectionConfig |
| 355 |
type StreamingVideoConfig_LabelDetectionConfig = src.StreamingVideoConfig_LabelDetectionConfig |
| 356 |
type StreamingVideoConfig_ObjectTrackingConfig = src.StreamingVideoConfig_ObjectTrackingConfig |
| 357 |
type StreamingVideoConfig_ShotChangeDetectionConfig = src.StreamingVideoConfig_ShotChangeDetectionConfig |
| 358 |
|
| 359 |
// StreamingVideoIntelligenceServiceClient is the client API for |
| 360 |
// StreamingVideoIntelligenceService service. For semantics around ctx use and |
| 361 |
// closing/ending streaming RPCs, please refer to |
| 362 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 363 |
// |
| 364 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 365 |
type StreamingVideoIntelligenceServiceClient = src.StreamingVideoIntelligenceServiceClient |
| 366 |
|
| 367 |
// StreamingVideoIntelligenceServiceServer is the server API for |
| 368 |
// StreamingVideoIntelligenceService service. |
| 369 |
// |
| 370 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 371 |
type StreamingVideoIntelligenceServiceServer = src.StreamingVideoIntelligenceServiceServer |
| 372 |
type StreamingVideoIntelligenceService_StreamingAnnotateVideoClient = src.StreamingVideoIntelligenceService_StreamingAnnotateVideoClient |
| 373 |
type StreamingVideoIntelligenceService_StreamingAnnotateVideoServer = src.StreamingVideoIntelligenceService_StreamingAnnotateVideoServer |
| 374 |
|
| 375 |
// Annotations related to one detected OCR text snippet. This will contain the |
| 376 |
// corresponding text, confidence value, and frame level information for each |
| 377 |
// detection. |
| 378 |
// |
| 379 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 380 |
type TextAnnotation = src.TextAnnotation |
| 381 |
|
| 382 |
// Config for TEXT_DETECTION. |
| 383 |
// |
| 384 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 385 |
type TextDetectionConfig = src.TextDetectionConfig |
| 386 |
|
| 387 |
// Video frame level annotation results for text annotation (OCR). Contains |
| 388 |
// information regarding timestamp and bounding box locations for the frames |
| 389 |
// containing detected OCR text snippets. |
| 390 |
// |
| 391 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 392 |
type TextFrame = src.TextFrame |
| 393 |
|
| 394 |
// Video segment level annotation results for text detection. |
| 395 |
// |
| 396 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 397 |
type TextSegment = src.TextSegment |
| 398 |
|
| 399 |
// For tracking related features. An object at time_offset with attributes, |
| 400 |
// and located with normalized_bounding_box. |
| 401 |
// |
| 402 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 403 |
type TimestampedObject = src.TimestampedObject |
| 404 |
|
| 405 |
// A track of an object instance. |
| 406 |
// |
| 407 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 408 |
type Track = src.Track |
| 409 |
|
| 410 |
// UnimplementedStreamingVideoIntelligenceServiceServer can be embedded to |
| 411 |
// have forward compatible implementations. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 414 |
type UnimplementedStreamingVideoIntelligenceServiceServer = src.UnimplementedStreamingVideoIntelligenceServiceServer |
| 415 |
|
| 416 |
// UnimplementedVideoIntelligenceServiceServer can be embedded to have forward |
| 417 |
// compatible implementations. |
| 418 |
// |
| 419 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 420 |
type UnimplementedVideoIntelligenceServiceServer = src.UnimplementedVideoIntelligenceServiceServer |
| 421 |
|
| 422 |
// Annotation progress for a single video. |
| 423 |
// |
| 424 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 425 |
type VideoAnnotationProgress = src.VideoAnnotationProgress |
| 426 |
|
| 427 |
// Annotation results for a single video. |
| 428 |
// |
| 429 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 430 |
type VideoAnnotationResults = src.VideoAnnotationResults |
| 431 |
|
| 432 |
// Video context and/or feature-specific parameters. |
| 433 |
// |
| 434 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 435 |
type VideoContext = src.VideoContext |
| 436 |
|
| 437 |
// VideoIntelligenceServiceClient is the client API for |
| 438 |
// VideoIntelligenceService service. For semantics around ctx use and |
| 439 |
// closing/ending streaming RPCs, please refer to |
| 440 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 441 |
// |
| 442 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 443 |
type VideoIntelligenceServiceClient = src.VideoIntelligenceServiceClient |
| 444 |
|
| 445 |
// VideoIntelligenceServiceServer is the server API for |
| 446 |
// VideoIntelligenceService service. |
| 447 |
// |
| 448 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 449 |
type VideoIntelligenceServiceServer = src.VideoIntelligenceServiceServer |
| 450 |
|
| 451 |
// Video segment. |
| 452 |
// |
| 453 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 454 |
type VideoSegment = src.VideoSegment |
| 455 |
|
| 456 |
// Word-specific information for recognized words. Word information is only |
| 457 |
// included in the response when certain request parameters are set, such as |
| 458 |
// `enable_word_time_offsets`. |
| 459 |
// |
| 460 |
// Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 461 |
type WordInfo = src.WordInfo |
| 462 |
|
| 463 |
// Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 464 |
func NewStreamingVideoIntelligenceServiceClient(cc grpc.ClientConnInterface) StreamingVideoIntelligenceServiceClient { |
| 465 |
return src.NewStreamingVideoIntelligenceServiceClient(cc) |
| 466 |
} |
| 467 |
|
| 468 |
// Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 469 |
func NewVideoIntelligenceServiceClient(cc grpc.ClientConnInterface) VideoIntelligenceServiceClient { |
| 470 |
return src.NewVideoIntelligenceServiceClient(cc) |
| 471 |
} |
| 472 |
|
| 473 |
// Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 474 |
func RegisterStreamingVideoIntelligenceServiceServer(s *grpc.Server, srv StreamingVideoIntelligenceServiceServer) { |
| 475 |
src.RegisterStreamingVideoIntelligenceServiceServer(s, srv) |
| 476 |
} |
| 477 |
|
| 478 |
// Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb |
| 479 |
func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) { |
| 480 |
src.RegisterVideoIntelligenceServiceServer(s, srv) |
| 481 |
} |