...

Source file src/google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2

     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/apiv1beta2/videointelligencepb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/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/apiv1beta2/videointelligencepb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    31  const (
    32  	Feature_EXPLICIT_CONTENT_DETECTION                  = src.Feature_EXPLICIT_CONTENT_DETECTION
    33  	Feature_FACE_DETECTION                              = src.Feature_FACE_DETECTION
    34  	Feature_FEATURE_UNSPECIFIED                         = src.Feature_FEATURE_UNSPECIFIED
    35  	Feature_LABEL_DETECTION                             = src.Feature_LABEL_DETECTION
    36  	Feature_SHOT_CHANGE_DETECTION                       = src.Feature_SHOT_CHANGE_DETECTION
    37  	LabelDetectionMode_FRAME_MODE                       = src.LabelDetectionMode_FRAME_MODE
    38  	LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED = src.LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED
    39  	LabelDetectionMode_SHOT_AND_FRAME_MODE              = src.LabelDetectionMode_SHOT_AND_FRAME_MODE
    40  	LabelDetectionMode_SHOT_MODE                        = src.LabelDetectionMode_SHOT_MODE
    41  	Likelihood_LIKELIHOOD_UNSPECIFIED                   = src.Likelihood_LIKELIHOOD_UNSPECIFIED
    42  	Likelihood_LIKELY                                   = src.Likelihood_LIKELY
    43  	Likelihood_POSSIBLE                                 = src.Likelihood_POSSIBLE
    44  	Likelihood_UNLIKELY                                 = src.Likelihood_UNLIKELY
    45  	Likelihood_VERY_LIKELY                              = src.Likelihood_VERY_LIKELY
    46  	Likelihood_VERY_UNLIKELY                            = src.Likelihood_VERY_UNLIKELY
    47  )
    48  
    49  // Deprecated: Please use vars in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    50  var (
    51  	Feature_name                                                         = src.Feature_name
    52  	Feature_value                                                        = src.Feature_value
    53  	File_google_cloud_videointelligence_v1beta2_video_intelligence_proto = src.File_google_cloud_videointelligence_v1beta2_video_intelligence_proto
    54  	LabelDetectionMode_name                                              = src.LabelDetectionMode_name
    55  	LabelDetectionMode_value                                             = src.LabelDetectionMode_value
    56  	Likelihood_name                                                      = src.Likelihood_name
    57  	Likelihood_value                                                     = src.Likelihood_value
    58  )
    59  
    60  // Video annotation progress. Included in the `metadata` field of the
    61  // `Operation` returned by the `GetOperation` call of the
    62  // `google::longrunning::Operations` service.
    63  //
    64  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    65  type AnnotateVideoProgress = src.AnnotateVideoProgress
    66  
    67  // Video annotation request.
    68  //
    69  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    70  type AnnotateVideoRequest = src.AnnotateVideoRequest
    71  
    72  // Video annotation response. Included in the `response` field of the
    73  // `Operation` returned by the `GetOperation` call of the
    74  // `google::longrunning::Operations` service.
    75  //
    76  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    77  type AnnotateVideoResponse = src.AnnotateVideoResponse
    78  
    79  // Detected entity from video analysis.
    80  //
    81  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    82  type Entity = src.Entity
    83  
    84  // Explicit content annotation (based on per-frame visual signals only). If no
    85  // explicit content has been detected in a frame, no annotations are present
    86  // for that frame.
    87  //
    88  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    89  type ExplicitContentAnnotation = src.ExplicitContentAnnotation
    90  
    91  // Config for EXPLICIT_CONTENT_DETECTION.
    92  //
    93  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    94  type ExplicitContentDetectionConfig = src.ExplicitContentDetectionConfig
    95  
    96  // Video frame level annotation results for explicit content.
    97  //
    98  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
    99  type ExplicitContentFrame = src.ExplicitContentFrame
   100  
   101  // Face annotation.
   102  //
   103  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   104  type FaceAnnotation = src.FaceAnnotation
   105  
   106  // Config for FACE_DETECTION.
   107  //
   108  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   109  type FaceDetectionConfig = src.FaceDetectionConfig
   110  
   111  // Video frame level annotation results for face detection.
   112  //
   113  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   114  type FaceFrame = src.FaceFrame
   115  
   116  // Video segment level annotation results for face detection.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   119  type FaceSegment = src.FaceSegment
   120  
   121  // Video annotation feature.
   122  //
   123  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   124  type Feature = src.Feature
   125  
   126  // Label annotation.
   127  //
   128  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   129  type LabelAnnotation = src.LabelAnnotation
   130  
   131  // Config for LABEL_DETECTION.
   132  //
   133  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   134  type LabelDetectionConfig = src.LabelDetectionConfig
   135  
   136  // Label detection mode.
   137  //
   138  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   139  type LabelDetectionMode = src.LabelDetectionMode
   140  
   141  // Video frame level annotation results for label detection.
   142  //
   143  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   144  type LabelFrame = src.LabelFrame
   145  
   146  // Video segment level annotation results for label detection.
   147  //
   148  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   149  type LabelSegment = src.LabelSegment
   150  
   151  // Bucketized representation of likelihood.
   152  //
   153  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   154  type Likelihood = src.Likelihood
   155  
   156  // Normalized bounding box. The normalized vertex coordinates are relative to
   157  // the original image. Range: [0, 1].
   158  //
   159  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   160  type NormalizedBoundingBox = src.NormalizedBoundingBox
   161  
   162  // Config for SHOT_CHANGE_DETECTION.
   163  //
   164  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   165  type ShotChangeDetectionConfig = src.ShotChangeDetectionConfig
   166  
   167  // UnimplementedVideoIntelligenceServiceServer can be embedded to have forward
   168  // compatible implementations.
   169  //
   170  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   171  type UnimplementedVideoIntelligenceServiceServer = src.UnimplementedVideoIntelligenceServiceServer
   172  
   173  // Annotation progress for a single video.
   174  //
   175  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   176  type VideoAnnotationProgress = src.VideoAnnotationProgress
   177  
   178  // Annotation results for a single video.
   179  //
   180  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   181  type VideoAnnotationResults = src.VideoAnnotationResults
   182  
   183  // Video context and/or feature-specific parameters.
   184  //
   185  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   186  type VideoContext = src.VideoContext
   187  
   188  // VideoIntelligenceServiceClient is the client API for
   189  // VideoIntelligenceService service. For semantics around ctx use and
   190  // closing/ending streaming RPCs, please refer to
   191  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   192  //
   193  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   194  type VideoIntelligenceServiceClient = src.VideoIntelligenceServiceClient
   195  
   196  // VideoIntelligenceServiceServer is the server API for
   197  // VideoIntelligenceService service.
   198  //
   199  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   200  type VideoIntelligenceServiceServer = src.VideoIntelligenceServiceServer
   201  
   202  // Video segment.
   203  //
   204  // Deprecated: Please use types in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   205  type VideoSegment = src.VideoSegment
   206  
   207  // Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   208  func NewVideoIntelligenceServiceClient(cc grpc.ClientConnInterface) VideoIntelligenceServiceClient {
   209  	return src.NewVideoIntelligenceServiceClient(cc)
   210  }
   211  
   212  // Deprecated: Please use funcs in: cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb
   213  func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) {
   214  	src.RegisterVideoIntelligenceServiceServer(s, srv)
   215  }
   216  

View as plain text