|
18 | 18 |
|
19 | 19 | import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse; |
20 | 20 | import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse; |
| 21 | +import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListResourceAllowancesPagedResponse; |
21 | 22 | import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse; |
22 | 23 |
|
23 | 24 | import com.google.api.core.ApiFunction; |
@@ -122,6 +123,46 @@ public UnaryCallSettings<GetTaskRequest, Task> getTaskSettings() { |
122 | 123 | return ((BatchServiceStubSettings) getStubSettings()).listTasksSettings(); |
123 | 124 | } |
124 | 125 |
|
| 126 | + /** Returns the object with the settings used for calls to createResourceAllowance. */ |
| 127 | + public UnaryCallSettings<CreateResourceAllowanceRequest, ResourceAllowance> |
| 128 | + createResourceAllowanceSettings() { |
| 129 | + return ((BatchServiceStubSettings) getStubSettings()).createResourceAllowanceSettings(); |
| 130 | + } |
| 131 | + |
| 132 | + /** Returns the object with the settings used for calls to getResourceAllowance. */ |
| 133 | + public UnaryCallSettings<GetResourceAllowanceRequest, ResourceAllowance> |
| 134 | + getResourceAllowanceSettings() { |
| 135 | + return ((BatchServiceStubSettings) getStubSettings()).getResourceAllowanceSettings(); |
| 136 | + } |
| 137 | + |
| 138 | + /** Returns the object with the settings used for calls to deleteResourceAllowance. */ |
| 139 | + public UnaryCallSettings<DeleteResourceAllowanceRequest, Operation> |
| 140 | + deleteResourceAllowanceSettings() { |
| 141 | + return ((BatchServiceStubSettings) getStubSettings()).deleteResourceAllowanceSettings(); |
| 142 | + } |
| 143 | + |
| 144 | + /** Returns the object with the settings used for calls to deleteResourceAllowance. */ |
| 145 | + public OperationCallSettings<DeleteResourceAllowanceRequest, Empty, OperationMetadata> |
| 146 | + deleteResourceAllowanceOperationSettings() { |
| 147 | + return ((BatchServiceStubSettings) getStubSettings()) |
| 148 | + .deleteResourceAllowanceOperationSettings(); |
| 149 | + } |
| 150 | + |
| 151 | + /** Returns the object with the settings used for calls to listResourceAllowances. */ |
| 152 | + public PagedCallSettings< |
| 153 | + ListResourceAllowancesRequest, |
| 154 | + ListResourceAllowancesResponse, |
| 155 | + ListResourceAllowancesPagedResponse> |
| 156 | + listResourceAllowancesSettings() { |
| 157 | + return ((BatchServiceStubSettings) getStubSettings()).listResourceAllowancesSettings(); |
| 158 | + } |
| 159 | + |
| 160 | + /** Returns the object with the settings used for calls to updateResourceAllowance. */ |
| 161 | + public UnaryCallSettings<UpdateResourceAllowanceRequest, ResourceAllowance> |
| 162 | + updateResourceAllowanceSettings() { |
| 163 | + return ((BatchServiceStubSettings) getStubSettings()).updateResourceAllowanceSettings(); |
| 164 | + } |
| 165 | + |
125 | 166 | /** Returns the object with the settings used for calls to listLocations. */ |
126 | 167 | public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> |
127 | 168 | listLocationsSettings() { |
@@ -283,6 +324,45 @@ public UnaryCallSettings.Builder<GetTaskRequest, Task> getTaskSettings() { |
283 | 324 | return getStubSettingsBuilder().listTasksSettings(); |
284 | 325 | } |
285 | 326 |
|
| 327 | + /** Returns the builder for the settings used for calls to createResourceAllowance. */ |
| 328 | + public UnaryCallSettings.Builder<CreateResourceAllowanceRequest, ResourceAllowance> |
| 329 | + createResourceAllowanceSettings() { |
| 330 | + return getStubSettingsBuilder().createResourceAllowanceSettings(); |
| 331 | + } |
| 332 | + |
| 333 | + /** Returns the builder for the settings used for calls to getResourceAllowance. */ |
| 334 | + public UnaryCallSettings.Builder<GetResourceAllowanceRequest, ResourceAllowance> |
| 335 | + getResourceAllowanceSettings() { |
| 336 | + return getStubSettingsBuilder().getResourceAllowanceSettings(); |
| 337 | + } |
| 338 | + |
| 339 | + /** Returns the builder for the settings used for calls to deleteResourceAllowance. */ |
| 340 | + public UnaryCallSettings.Builder<DeleteResourceAllowanceRequest, Operation> |
| 341 | + deleteResourceAllowanceSettings() { |
| 342 | + return getStubSettingsBuilder().deleteResourceAllowanceSettings(); |
| 343 | + } |
| 344 | + |
| 345 | + /** Returns the builder for the settings used for calls to deleteResourceAllowance. */ |
| 346 | + public OperationCallSettings.Builder<DeleteResourceAllowanceRequest, Empty, OperationMetadata> |
| 347 | + deleteResourceAllowanceOperationSettings() { |
| 348 | + return getStubSettingsBuilder().deleteResourceAllowanceOperationSettings(); |
| 349 | + } |
| 350 | + |
| 351 | + /** Returns the builder for the settings used for calls to listResourceAllowances. */ |
| 352 | + public PagedCallSettings.Builder< |
| 353 | + ListResourceAllowancesRequest, |
| 354 | + ListResourceAllowancesResponse, |
| 355 | + ListResourceAllowancesPagedResponse> |
| 356 | + listResourceAllowancesSettings() { |
| 357 | + return getStubSettingsBuilder().listResourceAllowancesSettings(); |
| 358 | + } |
| 359 | + |
| 360 | + /** Returns the builder for the settings used for calls to updateResourceAllowance. */ |
| 361 | + public UnaryCallSettings.Builder<UpdateResourceAllowanceRequest, ResourceAllowance> |
| 362 | + updateResourceAllowanceSettings() { |
| 363 | + return getStubSettingsBuilder().updateResourceAllowanceSettings(); |
| 364 | + } |
| 365 | + |
286 | 366 | /** Returns the builder for the settings used for calls to listLocations. */ |
287 | 367 | public PagedCallSettings.Builder< |
288 | 368 | ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> |
|
0 commit comments