@@ -52,6 +52,7 @@ public void CreateSubscriptionRequestObject()
52
52
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
53
53
RetryPolicy = new RetryPolicy ( ) ,
54
54
Detached = false ,
55
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
55
56
} ;
56
57
Subscription expectedResponse = new Subscription
57
58
{
@@ -74,6 +75,7 @@ public void CreateSubscriptionRequestObject()
74
75
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
75
76
RetryPolicy = new RetryPolicy ( ) ,
76
77
Detached = false ,
78
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
77
79
} ;
78
80
mockGrpcClient . Setup ( x => x . CreateSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
79
81
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -107,6 +109,7 @@ public void CreateSubscriptionRequestObject()
107
109
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
108
110
RetryPolicy = new RetryPolicy ( ) ,
109
111
Detached = false ,
112
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
110
113
} ;
111
114
Subscription expectedResponse = new Subscription
112
115
{
@@ -129,6 +132,7 @@ public void CreateSubscriptionRequestObject()
129
132
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
130
133
RetryPolicy = new RetryPolicy ( ) ,
131
134
Detached = false ,
135
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
132
136
} ;
133
137
mockGrpcClient . Setup ( x => x . CreateSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
134
138
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -171,6 +175,7 @@ public void CreateSubscription()
171
175
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
172
176
RetryPolicy = new RetryPolicy ( ) ,
173
177
Detached = false ,
178
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
174
179
} ;
175
180
mockGrpcClient . Setup ( x => x . CreateSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
176
181
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -211,6 +216,7 @@ public void CreateSubscription()
211
216
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
212
217
RetryPolicy = new RetryPolicy ( ) ,
213
218
Detached = false ,
219
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
214
220
} ;
215
221
mockGrpcClient . Setup ( x => x . CreateSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
216
222
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -253,6 +259,7 @@ public void CreateSubscriptionResourceNames()
253
259
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
254
260
RetryPolicy = new RetryPolicy ( ) ,
255
261
Detached = false ,
262
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
256
263
} ;
257
264
mockGrpcClient . Setup ( x => x . CreateSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
258
265
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -293,6 +300,7 @@ public void CreateSubscriptionResourceNames()
293
300
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
294
301
RetryPolicy = new RetryPolicy ( ) ,
295
302
Detached = false ,
303
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
296
304
} ;
297
305
mockGrpcClient . Setup ( x => x . CreateSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
298
306
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -332,6 +340,7 @@ public void GetSubscriptionRequestObject()
332
340
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
333
341
RetryPolicy = new RetryPolicy ( ) ,
334
342
Detached = false ,
343
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
335
344
} ;
336
345
mockGrpcClient . Setup ( x => x . GetSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
337
346
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -369,6 +378,7 @@ public void GetSubscriptionRequestObject()
369
378
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
370
379
RetryPolicy = new RetryPolicy ( ) ,
371
380
Detached = false ,
381
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
372
382
} ;
373
383
mockGrpcClient . Setup ( x => x . GetSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
374
384
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -408,6 +418,7 @@ public void GetSubscription()
408
418
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
409
419
RetryPolicy = new RetryPolicy ( ) ,
410
420
Detached = false ,
421
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
411
422
} ;
412
423
mockGrpcClient . Setup ( x => x . GetSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
413
424
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -445,6 +456,7 @@ public void GetSubscription()
445
456
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
446
457
RetryPolicy = new RetryPolicy ( ) ,
447
458
Detached = false ,
459
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
448
460
} ;
449
461
mockGrpcClient . Setup ( x => x . GetSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
450
462
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -484,6 +496,7 @@ public void GetSubscriptionResourceNames()
484
496
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
485
497
RetryPolicy = new RetryPolicy ( ) ,
486
498
Detached = false ,
499
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
487
500
} ;
488
501
mockGrpcClient . Setup ( x => x . GetSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
489
502
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -521,6 +534,7 @@ public void GetSubscriptionResourceNames()
521
534
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
522
535
RetryPolicy = new RetryPolicy ( ) ,
523
536
Detached = false ,
537
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
524
538
} ;
525
539
mockGrpcClient . Setup ( x => x . GetSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
526
540
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -561,6 +575,7 @@ public void UpdateSubscriptionRequestObject()
561
575
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
562
576
RetryPolicy = new RetryPolicy ( ) ,
563
577
Detached = false ,
578
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
564
579
} ;
565
580
mockGrpcClient . Setup ( x => x . UpdateSubscription ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( expectedResponse ) ;
566
581
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
@@ -599,6 +614,7 @@ public void UpdateSubscriptionRequestObject()
599
614
DeadLetterPolicy = new DeadLetterPolicy ( ) ,
600
615
RetryPolicy = new RetryPolicy ( ) ,
601
616
Detached = false ,
617
+ TopicMessageRetentionDuration = new wkt ::Duration ( ) ,
602
618
} ;
603
619
mockGrpcClient . Setup ( x => x . UpdateSubscriptionAsync ( request , moq ::It . IsAny < grpccore ::CallOptions > ( ) ) ) . Returns ( new grpccore ::AsyncUnaryCall < Subscription > ( stt ::Task . FromResult ( expectedResponse ) , null , null , null , null ) ) ;
604
620
SubscriberServiceApiClient client = new SubscriberServiceApiClientImpl ( mockGrpcClient . Object , null ) ;
0 commit comments