UNPKG

@google-cloud/video-transcoder

Version:
1,162 lines (1,161 loc) 144 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "video": { "nested": { "transcoder": { "nested": { "v1": { "options": { "go_package": "cloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpb", "java_multiple_files": true, "java_outer_classname": "ServicesProto", "java_package": "com.google.cloud.video.transcoder.v1", "csharp_namespace": "Google.Cloud.Video.Transcoder.V1", "php_namespace": "Google\\Cloud\\Video\\Transcoder\\V1", "ruby_package": "Google::Cloud::Video::Transcoder::V1" }, "nested": { "Job": { "options": { "(google.api.resource).type": "transcoder.googleapis.com/Job", "(google.api.resource).pattern": "projects/{project}/locations/{location}/jobs/{job}" }, "oneofs": { "jobConfig": { "oneof": [ "templateId", "config" ] } }, "fields": { "name": { "type": "string", "id": 1 }, "inputUri": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "outputUri": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "templateId": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "config": { "type": "JobConfig", "id": 5 }, "state": { "type": "ProcessingState", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 12, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 13, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 14, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "ttlAfterCompletionDays": { "type": "int32", "id": 15 }, "labels": { "keyType": "string", "type": "string", "id": 16 }, "error": { "type": "google.rpc.Status", "id": 17, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "mode": { "type": "ProcessingMode", "id": 20 }, "batchModePriority": { "type": "int32", "id": 21 }, "optimization": { "type": "OptimizationStrategy", "id": 22, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "fillContentGaps": { "type": "bool", "id": 25, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "ProcessingState": { "values": { "PROCESSING_STATE_UNSPECIFIED": 0, "PENDING": 1, "RUNNING": 2, "SUCCEEDED": 3, "FAILED": 4 } }, "ProcessingMode": { "values": { "PROCESSING_MODE_UNSPECIFIED": 0, "PROCESSING_MODE_INTERACTIVE": 1, "PROCESSING_MODE_BATCH": 2 } }, "OptimizationStrategy": { "values": { "OPTIMIZATION_STRATEGY_UNSPECIFIED": 0, "AUTODETECT": 1, "DISABLED": 2 } } } }, "JobTemplate": { "options": { "(google.api.resource).type": "transcoder.googleapis.com/JobTemplate", "(google.api.resource).pattern": "projects/{project}/locations/{location}/jobTemplates/{job_template}" }, "fields": { "name": { "type": "string", "id": 1 }, "config": { "type": "JobConfig", "id": 2 }, "labels": { "keyType": "string", "type": "string", "id": 3 } } }, "JobConfig": { "fields": { "inputs": { "rule": "repeated", "type": "Input", "id": 1 }, "editList": { "rule": "repeated", "type": "EditAtom", "id": 2 }, "elementaryStreams": { "rule": "repeated", "type": "ElementaryStream", "id": 3 }, "muxStreams": { "rule": "repeated", "type": "MuxStream", "id": 4 }, "manifests": { "rule": "repeated", "type": "Manifest", "id": 5 }, "output": { "type": "Output", "id": 6 }, "adBreaks": { "rule": "repeated", "type": "AdBreak", "id": 7 }, "pubsubDestination": { "type": "PubsubDestination", "id": 8 }, "spriteSheets": { "rule": "repeated", "type": "SpriteSheet", "id": 9 }, "overlays": { "rule": "repeated", "type": "Overlay", "id": 10 }, "encryptions": { "rule": "repeated", "type": "Encryption", "id": 11 } } }, "Input": { "fields": { "key": { "type": "string", "id": 1 }, "uri": { "type": "string", "id": 2 }, "preprocessingConfig": { "type": "PreprocessingConfig", "id": 3 }, "attributes": { "type": "InputAttributes", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "Output": { "fields": { "uri": { "type": "string", "id": 1 } } }, "EditAtom": { "fields": { "key": { "type": "string", "id": 1 }, "inputs": { "rule": "repeated", "type": "string", "id": 2 }, "endTimeOffset": { "type": "google.protobuf.Duration", "id": 3 }, "startTimeOffset": { "type": "google.protobuf.Duration", "id": 4 } } }, "AdBreak": { "fields": { "startTimeOffset": { "type": "google.protobuf.Duration", "id": 1 } } }, "ElementaryStream": { "oneofs": { "elementaryStream": { "oneof": [ "videoStream", "audioStream", "textStream" ] } }, "fields": { "key": { "type": "string", "id": 4 }, "videoStream": { "type": "VideoStream", "id": 1 }, "audioStream": { "type": "AudioStream", "id": 2 }, "textStream": { "type": "TextStream", "id": 3 } } }, "MuxStream": { "oneofs": { "containerConfig": { "oneof": [ "fmp4" ] } }, "fields": { "key": { "type": "string", "id": 1 }, "fileName": { "type": "string", "id": 2 }, "container": { "type": "string", "id": 3 }, "elementaryStreams": { "rule": "repeated", "type": "string", "id": 4 }, "segmentSettings": { "type": "SegmentSettings", "id": 5 }, "encryptionId": { "type": "string", "id": 7 }, "fmp4": { "type": "Fmp4Config", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Fmp4Config": { "fields": { "codecTag": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "Manifest": { "oneofs": { "manifestConfig": { "oneof": [ "dash" ] } }, "fields": { "fileName": { "type": "string", "id": 1 }, "type": { "type": "ManifestType", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "muxStreams": { "rule": "repeated", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "dash": { "type": "DashConfig", "id": 4 } }, "nested": { "ManifestType": { "values": { "MANIFEST_TYPE_UNSPECIFIED": 0, "HLS": 1, "DASH": 2 } }, "DashConfig": { "fields": { "segmentReferenceScheme": { "type": "SegmentReferenceScheme", "id": 1 } }, "nested": { "SegmentReferenceScheme": { "values": { "SEGMENT_REFERENCE_SCHEME_UNSPECIFIED": 0, "SEGMENT_LIST": 1, "SEGMENT_TEMPLATE_NUMBER": 2 } } } } } }, "PubsubDestination": { "fields": { "topic": { "type": "string", "id": 1 } } }, "SpriteSheet": { "oneofs": { "extractionStrategy": { "oneof": [ "totalCount", "interval" ] } }, "fields": { "format": { "type": "string", "id": 1 }, "filePrefix": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "spriteWidthPixels": { "type": "int32", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "spriteHeightPixels": { "type": "int32", "id": 4, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "columnCount": { "type": "int32", "id": 5 }, "rowCount": { "type": "int32", "id": 6 }, "startTimeOffset": { "type": "google.protobuf.Duration", "id": 7 }, "endTimeOffset": { "type": "google.protobuf.Duration", "id": 8 }, "totalCount": { "type": "int32", "id": 9 }, "interval": { "type": "google.protobuf.Duration", "id": 10 }, "quality": { "type": "int32", "id": 11 } } }, "Overlay": { "fields": { "image": { "type": "Image", "id": 1 }, "animations": { "rule": "repeated", "type": "Animation", "id": 2 } }, "nested": { "NormalizedCoordinate": { "fields": { "x": { "type": "double", "id": 1 }, "y": { "type": "double", "id": 2 } } }, "Image": { "fields": { "uri": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "resolution": { "type": "NormalizedCoordinate", "id": 2 }, "alpha": { "type": "double", "id": 3 } } }, "AnimationStatic": { "fields": { "xy": { "type": "NormalizedCoordinate", "id": 1 }, "startTimeOffset": { "type": "google.protobuf.Duration", "id": 2 } } }, "FadeType": { "values": { "FADE_TYPE_UNSPECIFIED": 0, "FADE_IN": 1, "FADE_OUT": 2 } }, "AnimationFade": { "fields": { "fadeType": { "type": "FadeType", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "xy": { "type": "NormalizedCoordinate", "id": 2 }, "startTimeOffset": { "type": "google.protobuf.Duration", "id": 3 }, "endTimeOffset": { "type": "google.protobuf.Duration", "id": 4 } } }, "AnimationEnd": { "fields": { "startTimeOffset": { "type": "google.protobuf.Duration", "id": 1 } } }, "Animation": { "oneofs": { "animationType": { "oneof": [ "animationStatic", "animationFade", "animationEnd" ] } }, "fields": { "animationStatic": { "type": "AnimationStatic", "id": 1 }, "animationFade": { "type": "AnimationFade", "id": 2 }, "animationEnd": { "type": "AnimationEnd", "id": 3 } } } } }, "PreprocessingConfig": { "fields": { "color": { "type": "Color", "id": 1 }, "denoise": { "type": "Denoise", "id": 2 }, "deblock": { "type": "Deblock", "id": 3 }, "audio": { "type": "Audio", "id": 4 }, "crop": { "type": "Crop", "id": 5 }, "pad": { "type": "Pad", "id": 6 }, "deinterlace": { "type": "Deinterlace", "id": 7 } }, "nested": { "Color": { "fields": { "saturation": { "type": "double", "id": 1 }, "contrast": { "type": "double", "id": 2 }, "brightness": { "type": "double", "id": 3 } } }, "Denoise": { "fields": { "strength": { "type": "double", "id": 1 }, "tune": { "type": "string", "id": 2 } } }, "Deblock": { "fields": { "strength": { "type": "double", "id": 1 }, "enabled": { "type": "bool", "id": 2 } } }, "Audio": { "fields": { "lufs": { "type": "double", "id": 1 }, "highBoost": { "type": "bool", "id": 2 }, "lowBoost": { "type": "bool", "id": 3 } } }, "Crop": { "fields": { "topPixels": { "type": "int32", "id": 1 }, "bottomPixels": { "type": "int32", "id": 2 }, "leftPixels": { "type": "int32", "id": 3 }, "rightPixels": { "type": "int32", "id": 4 } } }, "Pad": { "fields": { "topPixels": { "type": "int32", "id": 1 }, "bottomPixels": { "type": "int32", "id": 2 }, "leftPixels": { "type": "int32", "id": 3 }, "rightPixels": { "type": "int32", "id": 4 } } }, "Deinterlace": { "oneofs": { "deinterlacingFilter": { "oneof": [ "yadif", "bwdif" ] } }, "fields": { "yadif": { "type": "YadifConfig", "id": 1 }, "bwdif": { "type": "BwdifConfig", "id": 2 } }, "nested": { "YadifConfig": { "fields": { "mode": { "type": "string", "id": 1 }, "disableSpatialInterlacing": { "type": "bool", "id": 2 }, "parity": { "type": "string", "id": 3 }, "deinterlaceAllFrames": { "type": "bool", "id": 4 } } }, "BwdifConfig": { "fields": { "mode": { "type": "string", "id": 1 }, "parity": { "type": "string", "id": 2 }, "deinterlaceAllFrames": { "type": "bool", "id": 3 } } } } } } }, "TrackDefinition": { "oneofs": { "_inputTrack": { "oneof": [ "inputTrack" ] } }, "fields": { "inputTrack": { "type": "int32", "id": 1, "options": { "proto3_optional": true } }, "languages": { "rule": "repeated", "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "detectLanguages": { "type": "bool", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "detectedLanguages": { "rule": "repeated", "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "InputAttributes": { "fields": { "trackDefinitions": { "rule": "repeated", "type": "TrackDefinition", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VideoStream": { "oneofs": { "codecSettings": { "oneof": [ "h264", "h265", "vp9" ] } }, "fields": { "h264": { "type": "H264CodecSettings", "id": 1 }, "h265": { "type": "H265CodecSettings", "id": 2 }, "vp9": { "type": "Vp9CodecSettings", "id": 3 } }, "nested": { "FrameRateConversionStrategy": { "values": { "FRAME_RATE_CONVERSION_STRATEGY_UNSPECIFIED": 0, "DOWNSAMPLE": 1, "DROP_DUPLICATE": 2 } }, "H264ColorFormatSDR": { "fields": {} }, "H264ColorFormatHLG": { "fields": {} }, "H264CodecSettings": { "oneofs": { "gopMode": { "oneof": [ "gopFrameCount", "gopDuration" ] }, "colorFormat": { "oneof": [ "sdr", "hlg" ] } }, "fields": { "widthPixels": { "type": "int32", "id": 1 }, "heightPixels": { "type": "int32", "id": 2 }, "frameRate": { "type": "double", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "frameRateConversionStrategy": { "type": "FrameRateConversionStrategy", "id": 23, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "bitrateBps": { "type": "int32", "id": 4, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "pixelFormat": { "type": "string", "id": 5 }, "rateControlMode": { "type": "string", "id": 6 }, "crfLevel": { "type": "int32", "id": 7 }, "allowOpenGop": { "type": "bool", "id": 8 }, "gopFrameCount": { "type": "int32", "id": 9 }, "gopDuration": { "type": "google.protobuf.Duration", "id": 10 }, "enableTwoPass": { "type": "bool", "id": 11 }, "vbvSizeBits": { "type": "int32", "id": 12 }, "vbvFullnessBits": { "type": "int32", "id": 13 }, "entropyCoder": { "type": "string", "id": 14 }, "bPyramid": { "type": "bool", "id": 15 }, "bFrameCount": { "type": "int32", "id": 16 }, "aqStrength": { "type": "double", "id": 17 }, "profile": { "type": "string", "id": 18 }, "tune": { "type": "string", "id": 19 }, "preset": { "type": "string", "id": 20 }, "sdr": { "type": "H264ColorFormatSDR", "id": 21, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "hlg": { "type": "H264ColorFormatHLG", "id": 22, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "H265ColorFormatSDR": { "fields": {} }, "H265ColorFormatHLG": { "fields": {} }, "H265ColorFormatHDR10": { "fields": {} }, "H265CodecSettings": { "oneofs": { "gopMode": { "oneof": [ "gopFrameCount", "gopDuration" ] }, "colorFormat": { "oneof": [ "sdr", "hlg", "hdr10" ] } }, "fields": { "widthPixels": { "type": "int32", "id": 1 }, "heightPixels": { "type": "int32", "id": 2 }, "frameRate": { "type": "double", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "frameRateConversionStrategy": { "type": "FrameRateConversionStrategy", "id": 23, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "bitrateBps": { "type": "int32", "id": 4, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "pixelFormat": { "type": "string", "id": 5 }, "rateControlMode": { "type": "string", "id": 6 }, "crfLevel": { "type": "int32", "id": 7 }, "allowOpenGop": { "type": "bool", "id": 8 }, "gopFrameCount": { "type": "int32", "id": 9 }, "gopDuration": { "type": "google.protobuf.Duration", "id": 10 }, "enableTwoPass": { "type": "bool", "id": 11 }, "vbvSizeBits": { "type": "int32", "id": 12 }, "vbvFullnessBits": { "type": "int32", "id": 13 }, "bPyramid": { "type": "bool", "id": 14 }, "bFrameCount": { "type": "int32", "id": 15 }, "aqStrength": { "type": "double", "id": 16 }, "profile": { "type": "string", "id": 17 }, "tune": { "type": "string", "id": 18 }, "preset": { "type": "string", "id": 19 }, "sdr": { "type": "H265ColorFormatSDR", "id": 20, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "hlg": {