| 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 transcoder aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/video/transcoder/apiv1/transcoderpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package transcoder |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/video/transcoder/apiv1/transcoderpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 31 |
const ( |
| 32 |
Job_FAILED = src.Job_FAILED |
| 33 |
Job_PENDING = src.Job_PENDING |
| 34 |
Job_PROCESSING_STATE_UNSPECIFIED = src.Job_PROCESSING_STATE_UNSPECIFIED |
| 35 |
Job_RUNNING = src.Job_RUNNING |
| 36 |
Job_SUCCEEDED = src.Job_SUCCEEDED |
| 37 |
Manifest_DASH = src.Manifest_DASH |
| 38 |
Manifest_HLS = src.Manifest_HLS |
| 39 |
Manifest_MANIFEST_TYPE_UNSPECIFIED = src.Manifest_MANIFEST_TYPE_UNSPECIFIED |
| 40 |
Overlay_FADE_IN = src.Overlay_FADE_IN |
| 41 |
Overlay_FADE_OUT = src.Overlay_FADE_OUT |
| 42 |
Overlay_FADE_TYPE_UNSPECIFIED = src.Overlay_FADE_TYPE_UNSPECIFIED |
| 43 |
) |
| 44 |
|
| 45 |
// Deprecated: Please use vars in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 46 |
var ( |
| 47 |
File_google_cloud_video_transcoder_v1_resources_proto = src.File_google_cloud_video_transcoder_v1_resources_proto |
| 48 |
File_google_cloud_video_transcoder_v1_services_proto = src.File_google_cloud_video_transcoder_v1_services_proto |
| 49 |
Job_ProcessingState_name = src.Job_ProcessingState_name |
| 50 |
Job_ProcessingState_value = src.Job_ProcessingState_value |
| 51 |
Manifest_ManifestType_name = src.Manifest_ManifestType_name |
| 52 |
Manifest_ManifestType_value = src.Manifest_ManifestType_value |
| 53 |
Overlay_FadeType_name = src.Overlay_FadeType_name |
| 54 |
Overlay_FadeType_value = src.Overlay_FadeType_value |
| 55 |
) |
| 56 |
|
| 57 |
// Ad break. |
| 58 |
// |
| 59 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 60 |
type AdBreak = src.AdBreak |
| 61 |
|
| 62 |
// Audio stream resource. |
| 63 |
// |
| 64 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 65 |
type AudioStream = src.AudioStream |
| 66 |
|
| 67 |
// The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`. |
| 68 |
// |
| 69 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 70 |
type AudioStream_AudioMapping = src.AudioStream_AudioMapping |
| 71 |
|
| 72 |
// Request message for `TranscoderService.CreateJob`. |
| 73 |
// |
| 74 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 75 |
type CreateJobRequest = src.CreateJobRequest |
| 76 |
|
| 77 |
// Request message for `TranscoderService.CreateJobTemplate`. |
| 78 |
// |
| 79 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 80 |
type CreateJobTemplateRequest = src.CreateJobTemplateRequest |
| 81 |
|
| 82 |
// Request message for `TranscoderService.DeleteJob`. |
| 83 |
// |
| 84 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 85 |
type DeleteJobRequest = src.DeleteJobRequest |
| 86 |
|
| 87 |
// Request message for `TranscoderService.DeleteJobTemplate`. |
| 88 |
// |
| 89 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 90 |
type DeleteJobTemplateRequest = src.DeleteJobTemplateRequest |
| 91 |
|
| 92 |
// Edit atom. |
| 93 |
// |
| 94 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 95 |
type EditAtom = src.EditAtom |
| 96 |
|
| 97 |
// Encoding of an input file such as an audio, video, or text track. |
| 98 |
// Elementary streams must be packaged before mapping and sharing between |
| 99 |
// different output formats. |
| 100 |
// |
| 101 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 102 |
type ElementaryStream = src.ElementaryStream |
| 103 |
type ElementaryStream_AudioStream = src.ElementaryStream_AudioStream |
| 104 |
type ElementaryStream_TextStream = src.ElementaryStream_TextStream |
| 105 |
type ElementaryStream_VideoStream = src.ElementaryStream_VideoStream |
| 106 |
|
| 107 |
// Request message for `TranscoderService.GetJob`. |
| 108 |
// |
| 109 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 110 |
type GetJobRequest = src.GetJobRequest |
| 111 |
|
| 112 |
// Request message for `TranscoderService.GetJobTemplate`. |
| 113 |
// |
| 114 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 115 |
type GetJobTemplateRequest = src.GetJobTemplateRequest |
| 116 |
|
| 117 |
// Input asset. |
| 118 |
// |
| 119 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 120 |
type Input = src.Input |
| 121 |
|
| 122 |
// Transcoding job resource. |
| 123 |
// |
| 124 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 125 |
type Job = src.Job |
| 126 |
|
| 127 |
// Job configuration |
| 128 |
// |
| 129 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 130 |
type JobConfig = src.JobConfig |
| 131 |
|
| 132 |
// Transcoding job template resource. |
| 133 |
// |
| 134 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 135 |
type JobTemplate = src.JobTemplate |
| 136 |
type Job_Config = src.Job_Config |
| 137 |
|
| 138 |
// The current state of the job. |
| 139 |
// |
| 140 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 141 |
type Job_ProcessingState = src.Job_ProcessingState |
| 142 |
type Job_TemplateId = src.Job_TemplateId |
| 143 |
|
| 144 |
// Request message for `TranscoderService.ListJobTemplates`. |
| 145 |
// |
| 146 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 147 |
type ListJobTemplatesRequest = src.ListJobTemplatesRequest |
| 148 |
|
| 149 |
// Response message for `TranscoderService.ListJobTemplates`. |
| 150 |
// |
| 151 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 152 |
type ListJobTemplatesResponse = src.ListJobTemplatesResponse |
| 153 |
|
| 154 |
// Request message for `TranscoderService.ListJobs`. The parent location from |
| 155 |
// which to retrieve the collection of jobs. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 158 |
type ListJobsRequest = src.ListJobsRequest |
| 159 |
|
| 160 |
// Response message for `TranscoderService.ListJobs`. |
| 161 |
// |
| 162 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 163 |
type ListJobsResponse = src.ListJobsResponse |
| 164 |
|
| 165 |
// Manifest configuration. |
| 166 |
// |
| 167 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 168 |
type Manifest = src.Manifest |
| 169 |
|
| 170 |
// The manifest type can be either `HLS` or `DASH`. |
| 171 |
// |
| 172 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 173 |
type Manifest_ManifestType = src.Manifest_ManifestType |
| 174 |
|
| 175 |
// Multiplexing settings for output stream. |
| 176 |
// |
| 177 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 178 |
type MuxStream = src.MuxStream |
| 179 |
|
| 180 |
// Location of output file(s) in a Cloud Storage bucket. |
| 181 |
// |
| 182 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 183 |
type Output = src.Output |
| 184 |
|
| 185 |
// Overlay configuration. |
| 186 |
// |
| 187 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 188 |
type Overlay = src.Overlay |
| 189 |
|
| 190 |
// Animation types. |
| 191 |
// |
| 192 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 193 |
type Overlay_Animation = src.Overlay_Animation |
| 194 |
|
| 195 |
// End previous overlay animation from the video. Without AnimationEnd, the |
| 196 |
// overlay object will keep the state of previous animation until the end of |
| 197 |
// the video. |
| 198 |
// |
| 199 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 200 |
type Overlay_AnimationEnd = src.Overlay_AnimationEnd |
| 201 |
|
| 202 |
// Display overlay object with fade animation. |
| 203 |
// |
| 204 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 205 |
type Overlay_AnimationFade = src.Overlay_AnimationFade |
| 206 |
|
| 207 |
// Display static overlay object. |
| 208 |
// |
| 209 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 210 |
type Overlay_AnimationStatic = src.Overlay_AnimationStatic |
| 211 |
type Overlay_Animation_AnimationEnd = src.Overlay_Animation_AnimationEnd |
| 212 |
type Overlay_Animation_AnimationFade = src.Overlay_Animation_AnimationFade |
| 213 |
type Overlay_Animation_AnimationStatic = src.Overlay_Animation_AnimationStatic |
| 214 |
|
| 215 |
// Fade type for the overlay: `FADE_IN` or `FADE_OUT`. |
| 216 |
// |
| 217 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 218 |
type Overlay_FadeType = src.Overlay_FadeType |
| 219 |
|
| 220 |
// Overlaid jpeg image. |
| 221 |
// |
| 222 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 223 |
type Overlay_Image = src.Overlay_Image |
| 224 |
|
| 225 |
// 2D normalized coordinates. Default: `{0.0, 0.0}` |
| 226 |
// |
| 227 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 228 |
type Overlay_NormalizedCoordinate = src.Overlay_NormalizedCoordinate |
| 229 |
|
| 230 |
// Preprocessing configurations. |
| 231 |
// |
| 232 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 233 |
type PreprocessingConfig = src.PreprocessingConfig |
| 234 |
|
| 235 |
// Audio preprocessing configuration. |
| 236 |
// |
| 237 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 238 |
type PreprocessingConfig_Audio = src.PreprocessingConfig_Audio |
| 239 |
|
| 240 |
// Color preprocessing configuration. **Note:** This configuration is not |
| 241 |
// supported. |
| 242 |
// |
| 243 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 244 |
type PreprocessingConfig_Color = src.PreprocessingConfig_Color |
| 245 |
|
| 246 |
// Video cropping configuration for the input video. The cropped input video |
| 247 |
// is scaled to match the output resolution. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 250 |
type PreprocessingConfig_Crop = src.PreprocessingConfig_Crop |
| 251 |
|
| 252 |
// Deblock preprocessing configuration. **Note:** This configuration is not |
| 253 |
// supported. |
| 254 |
// |
| 255 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 256 |
type PreprocessingConfig_Deblock = src.PreprocessingConfig_Deblock |
| 257 |
|
| 258 |
// Denoise preprocessing configuration. **Note:** This configuration is not |
| 259 |
// supported. |
| 260 |
// |
| 261 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 262 |
type PreprocessingConfig_Denoise = src.PreprocessingConfig_Denoise |
| 263 |
|
| 264 |
// Pad filter configuration for the input video. The padded input video is |
| 265 |
// scaled after padding with black to match the output resolution. |
| 266 |
// |
| 267 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 268 |
type PreprocessingConfig_Pad = src.PreprocessingConfig_Pad |
| 269 |
|
| 270 |
// A Pub/Sub destination. |
| 271 |
// |
| 272 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 273 |
type PubsubDestination = src.PubsubDestination |
| 274 |
|
| 275 |
// Segment settings for `ts`, `fmp4` and `vtt`. |
| 276 |
// |
| 277 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 278 |
type SegmentSettings = src.SegmentSettings |
| 279 |
|
| 280 |
// Sprite sheet configuration. |
| 281 |
// |
| 282 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 283 |
type SpriteSheet = src.SpriteSheet |
| 284 |
type SpriteSheet_Interval = src.SpriteSheet_Interval |
| 285 |
type SpriteSheet_TotalCount = src.SpriteSheet_TotalCount |
| 286 |
|
| 287 |
// Encoding of a text stream. For example, closed captions or subtitles. |
| 288 |
// |
| 289 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 290 |
type TextStream = src.TextStream |
| 291 |
|
| 292 |
// The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. |
| 293 |
// |
| 294 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 295 |
type TextStream_TextMapping = src.TextStream_TextMapping |
| 296 |
|
| 297 |
// TranscoderServiceClient is the client API for TranscoderService service. |
| 298 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer |
| 299 |
// to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 300 |
// |
| 301 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 302 |
type TranscoderServiceClient = src.TranscoderServiceClient |
| 303 |
|
| 304 |
// TranscoderServiceServer is the server API for TranscoderService service. |
| 305 |
// |
| 306 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 307 |
type TranscoderServiceServer = src.TranscoderServiceServer |
| 308 |
|
| 309 |
// UnimplementedTranscoderServiceServer can be embedded to have forward |
| 310 |
// compatible implementations. |
| 311 |
// |
| 312 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 313 |
type UnimplementedTranscoderServiceServer = src.UnimplementedTranscoderServiceServer |
| 314 |
|
| 315 |
// Video stream resource. |
| 316 |
// |
| 317 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 318 |
type VideoStream = src.VideoStream |
| 319 |
type VideoStream_H264 = src.VideoStream_H264 |
| 320 |
|
| 321 |
// H264 codec settings. |
| 322 |
// |
| 323 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 324 |
type VideoStream_H264CodecSettings = src.VideoStream_H264CodecSettings |
| 325 |
type VideoStream_H264CodecSettings_GopDuration = src.VideoStream_H264CodecSettings_GopDuration |
| 326 |
type VideoStream_H264CodecSettings_GopFrameCount = src.VideoStream_H264CodecSettings_GopFrameCount |
| 327 |
type VideoStream_H265 = src.VideoStream_H265 |
| 328 |
|
| 329 |
// H265 codec settings. |
| 330 |
// |
| 331 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 332 |
type VideoStream_H265CodecSettings = src.VideoStream_H265CodecSettings |
| 333 |
type VideoStream_H265CodecSettings_GopDuration = src.VideoStream_H265CodecSettings_GopDuration |
| 334 |
type VideoStream_H265CodecSettings_GopFrameCount = src.VideoStream_H265CodecSettings_GopFrameCount |
| 335 |
type VideoStream_Vp9 = src.VideoStream_Vp9 |
| 336 |
|
| 337 |
// VP9 codec settings. |
| 338 |
// |
| 339 |
// Deprecated: Please use types in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 340 |
type VideoStream_Vp9CodecSettings = src.VideoStream_Vp9CodecSettings |
| 341 |
type VideoStream_Vp9CodecSettings_GopDuration = src.VideoStream_Vp9CodecSettings_GopDuration |
| 342 |
type VideoStream_Vp9CodecSettings_GopFrameCount = src.VideoStream_Vp9CodecSettings_GopFrameCount |
| 343 |
|
| 344 |
// Deprecated: Please use funcs in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 345 |
func NewTranscoderServiceClient(cc grpc.ClientConnInterface) TranscoderServiceClient { |
| 346 |
return src.NewTranscoderServiceClient(cc) |
| 347 |
} |
| 348 |
|
| 349 |
// Deprecated: Please use funcs in: cloud.google.com/go/video/transcoder/apiv1/transcoderpb |
| 350 |
func RegisterTranscoderServiceServer(s *grpc.Server, srv TranscoderServiceServer) { |
| 351 |
src.RegisterTranscoderServiceServer(s, srv) |
| 352 |
} |