| 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 livestream aliases all exported identifiers in package |
| 18 | // "cloud.google.com/go/video/livestream/apiv1/livestreampb". |
| 19 | // |
| 20 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb. |
| 21 | // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 | // for more details. |
| 23 | package livestream |
| 24 | |
| 25 | import ( |
| 26 | src "cloud.google.com/go/video/livestream/apiv1/livestreampb" |
| 27 | grpc "google.golang.org/grpc" |
| 28 | ) |
| 29 | |
| 30 | // Deprecated: Please use consts in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 31 | const ( |
| 32 | Channel_AWAITING_INPUT = src.Channel_AWAITING_INPUT |
| 33 | Channel_STARTING = src.Channel_STARTING |
| 34 | Channel_STOPPED = src.Channel_STOPPED |
| 35 | Channel_STOPPING = src.Channel_STOPPING |
| 36 | Channel_STREAMING = src.Channel_STREAMING |
| 37 | Channel_STREAMING_ERROR = src.Channel_STREAMING_ERROR |
| 38 | Channel_STREAMING_NO_INPUT = src.Channel_STREAMING_NO_INPUT |
| 39 | Channel_STREAMING_STATE_UNSPECIFIED = src.Channel_STREAMING_STATE_UNSPECIFIED |
| 40 | Event_FAILED = src.Event_FAILED |
| 41 | Event_PENDING = src.Event_PENDING |
| 42 | Event_RUNNING = src.Event_RUNNING |
| 43 | Event_SCHEDULED = src.Event_SCHEDULED |
| 44 | Event_STATE_UNSPECIFIED = src.Event_STATE_UNSPECIFIED |
| 45 | Event_STOPPED = src.Event_STOPPED |
| 46 | Event_SUCCEEDED = src.Event_SUCCEEDED |
| 47 | Input_HD = src.Input_HD |
| 48 | Input_RTMP_PUSH = src.Input_RTMP_PUSH |
| 49 | Input_SD = src.Input_SD |
| 50 | Input_SRT_PUSH = src.Input_SRT_PUSH |
| 51 | Input_TIER_UNSPECIFIED = src.Input_TIER_UNSPECIFIED |
| 52 | Input_TYPE_UNSPECIFIED = src.Input_TYPE_UNSPECIFIED |
| 53 | Input_UHD = src.Input_UHD |
| 54 | LogConfig_DEBUG = src.LogConfig_DEBUG |
| 55 | LogConfig_ERROR = src.LogConfig_ERROR |
| 56 | LogConfig_INFO = src.LogConfig_INFO |
| 57 | LogConfig_LOG_SEVERITY_UNSPECIFIED = src.LogConfig_LOG_SEVERITY_UNSPECIFIED |
| 58 | LogConfig_OFF = src.LogConfig_OFF |
| 59 | LogConfig_WARNING = src.LogConfig_WARNING |
| 60 | Manifest_DASH = src.Manifest_DASH |
| 61 | Manifest_HLS = src.Manifest_HLS |
| 62 | Manifest_MANIFEST_TYPE_UNSPECIFIED = src.Manifest_MANIFEST_TYPE_UNSPECIFIED |
| 63 | ) |
| 64 | |
| 65 | // Deprecated: Please use vars in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 66 | var ( |
| 67 | Channel_StreamingState_name = src.Channel_StreamingState_name |
| 68 | Channel_StreamingState_value = src.Channel_StreamingState_value |
| 69 | Event_State_name = src.Event_State_name |
| 70 | Event_State_value = src.Event_State_value |
| 71 | File_google_cloud_video_livestream_v1_outputs_proto = src.File_google_cloud_video_livestream_v1_outputs_proto |
| 72 | File_google_cloud_video_livestream_v1_resources_proto = src.File_google_cloud_video_livestream_v1_resources_proto |
| 73 | File_google_cloud_video_livestream_v1_service_proto = src.File_google_cloud_video_livestream_v1_service_proto |
| 74 | Input_Tier_name = src.Input_Tier_name |
| 75 | Input_Tier_value = src.Input_Tier_value |
| 76 | Input_Type_name = src.Input_Type_name |
| 77 | Input_Type_value = src.Input_Type_value |
| 78 | LogConfig_LogSeverity_name = src.LogConfig_LogSeverity_name |
| 79 | LogConfig_LogSeverity_value = src.LogConfig_LogSeverity_value |
| 80 | Manifest_ManifestType_name = src.Manifest_ManifestType_name |
| 81 | Manifest_ManifestType_value = src.Manifest_ManifestType_value |
| 82 | ) |
| 83 | |
| 84 | // Properties of the audio format. |
| 85 | // |
| 86 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 87 | type AudioFormat = src.AudioFormat |
| 88 | |
| 89 | // Audio stream resource. |
| 90 | // |
| 91 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 92 | type AudioStream = src.AudioStream |
| 93 | |
| 94 | // Properties of the audio stream. |
| 95 | // |
| 96 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 97 | type AudioStreamProperty = src.AudioStreamProperty |
| 98 | |
| 99 | // The mapping for the input streams and audio channels. |
| 100 | // |
| 101 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 102 | type AudioStream_AudioMapping = src.AudioStream_AudioMapping |
| 103 | |
| 104 | // Channel resource represents the processor that does a user-defined |
| 105 | // "streaming" operation, which includes getting an input stream through an |
| 106 | // input, transcoding it to multiple renditions, and publishing output live |
| 107 | // streams in certain formats (for example, HLS or DASH) to the specified |
| 108 | // location. |
| 109 | // |
| 110 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 111 | type Channel = src.Channel |
| 112 | |
| 113 | // Response message for Start/Stop Channel long-running operations. |
| 114 | // |
| 115 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 116 | type ChannelOperationResponse = src.ChannelOperationResponse |
| 117 | |
| 118 | // Location of output file(s) in a Google Cloud Storage bucket. |
| 119 | // |
| 120 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 121 | type Channel_Output = src.Channel_Output |
| 122 | |
| 123 | // State of streaming operation that the channel is running. |
| 124 | // |
| 125 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 126 | type Channel_StreamingState = src.Channel_StreamingState |
| 127 | |
| 128 | // Request message for "LivestreamService.CreateChannel". |
| 129 | // |
| 130 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 131 | type CreateChannelRequest = src.CreateChannelRequest |
| 132 | |
| 133 | // Request message for "LivestreamService.CreateEvent". |
| 134 | // |
| 135 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 136 | type CreateEventRequest = src.CreateEventRequest |
| 137 | |
| 138 | // Request message for "LivestreamService.CreateInput". |
| 139 | // |
| 140 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 141 | type CreateInputRequest = src.CreateInputRequest |
| 142 | |
| 143 | // Request message for "LivestreamService.DeleteChannel". |
| 144 | // |
| 145 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 146 | type DeleteChannelRequest = src.DeleteChannelRequest |
| 147 | |
| 148 | // Request message for "LivestreamService.DeleteEvent". |
| 149 | // |
| 150 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 151 | type DeleteEventRequest = src.DeleteEventRequest |
| 152 | |
| 153 | // Request message for "LivestreamService.DeleteInput". |
| 154 | // |
| 155 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 156 | type DeleteInputRequest = src.DeleteInputRequest |
| 157 | |
| 158 | // Encoding of an input element such as an audio, video, or text track. |
| 159 | // Elementary streams must be packaged before mapping and sharing between |
| 160 | // different output formats. |
| 161 | // |
| 162 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 163 | type ElementaryStream = src.ElementaryStream |
| 164 | type ElementaryStream_AudioStream = src.ElementaryStream_AudioStream |
| 165 | type ElementaryStream_TextStream = src.ElementaryStream_TextStream |
| 166 | type ElementaryStream_VideoStream = src.ElementaryStream_VideoStream |
| 167 | |
| 168 | // Event is a sub-resource of a channel, which can be scheduled by the user to |
| 169 | // execute operations on a channel resource without having to stop the channel. |
| 170 | // |
| 171 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 172 | type Event = src.Event |
| 173 | type Event_AdBreak = src.Event_AdBreak |
| 174 | |
| 175 | // Inserts a new ad opportunity. |
| 176 | // |
| 177 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 178 | type Event_AdBreakTask = src.Event_AdBreakTask |
| 179 | |
| 180 | // State of the event |
| 181 | // |
| 182 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 183 | type Event_State = src.Event_State |
| 184 | |
| 185 | // Request message for "LivestreamService.GetChannel". |
| 186 | // |
| 187 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 188 | type GetChannelRequest = src.GetChannelRequest |
| 189 | |
| 190 | // Request message for "LivestreamService.GetEvent". |
| 191 | // |
| 192 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 193 | type GetEventRequest = src.GetEventRequest |
| 194 | |
| 195 | // Request message for "LivestreamService.GetInput". |
| 196 | // |
| 197 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 198 | type GetInputRequest = src.GetInputRequest |
| 199 | |
| 200 | // Input resource represents the endpoint from which the channel ingests the |
| 201 | // input stream. |
| 202 | // |
| 203 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 204 | type Input = src.Input |
| 205 | |
| 206 | // A group of information for attaching an input resource to this channel. |
| 207 | // |
| 208 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 209 | type InputAttachment = src.InputAttachment |
| 210 | |
| 211 | // Configurations to follow when automatic failover happens. |
| 212 | // |
| 213 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 214 | type InputAttachment_AutomaticFailover = src.InputAttachment_AutomaticFailover |
| 215 | |
| 216 | // Properties of the input stream. |
| 217 | // |
| 218 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 219 | type InputStreamProperty = src.InputStreamProperty |
| 220 | |
| 221 | // Security rules for access control. Each field represents one security rule. |
| 222 | // Only when the source of the input stream satisfies all the fields, this |
| 223 | // input stream can be accepted. |
| 224 | // |
| 225 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 226 | type Input_SecurityRule = src.Input_SecurityRule |
| 227 | |
| 228 | // Tier of the input specification. |
| 229 | // |
| 230 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 231 | type Input_Tier = src.Input_Tier |
| 232 | |
| 233 | // The type of the input. |
| 234 | // |
| 235 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 236 | type Input_Type = src.Input_Type |
| 237 | |
| 238 | // Request message for "LivestreamService.ListChannels". |
| 239 | // |
| 240 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 241 | type ListChannelsRequest = src.ListChannelsRequest |
| 242 | |
| 243 | // Response message for "LivestreamService.ListChannels". |
| 244 | // |
| 245 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 246 | type ListChannelsResponse = src.ListChannelsResponse |
| 247 | |
| 248 | // Request message for "LivestreamService.ListEvents". |
| 249 | // |
| 250 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 251 | type ListEventsRequest = src.ListEventsRequest |
| 252 | |
| 253 | // Response message for "LivestreamService.ListEvents". |
| 254 | // |
| 255 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 256 | type ListEventsResponse = src.ListEventsResponse |
| 257 | |
| 258 | // Request message for "LivestreamService.ListInputs". |
| 259 | // |
| 260 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 261 | type ListInputsRequest = src.ListInputsRequest |
| 262 | |
| 263 | // Response message for "LivestreamService.ListInputs". |
| 264 | // |
| 265 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 266 | type ListInputsResponse = src.ListInputsResponse |
| 267 | |
| 268 | // LivestreamServiceClient is the client API for LivestreamService service. |
| 269 | // For semantics around ctx use and closing/ending streaming RPCs, please refer |
| 270 | // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 271 | // |
| 272 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 273 | type LivestreamServiceClient = src.LivestreamServiceClient |
| 274 | |
| 275 | // LivestreamServiceServer is the server API for LivestreamService service. |
| 276 | // |
| 277 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 278 | type LivestreamServiceServer = src.LivestreamServiceServer |
| 279 | |
| 280 | // Configuration of platform logs. See [Using and managing platform |
| 281 | // logs](https://cloud.google.com/logging/docs/api/platform-logs#managing-logs) |
| 282 | // for more information about how to view platform logs through Cloud Logging. |
| 283 | // |
| 284 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 285 | type LogConfig = src.LogConfig |
| 286 | |
| 287 | // The severity level of platform logging for this channel. Logs with a |
| 288 | // severity level higher than or equal to the chosen severity level will be |
| 289 | // logged and can be viewed through Cloud Logging. The severity level of a log |
| 290 | // is ranked as followed from low to high: DEBUG < INFO < NOTICE < WARNING < |
| 291 | // ERROR < CRITICAL < ALERT < EMERGENCY. See |
| 292 | // [LogSeverity](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity) |
| 293 | // for more information. |
| 294 | // |
| 295 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 296 | type LogConfig_LogSeverity = src.LogConfig_LogSeverity |
| 297 | |
| 298 | // Manifest configuration. |
| 299 | // |
| 300 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 301 | type Manifest = src.Manifest |
| 302 | |
| 303 | // The manifest type can be either `HLS` or `DASH`. |
| 304 | // |
| 305 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 306 | type Manifest_ManifestType = src.Manifest_ManifestType |
| 307 | |
| 308 | // Multiplexing settings for output stream. |
| 309 | // |
| 310 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 311 | type MuxStream = src.MuxStream |
| 312 | |
| 313 | // Represents the metadata of the long-running operation. |
| 314 | // |
| 315 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 316 | type OperationMetadata = src.OperationMetadata |
| 317 | |
| 318 | // Preprocessing configurations. |
| 319 | // |
| 320 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 321 | type PreprocessingConfig = src.PreprocessingConfig |
| 322 | |
| 323 | // Video cropping configuration for the input video. The cropped input video |
| 324 | // is scaled to match the output resolution. |
| 325 | // |
| 326 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 327 | type PreprocessingConfig_Crop = src.PreprocessingConfig_Crop |
| 328 | |
| 329 | // Pad filter configuration for the input video. The padded input video is |
| 330 | // scaled after padding with black to match the output resolution. |
| 331 | // |
| 332 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 333 | type PreprocessingConfig_Pad = src.PreprocessingConfig_Pad |
| 334 | |
| 335 | // Segment settings for `fmp4` and `ts`. |
| 336 | // |
| 337 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 338 | type SegmentSettings = src.SegmentSettings |
| 339 | |
| 340 | // Sprite sheet configuration. |
| 341 | // |
| 342 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 343 | type SpriteSheet = src.SpriteSheet |
| 344 | |
| 345 | // Request message for "LivestreamService.StartChannel". |
| 346 | // |
| 347 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 348 | type StartChannelRequest = src.StartChannelRequest |
| 349 | |
| 350 | // Request message for "LivestreamService.StopChannel". |
| 351 | // |
| 352 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 353 | type StopChannelRequest = src.StopChannelRequest |
| 354 | |
| 355 | // Encoding of a text stream. For example, closed captions or subtitles. |
| 356 | // |
| 357 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 358 | type TextStream = src.TextStream |
| 359 | |
| 360 | // UnimplementedLivestreamServiceServer can be embedded to have forward |
| 361 | // compatible implementations. |
| 362 | // |
| 363 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 364 | type UnimplementedLivestreamServiceServer = src.UnimplementedLivestreamServiceServer |
| 365 | |
| 366 | // Request message for "LivestreamService.UpdateChannel". |
| 367 | // |
| 368 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 369 | type UpdateChannelRequest = src.UpdateChannelRequest |
| 370 | |
| 371 | // Request message for "LivestreamService.UpdateInput". |
| 372 | // |
| 373 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 374 | type UpdateInputRequest = src.UpdateInputRequest |
| 375 | |
| 376 | // Properties of the video format. |
| 377 | // |
| 378 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 379 | type VideoFormat = src.VideoFormat |
| 380 | |
| 381 | // Video stream resource. |
| 382 | // |
| 383 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 384 | type VideoStream = src.VideoStream |
| 385 | |
| 386 | // Properties of the video stream. |
| 387 | // |
| 388 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 389 | type VideoStreamProperty = src.VideoStreamProperty |
| 390 | type VideoStream_H264 = src.VideoStream_H264 |
| 391 | |
| 392 | // H264 codec settings. |
| 393 | // |
| 394 | // Deprecated: Please use types in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 395 | type VideoStream_H264CodecSettings = src.VideoStream_H264CodecSettings |
| 396 | type VideoStream_H264CodecSettings_GopDuration = src.VideoStream_H264CodecSettings_GopDuration |
| 397 | type VideoStream_H264CodecSettings_GopFrameCount = src.VideoStream_H264CodecSettings_GopFrameCount |
| 398 | |
| 399 | // Deprecated: Please use funcs in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 400 | func NewLivestreamServiceClient(cc grpc.ClientConnInterface) LivestreamServiceClient { |
| 401 | return src.NewLivestreamServiceClient(cc) |
| 402 | } |
| 403 | |
| 404 | // Deprecated: Please use funcs in: cloud.google.com/go/video/livestream/apiv1/livestreampb |
| 405 | func RegisterLivestreamServiceServer(s *grpc.Server, srv LivestreamServiceServer) { |
| 406 | src.RegisterLivestreamServiceServer(s, srv) |
| 407 | } |