Skip to content

Commit

Permalink
feat!: Remove default_ad_break_duration from LiveConfig
Browse files Browse the repository at this point in the history
BREAKING CHANGE

PiperOrigin-RevId: 520434307

Source-Link: googleapis/googleapis@273994f

Source-Link: googleapis/googleapis-gen@49986a1
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuVmlkZW8uU3RpdGNoZXIuVjEvLk93bEJvdC55YW1sIiwiaCI6IjQ5OTg2YTEyZmVmNGYwZWQ5YjIwMDIyODM0N2UzZjVkMjgwY2M3MmYifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Mar 30, 2023
1 parent f0fd7fc commit 04da5ae
Showing 1 changed file with 18 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static partial class LiveConfigsReflection {
"CjFnb29nbGUvY2xvdWQvdmlkZW8vc3RpdGNoZXIvdjEvbGl2ZV9jb25maWdz",
"LnByb3RvEh5nb29nbGUuY2xvdWQudmlkZW8uc3RpdGNoZXIudjEaH2dvb2ds",
"ZS9hcGkvZmllbGRfYmVoYXZpb3IucHJvdG8aGWdvb2dsZS9hcGkvcmVzb3Vy",
"Y2UucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi9kdXJhdGlvbi5wcm90byLMBgoK",
"Y2UucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi9kdXJhdGlvbi5wcm90byKOBgoK",
"TGl2ZUNvbmZpZxIRCgRuYW1lGAEgASgJQgPgQQMSFwoKc291cmNlX3VyaRgC",
"IAEoCUID4EECEhIKCmFkX3RhZ191cmkYAyABKAkSRgoPZ2FtX2xpdmVfY29u",
"ZmlnGAQgASgLMi0uZ29vZ2xlLmNsb3VkLnZpZGVvLnN0aXRjaGVyLnYxLkdh",
Expand All @@ -39,27 +39,26 @@ public static partial class LiveConfigsReflection {
"aW5nX3BvbGljeRgIIAEoDjI6Lmdvb2dsZS5jbG91ZC52aWRlby5zdGl0Y2hl",
"ci52MS5MaXZlQ29uZmlnL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UuY29tL2dvL3ZpZGVvL3N0aXRjaGVyL2FwaXYxL3N0",
"aXRjaGVycGI7c3RpdGNoZXJwYmIGcHJvdG8z"));
"UHJlZmV0Y2hDb25maWciRQoFU3RhdGUSFQoRU1RBVEVfVU5TUEVDSUZJRUQQ",
"ABIMCghDUkVBVElORxABEgkKBVJFQURZEAISDAoIREVMRVRJTkcQAyJVCg9T",
"dGl0Y2hpbmdQb2xpY3kSIAocU1RJVENISU5HX1BPTElDWV9VTlNQRUNJRklF",
"RBAAEg8KC0NVVF9DVVJSRU5UEAESDwoLQ09NUExFVEVfQUQQAjpv6kFsCid2",
"aWRlb3N0aXRjaGVyLmdvb2dsZWFwaXMuY29tL0xpdmVDb25maWcSQXByb2pl",
"Y3RzL3twcm9qZWN0fS9sb2NhdGlvbnMve2xvY2F0aW9ufS9saXZlQ29uZmln",
"cy97bGl2ZV9jb25maWd9ImYKDlByZWZldGNoQ29uZmlnEhQKB2VuYWJsZWQY",
"ASABKAhCA+BBAhI+Chtpbml0aWFsX2FkX3JlcXVlc3RfZHVyYXRpb24YAiAB",
"KAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24iYQoNR2FtTGl2ZUNvbmZp",
"ZxIZCgxuZXR3b3JrX2NvZGUYASABKAlCA+BBAhIWCglhc3NldF9rZXkYAiAB",
"KAlCA+BBAxIdChBjdXN0b21fYXNzZXRfa2V5GAMgASgJQgPgQQMqQQoKQWRU",
"cmFja2luZxIbChdBRF9UUkFDS0lOR19VTlNQRUNJRklFRBAAEgoKBkNMSUVO",
"VBABEgoKBlNFUlZFUhACQngKImNvbS5nb29nbGUuY2xvdWQudmlkZW8uc3Rp",
"dGNoZXIudjFCEExpdmVDb25maWdzUHJvdG9QAVo+Y2xvdWQuZ29vZ2xlLmNv",
"bS9nby92aWRlby9zdGl0Y2hlci9hcGl2MS9zdGl0Y2hlcnBiO3N0aXRjaGVy",
"cGJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Video.Stitcher.V1.AdTracking), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig), global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Parser, new[]{ "Name", "SourceUri", "AdTagUri", "GamLiveConfig", "State", "AdTracking", "DefaultSlate", "StitchingPolicy", "PrefetchConfig", "DefaultAdBreakDuration" }, null, new[]{ typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Types.State), typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Types.StitchingPolicy) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig), global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Parser, new[]{ "Name", "SourceUri", "AdTagUri", "GamLiveConfig", "State", "AdTracking", "DefaultSlate", "StitchingPolicy", "PrefetchConfig" }, null, new[]{ typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Types.State), typeof(global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Types.StitchingPolicy) }, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Video.Stitcher.V1.PrefetchConfig), global::Google.Cloud.Video.Stitcher.V1.PrefetchConfig.Parser, new[]{ "Enabled", "InitialAdRequestDuration" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Video.Stitcher.V1.GamLiveConfig), global::Google.Cloud.Video.Stitcher.V1.GamLiveConfig.Parser, new[]{ "NetworkCode", "AssetKey", "CustomAssetKey" }, null, null, null, null)
}));
Expand Down Expand Up @@ -137,7 +136,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
defaultSlate_ = other.defaultSlate_;
stitchingPolicy_ = other.stitchingPolicy_;
prefetchConfig_ = other.prefetchConfig_ != null ? other.prefetchConfig_.Clone() : null;
defaultAdBreakDuration_ = other.defaultAdBreakDuration_ != null ? other.defaultAdBreakDuration_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}

Expand Down Expand Up @@ -290,23 +288,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
}
}

/// <summary>Field number for the "default_ad_break_duration" field.</summary>
public const int DefaultAdBreakDurationFieldNumber = 11;
private global::Google.Protobuf.WellKnownTypes.Duration defaultAdBreakDuration_;
/// <summary>
/// The default ad pod duration in seconds that will be requested when a
/// cue-out does not specify a duration.
/// The default value of this field is 30s.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Duration DefaultAdBreakDuration {
get { return defaultAdBreakDuration_; }
set {
defaultAdBreakDuration_ = value;
}
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
Expand All @@ -331,7 +312,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
if (DefaultSlate != other.DefaultSlate) return false;
if (StitchingPolicy != other.StitchingPolicy) return false;
if (!object.Equals(PrefetchConfig, other.PrefetchConfig)) return false;
if (!object.Equals(DefaultAdBreakDuration, other.DefaultAdBreakDuration)) return false;
return Equals(_unknownFields, other._unknownFields);
}

Expand All @@ -348,7 +328,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
if (DefaultSlate.Length != 0) hash ^= DefaultSlate.GetHashCode();
if (StitchingPolicy != global::Google.Cloud.Video.Stitcher.V1.LiveConfig.Types.StitchingPolicy.Unspecified) hash ^= StitchingPolicy.GetHashCode();
if (prefetchConfig_ != null) hash ^= PrefetchConfig.GetHashCode();
if (defaultAdBreakDuration_ != null) hash ^= DefaultAdBreakDuration.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
Expand Down Expand Up @@ -403,10 +382,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
output.WriteRawTag(82);
output.WriteMessage(PrefetchConfig);
}
if (defaultAdBreakDuration_ != null) {
output.WriteRawTag(90);
output.WriteMessage(DefaultAdBreakDuration);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
Expand Down Expand Up @@ -453,10 +428,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
output.WriteRawTag(82);
output.WriteMessage(PrefetchConfig);
}
if (defaultAdBreakDuration_ != null) {
output.WriteRawTag(90);
output.WriteMessage(DefaultAdBreakDuration);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
Expand Down Expand Up @@ -494,9 +465,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
if (prefetchConfig_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrefetchConfig);
}
if (defaultAdBreakDuration_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DefaultAdBreakDuration);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
Expand Down Expand Up @@ -542,12 +510,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
}
PrefetchConfig.MergeFrom(other.PrefetchConfig);
}
if (other.defaultAdBreakDuration_ != null) {
if (defaultAdBreakDuration_ == null) {
DefaultAdBreakDuration = new global::Google.Protobuf.WellKnownTypes.Duration();
}
DefaultAdBreakDuration.MergeFrom(other.DefaultAdBreakDuration);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}

Expand Down Expand Up @@ -605,13 +567,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
input.ReadMessage(PrefetchConfig);
break;
}
case 90: {
if (defaultAdBreakDuration_ == null) {
DefaultAdBreakDuration = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(DefaultAdBreakDuration);
break;
}
}
}
#endif
Expand Down Expand Up @@ -669,13 +624,6 @@ public sealed partial class LiveConfig : pb::IMessage<LiveConfig>
input.ReadMessage(PrefetchConfig);
break;
}
case 90: {
if (defaultAdBreakDuration_ == null) {
DefaultAdBreakDuration = new global::Google.Protobuf.WellKnownTypes.Duration();
}
input.ReadMessage(DefaultAdBreakDuration);
break;
}
}
}
}
Expand Down

0 comments on commit 04da5ae

Please sign in to comment.