# 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' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/video/stitcher/v1/companions.proto", :syntax => :proto3) do add_message "google.cloud.video.stitcher.v1.CompanionAds" do optional :display_requirement, :enum, 1, "google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement" repeated :companions, :message, 2, "google.cloud.video.stitcher.v1.Companion" end add_enum "google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement" do value :DISPLAY_REQUIREMENT_UNSPECIFIED, 0 value :ALL, 1 value :ANY, 2 value :NONE, 3 end add_message "google.cloud.video.stitcher.v1.Companion" do optional :api_framework, :string, 1 optional :height_px, :int32, 2 optional :width_px, :int32, 3 optional :asset_height_px, :int32, 4 optional :expanded_height_px, :int32, 5 optional :asset_width_px, :int32, 6 optional :expanded_width_px, :int32, 7 optional :ad_slot_id, :string, 8 repeated :events, :message, 9, "google.cloud.video.stitcher.v1.Event" oneof :ad_resource do optional :iframe_ad_resource, :message, 10, "google.cloud.video.stitcher.v1.IframeAdResource" optional :static_ad_resource, :message, 11, "google.cloud.video.stitcher.v1.StaticAdResource" optional :html_ad_resource, :message, 12, "google.cloud.video.stitcher.v1.HtmlAdResource" end end add_message "google.cloud.video.stitcher.v1.HtmlAdResource" do optional :html_source, :string, 1 end add_message "google.cloud.video.stitcher.v1.IframeAdResource" do optional :uri, :string, 1 end add_message "google.cloud.video.stitcher.v1.StaticAdResource" do optional :uri, :string, 1 optional :creative_type, :string, 2 end end 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