# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/video/stitcher/v1/companions.proto require 'google/protobuf' require 'google/cloud/video/stitcher/v1/events_pb' descriptor_data = "\n/google/cloud/video/stitcher/v1/companions.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a+google/cloud/video/stitcher/v1/events.proto\"\x82\x02\n\x0c\x43ompanionAds\x12\\\n\x13\x64isplay_requirement\x18\x01 \x01(\x0e\x32?.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement\x12=\n\ncompanions\x18\x02 \x03(\x0b\x32).google.cloud.video.stitcher.v1.Companion\"U\n\x12\x44isplayRequirement\x12#\n\x1f\x44ISPLAY_REQUIREMENT_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\x07\n\x03\x41NY\x10\x02\x12\x08\n\x04NONE\x10\x03\"\xf5\x03\n\tCompanion\x12N\n\x12iframe_ad_resource\x18\n \x01(\x0b\x32\x30.google.cloud.video.stitcher.v1.IframeAdResourceH\x00\x12N\n\x12static_ad_resource\x18\x0b \x01(\x0b\x32\x30.google.cloud.video.stitcher.v1.StaticAdResourceH\x00\x12J\n\x10html_ad_resource\x18\x0c \x01(\x0b\x32..google.cloud.video.stitcher.v1.HtmlAdResourceH\x00\x12\x15\n\rapi_framework\x18\x01 \x01(\t\x12\x11\n\theight_px\x18\x02 \x01(\x05\x12\x10\n\x08width_px\x18\x03 \x01(\x05\x12\x17\n\x0f\x61sset_height_px\x18\x04 \x01(\x05\x12\x1a\n\x12\x65xpanded_height_px\x18\x05 \x01(\x05\x12\x16\n\x0e\x61sset_width_px\x18\x06 \x01(\x05\x12\x19\n\x11\x65xpanded_width_px\x18\x07 \x01(\x05\x12\x12\n\nad_slot_id\x18\x08 \x01(\t\x12\x35\n\x06\x65vents\x18\t \x03(\x0b\x32%.google.cloud.video.stitcher.v1.EventB\r\n\x0b\x61\x64_resource\"%\n\x0eHtmlAdResource\x12\x13\n\x0bhtml_source\x18\x01 \x01(\t\"\x1f\n\x10IframeAdResource\x12\x0b\n\x03uri\x18\x01 \x01(\t\"6\n\x10StaticAdResource\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x15\n\rcreative_type\x18\x02 \x01(\tBw\n\"com.google.cloud.video.stitcher.v1B\x0f\x43ompanionsProtoP\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.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 CompanionAds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CompanionAds").msgclass CompanionAds::DisplayRequirement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement").enummodule Companion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Companion").msgclass HtmlAdResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.HtmlAdResource").msgclass IframeAdResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.IframeAdResource").msgclass StaticAdResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.StaticAdResource").msgclass end end end end end