google-cloud-video-stitcher-v1 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/video/stitcher/v1/ad_tag_details_pb.rb +26 -25
  4. data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +24 -21
  5. data/lib/google/cloud/video/stitcher/v1/companions_pb.rb +25 -37
  6. data/lib/google/cloud/video/stitcher/v1/events_pb.rb +25 -38
  7. data/lib/google/cloud/video/stitcher/v1/live_configs_pb.rb +54 -0
  8. data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +30 -66
  9. data/lib/google/cloud/video/stitcher/v1/slates_pb.rb +25 -5
  10. data/lib/google/cloud/video/stitcher/v1/stitch_details_pb.rb +26 -12
  11. data/lib/google/cloud/video/stitcher/v1/version.rb +1 -1
  12. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +569 -75
  13. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/operations.rb +770 -0
  14. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +19 -0
  15. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service.rb +2 -1
  16. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +41 -105
  17. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +17 -6
  18. data/lib/google/cloud/video/stitcher/v1.rb +2 -2
  19. data/proto_docs/google/api/client.rb +381 -0
  20. data/proto_docs/google/api/launch_stage.rb +71 -0
  21. data/proto_docs/google/cloud/video/stitcher/v1/live_configs.rb +144 -0
  22. data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +38 -68
  23. data/proto_docs/google/cloud/video/stitcher/v1/slates.rb +16 -0
  24. data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +146 -18
  25. data/proto_docs/google/longrunning/operations.rb +164 -0
  26. data/proto_docs/google/protobuf/any.rb +144 -0
  27. data/proto_docs/google/protobuf/struct.rb +1 -1
  28. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  29. data/proto_docs/google/rpc/status.rb +48 -0
  30. metadata +16 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f16d2f29482c5ace98302f51bbb1afeb45c5ad0421262b176abd4601c91f4783
4
- data.tar.gz: c549570c4a3be9fcf80f42d0dd37702b202937eddb9a9b387ecc14dcd1f614e6
3
+ metadata.gz: 9474a7a9970a30fc0892b036df937f84e61693d38b7c3f2218cc4d74aaf55295
4
+ data.tar.gz: d27720851fb8281216cb3b6ea5ba6ec346ad90658e1e808b634e93bed2652404
5
5
  SHA512:
6
- metadata.gz: aafd3ffcee42de9e2ff88624ec78492351a7a60bf4f748585ca9d2cbfaab858a147ade78ccf086ef06f284d336a4c83be5d0b93360437e35fa3c99376f0bb016
7
- data.tar.gz: 5726168a2f4f9df20aaf99cd953c78c1f18592164eff0d8be9fb0e8f3ee4e8c05d414e4e54aa6874ce801ece13c9f1c5568365bd007b1f2023bec23648ffc170
6
+ metadata.gz: 959adfb4d8eb037b4fa835a6ab21c0504b39f303a6e46a0c75ed66ce4c66ae697f7238884eeac8f4c2f3e05290b92520ba6c1ef73e334a97fc5f643291ba2105
7
+ data.tar.gz: dd56d20d84b4d335a7c70f86c8aabbb3228e499b5ae41fa6ef771b3328d144d5fc7170baa40b24acb81fb9f890187807278270f7c3151bf0d63a99506635c249
data/README.md CHANGED
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/ad_tag_details.proto
3
4
 
@@ -7,33 +8,33 @@ require 'google/api/resource_pb'
7
8
  require 'google/protobuf/duration_pb'
8
9
  require 'google/protobuf/struct_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/video/stitcher/v1/ad_tag_details.proto", :syntax => :proto3) do
12
- add_message "google.cloud.video.stitcher.v1.LiveAdTagDetail" do
13
- optional :name, :string, 1
14
- repeated :ad_requests, :message, 2, "google.cloud.video.stitcher.v1.AdRequest"
15
- end
16
- add_message "google.cloud.video.stitcher.v1.VodAdTagDetail" do
17
- optional :name, :string, 1
18
- repeated :ad_requests, :message, 2, "google.cloud.video.stitcher.v1.AdRequest"
19
- end
20
- add_message "google.cloud.video.stitcher.v1.AdRequest" do
21
- optional :uri, :string, 1
22
- optional :request_metadata, :message, 2, "google.cloud.video.stitcher.v1.RequestMetadata"
23
- optional :response_metadata, :message, 3, "google.cloud.video.stitcher.v1.ResponseMetadata"
24
- end
25
- add_message "google.cloud.video.stitcher.v1.RequestMetadata" do
26
- optional :headers, :message, 1, "google.protobuf.Struct"
27
- end
28
- add_message "google.cloud.video.stitcher.v1.ResponseMetadata" do
29
- optional :error, :string, 1
30
- optional :headers, :message, 2, "google.protobuf.Struct"
31
- optional :status_code, :string, 3
32
- optional :size_bytes, :int32, 4
33
- optional :duration, :message, 5, "google.protobuf.Duration"
34
- optional :body, :string, 6
11
+
12
+ descriptor_data = "\n3google/cloud/video/stitcher/v1/ad_tag_details.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xff\x01\n\x0fLiveAdTagDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x0b\x61\x64_requests\x18\x02 \x03(\x0b\x32).google.cloud.video.stitcher.v1.AdRequest:\x9d\x01\xea\x41\x99\x01\n,videostitcher.googleapis.com/LiveAdTagDetail\x12iprojects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}\"\xf9\x01\n\x0eVodAdTagDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12>\n\x0b\x61\x64_requests\x18\x02 \x03(\x0b\x32).google.cloud.video.stitcher.v1.AdRequest:\x98\x01\xea\x41\x94\x01\n+videostitcher.googleapis.com/VodAdTagDetail\x12\x65projects/{project}/locations/{location}/vodSessions/{vod_session}/vodAdTagDetails/{vod_ad_tag_detail}\"\xb0\x01\n\tAdRequest\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12I\n\x10request_metadata\x18\x02 \x01(\x0b\x32/.google.cloud.video.stitcher.v1.RequestMetadata\x12K\n\x11response_metadata\x18\x03 \x01(\x0b\x32\x30.google.cloud.video.stitcher.v1.ResponseMetadata\";\n\x0fRequestMetadata\x12(\n\x07headers\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xaf\x01\n\x10ResponseMetadata\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12(\n\x07headers\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0bstatus_code\x18\x03 \x01(\t\x12\x12\n\nsize_bytes\x18\x04 \x01(\x05\x12+\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04\x62ody\x18\x06 \x01(\tBy\n\"com.google.cloud.video.stitcher.v1B\x11\x41\x64TagDetailsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Struct", "google/protobuf/struct.proto"],
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
34
  end
36
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
37
38
  end
38
39
 
39
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/cdn_keys.proto
3
4
 
@@ -6,29 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/video/stitcher/v1/cdn_keys.proto", :syntax => :proto3) do
11
- add_message "google.cloud.video.stitcher.v1.CdnKey" do
12
- optional :name, :string, 1
13
- optional :hostname, :string, 4
14
- oneof :cdn_key_config do
15
- optional :google_cdn_key, :message, 5, "google.cloud.video.stitcher.v1.GoogleCdnKey"
16
- optional :akamai_cdn_key, :message, 6, "google.cloud.video.stitcher.v1.AkamaiCdnKey"
17
- optional :media_cdn_key, :message, 8, "google.cloud.video.stitcher.v1.MediaCdnKey"
18
- end
19
- end
20
- add_message "google.cloud.video.stitcher.v1.GoogleCdnKey" do
21
- optional :private_key, :bytes, 1
22
- optional :key_name, :string, 2
23
- end
24
- add_message "google.cloud.video.stitcher.v1.AkamaiCdnKey" do
25
- optional :token_key, :bytes, 1
26
- end
27
- add_message "google.cloud.video.stitcher.v1.MediaCdnKey" do
28
- optional :private_key, :bytes, 1
29
- optional :key_name, :string, 2
10
+
11
+ descriptor_data = "\n-google/cloud/video/stitcher/v1/cdn_keys.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf5\x02\n\x06\x43\x64nKey\x12\x46\n\x0egoogle_cdn_key\x18\x05 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.GoogleCdnKeyH\x00\x12\x46\n\x0e\x61kamai_cdn_key\x18\x06 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.AkamaiCdnKeyH\x00\x12\x44\n\rmedia_cdn_key\x18\x08 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.MediaCdnKeyH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08hostname\x18\x04 \x01(\t:c\xea\x41`\n#videostitcher.googleapis.com/CdnKey\x12\x39projects/{project}/locations/{location}/cdnKeys/{cdn_key}B\x10\n\x0e\x63\x64n_key_config\":\n\x0cGoogleCdnKey\x12\x18\n\x0bprivate_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\x12\x10\n\x08key_name\x18\x02 \x01(\t\"&\n\x0c\x41kamaiCdnKey\x12\x16\n\ttoken_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\"9\n\x0bMediaCdnKey\x12\x18\n\x0bprivate_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x04\x12\x10\n\x08key_name\x18\x02 \x01(\tBt\n\"com.google.cloud.video.stitcher.v1B\x0c\x43\x64nKeysProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
31
  end
31
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
32
35
  end
33
36
 
34
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/companions.proto
3
4
 
@@ -5,45 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/cloud/video/stitcher/v1/events_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/video/stitcher/v1/companions.proto", :syntax => :proto3) do
10
- add_message "google.cloud.video.stitcher.v1.CompanionAds" do
11
- optional :display_requirement, :enum, 1, "google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement"
12
- repeated :companions, :message, 2, "google.cloud.video.stitcher.v1.Companion"
13
- end
14
- add_enum "google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement" do
15
- value :DISPLAY_REQUIREMENT_UNSPECIFIED, 0
16
- value :ALL, 1
17
- value :ANY, 2
18
- value :NONE, 3
19
- end
20
- add_message "google.cloud.video.stitcher.v1.Companion" do
21
- optional :api_framework, :string, 1
22
- optional :height_px, :int32, 2
23
- optional :width_px, :int32, 3
24
- optional :asset_height_px, :int32, 4
25
- optional :expanded_height_px, :int32, 5
26
- optional :asset_width_px, :int32, 6
27
- optional :expanded_width_px, :int32, 7
28
- optional :ad_slot_id, :string, 8
29
- repeated :events, :message, 9, "google.cloud.video.stitcher.v1.Event"
30
- oneof :ad_resource do
31
- optional :iframe_ad_resource, :message, 10, "google.cloud.video.stitcher.v1.IframeAdResource"
32
- optional :static_ad_resource, :message, 11, "google.cloud.video.stitcher.v1.StaticAdResource"
33
- optional :html_ad_resource, :message, 12, "google.cloud.video.stitcher.v1.HtmlAdResource"
34
- end
35
- end
36
- add_message "google.cloud.video.stitcher.v1.HtmlAdResource" do
37
- optional :html_source, :string, 1
38
- end
39
- add_message "google.cloud.video.stitcher.v1.IframeAdResource" do
40
- optional :uri, :string, 1
41
- end
42
- add_message "google.cloud.video.stitcher.v1.StaticAdResource" do
43
- optional :uri, :string, 1
44
- optional :creative_type, :string, 2
9
+
10
+ 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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.cloud.video.stitcher.v1.Event", "google/cloud/video/stitcher/v1/events.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
45
31
  end
46
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
47
35
  end
48
36
 
49
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/events.proto
3
4
 
@@ -5,46 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/duration_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/video/stitcher/v1/events.proto", :syntax => :proto3) do
10
- add_message "google.cloud.video.stitcher.v1.Event" do
11
- optional :type, :enum, 1, "google.cloud.video.stitcher.v1.Event.EventType"
12
- optional :uri, :string, 2
13
- optional :id, :string, 3
14
- optional :offset, :message, 4, "google.protobuf.Duration"
15
- end
16
- add_enum "google.cloud.video.stitcher.v1.Event.EventType" do
17
- value :EVENT_TYPE_UNSPECIFIED, 0
18
- value :CREATIVE_VIEW, 1
19
- value :START, 2
20
- value :BREAK_START, 3
21
- value :BREAK_END, 4
22
- value :IMPRESSION, 5
23
- value :FIRST_QUARTILE, 6
24
- value :MIDPOINT, 7
25
- value :THIRD_QUARTILE, 8
26
- value :COMPLETE, 9
27
- value :PROGRESS, 10
28
- value :MUTE, 11
29
- value :UNMUTE, 12
30
- value :PAUSE, 13
31
- value :CLICK, 14
32
- value :CLICK_THROUGH, 15
33
- value :REWIND, 16
34
- value :RESUME, 17
35
- value :ERROR, 18
36
- value :EXPAND, 21
37
- value :COLLAPSE, 22
38
- value :CLOSE, 24
39
- value :CLOSE_LINEAR, 25
40
- value :SKIP, 26
41
- value :ACCEPT_INVITATION, 27
42
- end
43
- add_message "google.cloud.video.stitcher.v1.ProgressEvent" do
44
- optional :time_offset, :message, 1, "google.protobuf.Duration"
45
- repeated :events, :message, 2, "google.cloud.video.stitcher.v1.Event"
9
+
10
+ descriptor_data = "\n+google/cloud/video/stitcher/v1/events.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1egoogle/protobuf/duration.proto\"\x8e\x04\n\x05\x45vent\x12=\n\x04type\x18\x01 \x01(\x0e\x32/.google.cloud.video.stitcher.v1.Event.EventType\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\n\n\x02id\x18\x03 \x01(\t\x12)\n\x06offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x81\x03\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rCREATIVE_VIEW\x10\x01\x12\t\n\x05START\x10\x02\x12\x0f\n\x0b\x42REAK_START\x10\x03\x12\r\n\tBREAK_END\x10\x04\x12\x0e\n\nIMPRESSION\x10\x05\x12\x12\n\x0e\x46IRST_QUARTILE\x10\x06\x12\x0c\n\x08MIDPOINT\x10\x07\x12\x12\n\x0eTHIRD_QUARTILE\x10\x08\x12\x0c\n\x08\x43OMPLETE\x10\t\x12\x0c\n\x08PROGRESS\x10\n\x12\x08\n\x04MUTE\x10\x0b\x12\n\n\x06UNMUTE\x10\x0c\x12\t\n\x05PAUSE\x10\r\x12\t\n\x05\x43LICK\x10\x0e\x12\x11\n\rCLICK_THROUGH\x10\x0f\x12\n\n\x06REWIND\x10\x10\x12\n\n\x06RESUME\x10\x11\x12\t\n\x05\x45RROR\x10\x12\x12\n\n\x06\x45XPAND\x10\x15\x12\x0c\n\x08\x43OLLAPSE\x10\x16\x12\t\n\x05\x43LOSE\x10\x18\x12\x10\n\x0c\x43LOSE_LINEAR\x10\x19\x12\x08\n\x04SKIP\x10\x1a\x12\x15\n\x11\x41\x43\x43\x45PT_INVITATION\x10\x1b\"v\n\rProgressEvent\x12.\n\x0btime_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x06\x65vents\x18\x02 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.EventBs\n\"com.google.cloud.video.stitcher.v1B\x0b\x45ventsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
46
31
  end
47
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
48
35
  end
49
36
 
50
37
  module Google
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/video/stitcher/v1/live_configs.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/duration_pb'
10
+
11
+
12
+ descriptor_data = "\n1google/cloud/video/stitcher/v1/live_configs.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\"\x8e\x06\n\nLiveConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsource_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nad_tag_uri\x18\x03 \x01(\t\x12\x46\n\x0fgam_live_config\x18\x04 \x01(\x0b\x32-.google.cloud.video.stitcher.v1.GamLiveConfig\x12\x44\n\x05state\x18\x05 \x01(\x0e\x32\x30.google.cloud.video.stitcher.v1.LiveConfig.StateB\x03\xe0\x41\x03\x12\x44\n\x0b\x61\x64_tracking\x18\x06 \x01(\x0e\x32*.google.cloud.video.stitcher.v1.AdTrackingB\x03\xe0\x41\x02\x12>\n\rdefault_slate\x18\x07 \x01(\tB\'\xfa\x41$\n\"videostitcher.googleapis.com/Slate\x12T\n\x10stitching_policy\x18\x08 \x01(\x0e\x32:.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy\x12G\n\x0fprefetch_config\x18\n \x01(\x0b\x32..google.cloud.video.stitcher.v1.PrefetchConfig\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"U\n\x0fStitchingPolicy\x12 \n\x1cSTITCHING_POLICY_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x43UT_CURRENT\x10\x01\x12\x0f\n\x0b\x43OMPLETE_AD\x10\x02:o\xea\x41l\n\'videostitcher.googleapis.com/LiveConfig\x12\x41projects/{project}/locations/{location}/liveConfigs/{live_config}\"f\n\x0ePrefetchConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12>\n\x1binitial_ad_request_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"a\n\rGamLiveConfig\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tasset_key\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63ustom_asset_key\x18\x03 \x01(\tB\x03\xe0\x41\x03*A\n\nAdTracking\x12\x1b\n\x17\x41\x44_TRACKING_UNSPECIFIED\x10\x00\x12\n\n\x06\x43LIENT\x10\x01\x12\n\n\x06SERVER\x10\x02\x42x\n\"com.google.cloud.video.stitcher.v1B\x10LiveConfigsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module Video
42
+ module Stitcher
43
+ module V1
44
+ LiveConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig").msgclass
45
+ LiveConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig.State").enummodule
46
+ LiveConfig::StitchingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy").enummodule
47
+ PrefetchConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.PrefetchConfig").msgclass
48
+ GamLiveConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GamLiveConfig").msgclass
49
+ AdTracking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdTracking").enummodule
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/sessions.proto
3
4
 
@@ -7,74 +8,37 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/cloud/video/stitcher/v1/companions_pb'
9
10
  require 'google/cloud/video/stitcher/v1/events_pb'
11
+ require 'google/cloud/video/stitcher/v1/live_configs_pb'
10
12
  require 'google/protobuf/duration_pb'
11
13
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/video/stitcher/v1/sessions.proto", :syntax => :proto3) do
14
- add_message "google.cloud.video.stitcher.v1.VodSession" do
15
- optional :name, :string, 1
16
- optional :interstitials, :message, 2, "google.cloud.video.stitcher.v1.Interstitials"
17
- optional :play_uri, :string, 4
18
- optional :source_uri, :string, 5
19
- optional :ad_tag_uri, :string, 6
20
- map :ad_tag_macro_map, :string, :string, 7
21
- optional :client_ad_tracking, :bool, 8
22
- optional :manifest_options, :message, 9, "google.cloud.video.stitcher.v1.ManifestOptions"
23
- optional :asset_id, :string, 10
24
- end
25
- add_message "google.cloud.video.stitcher.v1.Interstitials" do
26
- repeated :ad_breaks, :message, 1, "google.cloud.video.stitcher.v1.VodSessionAdBreak"
27
- optional :session_content, :message, 2, "google.cloud.video.stitcher.v1.VodSessionContent"
28
- end
29
- add_message "google.cloud.video.stitcher.v1.VodSessionAd" do
30
- optional :duration, :message, 1, "google.protobuf.Duration"
31
- optional :companion_ads, :message, 2, "google.cloud.video.stitcher.v1.CompanionAds"
32
- repeated :activity_events, :message, 3, "google.cloud.video.stitcher.v1.Event"
33
- end
34
- add_message "google.cloud.video.stitcher.v1.VodSessionContent" do
35
- optional :duration, :message, 1, "google.protobuf.Duration"
36
- end
37
- add_message "google.cloud.video.stitcher.v1.VodSessionAdBreak" do
38
- repeated :progress_events, :message, 1, "google.cloud.video.stitcher.v1.ProgressEvent"
39
- repeated :ads, :message, 2, "google.cloud.video.stitcher.v1.VodSessionAd"
40
- optional :end_time_offset, :message, 3, "google.protobuf.Duration"
41
- optional :start_time_offset, :message, 4, "google.protobuf.Duration"
42
- end
43
- add_message "google.cloud.video.stitcher.v1.LiveSession" do
44
- optional :name, :string, 1
45
- optional :play_uri, :string, 2
46
- optional :source_uri, :string, 3
47
- optional :default_ad_tag_id, :string, 4
48
- map :ad_tag_map, :string, :message, 5, "google.cloud.video.stitcher.v1.AdTag"
49
- map :ad_tag_macros, :string, :string, 6
50
- optional :client_ad_tracking, :bool, 7
51
- optional :default_slate_id, :string, 8
52
- optional :stitching_policy, :enum, 9, "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy"
53
- optional :manifest_options, :message, 10, "google.cloud.video.stitcher.v1.ManifestOptions"
54
- optional :stream_id, :string, 11
55
- end
56
- add_enum "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy" do
57
- value :STITCHING_POLICY_UNSPECIFIED, 0
58
- value :COMPLETE_AD, 1
59
- value :CUT_CURRENT, 3
60
- end
61
- add_message "google.cloud.video.stitcher.v1.AdTag" do
62
- optional :uri, :string, 1
63
- end
64
- add_message "google.cloud.video.stitcher.v1.ManifestOptions" do
65
- repeated :include_renditions, :message, 1, "google.cloud.video.stitcher.v1.RenditionFilter"
66
- optional :bitrate_order, :enum, 2, "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy"
67
- end
68
- add_enum "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy" do
69
- value :ORDER_POLICY_UNSPECIFIED, 0
70
- value :ASCENDING, 1
71
- value :DESCENDING, 2
72
- end
73
- add_message "google.cloud.video.stitcher.v1.RenditionFilter" do
74
- optional :bitrate_bps, :int32, 1
75
- optional :codecs, :string, 2
14
+
15
+ 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\"\xeb\x05\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\x17\n\nsource_uri\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nad_tag_uri\x18\x06 \x01(\tB\x03\xe0\x41\x02\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\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\"\xbb\x04\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\x1a%\n\x0bGamSettings\x12\x16\n\tstream_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\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"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
+ ["google.cloud.video.stitcher.v1.CompanionAds", "google/cloud/video/stitcher/v1/companions.proto"],
32
+ ["google.cloud.video.stitcher.v1.Event", "google/cloud/video/stitcher/v1/events.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
76
38
  end
77
39
  end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
78
42
  end
79
43
 
80
44
  module Google
@@ -83,13 +47,13 @@ module Google
83
47
  module Stitcher
84
48
  module V1
85
49
  VodSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession").msgclass
50
+ VodSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession.GamSettings").msgclass
86
51
  Interstitials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Interstitials").msgclass
87
52
  VodSessionAd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAd").msgclass
88
53
  VodSessionContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionContent").msgclass
89
54
  VodSessionAdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAdBreak").msgclass
90
55
  LiveSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession").msgclass
91
- LiveSession::StitchingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy").enummodule
92
- AdTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdTag").msgclass
56
+ LiveSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.GamSettings").msgclass
93
57
  ManifestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions").msgclass
94
58
  ManifestOptions::OrderPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy").enummodule
95
59
  RenditionFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.RenditionFilter").msgclass
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/slates.proto
3
4
 
@@ -6,13 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/video/stitcher/v1/slates.proto", :syntax => :proto3) do
11
- add_message "google.cloud.video.stitcher.v1.Slate" do
12
- optional :name, :string, 1
13
- optional :uri, :string, 2
10
+
11
+ descriptor_data = "\n+google/cloud/video/stitcher/v1/slates.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x8d\x02\n\x05Slate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x41\n\tgam_slate\x18\x03 \x01(\x0b\x32..google.cloud.video.stitcher.v1.Slate.GamSlate\x1a@\n\x08GamSlate\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cgam_slate_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03:_\xea\x41\\\n\"videostitcher.googleapis.com/Slate\x12\x36projects/{project}/locations/{location}/slates/{slate}Bs\n\"com.google.cloud.video.stitcher.v1B\x0bSlatesProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
14
31
  end
15
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
16
35
  end
17
36
 
18
37
  module Google
@@ -21,6 +40,7 @@ module Google
21
40
  module Stitcher
22
41
  module V1
23
42
  Slate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Slate").msgclass
43
+ Slate::GamSlate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Slate.GamSlate").msgclass
24
44
  end
25
45
  end
26
46
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/stitch_details.proto
3
4
 
@@ -8,20 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/struct_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/video/stitcher/v1/stitch_details.proto", :syntax => :proto3) do
13
- add_message "google.cloud.video.stitcher.v1.VodStitchDetail" do
14
- optional :name, :string, 1
15
- repeated :ad_stitch_details, :message, 3, "google.cloud.video.stitcher.v1.AdStitchDetail"
16
- end
17
- add_message "google.cloud.video.stitcher.v1.AdStitchDetail" do
18
- optional :ad_break_id, :string, 1
19
- optional :ad_id, :string, 2
20
- optional :ad_time_offset, :message, 3, "google.protobuf.Duration"
21
- optional :skip_reason, :string, 4
22
- map :media, :string, :message, 5, "google.protobuf.Value"
12
+
13
+ descriptor_data = "\n3google/cloud/video/stitcher/v1/stitch_details.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x87\x02\n\x0fVodStitchDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12I\n\x11\x61\x64_stitch_details\x18\x03 \x03(\x0b\x32..google.cloud.video.stitcher.v1.AdStitchDetail:\x9a\x01\xea\x41\x96\x01\n,videostitcher.googleapis.com/VodStitchDetail\x12\x66projects/{project}/locations/{location}/vodSessions/{vod_session}/vodStitchDetails/{vod_stitch_detail}\"\xa5\x02\n\x0e\x41\x64StitchDetail\x12\x18\n\x0b\x61\x64_break_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x61\x64_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x0e\x61\x64_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x18\n\x0bskip_reason\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12M\n\x05media\x18\x05 \x03(\x0b\x32\x39.google.cloud.video.stitcher.v1.AdStitchDetail.MediaEntryB\x03\xe0\x41\x01\x1a\x44\n\nMediaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x42z\n\"com.google.cloud.video.stitcher.v1B\x12StitchDetailsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
23
35
  end
24
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
25
39
  end
26
40
 
27
41
  module Google
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Stitcher
24
24
  module V1
25
- VERSION = "0.4.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  end