|
16 | 16 |
|
17 | 17 | package com.google.cloud.eventarc.v1; |
18 | 18 |
|
| 19 | +import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelConnectionsPagedResponse; |
| 20 | +import static com.google.cloud.eventarc.v1.EventarcClient.ListChannelsPagedResponse; |
19 | 21 | import static com.google.cloud.eventarc.v1.EventarcClient.ListTriggersPagedResponse; |
20 | 22 |
|
21 | 23 | import com.google.api.core.ApiFunction; |
@@ -114,6 +116,89 @@ public UnaryCallSettings<DeleteTriggerRequest, Operation> deleteTriggerSettings( |
114 | 116 | return ((EventarcStubSettings) getStubSettings()).deleteTriggerOperationSettings(); |
115 | 117 | } |
116 | 118 |
|
| 119 | + /** Returns the object with the settings used for calls to getChannel. */ |
| 120 | + public UnaryCallSettings<GetChannelRequest, Channel> getChannelSettings() { |
| 121 | + return ((EventarcStubSettings) getStubSettings()).getChannelSettings(); |
| 122 | + } |
| 123 | + |
| 124 | + /** Returns the object with the settings used for calls to listChannels. */ |
| 125 | + public PagedCallSettings<ListChannelsRequest, ListChannelsResponse, ListChannelsPagedResponse> |
| 126 | + listChannelsSettings() { |
| 127 | + return ((EventarcStubSettings) getStubSettings()).listChannelsSettings(); |
| 128 | + } |
| 129 | + |
| 130 | + /** Returns the object with the settings used for calls to createChannel. */ |
| 131 | + public UnaryCallSettings<CreateChannelRequest, Operation> createChannelSettings() { |
| 132 | + return ((EventarcStubSettings) getStubSettings()).createChannelSettings(); |
| 133 | + } |
| 134 | + |
| 135 | + /** Returns the object with the settings used for calls to createChannel. */ |
| 136 | + public OperationCallSettings<CreateChannelRequest, Channel, OperationMetadata> |
| 137 | + createChannelOperationSettings() { |
| 138 | + return ((EventarcStubSettings) getStubSettings()).createChannelOperationSettings(); |
| 139 | + } |
| 140 | + |
| 141 | + /** Returns the object with the settings used for calls to updateChannel. */ |
| 142 | + public UnaryCallSettings<UpdateChannelRequest, Operation> updateChannelSettings() { |
| 143 | + return ((EventarcStubSettings) getStubSettings()).updateChannelSettings(); |
| 144 | + } |
| 145 | + |
| 146 | + /** Returns the object with the settings used for calls to updateChannel. */ |
| 147 | + public OperationCallSettings<UpdateChannelRequest, Channel, OperationMetadata> |
| 148 | + updateChannelOperationSettings() { |
| 149 | + return ((EventarcStubSettings) getStubSettings()).updateChannelOperationSettings(); |
| 150 | + } |
| 151 | + |
| 152 | + /** Returns the object with the settings used for calls to deleteChannel. */ |
| 153 | + public UnaryCallSettings<DeleteChannelRequest, Operation> deleteChannelSettings() { |
| 154 | + return ((EventarcStubSettings) getStubSettings()).deleteChannelSettings(); |
| 155 | + } |
| 156 | + |
| 157 | + /** Returns the object with the settings used for calls to deleteChannel. */ |
| 158 | + public OperationCallSettings<DeleteChannelRequest, Channel, OperationMetadata> |
| 159 | + deleteChannelOperationSettings() { |
| 160 | + return ((EventarcStubSettings) getStubSettings()).deleteChannelOperationSettings(); |
| 161 | + } |
| 162 | + |
| 163 | + /** Returns the object with the settings used for calls to getChannelConnection. */ |
| 164 | + public UnaryCallSettings<GetChannelConnectionRequest, ChannelConnection> |
| 165 | + getChannelConnectionSettings() { |
| 166 | + return ((EventarcStubSettings) getStubSettings()).getChannelConnectionSettings(); |
| 167 | + } |
| 168 | + |
| 169 | + /** Returns the object with the settings used for calls to listChannelConnections. */ |
| 170 | + public PagedCallSettings< |
| 171 | + ListChannelConnectionsRequest, |
| 172 | + ListChannelConnectionsResponse, |
| 173 | + ListChannelConnectionsPagedResponse> |
| 174 | + listChannelConnectionsSettings() { |
| 175 | + return ((EventarcStubSettings) getStubSettings()).listChannelConnectionsSettings(); |
| 176 | + } |
| 177 | + |
| 178 | + /** Returns the object with the settings used for calls to createChannelConnection. */ |
| 179 | + public UnaryCallSettings<CreateChannelConnectionRequest, Operation> |
| 180 | + createChannelConnectionSettings() { |
| 181 | + return ((EventarcStubSettings) getStubSettings()).createChannelConnectionSettings(); |
| 182 | + } |
| 183 | + |
| 184 | + /** Returns the object with the settings used for calls to createChannelConnection. */ |
| 185 | + public OperationCallSettings<CreateChannelConnectionRequest, ChannelConnection, OperationMetadata> |
| 186 | + createChannelConnectionOperationSettings() { |
| 187 | + return ((EventarcStubSettings) getStubSettings()).createChannelConnectionOperationSettings(); |
| 188 | + } |
| 189 | + |
| 190 | + /** Returns the object with the settings used for calls to deleteChannelConnection. */ |
| 191 | + public UnaryCallSettings<DeleteChannelConnectionRequest, Operation> |
| 192 | + deleteChannelConnectionSettings() { |
| 193 | + return ((EventarcStubSettings) getStubSettings()).deleteChannelConnectionSettings(); |
| 194 | + } |
| 195 | + |
| 196 | + /** Returns the object with the settings used for calls to deleteChannelConnection. */ |
| 197 | + public OperationCallSettings<DeleteChannelConnectionRequest, ChannelConnection, OperationMetadata> |
| 198 | + deleteChannelConnectionOperationSettings() { |
| 199 | + return ((EventarcStubSettings) getStubSettings()).deleteChannelConnectionOperationSettings(); |
| 200 | + } |
| 201 | + |
117 | 202 | public static final EventarcSettings create(EventarcStubSettings stub) throws IOException { |
118 | 203 | return new EventarcSettings.Builder(stub.toBuilder()).build(); |
119 | 204 | } |
@@ -255,6 +340,92 @@ public UnaryCallSettings.Builder<DeleteTriggerRequest, Operation> deleteTriggerS |
255 | 340 | return getStubSettingsBuilder().deleteTriggerOperationSettings(); |
256 | 341 | } |
257 | 342 |
|
| 343 | + /** Returns the builder for the settings used for calls to getChannel. */ |
| 344 | + public UnaryCallSettings.Builder<GetChannelRequest, Channel> getChannelSettings() { |
| 345 | + return getStubSettingsBuilder().getChannelSettings(); |
| 346 | + } |
| 347 | + |
| 348 | + /** Returns the builder for the settings used for calls to listChannels. */ |
| 349 | + public PagedCallSettings.Builder< |
| 350 | + ListChannelsRequest, ListChannelsResponse, ListChannelsPagedResponse> |
| 351 | + listChannelsSettings() { |
| 352 | + return getStubSettingsBuilder().listChannelsSettings(); |
| 353 | + } |
| 354 | + |
| 355 | + /** Returns the builder for the settings used for calls to createChannel. */ |
| 356 | + public UnaryCallSettings.Builder<CreateChannelRequest, Operation> createChannelSettings() { |
| 357 | + return getStubSettingsBuilder().createChannelSettings(); |
| 358 | + } |
| 359 | + |
| 360 | + /** Returns the builder for the settings used for calls to createChannel. */ |
| 361 | + public OperationCallSettings.Builder<CreateChannelRequest, Channel, OperationMetadata> |
| 362 | + createChannelOperationSettings() { |
| 363 | + return getStubSettingsBuilder().createChannelOperationSettings(); |
| 364 | + } |
| 365 | + |
| 366 | + /** Returns the builder for the settings used for calls to updateChannel. */ |
| 367 | + public UnaryCallSettings.Builder<UpdateChannelRequest, Operation> updateChannelSettings() { |
| 368 | + return getStubSettingsBuilder().updateChannelSettings(); |
| 369 | + } |
| 370 | + |
| 371 | + /** Returns the builder for the settings used for calls to updateChannel. */ |
| 372 | + public OperationCallSettings.Builder<UpdateChannelRequest, Channel, OperationMetadata> |
| 373 | + updateChannelOperationSettings() { |
| 374 | + return getStubSettingsBuilder().updateChannelOperationSettings(); |
| 375 | + } |
| 376 | + |
| 377 | + /** Returns the builder for the settings used for calls to deleteChannel. */ |
| 378 | + public UnaryCallSettings.Builder<DeleteChannelRequest, Operation> deleteChannelSettings() { |
| 379 | + return getStubSettingsBuilder().deleteChannelSettings(); |
| 380 | + } |
| 381 | + |
| 382 | + /** Returns the builder for the settings used for calls to deleteChannel. */ |
| 383 | + public OperationCallSettings.Builder<DeleteChannelRequest, Channel, OperationMetadata> |
| 384 | + deleteChannelOperationSettings() { |
| 385 | + return getStubSettingsBuilder().deleteChannelOperationSettings(); |
| 386 | + } |
| 387 | + |
| 388 | + /** Returns the builder for the settings used for calls to getChannelConnection. */ |
| 389 | + public UnaryCallSettings.Builder<GetChannelConnectionRequest, ChannelConnection> |
| 390 | + getChannelConnectionSettings() { |
| 391 | + return getStubSettingsBuilder().getChannelConnectionSettings(); |
| 392 | + } |
| 393 | + |
| 394 | + /** Returns the builder for the settings used for calls to listChannelConnections. */ |
| 395 | + public PagedCallSettings.Builder< |
| 396 | + ListChannelConnectionsRequest, |
| 397 | + ListChannelConnectionsResponse, |
| 398 | + ListChannelConnectionsPagedResponse> |
| 399 | + listChannelConnectionsSettings() { |
| 400 | + return getStubSettingsBuilder().listChannelConnectionsSettings(); |
| 401 | + } |
| 402 | + |
| 403 | + /** Returns the builder for the settings used for calls to createChannelConnection. */ |
| 404 | + public UnaryCallSettings.Builder<CreateChannelConnectionRequest, Operation> |
| 405 | + createChannelConnectionSettings() { |
| 406 | + return getStubSettingsBuilder().createChannelConnectionSettings(); |
| 407 | + } |
| 408 | + |
| 409 | + /** Returns the builder for the settings used for calls to createChannelConnection. */ |
| 410 | + public OperationCallSettings.Builder< |
| 411 | + CreateChannelConnectionRequest, ChannelConnection, OperationMetadata> |
| 412 | + createChannelConnectionOperationSettings() { |
| 413 | + return getStubSettingsBuilder().createChannelConnectionOperationSettings(); |
| 414 | + } |
| 415 | + |
| 416 | + /** Returns the builder for the settings used for calls to deleteChannelConnection. */ |
| 417 | + public UnaryCallSettings.Builder<DeleteChannelConnectionRequest, Operation> |
| 418 | + deleteChannelConnectionSettings() { |
| 419 | + return getStubSettingsBuilder().deleteChannelConnectionSettings(); |
| 420 | + } |
| 421 | + |
| 422 | + /** Returns the builder for the settings used for calls to deleteChannelConnection. */ |
| 423 | + public OperationCallSettings.Builder< |
| 424 | + DeleteChannelConnectionRequest, ChannelConnection, OperationMetadata> |
| 425 | + deleteChannelConnectionOperationSettings() { |
| 426 | + return getStubSettingsBuilder().deleteChannelConnectionOperationSettings(); |
| 427 | + } |
| 428 | + |
258 | 429 | @Override |
259 | 430 | public EventarcSettings build() throws IOException { |
260 | 431 | return new EventarcSettings(this); |
|
0 commit comments