# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/video/stitcher/v1/sessions.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/video/stitcher/v1/companions_pb' require 'google/cloud/video/stitcher/v1/events_pb' require 'google/cloud/video/stitcher/v1/live_configs_pb' require 'google/protobuf/duration_pb' descriptor_data = "\n-google/cloud/video/stitcher/v1/sessions.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/video/stitcher/v1/companions.proto\x1a+google/cloud/video/stitcher/v1/events.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a\x1egoogle/protobuf/duration.proto\"\xa2\x06\n\nVodSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12I\n\rinterstitials\x18\x02 \x01(\x0b\x32-.google.cloud.video.stitcher.v1.InterstitialsB\x03\xe0\x41\x03\x12\x15\n\x08play_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nsource_uri\x18\x05 \x01(\t\x12\x12\n\nad_tag_uri\x18\x06 \x01(\t\x12W\n\x10\x61\x64_tag_macro_map\x18\x07 \x03(\x0b\x32=.google.cloud.video.stitcher.v1.VodSession.AdTagMacroMapEntry\x12I\n\x10manifest_options\x18\t \x01(\x0b\x32/.google.cloud.video.stitcher.v1.ManifestOptions\x12\x15\n\x08\x61sset_id\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x0b\x61\x64_tracking\x18\x0b \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTrackingB\x03\xe0\x41\x02\x12L\n\x0cgam_settings\x18\r \x01(\x0b\x32\x36.google.cloud.video.stitcher.v1.VodSession.GamSettings\x12?\n\nvod_config\x18\x0e \x01(\tB+\xfa\x41(\n&videostitcher.googleapis.com/VodConfig\x1a@\n\x0bGamSettings\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tstream_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\x34\n\x12\x41\x64TagMacroMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n\'videostitcher.googleapis.com/VodSession\x12\x41projects/{project}/locations/{location}/vodSessions/{vod_session}\"\xa1\x01\n\rInterstitials\x12\x44\n\tad_breaks\x18\x01 \x03(\x0b\x32\x31.google.cloud.video.stitcher.v1.VodSessionAdBreak\x12J\n\x0fsession_content\x18\x02 \x01(\x0b\x32\x31.google.cloud.video.stitcher.v1.VodSessionContent\"\xc0\x01\n\x0cVodSessionAd\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\rcompanion_ads\x18\x02 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.CompanionAds\x12>\n\x0f\x61\x63tivity_events\x18\x03 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.Event\"@\n\x11VodSessionContent\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x80\x02\n\x11VodSessionAdBreak\x12\x46\n\x0fprogress_events\x18\x01 \x03(\x0b\x32-.google.cloud.video.stitcher.v1.ProgressEvent\x12\x39\n\x03\x61\x64s\x18\x02 \x03(\x0b\x32,.google.cloud.video.stitcher.v1.VodSessionAd\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa9\x06\n\x0bLiveSession\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08play_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12S\n\rad_tag_macros\x18\x06 \x03(\x0b\x32<.google.cloud.video.stitcher.v1.LiveSession.AdTagMacrosEntry\x12I\n\x10manifest_options\x18\n \x01(\x0b\x32/.google.cloud.video.stitcher.v1.ManifestOptions\x12M\n\x0cgam_settings\x18\x0f \x01(\x0b\x32\x37.google.cloud.video.stitcher.v1.LiveSession.GamSettings\x12\x44\n\x0blive_config\x18\x10 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\x12?\n\x0b\x61\x64_tracking\x18\x11 \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTracking\x1a\xd1\x01\n\x0bGamSettings\x12\x16\n\tstream_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12n\n\x14targeting_parameters\x18\x04 \x03(\x0b\x32P.google.cloud.video.stitcher.v1.LiveSession.GamSettings.TargetingParametersEntry\x1a:\n\x18TargetingParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41\x64TagMacrosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:r\xea\x41o\n(videostitcher.googleapis.com/LiveSession\x12\x43projects/{project}/locations/{location}/liveSessions/{live_session}\"\xfe\x01\n\x0fManifestOptions\x12K\n\x12include_renditions\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.RenditionFilter\x12R\n\rbitrate_order\x18\x02 \x01(\x0e\x32;.google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy\"J\n\x0bOrderPolicy\x12\x1c\n\x18ORDER_POLICY_UNSPECIFIED\x10\x00\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"6\n\x0fRenditionFilter\x12\x13\n\x0b\x62itrate_bps\x18\x01 \x01(\x05\x12\x0e\n\x06\x63odecs\x18\x02 \x01(\tBu\n\"com.google.cloud.video.stitcher.v1B\rSessionsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Duration", "google/protobuf/duration.proto"], ["google.cloud.video.stitcher.v1.CompanionAds", "google/cloud/video/stitcher/v1/companions.proto"], ["google.cloud.video.stitcher.v1.Event", "google/cloud/video/stitcher/v1/events.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Video module Stitcher module V1 VodSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession").msgclass VodSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession.GamSettings").msgclass Interstitials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Interstitials").msgclass VodSessionAd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAd").msgclass VodSessionContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionContent").msgclass VodSessionAdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAdBreak").msgclass LiveSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession").msgclass LiveSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.GamSettings").msgclass ManifestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions").msgclass ManifestOptions::OrderPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy").enummodule RenditionFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.RenditionFilter").msgclass end end end end end