20
20
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .GroupFindingsPagedResponse ;
21
21
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListAssetsPagedResponse ;
22
22
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListFindingsPagedResponse ;
23
+ import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListMuteConfigsPagedResponse ;
23
24
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListNotificationConfigsPagedResponse ;
24
25
import static com .google .cloud .securitycenter .v1 .SecurityCenterClient .ListSourcesPagedResponse ;
25
26
83
84
@ Generated ("by gapic-generator-java" )
84
85
public class SecurityCenterSettings extends ClientSettings <SecurityCenterSettings > {
85
86
87
+ /** Returns the object with the settings used for calls to bulkMuteFindings. */
88
+ public UnaryCallSettings <BulkMuteFindingsRequest , Operation > bulkMuteFindingsSettings () {
89
+ return ((SecurityCenterStubSettings ) getStubSettings ()).bulkMuteFindingsSettings ();
90
+ }
91
+
92
+ /** Returns the object with the settings used for calls to bulkMuteFindings. */
93
+ public OperationCallSettings <BulkMuteFindingsRequest , BulkMuteFindingsResponse , Empty >
94
+ bulkMuteFindingsOperationSettings () {
95
+ return ((SecurityCenterStubSettings ) getStubSettings ()).bulkMuteFindingsOperationSettings ();
96
+ }
97
+
86
98
/** Returns the object with the settings used for calls to createSource. */
87
99
public UnaryCallSettings <CreateSourceRequest , Source > createSourceSettings () {
88
100
return ((SecurityCenterStubSettings ) getStubSettings ()).createSourceSettings ();
@@ -93,12 +105,22 @@ public UnaryCallSettings<CreateFindingRequest, Finding> createFindingSettings()
93
105
return ((SecurityCenterStubSettings ) getStubSettings ()).createFindingSettings ();
94
106
}
95
107
108
+ /** Returns the object with the settings used for calls to createMuteConfig. */
109
+ public UnaryCallSettings <CreateMuteConfigRequest , MuteConfig > createMuteConfigSettings () {
110
+ return ((SecurityCenterStubSettings ) getStubSettings ()).createMuteConfigSettings ();
111
+ }
112
+
96
113
/** Returns the object with the settings used for calls to createNotificationConfig. */
97
114
public UnaryCallSettings <CreateNotificationConfigRequest , NotificationConfig >
98
115
createNotificationConfigSettings () {
99
116
return ((SecurityCenterStubSettings ) getStubSettings ()).createNotificationConfigSettings ();
100
117
}
101
118
119
+ /** Returns the object with the settings used for calls to deleteMuteConfig. */
120
+ public UnaryCallSettings <DeleteMuteConfigRequest , Empty > deleteMuteConfigSettings () {
121
+ return ((SecurityCenterStubSettings ) getStubSettings ()).deleteMuteConfigSettings ();
122
+ }
123
+
102
124
/** Returns the object with the settings used for calls to deleteNotificationConfig. */
103
125
public UnaryCallSettings <DeleteNotificationConfigRequest , Empty >
104
126
deleteNotificationConfigSettings () {
@@ -110,6 +132,11 @@ public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
110
132
return ((SecurityCenterStubSettings ) getStubSettings ()).getIamPolicySettings ();
111
133
}
112
134
135
+ /** Returns the object with the settings used for calls to getMuteConfig. */
136
+ public UnaryCallSettings <GetMuteConfigRequest , MuteConfig > getMuteConfigSettings () {
137
+ return ((SecurityCenterStubSettings ) getStubSettings ()).getMuteConfigSettings ();
138
+ }
139
+
113
140
/** Returns the object with the settings used for calls to getNotificationConfig. */
114
141
public UnaryCallSettings <GetNotificationConfigRequest , NotificationConfig >
115
142
getNotificationConfigSettings () {
@@ -151,6 +178,13 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
151
178
return ((SecurityCenterStubSettings ) getStubSettings ()).listFindingsSettings ();
152
179
}
153
180
181
+ /** Returns the object with the settings used for calls to listMuteConfigs. */
182
+ public PagedCallSettings <
183
+ ListMuteConfigsRequest , ListMuteConfigsResponse , ListMuteConfigsPagedResponse >
184
+ listMuteConfigsSettings () {
185
+ return ((SecurityCenterStubSettings ) getStubSettings ()).listMuteConfigsSettings ();
186
+ }
187
+
154
188
/** Returns the object with the settings used for calls to listNotificationConfigs. */
155
189
public PagedCallSettings <
156
190
ListNotificationConfigsRequest ,
@@ -182,6 +216,11 @@ public UnaryCallSettings<SetFindingStateRequest, Finding> setFindingStateSetting
182
216
return ((SecurityCenterStubSettings ) getStubSettings ()).setFindingStateSettings ();
183
217
}
184
218
219
+ /** Returns the object with the settings used for calls to setMute. */
220
+ public UnaryCallSettings <SetMuteRequest , Finding > setMuteSettings () {
221
+ return ((SecurityCenterStubSettings ) getStubSettings ()).setMuteSettings ();
222
+ }
223
+
185
224
/** Returns the object with the settings used for calls to setIamPolicy. */
186
225
public UnaryCallSettings <SetIamPolicyRequest , Policy > setIamPolicySettings () {
187
226
return ((SecurityCenterStubSettings ) getStubSettings ()).setIamPolicySettings ();
@@ -198,6 +237,11 @@ public UnaryCallSettings<UpdateFindingRequest, Finding> updateFindingSettings()
198
237
return ((SecurityCenterStubSettings ) getStubSettings ()).updateFindingSettings ();
199
238
}
200
239
240
+ /** Returns the object with the settings used for calls to updateMuteConfig. */
241
+ public UnaryCallSettings <UpdateMuteConfigRequest , MuteConfig > updateMuteConfigSettings () {
242
+ return ((SecurityCenterStubSettings ) getStubSettings ()).updateMuteConfigSettings ();
243
+ }
244
+
201
245
/** Returns the object with the settings used for calls to updateNotificationConfig. */
202
246
public UnaryCallSettings <UpdateNotificationConfigRequest , NotificationConfig >
203
247
updateNotificationConfigSettings () {
@@ -318,6 +362,18 @@ public Builder applyToAllUnaryMethods(
318
362
return this ;
319
363
}
320
364
365
+ /** Returns the builder for the settings used for calls to bulkMuteFindings. */
366
+ public UnaryCallSettings .Builder <BulkMuteFindingsRequest , Operation >
367
+ bulkMuteFindingsSettings () {
368
+ return getStubSettingsBuilder ().bulkMuteFindingsSettings ();
369
+ }
370
+
371
+ /** Returns the builder for the settings used for calls to bulkMuteFindings. */
372
+ public OperationCallSettings .Builder <BulkMuteFindingsRequest , BulkMuteFindingsResponse , Empty >
373
+ bulkMuteFindingsOperationSettings () {
374
+ return getStubSettingsBuilder ().bulkMuteFindingsOperationSettings ();
375
+ }
376
+
321
377
/** Returns the builder for the settings used for calls to createSource. */
322
378
public UnaryCallSettings .Builder <CreateSourceRequest , Source > createSourceSettings () {
323
379
return getStubSettingsBuilder ().createSourceSettings ();
@@ -328,12 +384,23 @@ public UnaryCallSettings.Builder<CreateFindingRequest, Finding> createFindingSet
328
384
return getStubSettingsBuilder ().createFindingSettings ();
329
385
}
330
386
387
+ /** Returns the builder for the settings used for calls to createMuteConfig. */
388
+ public UnaryCallSettings .Builder <CreateMuteConfigRequest , MuteConfig >
389
+ createMuteConfigSettings () {
390
+ return getStubSettingsBuilder ().createMuteConfigSettings ();
391
+ }
392
+
331
393
/** Returns the builder for the settings used for calls to createNotificationConfig. */
332
394
public UnaryCallSettings .Builder <CreateNotificationConfigRequest , NotificationConfig >
333
395
createNotificationConfigSettings () {
334
396
return getStubSettingsBuilder ().createNotificationConfigSettings ();
335
397
}
336
398
399
+ /** Returns the builder for the settings used for calls to deleteMuteConfig. */
400
+ public UnaryCallSettings .Builder <DeleteMuteConfigRequest , Empty > deleteMuteConfigSettings () {
401
+ return getStubSettingsBuilder ().deleteMuteConfigSettings ();
402
+ }
403
+
337
404
/** Returns the builder for the settings used for calls to deleteNotificationConfig. */
338
405
public UnaryCallSettings .Builder <DeleteNotificationConfigRequest , Empty >
339
406
deleteNotificationConfigSettings () {
@@ -345,6 +412,11 @@ public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettin
345
412
return getStubSettingsBuilder ().getIamPolicySettings ();
346
413
}
347
414
415
+ /** Returns the builder for the settings used for calls to getMuteConfig. */
416
+ public UnaryCallSettings .Builder <GetMuteConfigRequest , MuteConfig > getMuteConfigSettings () {
417
+ return getStubSettingsBuilder ().getMuteConfigSettings ();
418
+ }
419
+
348
420
/** Returns the builder for the settings used for calls to getNotificationConfig. */
349
421
public UnaryCallSettings .Builder <GetNotificationConfigRequest , NotificationConfig >
350
422
getNotificationConfigSettings () {
@@ -389,6 +461,13 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
389
461
return getStubSettingsBuilder ().listFindingsSettings ();
390
462
}
391
463
464
+ /** Returns the builder for the settings used for calls to listMuteConfigs. */
465
+ public PagedCallSettings .Builder <
466
+ ListMuteConfigsRequest , ListMuteConfigsResponse , ListMuteConfigsPagedResponse >
467
+ listMuteConfigsSettings () {
468
+ return getStubSettingsBuilder ().listMuteConfigsSettings ();
469
+ }
470
+
392
471
/** Returns the builder for the settings used for calls to listNotificationConfigs. */
393
472
public PagedCallSettings .Builder <
394
473
ListNotificationConfigsRequest ,
@@ -422,6 +501,11 @@ public UnaryCallSettings.Builder<SetFindingStateRequest, Finding> setFindingStat
422
501
return getStubSettingsBuilder ().setFindingStateSettings ();
423
502
}
424
503
504
+ /** Returns the builder for the settings used for calls to setMute. */
505
+ public UnaryCallSettings .Builder <SetMuteRequest , Finding > setMuteSettings () {
506
+ return getStubSettingsBuilder ().setMuteSettings ();
507
+ }
508
+
425
509
/** Returns the builder for the settings used for calls to setIamPolicy. */
426
510
public UnaryCallSettings .Builder <SetIamPolicyRequest , Policy > setIamPolicySettings () {
427
511
return getStubSettingsBuilder ().setIamPolicySettings ();
@@ -438,6 +522,12 @@ public UnaryCallSettings.Builder<UpdateFindingRequest, Finding> updateFindingSet
438
522
return getStubSettingsBuilder ().updateFindingSettings ();
439
523
}
440
524
525
+ /** Returns the builder for the settings used for calls to updateMuteConfig. */
526
+ public UnaryCallSettings .Builder <UpdateMuteConfigRequest , MuteConfig >
527
+ updateMuteConfigSettings () {
528
+ return getStubSettingsBuilder ().updateMuteConfigSettings ();
529
+ }
530
+
441
531
/** Returns the builder for the settings used for calls to updateNotificationConfig. */
442
532
public UnaryCallSettings .Builder <UpdateNotificationConfigRequest , NotificationConfig >
443
533
updateNotificationConfigSettings () {
0 commit comments