@@ -30,7 +30,7 @@ static AlertReflection() {
3030 "L3YzL2NvbW1vbi5wcm90bxoqZ29vZ2xlL21vbml0b3JpbmcvdjMvbXV0YXRp" ,
3131 "b25fcmVjb3JkLnByb3RvGh5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJv" ,
3232 "dG8aHmdvb2dsZS9wcm90b2J1Zi93cmFwcGVycy5wcm90bxoXZ29vZ2xlL3Jw" ,
33- "Yy9zdGF0dXMucHJvdG8itBcKC0FsZXJ0UG9saWN5EgwKBG5hbWUYASABKAkS " ,
33+ "Yy9zdGF0dXMucHJvdG8i4xcKC0FsZXJ0UG9saWN5EgwKBG5hbWUYASABKAkS " ,
3434 "FAoMZGlzcGxheV9uYW1lGAIgASgJEkYKDWRvY3VtZW50YXRpb24YDSABKAsy" ,
3535 "Ly5nb29nbGUubW9uaXRvcmluZy52My5BbGVydFBvbGljeS5Eb2N1bWVudGF0" ,
3636 "aW9uEkYKC3VzZXJfbGFiZWxzGBAgAygLMjEuZ29vZ2xlLm1vbml0b3Jpbmcu" ,
@@ -84,24 +84,25 @@ static AlertReflection() {
8484 "aXRpb259ElBvcmdhbml6YXRpb25zL3tvcmdhbml6YXRpb259L2FsZXJ0UG9s" ,
8585 "aWNpZXMve2FsZXJ0X3BvbGljeX0vY29uZGl0aW9ucy97Y29uZGl0aW9ufRJE" ,
8686 "Zm9sZGVycy97Zm9sZGVyfS9hbGVydFBvbGljaWVzL3thbGVydF9wb2xpY3l9" ,
87- "L2NvbmRpdGlvbnMve2NvbmRpdGlvbn0SASpCCwoJY29uZGl0aW9uGrsBCg1B " ,
87+ "L2NvbmRpdGlvbnMve2NvbmRpdGlvbn0SASpCCwoJY29uZGl0aW9uGuoBCg1B " ,
8888 "bGVydFN0cmF0ZWd5EmYKF25vdGlmaWNhdGlvbl9yYXRlX2xpbWl0GAEgASgL" ,
8989 "MkUuZ29vZ2xlLm1vbml0b3JpbmcudjMuQWxlcnRQb2xpY3kuQWxlcnRTdHJh" ,
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dsZS5wcm90b2J1Zi5EdXJhdGlvbhpCChVOb3RpZmljYXRpb25S" ,
92+ "YXRlTGltaXQSKQoGcGVyaW9kGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1" ,
93+ "cmF0aW9uGjEKD1VzZXJMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFs" ,
94+ "dWUYAiABKAk6AjgBImEKFUNvbmRpdGlvbkNvbWJpbmVyVHlwZRIXChNDT01C" ,
95+ "SU5FX1VOU1BFQ0lGSUVEEAASBwoDQU5EEAESBgoCT1IQAhIeChpBTkRfV0lU" ,
96+ "SF9NQVRDSElOR19SRVNPVVJDRRADOskB6kHFAQolbW9uaXRvcmluZy5nb29n" ,
97+ "bGVhcGlzLmNvbS9BbGVydFBvbGljeRIvcHJvamVjdHMve3Byb2plY3R9L2Fs" ,
98+ "ZXJ0UG9saWNpZXMve2FsZXJ0X3BvbGljeX0SOW9yZ2FuaXphdGlvbnMve29y" ,
99+ "Z2FuaXphdGlvbn0vYWxlcnRQb2xpY2llcy97YWxlcnRfcG9saWN5fRItZm9s" ,
100+ "ZGVycy97Zm9sZGVyfS9hbGVydFBvbGljaWVzL3thbGVydF9wb2xpY3l9EgEq" ,
101+ "QsIBChhjb20uZ29vZ2xlLm1vbml0b3JpbmcudjNCCkFsZXJ0UHJvdG9QAVo+" ,
102+ "Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9tb25pdG9y" ,
103+ "aW5nL3YzO21vbml0b3JpbmeqAhpHb29nbGUuQ2xvdWQuTW9uaXRvcmluZy5W" ,
104+ "M8oCGkdvb2dsZVxDbG91ZFxNb25pdG9yaW5nXFYz6gIdR29vZ2xlOjpDbG91" ,
105+ "ZDo6TW9uaXRvcmluZzo6VjNiBnByb3RvMw==" ) ) ;
105106 descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
106107 new pbr ::FileDescriptor [ ] { global ::Google . Api . FieldBehaviorReflection . Descriptor , global ::Google . Api . ResourceReflection . Descriptor , global ::Google . Cloud . Monitoring . V3 . CommonReflection . Descriptor , global ::Google . Cloud . Monitoring . V3 . MutationRecordReflection . Descriptor , global ::Google . Protobuf . WellKnownTypes . DurationReflection . Descriptor , global ::Google . Protobuf . WellKnownTypes . WrappersReflection . Descriptor , global ::Google . Rpc . StatusReflection . Descriptor , } ,
107108 new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
@@ -111,7 +112,7 @@ static AlertReflection() {
111112 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . MetricAbsence ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . MetricAbsence . Parser , new [ ] { "Filter" , "Aggregations" , "Duration" , "Trigger" } , null , null , null , null ) ,
112113 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . LogMatch ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . LogMatch . Parser , new [ ] { "Filter" , "LabelExtractors" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { null , } ) ,
113114 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . MonitoringQueryLanguageCondition ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . Condition . Types . MonitoringQueryLanguageCondition . Parser , new [ ] { "Query" , "Duration" , "Trigger" } , null , null , null , null ) } ) ,
114- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Parser , new [ ] { "NotificationRateLimit" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Types . NotificationRateLimit ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Types . NotificationRateLimit . Parser , new [ ] { "Period" } , null , null , null , null ) } ) ,
115+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Parser , new [ ] { "NotificationRateLimit" , "AutoClose" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Types . NotificationRateLimit ) , global ::Google . Cloud . Monitoring . V3 . AlertPolicy . Types . AlertStrategy . Types . NotificationRateLimit . Parser , new [ ] { "Period" } , null , null , null , null ) } ) ,
115116 null , } )
116117 } ) ) ;
117118 }
@@ -3359,6 +3360,7 @@ public AlertStrategy() {
33593360 [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
33603361 public AlertStrategy ( AlertStrategy other ) : this ( ) {
33613362 notificationRateLimit_ = other . notificationRateLimit_ != null ? other . notificationRateLimit_ . Clone ( ) : null ;
3363+ autoClose_ = other . autoClose_ != null ? other . autoClose_ . Clone ( ) : null ;
33623364 _unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
33633365 }
33643366
@@ -3385,6 +3387,22 @@ public AlertStrategy Clone() {
33853387 }
33863388 }
33873389
3390+ /// <summary>Field number for the "auto_close" field.</summary>
3391+ public const int AutoCloseFieldNumber = 3 ;
3392+ private global ::Google . Protobuf . WellKnownTypes . Duration autoClose_ ;
3393+ /// <summary>
3394+ /// If an alert policy that was active has no data for this long, any open
3395+ /// incidents will close
3396+ /// </summary>
3397+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
3398+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
3399+ public global ::Google . Protobuf . WellKnownTypes . Duration AutoClose {
3400+ get { return autoClose_ ; }
3401+ set {
3402+ autoClose_ = value ;
3403+ }
3404+ }
3405+
33883406 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
33893407 [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
33903408 public override bool Equals ( object other ) {
@@ -3401,6 +3419,7 @@ public bool Equals(AlertStrategy other) {
34013419 return true ;
34023420 }
34033421 if ( ! object . Equals ( NotificationRateLimit , other . NotificationRateLimit ) ) return false ;
3422+ if ( ! object . Equals ( AutoClose , other . AutoClose ) ) return false ;
34043423 return Equals ( _unknownFields , other . _unknownFields ) ;
34053424 }
34063425
@@ -3409,6 +3428,7 @@ public bool Equals(AlertStrategy other) {
34093428 public override int GetHashCode ( ) {
34103429 int hash = 1 ;
34113430 if ( notificationRateLimit_ != null ) hash ^= NotificationRateLimit . GetHashCode ( ) ;
3431+ if ( autoClose_ != null ) hash ^= AutoClose . GetHashCode ( ) ;
34123432 if ( _unknownFields != null ) {
34133433 hash ^= _unknownFields . GetHashCode ( ) ;
34143434 }
@@ -3431,6 +3451,10 @@ public void WriteTo(pb::CodedOutputStream output) {
34313451 output . WriteRawTag ( 10 ) ;
34323452 output . WriteMessage ( NotificationRateLimit ) ;
34333453 }
3454+ if ( autoClose_ != null ) {
3455+ output . WriteRawTag ( 26 ) ;
3456+ output . WriteMessage ( AutoClose ) ;
3457+ }
34343458 if ( _unknownFields != null ) {
34353459 _unknownFields . WriteTo ( output ) ;
34363460 }
@@ -3445,6 +3469,10 @@ public void WriteTo(pb::CodedOutputStream output) {
34453469 output . WriteRawTag ( 10 ) ;
34463470 output . WriteMessage ( NotificationRateLimit ) ;
34473471 }
3472+ if ( autoClose_ != null ) {
3473+ output . WriteRawTag ( 26 ) ;
3474+ output . WriteMessage ( AutoClose ) ;
3475+ }
34483476 if ( _unknownFields != null ) {
34493477 _unknownFields . WriteTo ( ref output ) ;
34503478 }
@@ -3458,6 +3486,9 @@ public int CalculateSize() {
34583486 if ( notificationRateLimit_ != null ) {
34593487 size += 1 + pb ::CodedOutputStream . ComputeMessageSize ( NotificationRateLimit ) ;
34603488 }
3489+ if ( autoClose_ != null ) {
3490+ size += 1 + pb ::CodedOutputStream . ComputeMessageSize ( AutoClose ) ;
3491+ }
34613492 if ( _unknownFields != null ) {
34623493 size += _unknownFields . CalculateSize ( ) ;
34633494 }
@@ -3476,6 +3507,12 @@ public void MergeFrom(AlertStrategy other) {
34763507 }
34773508 NotificationRateLimit . MergeFrom ( other . NotificationRateLimit ) ;
34783509 }
3510+ if ( other . autoClose_ != null ) {
3511+ if ( autoClose_ == null ) {
3512+ AutoClose = new global ::Google . Protobuf . WellKnownTypes . Duration ( ) ;
3513+ }
3514+ AutoClose . MergeFrom ( other . AutoClose ) ;
3515+ }
34793516 _unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
34803517 }
34813518
@@ -3498,6 +3535,13 @@ public void MergeFrom(pb::CodedInputStream input) {
34983535 input . ReadMessage ( NotificationRateLimit ) ;
34993536 break ;
35003537 }
3538+ case 26 : {
3539+ if ( autoClose_ == null ) {
3540+ AutoClose = new global ::Google . Protobuf . WellKnownTypes . Duration ( ) ;
3541+ }
3542+ input . ReadMessage ( AutoClose ) ;
3543+ break ;
3544+ }
35013545 }
35023546 }
35033547 #endif
@@ -3520,6 +3564,13 @@ public void MergeFrom(pb::CodedInputStream input) {
35203564 input . ReadMessage ( NotificationRateLimit ) ;
35213565 break ;
35223566 }
3567+ case 26 : {
3568+ if ( autoClose_ == null ) {
3569+ AutoClose = new global ::Google . Protobuf . WellKnownTypes . Duration ( ) ;
3570+ }
3571+ input . ReadMessage ( AutoClose ) ;
3572+ break ;
3573+ }
35233574 }
35243575 }
35253576 }
0 commit comments