|
16 | 16 |
|
17 | 17 | package com.google.cloud.dataform.v1beta1;
|
18 | 18 |
|
| 19 | +import static com.google.cloud.dataform.v1beta1.DataformClient.FetchRepositoryHistoryPagedResponse; |
19 | 20 | import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse;
|
20 | 21 | import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse;
|
| 22 | +import static com.google.cloud.dataform.v1beta1.DataformClient.ListReleaseConfigsPagedResponse; |
21 | 23 | import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse;
|
| 24 | +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowConfigsPagedResponse; |
22 | 25 | import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse;
|
23 | 26 | import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse;
|
24 | 27 | import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse;
|
25 | 28 | import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse;
|
| 29 | +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryRepositoryDirectoryContentsPagedResponse; |
26 | 30 | import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse;
|
27 | 31 |
|
28 | 32 | import com.google.api.core.ApiFunction;
|
|
42 | 46 | import com.google.cloud.location.ListLocationsRequest;
|
43 | 47 | import com.google.cloud.location.ListLocationsResponse;
|
44 | 48 | import com.google.cloud.location.Location;
|
| 49 | +import com.google.iam.v1.GetIamPolicyRequest; |
| 50 | +import com.google.iam.v1.Policy; |
| 51 | +import com.google.iam.v1.SetIamPolicyRequest; |
| 52 | +import com.google.iam.v1.TestIamPermissionsRequest; |
| 53 | +import com.google.iam.v1.TestIamPermissionsResponse; |
45 | 54 | import com.google.protobuf.Empty;
|
46 | 55 | import java.io.IOException;
|
47 | 56 | import java.util.List;
|
@@ -114,6 +123,43 @@ public UnaryCallSettings<DeleteRepositoryRequest, Empty> deleteRepositorySetting
|
114 | 123 | return ((DataformStubSettings) getStubSettings()).deleteRepositorySettings();
|
115 | 124 | }
|
116 | 125 |
|
| 126 | + /** Returns the object with the settings used for calls to commitRepositoryChanges. */ |
| 127 | + public UnaryCallSettings<CommitRepositoryChangesRequest, Empty> |
| 128 | + commitRepositoryChangesSettings() { |
| 129 | + return ((DataformStubSettings) getStubSettings()).commitRepositoryChangesSettings(); |
| 130 | + } |
| 131 | + |
| 132 | + /** Returns the object with the settings used for calls to readRepositoryFile. */ |
| 133 | + public UnaryCallSettings<ReadRepositoryFileRequest, ReadRepositoryFileResponse> |
| 134 | + readRepositoryFileSettings() { |
| 135 | + return ((DataformStubSettings) getStubSettings()).readRepositoryFileSettings(); |
| 136 | + } |
| 137 | + |
| 138 | + /** Returns the object with the settings used for calls to queryRepositoryDirectoryContents. */ |
| 139 | + public PagedCallSettings< |
| 140 | + QueryRepositoryDirectoryContentsRequest, |
| 141 | + QueryRepositoryDirectoryContentsResponse, |
| 142 | + QueryRepositoryDirectoryContentsPagedResponse> |
| 143 | + queryRepositoryDirectoryContentsSettings() { |
| 144 | + return ((DataformStubSettings) getStubSettings()).queryRepositoryDirectoryContentsSettings(); |
| 145 | + } |
| 146 | + |
| 147 | + /** Returns the object with the settings used for calls to fetchRepositoryHistory. */ |
| 148 | + public PagedCallSettings< |
| 149 | + FetchRepositoryHistoryRequest, |
| 150 | + FetchRepositoryHistoryResponse, |
| 151 | + FetchRepositoryHistoryPagedResponse> |
| 152 | + fetchRepositoryHistorySettings() { |
| 153 | + return ((DataformStubSettings) getStubSettings()).fetchRepositoryHistorySettings(); |
| 154 | + } |
| 155 | + |
| 156 | + /** Returns the object with the settings used for calls to computeRepositoryAccessTokenStatus. */ |
| 157 | + public UnaryCallSettings< |
| 158 | + ComputeRepositoryAccessTokenStatusRequest, ComputeRepositoryAccessTokenStatusResponse> |
| 159 | + computeRepositoryAccessTokenStatusSettings() { |
| 160 | + return ((DataformStubSettings) getStubSettings()).computeRepositoryAccessTokenStatusSettings(); |
| 161 | + } |
| 162 | + |
117 | 163 | /** Returns the object with the settings used for calls to fetchRemoteBranches. */
|
118 | 164 | public UnaryCallSettings<FetchRemoteBranchesRequest, FetchRemoteBranchesResponse>
|
119 | 165 | fetchRemoteBranchesSettings() {
|
@@ -229,6 +275,35 @@ public UnaryCallSettings<WriteFileRequest, WriteFileResponse> writeFileSettings(
|
229 | 275 | return ((DataformStubSettings) getStubSettings()).writeFileSettings();
|
230 | 276 | }
|
231 | 277 |
|
| 278 | + /** Returns the object with the settings used for calls to listReleaseConfigs. */ |
| 279 | + public PagedCallSettings< |
| 280 | + ListReleaseConfigsRequest, ListReleaseConfigsResponse, ListReleaseConfigsPagedResponse> |
| 281 | + listReleaseConfigsSettings() { |
| 282 | + return ((DataformStubSettings) getStubSettings()).listReleaseConfigsSettings(); |
| 283 | + } |
| 284 | + |
| 285 | + /** Returns the object with the settings used for calls to getReleaseConfig. */ |
| 286 | + public UnaryCallSettings<GetReleaseConfigRequest, ReleaseConfig> getReleaseConfigSettings() { |
| 287 | + return ((DataformStubSettings) getStubSettings()).getReleaseConfigSettings(); |
| 288 | + } |
| 289 | + |
| 290 | + /** Returns the object with the settings used for calls to createReleaseConfig. */ |
| 291 | + public UnaryCallSettings<CreateReleaseConfigRequest, ReleaseConfig> |
| 292 | + createReleaseConfigSettings() { |
| 293 | + return ((DataformStubSettings) getStubSettings()).createReleaseConfigSettings(); |
| 294 | + } |
| 295 | + |
| 296 | + /** Returns the object with the settings used for calls to updateReleaseConfig. */ |
| 297 | + public UnaryCallSettings<UpdateReleaseConfigRequest, ReleaseConfig> |
| 298 | + updateReleaseConfigSettings() { |
| 299 | + return ((DataformStubSettings) getStubSettings()).updateReleaseConfigSettings(); |
| 300 | + } |
| 301 | + |
| 302 | + /** Returns the object with the settings used for calls to deleteReleaseConfig. */ |
| 303 | + public UnaryCallSettings<DeleteReleaseConfigRequest, Empty> deleteReleaseConfigSettings() { |
| 304 | + return ((DataformStubSettings) getStubSettings()).deleteReleaseConfigSettings(); |
| 305 | + } |
| 306 | + |
232 | 307 | /** Returns the object with the settings used for calls to listCompilationResults. */
|
233 | 308 | public PagedCallSettings<
|
234 | 309 | ListCompilationResultsRequest,
|
@@ -259,6 +334,35 @@ public UnaryCallSettings<WriteFileRequest, WriteFileResponse> writeFileSettings(
|
259 | 334 | return ((DataformStubSettings) getStubSettings()).queryCompilationResultActionsSettings();
|
260 | 335 | }
|
261 | 336 |
|
| 337 | + /** Returns the object with the settings used for calls to listWorkflowConfigs. */ |
| 338 | + public PagedCallSettings< |
| 339 | + ListWorkflowConfigsRequest, ListWorkflowConfigsResponse, ListWorkflowConfigsPagedResponse> |
| 340 | + listWorkflowConfigsSettings() { |
| 341 | + return ((DataformStubSettings) getStubSettings()).listWorkflowConfigsSettings(); |
| 342 | + } |
| 343 | + |
| 344 | + /** Returns the object with the settings used for calls to getWorkflowConfig. */ |
| 345 | + public UnaryCallSettings<GetWorkflowConfigRequest, WorkflowConfig> getWorkflowConfigSettings() { |
| 346 | + return ((DataformStubSettings) getStubSettings()).getWorkflowConfigSettings(); |
| 347 | + } |
| 348 | + |
| 349 | + /** Returns the object with the settings used for calls to createWorkflowConfig. */ |
| 350 | + public UnaryCallSettings<CreateWorkflowConfigRequest, WorkflowConfig> |
| 351 | + createWorkflowConfigSettings() { |
| 352 | + return ((DataformStubSettings) getStubSettings()).createWorkflowConfigSettings(); |
| 353 | + } |
| 354 | + |
| 355 | + /** Returns the object with the settings used for calls to updateWorkflowConfig. */ |
| 356 | + public UnaryCallSettings<UpdateWorkflowConfigRequest, WorkflowConfig> |
| 357 | + updateWorkflowConfigSettings() { |
| 358 | + return ((DataformStubSettings) getStubSettings()).updateWorkflowConfigSettings(); |
| 359 | + } |
| 360 | + |
| 361 | + /** Returns the object with the settings used for calls to deleteWorkflowConfig. */ |
| 362 | + public UnaryCallSettings<DeleteWorkflowConfigRequest, Empty> deleteWorkflowConfigSettings() { |
| 363 | + return ((DataformStubSettings) getStubSettings()).deleteWorkflowConfigSettings(); |
| 364 | + } |
| 365 | + |
262 | 366 | /** Returns the object with the settings used for calls to listWorkflowInvocations. */
|
263 | 367 | public PagedCallSettings<
|
264 | 368 | ListWorkflowInvocationsRequest,
|
@@ -312,6 +416,22 @@ public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
|
312 | 416 | return ((DataformStubSettings) getStubSettings()).getLocationSettings();
|
313 | 417 | }
|
314 | 418 |
|
| 419 | + /** Returns the object with the settings used for calls to setIamPolicy. */ |
| 420 | + public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() { |
| 421 | + return ((DataformStubSettings) getStubSettings()).setIamPolicySettings(); |
| 422 | + } |
| 423 | + |
| 424 | + /** Returns the object with the settings used for calls to getIamPolicy. */ |
| 425 | + public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() { |
| 426 | + return ((DataformStubSettings) getStubSettings()).getIamPolicySettings(); |
| 427 | + } |
| 428 | + |
| 429 | + /** Returns the object with the settings used for calls to testIamPermissions. */ |
| 430 | + public UnaryCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse> |
| 431 | + testIamPermissionsSettings() { |
| 432 | + return ((DataformStubSettings) getStubSettings()).testIamPermissionsSettings(); |
| 433 | + } |
| 434 | + |
315 | 435 | public static final DataformSettings create(DataformStubSettings stub) throws IOException {
|
316 | 436 | return new DataformSettings.Builder(stub.toBuilder()).build();
|
317 | 437 | }
|
@@ -455,6 +575,45 @@ public UnaryCallSettings.Builder<DeleteRepositoryRequest, Empty> deleteRepositor
|
455 | 575 | return getStubSettingsBuilder().deleteRepositorySettings();
|
456 | 576 | }
|
457 | 577 |
|
| 578 | + /** Returns the builder for the settings used for calls to commitRepositoryChanges. */ |
| 579 | + public UnaryCallSettings.Builder<CommitRepositoryChangesRequest, Empty> |
| 580 | + commitRepositoryChangesSettings() { |
| 581 | + return getStubSettingsBuilder().commitRepositoryChangesSettings(); |
| 582 | + } |
| 583 | + |
| 584 | + /** Returns the builder for the settings used for calls to readRepositoryFile. */ |
| 585 | + public UnaryCallSettings.Builder<ReadRepositoryFileRequest, ReadRepositoryFileResponse> |
| 586 | + readRepositoryFileSettings() { |
| 587 | + return getStubSettingsBuilder().readRepositoryFileSettings(); |
| 588 | + } |
| 589 | + |
| 590 | + /** Returns the builder for the settings used for calls to queryRepositoryDirectoryContents. */ |
| 591 | + public PagedCallSettings.Builder< |
| 592 | + QueryRepositoryDirectoryContentsRequest, |
| 593 | + QueryRepositoryDirectoryContentsResponse, |
| 594 | + QueryRepositoryDirectoryContentsPagedResponse> |
| 595 | + queryRepositoryDirectoryContentsSettings() { |
| 596 | + return getStubSettingsBuilder().queryRepositoryDirectoryContentsSettings(); |
| 597 | + } |
| 598 | + |
| 599 | + /** Returns the builder for the settings used for calls to fetchRepositoryHistory. */ |
| 600 | + public PagedCallSettings.Builder< |
| 601 | + FetchRepositoryHistoryRequest, |
| 602 | + FetchRepositoryHistoryResponse, |
| 603 | + FetchRepositoryHistoryPagedResponse> |
| 604 | + fetchRepositoryHistorySettings() { |
| 605 | + return getStubSettingsBuilder().fetchRepositoryHistorySettings(); |
| 606 | + } |
| 607 | + |
| 608 | + /** |
| 609 | + * Returns the builder for the settings used for calls to computeRepositoryAccessTokenStatus. |
| 610 | + */ |
| 611 | + public UnaryCallSettings.Builder< |
| 612 | + ComputeRepositoryAccessTokenStatusRequest, ComputeRepositoryAccessTokenStatusResponse> |
| 613 | + computeRepositoryAccessTokenStatusSettings() { |
| 614 | + return getStubSettingsBuilder().computeRepositoryAccessTokenStatusSettings(); |
| 615 | + } |
| 616 | + |
458 | 617 | /** Returns the builder for the settings used for calls to fetchRemoteBranches. */
|
459 | 618 | public UnaryCallSettings.Builder<FetchRemoteBranchesRequest, FetchRemoteBranchesResponse>
|
460 | 619 | fetchRemoteBranchesSettings() {
|
@@ -575,6 +734,37 @@ public UnaryCallSettings.Builder<WriteFileRequest, WriteFileResponse> writeFileS
|
575 | 734 | return getStubSettingsBuilder().writeFileSettings();
|
576 | 735 | }
|
577 | 736 |
|
| 737 | + /** Returns the builder for the settings used for calls to listReleaseConfigs. */ |
| 738 | + public PagedCallSettings.Builder< |
| 739 | + ListReleaseConfigsRequest, ListReleaseConfigsResponse, ListReleaseConfigsPagedResponse> |
| 740 | + listReleaseConfigsSettings() { |
| 741 | + return getStubSettingsBuilder().listReleaseConfigsSettings(); |
| 742 | + } |
| 743 | + |
| 744 | + /** Returns the builder for the settings used for calls to getReleaseConfig. */ |
| 745 | + public UnaryCallSettings.Builder<GetReleaseConfigRequest, ReleaseConfig> |
| 746 | + getReleaseConfigSettings() { |
| 747 | + return getStubSettingsBuilder().getReleaseConfigSettings(); |
| 748 | + } |
| 749 | + |
| 750 | + /** Returns the builder for the settings used for calls to createReleaseConfig. */ |
| 751 | + public UnaryCallSettings.Builder<CreateReleaseConfigRequest, ReleaseConfig> |
| 752 | + createReleaseConfigSettings() { |
| 753 | + return getStubSettingsBuilder().createReleaseConfigSettings(); |
| 754 | + } |
| 755 | + |
| 756 | + /** Returns the builder for the settings used for calls to updateReleaseConfig. */ |
| 757 | + public UnaryCallSettings.Builder<UpdateReleaseConfigRequest, ReleaseConfig> |
| 758 | + updateReleaseConfigSettings() { |
| 759 | + return getStubSettingsBuilder().updateReleaseConfigSettings(); |
| 760 | + } |
| 761 | + |
| 762 | + /** Returns the builder for the settings used for calls to deleteReleaseConfig. */ |
| 763 | + public UnaryCallSettings.Builder<DeleteReleaseConfigRequest, Empty> |
| 764 | + deleteReleaseConfigSettings() { |
| 765 | + return getStubSettingsBuilder().deleteReleaseConfigSettings(); |
| 766 | + } |
| 767 | + |
578 | 768 | /** Returns the builder for the settings used for calls to listCompilationResults. */
|
579 | 769 | public PagedCallSettings.Builder<
|
580 | 770 | ListCompilationResultsRequest,
|
@@ -605,6 +795,39 @@ public UnaryCallSettings.Builder<WriteFileRequest, WriteFileResponse> writeFileS
|
605 | 795 | return getStubSettingsBuilder().queryCompilationResultActionsSettings();
|
606 | 796 | }
|
607 | 797 |
|
| 798 | + /** Returns the builder for the settings used for calls to listWorkflowConfigs. */ |
| 799 | + public PagedCallSettings.Builder< |
| 800 | + ListWorkflowConfigsRequest, |
| 801 | + ListWorkflowConfigsResponse, |
| 802 | + ListWorkflowConfigsPagedResponse> |
| 803 | + listWorkflowConfigsSettings() { |
| 804 | + return getStubSettingsBuilder().listWorkflowConfigsSettings(); |
| 805 | + } |
| 806 | + |
| 807 | + /** Returns the builder for the settings used for calls to getWorkflowConfig. */ |
| 808 | + public UnaryCallSettings.Builder<GetWorkflowConfigRequest, WorkflowConfig> |
| 809 | + getWorkflowConfigSettings() { |
| 810 | + return getStubSettingsBuilder().getWorkflowConfigSettings(); |
| 811 | + } |
| 812 | + |
| 813 | + /** Returns the builder for the settings used for calls to createWorkflowConfig. */ |
| 814 | + public UnaryCallSettings.Builder<CreateWorkflowConfigRequest, WorkflowConfig> |
| 815 | + createWorkflowConfigSettings() { |
| 816 | + return getStubSettingsBuilder().createWorkflowConfigSettings(); |
| 817 | + } |
| 818 | + |
| 819 | + /** Returns the builder for the settings used for calls to updateWorkflowConfig. */ |
| 820 | + public UnaryCallSettings.Builder<UpdateWorkflowConfigRequest, WorkflowConfig> |
| 821 | + updateWorkflowConfigSettings() { |
| 822 | + return getStubSettingsBuilder().updateWorkflowConfigSettings(); |
| 823 | + } |
| 824 | + |
| 825 | + /** Returns the builder for the settings used for calls to deleteWorkflowConfig. */ |
| 826 | + public UnaryCallSettings.Builder<DeleteWorkflowConfigRequest, Empty> |
| 827 | + deleteWorkflowConfigSettings() { |
| 828 | + return getStubSettingsBuilder().deleteWorkflowConfigSettings(); |
| 829 | + } |
| 830 | + |
608 | 831 | /** Returns the builder for the settings used for calls to listWorkflowInvocations. */
|
609 | 832 | public PagedCallSettings.Builder<
|
610 | 833 | ListWorkflowInvocationsRequest,
|
@@ -659,6 +882,22 @@ public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettin
|
659 | 882 | return getStubSettingsBuilder().getLocationSettings();
|
660 | 883 | }
|
661 | 884 |
|
| 885 | + /** Returns the builder for the settings used for calls to setIamPolicy. */ |
| 886 | + public UnaryCallSettings.Builder<SetIamPolicyRequest, Policy> setIamPolicySettings() { |
| 887 | + return getStubSettingsBuilder().setIamPolicySettings(); |
| 888 | + } |
| 889 | + |
| 890 | + /** Returns the builder for the settings used for calls to getIamPolicy. */ |
| 891 | + public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() { |
| 892 | + return getStubSettingsBuilder().getIamPolicySettings(); |
| 893 | + } |
| 894 | + |
| 895 | + /** Returns the builder for the settings used for calls to testIamPermissions. */ |
| 896 | + public UnaryCallSettings.Builder<TestIamPermissionsRequest, TestIamPermissionsResponse> |
| 897 | + testIamPermissionsSettings() { |
| 898 | + return getStubSettingsBuilder().testIamPermissionsSettings(); |
| 899 | + } |
| 900 | + |
662 | 901 | @Override
|
663 | 902 | public DataformSettings build() throws IOException {
|
664 | 903 | return new DataformSettings(this);
|
|
0 commit comments