google-cloud-video-stitcher-v1 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19e9a94a950990cf60a68f7e4bd9e93cc6c131c669c20fc1fe96a84d714c7501
4
- data.tar.gz: da1bb84166fe645fd8809bb0d2c1766fc46e5aecfed8b9994e01a1c600da7719
3
+ metadata.gz: 9474a7a9970a30fc0892b036df937f84e61693d38b7c3f2218cc4d74aaf55295
4
+ data.tar.gz: d27720851fb8281216cb3b6ea5ba6ec346ad90658e1e808b634e93bed2652404
5
5
  SHA512:
6
- metadata.gz: 9296c06a7e4714ea17a4c8d1d01f946446331399c82d419151e5132ec8f9aa485596b1ed76f8912c156c1f1bd530c2e0dd163a983d57fff7bb1f06acfc5bccee
7
- data.tar.gz: 423400f92d31dedec73cd89d52b7ad993018dce93a0ee66652ce4b2340092d4a7bdbf6a79e69d76214e54a05ce00cfd91933c0b4725852fef5ff22fad8f37e11
6
+ metadata.gz: 959adfb4d8eb037b4fa835a6ab21c0504b39f303a6e46a0c75ed66ce4c66ae697f7238884eeac8f4c2f3e05290b92520ba6c1ef73e334a97fc5f643291ba2105
7
+ data.tar.gz: dd56d20d84b4d335a7c70f86c8aabbb3228e499b5ae41fa6ef771b3328d144d5fc7170baa40b24acb81fb9f890187807278270f7c3151bf0d63a99506635c249
@@ -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
@@ -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/live_configs.proto
3
4
 
@@ -7,45 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/video/stitcher/v1/live_configs.proto", :syntax => :proto3) do
12
- add_message "google.cloud.video.stitcher.v1.LiveConfig" do
13
- optional :name, :string, 1
14
- optional :source_uri, :string, 2
15
- optional :ad_tag_uri, :string, 3
16
- optional :gam_live_config, :message, 4, "google.cloud.video.stitcher.v1.GamLiveConfig"
17
- optional :state, :enum, 5, "google.cloud.video.stitcher.v1.LiveConfig.State"
18
- optional :ad_tracking, :enum, 6, "google.cloud.video.stitcher.v1.AdTracking"
19
- optional :default_slate, :string, 7
20
- optional :stitching_policy, :enum, 8, "google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy"
21
- optional :prefetch_config, :message, 10, "google.cloud.video.stitcher.v1.PrefetchConfig"
22
- end
23
- add_enum "google.cloud.video.stitcher.v1.LiveConfig.State" do
24
- value :STATE_UNSPECIFIED, 0
25
- value :CREATING, 1
26
- value :READY, 2
27
- value :DELETING, 3
28
- end
29
- add_enum "google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy" do
30
- value :STITCHING_POLICY_UNSPECIFIED, 0
31
- value :CUT_CURRENT, 1
32
- value :COMPLETE_AD, 2
33
- end
34
- add_message "google.cloud.video.stitcher.v1.PrefetchConfig" do
35
- optional :enabled, :bool, 1
36
- optional :initial_ad_request_duration, :message, 2, "google.protobuf.Duration"
37
- end
38
- add_message "google.cloud.video.stitcher.v1.GamLiveConfig" do
39
- optional :network_code, :string, 1
40
- optional :asset_key, :string, 2
41
- optional :custom_asset_key, :string, 3
42
- end
43
- add_enum "google.cloud.video.stitcher.v1.AdTracking" do
44
- value :AD_TRACKING_UNSPECIFIED, 0
45
- value :CLIENT, 1
46
- value :SERVER, 2
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}"
47
33
  end
48
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."
49
37
  end
50
38
 
51
39
  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/sessions.proto
3
4
 
@@ -10,67 +11,34 @@ require 'google/cloud/video/stitcher/v1/events_pb'
10
11
  require 'google/cloud/video/stitcher/v1/live_configs_pb'
11
12
  require 'google/protobuf/duration_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/video/stitcher/v1/sessions.proto", :syntax => :proto3) do
15
- add_message "google.cloud.video.stitcher.v1.VodSession" do
16
- optional :name, :string, 1
17
- optional :interstitials, :message, 2, "google.cloud.video.stitcher.v1.Interstitials"
18
- optional :play_uri, :string, 4
19
- optional :source_uri, :string, 5
20
- optional :ad_tag_uri, :string, 6
21
- map :ad_tag_macro_map, :string, :string, 7
22
- optional :manifest_options, :message, 9, "google.cloud.video.stitcher.v1.ManifestOptions"
23
- optional :asset_id, :string, 10
24
- optional :ad_tracking, :enum, 11, "google.cloud.video.stitcher.v1.AdTracking"
25
- optional :gam_settings, :message, 13, "google.cloud.video.stitcher.v1.VodSession.GamSettings"
26
- end
27
- add_message "google.cloud.video.stitcher.v1.VodSession.GamSettings" do
28
- optional :network_code, :string, 1
29
- optional :stream_id, :string, 2
30
- end
31
- add_message "google.cloud.video.stitcher.v1.Interstitials" do
32
- repeated :ad_breaks, :message, 1, "google.cloud.video.stitcher.v1.VodSessionAdBreak"
33
- optional :session_content, :message, 2, "google.cloud.video.stitcher.v1.VodSessionContent"
34
- end
35
- add_message "google.cloud.video.stitcher.v1.VodSessionAd" do
36
- optional :duration, :message, 1, "google.protobuf.Duration"
37
- optional :companion_ads, :message, 2, "google.cloud.video.stitcher.v1.CompanionAds"
38
- repeated :activity_events, :message, 3, "google.cloud.video.stitcher.v1.Event"
39
- end
40
- add_message "google.cloud.video.stitcher.v1.VodSessionContent" do
41
- optional :duration, :message, 1, "google.protobuf.Duration"
42
- end
43
- add_message "google.cloud.video.stitcher.v1.VodSessionAdBreak" do
44
- repeated :progress_events, :message, 1, "google.cloud.video.stitcher.v1.ProgressEvent"
45
- repeated :ads, :message, 2, "google.cloud.video.stitcher.v1.VodSessionAd"
46
- optional :end_time_offset, :message, 3, "google.protobuf.Duration"
47
- optional :start_time_offset, :message, 4, "google.protobuf.Duration"
48
- end
49
- add_message "google.cloud.video.stitcher.v1.LiveSession" do
50
- optional :name, :string, 1
51
- optional :play_uri, :string, 2
52
- map :ad_tag_macros, :string, :string, 6
53
- optional :manifest_options, :message, 10, "google.cloud.video.stitcher.v1.ManifestOptions"
54
- optional :gam_settings, :message, 15, "google.cloud.video.stitcher.v1.LiveSession.GamSettings"
55
- optional :live_config, :string, 16
56
- end
57
- add_message "google.cloud.video.stitcher.v1.LiveSession.GamSettings" do
58
- optional :stream_id, :string, 1
59
- end
60
- add_message "google.cloud.video.stitcher.v1.ManifestOptions" do
61
- repeated :include_renditions, :message, 1, "google.cloud.video.stitcher.v1.RenditionFilter"
62
- optional :bitrate_order, :enum, 2, "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy"
63
- end
64
- add_enum "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy" do
65
- value :ORDER_POLICY_UNSPECIFIED, 0
66
- value :ASCENDING, 1
67
- value :DESCENDING, 2
68
- end
69
- add_message "google.cloud.video.stitcher.v1.RenditionFilter" do
70
- optional :bitrate_bps, :int32, 1
71
- 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}"
72
38
  end
73
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."
74
42
  end
75
43
 
76
44
  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/slates.proto
3
4
 
@@ -6,18 +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
14
- optional :gam_slate, :message, 3, "google.cloud.video.stitcher.v1.Slate.GamSlate"
15
- end
16
- add_message "google.cloud.video.stitcher.v1.Slate.GamSlate" do
17
- optional :network_code, :string, 1
18
- optional :gam_slate_id, :int64, 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}"
19
31
  end
20
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."
21
35
  end
22
36
 
23
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/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.5.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  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/video_stitcher_service.proto
3
4
 
@@ -18,144 +19,39 @@ require 'google/protobuf/empty_pb'
18
19
  require 'google/protobuf/field_mask_pb'
19
20
  require 'google/protobuf/timestamp_pb'
20
21
 
21
- Google::Protobuf::DescriptorPool.generated_pool.build do
22
- add_file("google/cloud/video/stitcher/v1/video_stitcher_service.proto", :syntax => :proto3) do
23
- add_message "google.cloud.video.stitcher.v1.CreateCdnKeyRequest" do
24
- optional :parent, :string, 1
25
- optional :cdn_key, :message, 2, "google.cloud.video.stitcher.v1.CdnKey"
26
- optional :cdn_key_id, :string, 3
27
- end
28
- add_message "google.cloud.video.stitcher.v1.ListCdnKeysRequest" do
29
- optional :parent, :string, 1
30
- optional :page_size, :int32, 2
31
- optional :page_token, :string, 3
32
- optional :filter, :string, 4
33
- optional :order_by, :string, 5
34
- end
35
- add_message "google.cloud.video.stitcher.v1.ListCdnKeysResponse" do
36
- repeated :cdn_keys, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
37
- optional :next_page_token, :string, 2
38
- repeated :unreachable, :string, 3
39
- end
40
- add_message "google.cloud.video.stitcher.v1.GetCdnKeyRequest" do
41
- optional :name, :string, 1
42
- end
43
- add_message "google.cloud.video.stitcher.v1.DeleteCdnKeyRequest" do
44
- optional :name, :string, 1
45
- end
46
- add_message "google.cloud.video.stitcher.v1.UpdateCdnKeyRequest" do
47
- optional :cdn_key, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
48
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
49
- end
50
- add_message "google.cloud.video.stitcher.v1.CreateVodSessionRequest" do
51
- optional :parent, :string, 1
52
- optional :vod_session, :message, 2, "google.cloud.video.stitcher.v1.VodSession"
53
- end
54
- add_message "google.cloud.video.stitcher.v1.GetVodSessionRequest" do
55
- optional :name, :string, 1
56
- end
57
- add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest" do
58
- optional :parent, :string, 1
59
- optional :page_size, :int32, 2
60
- optional :page_token, :string, 3
61
- end
62
- add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse" do
63
- repeated :vod_stitch_details, :message, 1, "google.cloud.video.stitcher.v1.VodStitchDetail"
64
- optional :next_page_token, :string, 2
65
- end
66
- add_message "google.cloud.video.stitcher.v1.GetVodStitchDetailRequest" do
67
- optional :name, :string, 1
68
- end
69
- add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest" do
70
- optional :parent, :string, 1
71
- optional :page_size, :int32, 2
72
- optional :page_token, :string, 3
73
- end
74
- add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse" do
75
- repeated :vod_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.VodAdTagDetail"
76
- optional :next_page_token, :string, 2
77
- end
78
- add_message "google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest" do
79
- optional :name, :string, 1
80
- end
81
- add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest" do
82
- optional :parent, :string, 1
83
- optional :page_size, :int32, 2
84
- optional :page_token, :string, 3
85
- end
86
- add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse" do
87
- repeated :live_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.LiveAdTagDetail"
88
- optional :next_page_token, :string, 2
89
- end
90
- add_message "google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest" do
91
- optional :name, :string, 1
92
- end
93
- add_message "google.cloud.video.stitcher.v1.CreateSlateRequest" do
94
- optional :parent, :string, 1
95
- optional :slate_id, :string, 2
96
- optional :slate, :message, 3, "google.cloud.video.stitcher.v1.Slate"
97
- optional :request_id, :string, 4
98
- end
99
- add_message "google.cloud.video.stitcher.v1.GetSlateRequest" do
100
- optional :name, :string, 1
101
- end
102
- add_message "google.cloud.video.stitcher.v1.ListSlatesRequest" do
103
- optional :parent, :string, 1
104
- optional :page_size, :int32, 2
105
- optional :page_token, :string, 3
106
- optional :filter, :string, 4
107
- optional :order_by, :string, 5
108
- end
109
- add_message "google.cloud.video.stitcher.v1.ListSlatesResponse" do
110
- repeated :slates, :message, 1, "google.cloud.video.stitcher.v1.Slate"
111
- optional :next_page_token, :string, 2
112
- repeated :unreachable, :string, 3
113
- end
114
- add_message "google.cloud.video.stitcher.v1.UpdateSlateRequest" do
115
- optional :slate, :message, 1, "google.cloud.video.stitcher.v1.Slate"
116
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
117
- end
118
- add_message "google.cloud.video.stitcher.v1.DeleteSlateRequest" do
119
- optional :name, :string, 1
120
- end
121
- add_message "google.cloud.video.stitcher.v1.CreateLiveSessionRequest" do
122
- optional :parent, :string, 1
123
- optional :live_session, :message, 2, "google.cloud.video.stitcher.v1.LiveSession"
124
- end
125
- add_message "google.cloud.video.stitcher.v1.GetLiveSessionRequest" do
126
- optional :name, :string, 1
127
- end
128
- add_message "google.cloud.video.stitcher.v1.CreateLiveConfigRequest" do
129
- optional :parent, :string, 1
130
- optional :live_config_id, :string, 2
131
- optional :live_config, :message, 3, "google.cloud.video.stitcher.v1.LiveConfig"
132
- optional :request_id, :string, 4
133
- end
134
- add_message "google.cloud.video.stitcher.v1.ListLiveConfigsRequest" do
135
- optional :parent, :string, 1
136
- optional :page_size, :int32, 2
137
- optional :page_token, :string, 3
138
- optional :filter, :string, 4
139
- optional :order_by, :string, 5
140
- end
141
- add_message "google.cloud.video.stitcher.v1.ListLiveConfigsResponse" do
142
- repeated :live_configs, :message, 1, "google.cloud.video.stitcher.v1.LiveConfig"
143
- optional :next_page_token, :string, 2
144
- repeated :unreachable, :string, 3
145
- end
146
- add_message "google.cloud.video.stitcher.v1.GetLiveConfigRequest" do
147
- optional :name, :string, 1
148
- end
149
- add_message "google.cloud.video.stitcher.v1.DeleteLiveConfigRequest" do
150
- optional :name, :string, 1
151
- end
152
- add_message "google.cloud.video.stitcher.v1.OperationMetadata" do
153
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
154
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
155
- optional :target, :string, 3
156
- optional :verb, :string, 4
22
+
23
+ descriptor_data = "\n;google/cloud/video/stitcher/v1/video_stitcher_service.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/video/stitcher/v1/ad_tag_details.proto\x1a-google/cloud/video/stitcher/v1/cdn_keys.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a-google/cloud/video/stitcher/v1/sessions.proto\x1a+google/cloud/video/stitcher/v1/slates.proto\x1a\x33google/cloud/video/stitcher/v1/stitch_details.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x01\n\x13\x43reateCdnKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12<\n\x07\x63\x64n_key\x18\x02 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x17\n\ncdn_key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x12ListCdnKeysRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x13ListCdnKeysResponse\x12\x38\n\x08\x63\x64n_keys\x18\x01 \x03(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x10GetCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"P\n\x13\x44\x65leteCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"\x89\x01\n\x13UpdateCdnKeyRequest\x12<\n\x07\x63\x64n_key\x18\x01 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa0\x01\n\x17\x43reateVodSessionRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/VodSession\x12\x44\n\x0bvod_session\x18\x02 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.VodSessionB\x03\xe0\x41\x02\"U\n\x14GetVodSessionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/VodSession\"\x8a\x01\n\x1bListVodStitchDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/VodStitchDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n\x1cListVodStitchDetailsResponse\x12K\n\x12vod_stitch_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.VodStitchDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetVodStitchDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/VodStitchDetail\"\x88\x01\n\x1aListVodAdTagDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+videostitcher.googleapis.com/VodAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x1bListVodAdTagDetailsResponse\x12J\n\x12vod_ad_tag_details\x18\x01 \x03(\x0b\x32..google.cloud.video.stitcher.v1.VodAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x18GetVodAdTagDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+videostitcher.googleapis.com/VodAdTagDetail\"\x8a\x01\n\x1bListLiveAdTagDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/LiveAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x1cListLiveAdTagDetailsResponse\x12L\n\x13live_ad_tag_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.LiveAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetLiveAdTagDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/LiveAdTagDetail\"\xb6\x01\n\x12\x43reateSlateRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x15\n\x08slate_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x05slate\x18\x03 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"K\n\x0fGetSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\x98\x01\n\x11ListSlatesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x12ListSlatesResponse\x12\x35\n\x06slates\x18\x01 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.Slate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12UpdateSlateRequest\x12\x39\n\x05slate\x18\x01 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x12\x44\x65leteSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\xa4\x01\n\x18\x43reateLiveSessionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(videostitcher.googleapis.com/LiveSession\x12\x46\n\x0clive_session\x18\x02 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.LiveSessionB\x03\xe0\x41\x02\"W\n\x15GetLiveSessionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(videostitcher.googleapis.com/LiveSession\"\xd1\x01\n\x17\x43reateLiveConfigRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x1b\n\x0elive_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0blive_config\x18\x03 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfigB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xac\x01\n\x16ListLiveConfigsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x17ListLiveConfigsResponse\x12@\n\x0clive_configs\x18\x01 \x03(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x14GetLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"X\n\x17\x44\x65leteLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"\x90\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t2\xcf*\n\x14VideoStitcherService\x12\x99\x02\n\x0c\x43reateCdnKey\x12\x33.google.cloud.video.stitcher.v1.CreateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/cdnKeys:\x07\x63\x64n_key\xda\x41\x19parent,cdn_key,cdn_key_id\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xb4\x01\n\x0bListCdnKeys\x12\x32.google.cloud.video.stitcher.v1.ListCdnKeysRequest\x1a\x33.google.cloud.video.stitcher.v1.ListCdnKeysResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/cdnKeys\xda\x41\x06parent\x12\xa1\x01\n\tGetCdnKey\x12\x30.google.cloud.video.stitcher.v1.GetCdnKeyRequest\x1a&.google.cloud.video.stitcher.v1.CdnKey\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/cdnKeys/*}\xda\x41\x04name\x12\xeb\x01\n\x0c\x44\x65leteCdnKey\x12\x33.google.cloud.video.stitcher.v1.DeleteCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/cdnKeys/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\x9b\x02\n\x0cUpdateCdnKey\x12\x33.google.cloud.video.stitcher.v1.UpdateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\x82\xd3\xe4\x93\x02>23/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}:\x07\x63\x64n_key\xda\x41\x13\x63\x64n_key,update_mask\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xd2\x01\n\x10\x43reateVodSession\x12\x37.google.cloud.video.stitcher.v1.CreateVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\"Y\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/vodSessions:\x0bvod_session\xda\x41\x12parent,vod_session\x12\xb1\x01\n\rGetVodSession\x12\x34.google.cloud.video.stitcher.v1.GetVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/vodSessions/*}\xda\x41\x04name\x12\xe6\x01\n\x14ListVodStitchDetails\x12;.google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails\xda\x41\x06parent\x12\xd3\x01\n\x12GetVodStitchDetail\x12\x39.google.cloud.video.stitcher.v1.GetVodStitchDetailRequest\x1a/.google.cloud.video.stitcher.v1.VodStitchDetail\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}\xda\x41\x04name\x12\xe2\x01\n\x13ListVodAdTagDetails\x12:.google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest\x1a;.google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse\"R\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails\xda\x41\x06parent\x12\xcf\x01\n\x11GetVodAdTagDetail\x12\x38.google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest\x1a..google.cloud.video.stitcher.v1.VodAdTagDetail\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/vodSessions/*/vodAdTagDetails/*}\xda\x41\x04name\x12\xe7\x01\n\x14ListLiveAdTagDetails\x12;.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse\"T\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/liveSessions/*}/liveAdTagDetails\xda\x41\x06parent\x12\xd4\x01\n\x12GetLiveAdTagDetail\x12\x39.google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest\x1a/.google.cloud.video.stitcher.v1.LiveAdTagDetail\"R\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/liveSessions/*/liveAdTagDetails/*}\xda\x41\x04name\x12\x8f\x02\n\x0b\x43reateSlate\x12\x32.google.cloud.video.stitcher.v1.CreateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/slates:\x05slate\xda\x41\x15parent,slate,slate_id\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xb0\x01\n\nListSlates\x12\x31.google.cloud.video.stitcher.v1.ListSlatesRequest\x1a\x32.google.cloud.video.stitcher.v1.ListSlatesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/slates\xda\x41\x06parent\x12\x9d\x01\n\x08GetSlate\x12/.google.cloud.video.stitcher.v1.GetSlateRequest\x1a%.google.cloud.video.stitcher.v1.Slate\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/slates/*}\xda\x41\x04name\x12\x91\x02\n\x0bUpdateSlate\x12\x32.google.cloud.video.stitcher.v1.UpdateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{slate.name=projects/*/locations/*/slates/*}:\x05slate\xda\x41\x11slate,update_mask\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xe8\x01\n\x0b\x44\x65leteSlate\x12\x32.google.cloud.video.stitcher.v1.DeleteSlateRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/slates/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xd8\x01\n\x11\x43reateLiveSession\x12\x38.google.cloud.video.stitcher.v1.CreateLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"\\\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/liveSessions:\x0clive_session\xda\x41\x13parent,live_session\x12\xb5\x01\n\x0eGetLiveSession\x12\x35.google.cloud.video.stitcher.v1.GetLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/liveSessions/*}\xda\x41\x04name\x12\xb5\x02\n\x10\x43reateLiveConfig\x12\x37.google.cloud.video.stitcher.v1.CreateLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc8\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/liveConfigs:\x0blive_config\xda\x41!parent,live_config,live_config_id\xca\x41]\n)google.cloud.video.stitcher.v1.LiveConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xc4\x01\n\x0fListLiveConfigs\x12\x36.google.cloud.video.stitcher.v1.ListLiveConfigsRequest\x1a\x37.google.cloud.video.stitcher.v1.ListLiveConfigsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/liveConfigs\xda\x41\x06parent\x12\xb1\x01\n\rGetLiveConfig\x12\x34.google.cloud.video.stitcher.v1.GetLiveConfigRequest\x1a*.google.cloud.video.stitcher.v1.LiveConfig\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/liveConfigs/*}\xda\x41\x04name\x12\xf7\x01\n\x10\x44\x65leteLiveConfig\x12\x37.google.cloud.video.stitcher.v1.DeleteLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/liveConfigs/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x1aP\xca\x41\x1cvideostitcher.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x81\x01\n\"com.google.cloud.video.stitcher.v1B\x19VideoStitcherServiceProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
24
+
25
+ pool = Google::Protobuf::DescriptorPool.generated_pool
26
+
27
+ begin
28
+ pool.add_serialized_file(descriptor_data)
29
+ rescue TypeError => e
30
+ # Compatibility code: will be removed in the next major version.
31
+ require 'google/protobuf/descriptor_pb'
32
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
33
+ parsed.clear_dependency
34
+ serialized = parsed.class.encode(parsed)
35
+ file = pool.add_serialized_file(serialized)
36
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
37
+ imports = [
38
+ ["google.cloud.video.stitcher.v1.CdnKey", "google/cloud/video/stitcher/v1/cdn_keys.proto"],
39
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
40
+ ["google.cloud.video.stitcher.v1.VodSession", "google/cloud/video/stitcher/v1/sessions.proto"],
41
+ ["google.cloud.video.stitcher.v1.VodStitchDetail", "google/cloud/video/stitcher/v1/stitch_details.proto"],
42
+ ["google.cloud.video.stitcher.v1.VodAdTagDetail", "google/cloud/video/stitcher/v1/ad_tag_details.proto"],
43
+ ["google.cloud.video.stitcher.v1.Slate", "google/cloud/video/stitcher/v1/slates.proto"],
44
+ ["google.cloud.video.stitcher.v1.LiveConfig", "google/cloud/video/stitcher/v1/live_configs.proto"],
45
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
46
+ ]
47
+ imports.each do |type_name, expected_filename|
48
+ import_file = pool.lookup(type_name).file_descriptor
49
+ if import_file.name != expected_filename
50
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
157
51
  end
158
52
  end
53
+ warn "Each proto file must use a consistent fully-qualified name."
54
+ warn "This will become an error in the next major version."
159
55
  end
160
56
 
161
57
  module Google
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-stitcher-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a