|
18 | 18 | import static com.google.cloud.logging.v2.ConfigClient.ListBucketsPagedResponse; |
19 | 19 | import static com.google.cloud.logging.v2.ConfigClient.ListExclusionsPagedResponse; |
20 | 20 | import static com.google.cloud.logging.v2.ConfigClient.ListSinksPagedResponse; |
| 21 | +import static com.google.cloud.logging.v2.ConfigClient.ListViewsPagedResponse; |
21 | 22 |
|
22 | 23 | import com.google.api.core.ApiFunction; |
23 | 24 | import com.google.api.core.BetaApi; |
|
32 | 33 | import com.google.api.gax.rpc.UnaryCallSettings; |
33 | 34 | import com.google.cloud.logging.v2.stub.ConfigServiceV2StubSettings; |
34 | 35 | import com.google.logging.v2.CmekSettings; |
| 36 | +import com.google.logging.v2.CreateBucketRequest; |
35 | 37 | import com.google.logging.v2.CreateExclusionRequest; |
36 | 38 | import com.google.logging.v2.CreateSinkRequest; |
| 39 | +import com.google.logging.v2.CreateViewRequest; |
| 40 | +import com.google.logging.v2.DeleteBucketRequest; |
37 | 41 | import com.google.logging.v2.DeleteExclusionRequest; |
38 | 42 | import com.google.logging.v2.DeleteSinkRequest; |
| 43 | +import com.google.logging.v2.DeleteViewRequest; |
39 | 44 | import com.google.logging.v2.GetBucketRequest; |
40 | 45 | import com.google.logging.v2.GetCmekSettingsRequest; |
41 | 46 | import com.google.logging.v2.GetExclusionRequest; |
42 | 47 | import com.google.logging.v2.GetSinkRequest; |
| 48 | +import com.google.logging.v2.GetViewRequest; |
43 | 49 | import com.google.logging.v2.ListBucketsRequest; |
44 | 50 | import com.google.logging.v2.ListBucketsResponse; |
45 | 51 | import com.google.logging.v2.ListExclusionsRequest; |
46 | 52 | import com.google.logging.v2.ListExclusionsResponse; |
47 | 53 | import com.google.logging.v2.ListSinksRequest; |
48 | 54 | import com.google.logging.v2.ListSinksResponse; |
| 55 | +import com.google.logging.v2.ListViewsRequest; |
| 56 | +import com.google.logging.v2.ListViewsResponse; |
49 | 57 | import com.google.logging.v2.LogBucket; |
50 | 58 | import com.google.logging.v2.LogExclusion; |
51 | 59 | import com.google.logging.v2.LogSink; |
| 60 | +import com.google.logging.v2.LogView; |
| 61 | +import com.google.logging.v2.UndeleteBucketRequest; |
52 | 62 | import com.google.logging.v2.UpdateBucketRequest; |
53 | 63 | import com.google.logging.v2.UpdateCmekSettingsRequest; |
54 | 64 | import com.google.logging.v2.UpdateExclusionRequest; |
55 | 65 | import com.google.logging.v2.UpdateSinkRequest; |
| 66 | +import com.google.logging.v2.UpdateViewRequest; |
56 | 67 | import com.google.protobuf.Empty; |
57 | 68 | import java.io.IOException; |
58 | 69 | import java.util.List; |
@@ -118,11 +129,52 @@ public UnaryCallSettings<GetBucketRequest, LogBucket> getBucketSettings() { |
118 | 129 | return ((ConfigServiceV2StubSettings) getStubSettings()).getBucketSettings(); |
119 | 130 | } |
120 | 131 |
|
| 132 | + /** Returns the object with the settings used for calls to createBucket. */ |
| 133 | + public UnaryCallSettings<CreateBucketRequest, LogBucket> createBucketSettings() { |
| 134 | + return ((ConfigServiceV2StubSettings) getStubSettings()).createBucketSettings(); |
| 135 | + } |
| 136 | + |
121 | 137 | /** Returns the object with the settings used for calls to updateBucket. */ |
122 | 138 | public UnaryCallSettings<UpdateBucketRequest, LogBucket> updateBucketSettings() { |
123 | 139 | return ((ConfigServiceV2StubSettings) getStubSettings()).updateBucketSettings(); |
124 | 140 | } |
125 | 141 |
|
| 142 | + /** Returns the object with the settings used for calls to deleteBucket. */ |
| 143 | + public UnaryCallSettings<DeleteBucketRequest, Empty> deleteBucketSettings() { |
| 144 | + return ((ConfigServiceV2StubSettings) getStubSettings()).deleteBucketSettings(); |
| 145 | + } |
| 146 | + |
| 147 | + /** Returns the object with the settings used for calls to undeleteBucket. */ |
| 148 | + public UnaryCallSettings<UndeleteBucketRequest, Empty> undeleteBucketSettings() { |
| 149 | + return ((ConfigServiceV2StubSettings) getStubSettings()).undeleteBucketSettings(); |
| 150 | + } |
| 151 | + |
| 152 | + /** Returns the object with the settings used for calls to listViews. */ |
| 153 | + public PagedCallSettings<ListViewsRequest, ListViewsResponse, ListViewsPagedResponse> |
| 154 | + listViewsSettings() { |
| 155 | + return ((ConfigServiceV2StubSettings) getStubSettings()).listViewsSettings(); |
| 156 | + } |
| 157 | + |
| 158 | + /** Returns the object with the settings used for calls to getView. */ |
| 159 | + public UnaryCallSettings<GetViewRequest, LogView> getViewSettings() { |
| 160 | + return ((ConfigServiceV2StubSettings) getStubSettings()).getViewSettings(); |
| 161 | + } |
| 162 | + |
| 163 | + /** Returns the object with the settings used for calls to createView. */ |
| 164 | + public UnaryCallSettings<CreateViewRequest, LogView> createViewSettings() { |
| 165 | + return ((ConfigServiceV2StubSettings) getStubSettings()).createViewSettings(); |
| 166 | + } |
| 167 | + |
| 168 | + /** Returns the object with the settings used for calls to updateView. */ |
| 169 | + public UnaryCallSettings<UpdateViewRequest, LogView> updateViewSettings() { |
| 170 | + return ((ConfigServiceV2StubSettings) getStubSettings()).updateViewSettings(); |
| 171 | + } |
| 172 | + |
| 173 | + /** Returns the object with the settings used for calls to deleteView. */ |
| 174 | + public UnaryCallSettings<DeleteViewRequest, Empty> deleteViewSettings() { |
| 175 | + return ((ConfigServiceV2StubSettings) getStubSettings()).deleteViewSettings(); |
| 176 | + } |
| 177 | + |
126 | 178 | /** Returns the object with the settings used for calls to listSinks. */ |
127 | 179 | public PagedCallSettings<ListSinksRequest, ListSinksResponse, ListSinksPagedResponse> |
128 | 180 | listSinksSettings() { |
@@ -294,11 +346,52 @@ public UnaryCallSettings.Builder<GetBucketRequest, LogBucket> getBucketSettings( |
294 | 346 | return getStubSettingsBuilder().getBucketSettings(); |
295 | 347 | } |
296 | 348 |
|
| 349 | + /** Returns the builder for the settings used for calls to createBucket. */ |
| 350 | + public UnaryCallSettings.Builder<CreateBucketRequest, LogBucket> createBucketSettings() { |
| 351 | + return getStubSettingsBuilder().createBucketSettings(); |
| 352 | + } |
| 353 | + |
297 | 354 | /** Returns the builder for the settings used for calls to updateBucket. */ |
298 | 355 | public UnaryCallSettings.Builder<UpdateBucketRequest, LogBucket> updateBucketSettings() { |
299 | 356 | return getStubSettingsBuilder().updateBucketSettings(); |
300 | 357 | } |
301 | 358 |
|
| 359 | + /** Returns the builder for the settings used for calls to deleteBucket. */ |
| 360 | + public UnaryCallSettings.Builder<DeleteBucketRequest, Empty> deleteBucketSettings() { |
| 361 | + return getStubSettingsBuilder().deleteBucketSettings(); |
| 362 | + } |
| 363 | + |
| 364 | + /** Returns the builder for the settings used for calls to undeleteBucket. */ |
| 365 | + public UnaryCallSettings.Builder<UndeleteBucketRequest, Empty> undeleteBucketSettings() { |
| 366 | + return getStubSettingsBuilder().undeleteBucketSettings(); |
| 367 | + } |
| 368 | + |
| 369 | + /** Returns the builder for the settings used for calls to listViews. */ |
| 370 | + public PagedCallSettings.Builder<ListViewsRequest, ListViewsResponse, ListViewsPagedResponse> |
| 371 | + listViewsSettings() { |
| 372 | + return getStubSettingsBuilder().listViewsSettings(); |
| 373 | + } |
| 374 | + |
| 375 | + /** Returns the builder for the settings used for calls to getView. */ |
| 376 | + public UnaryCallSettings.Builder<GetViewRequest, LogView> getViewSettings() { |
| 377 | + return getStubSettingsBuilder().getViewSettings(); |
| 378 | + } |
| 379 | + |
| 380 | + /** Returns the builder for the settings used for calls to createView. */ |
| 381 | + public UnaryCallSettings.Builder<CreateViewRequest, LogView> createViewSettings() { |
| 382 | + return getStubSettingsBuilder().createViewSettings(); |
| 383 | + } |
| 384 | + |
| 385 | + /** Returns the builder for the settings used for calls to updateView. */ |
| 386 | + public UnaryCallSettings.Builder<UpdateViewRequest, LogView> updateViewSettings() { |
| 387 | + return getStubSettingsBuilder().updateViewSettings(); |
| 388 | + } |
| 389 | + |
| 390 | + /** Returns the builder for the settings used for calls to deleteView. */ |
| 391 | + public UnaryCallSettings.Builder<DeleteViewRequest, Empty> deleteViewSettings() { |
| 392 | + return getStubSettingsBuilder().deleteViewSettings(); |
| 393 | + } |
| 394 | + |
302 | 395 | /** Returns the builder for the settings used for calls to listSinks. */ |
303 | 396 | public PagedCallSettings.Builder<ListSinksRequest, ListSinksResponse, ListSinksPagedResponse> |
304 | 397 | listSinksSettings() { |
|
0 commit comments